I would like to replace my index file every three hours, with a specified file on the server thats in a different folder (someone keeps putting unwanted stuff in my index file) Can someone explain to me how this is done?
I colo a 1U machine with 2-36gig drives. They're not in RAID, and I have it set to rsync backups to a remote machine on a regular schedule. I have another remote machine functioning as a secondary DNS. Neither of these 2 are on a large upstream pipe. I just bought 2-147gig drives that I'd like to replace the 36g's with. How does this sound for a scenario to accomplish this with little downtime (pre-pardon my noob'ish ways):
1. Do a complete rsync of the filesystem to my remote machine as well as sync the mysql db's (to 1 remote drive).
2. Pop that single rsync'd drive into an external enclosure.
3. Travel to datacenter, once there, plug external drive into laptop and start up a VM that boots off of that drive.
4. Sync again so external drive has the most up-to-date data.
5. Change over IP's from colo to VM on laptop.
6. Shutdown and swap out drives in colo'd box with the new ones.
7. Setup new drives as RAID 1, install OS, then rsync filesystem over from laptop to new drives in colo'd box.
8. Change back IP's.
What am I missing, or is there an easier way without a 2nd colo/dedicated server? Currently, the colo'd machine is using about 1.3Mbit/sec outbound and it's running a low load.
we know hypervm/lxadmin have some exploit. My server is ruuning with lxadmin. Is there any panel to replace it? I mean we can easily to reload OS, use File Manager like hypervm...
My old VPS was hacked and an iframe html string was added to just about all the files on the server.
I've since then identified the vulnerability and moved to a new host and want to copy the accounts over but wanted to know if there was an easy way to search all the files for this html code and delete it?
For example, search all files for <iframe etc etc> and delete it?
I know this is probably rather simple...but I have no idea how to do it.
I'm trying to replace my Linux OS with Windows Server 2003, which I already have a license.
I'm talking about OVH Kimsufi XL.
Following support's instructions, I booted my dedicated with netboot, specific with vkvm option.
Then I specified an ftp location, (where there is my "totally working" .iso), and I started the virtual session.
After some mins, a java windows appears, and starts the vnc session.
After usual linux loading, it stops on this :
Code: VFS: Cannot open root device "801" or unknown-block(8,1) Please append a correct "root=" boot option; here are the available partitions: 0300 244198584 hda driver: ide-gd 0301 5245191 hda1 0302 238428687 hda2 0303 522112 hda3
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,1)
I have anywhere between 80,000 - 90,000 webpages that have a single code into this. Unfortunately at the time the web developer I used didn't use PHP includes. So each .html file has the code in it.
I want a way so I can do a single command either a program or an SSH command can find the syntax in the files and replace it will code I have. Its just a single line of code that is basically for an adsense code, so the pub-blahblahblah etc..
Does anyone know of a SSH command I can use, or a program that will find and replace without manually opening up each file? 80k - 90k of opening files then find/replace will take forever!
I am trying to restore a backup that Parallels Plesk made (latest version) and I used to get the option at some point to replace everything. Now, I only get the options to select what I want to restore and it fails because it says certain things, domains, content is already there.
I can't find the option anymore that allows me to say replace everything during the backup. Was that removed? If so, I'd really....really like it back.
Warning: Failed deployment of domain localhost.localdomain Warning: Execution of /usr/local/psa/admin/plib/api-cli/domain.php --create localhost.localdomain -owner admin -do-not-apply-skeleton -notify false -guid 4fe5de63-3103-4fa0-a01c-04894e167107 -vendor-guid 75b2fa01-6c6e-4cb2-8f1b-9c69757fd3ec -creation-date 2014-02-13 -ip 46.165.251.98 -ignore-nonexistent-options failed with return code 1. Stderr is An error occurred during domain creation: There are no available resources of this type (domains) left. Requested: 1; available: 0.
I have one customer installed with plesk 11.5 + power pack integrated with mssql 2008 express on his server.But now client want to install Mssql 2008 web edition. Is this possible to replace the express edition with web in plesk panel?
I've got a dedicated server through Liquid Web. I can't say enough about how great the reliability and service has been since I switched over to them a number of months ago.
Nevertheless, with the advent of cloud hosting, I'm intrigued by the idea of paying for what I actually use on a server rather than having way more capacity than I need 90% of the day.
I've looked around here and there's a bit of talk about it but it doesn't seem like folks are scrambling into it and it also appears that the offereings are still relatively immature.
I really don't have the time to devote to tweaking, etc or figuring out something really complicated.
I'll stick to my dedicated server if it means tons of extra work or potential downtime or massive frustration but I wanted to get some feedback from the community about whether or not there are some stable cloud hosting options that are emerging that might be worth considering.
2008-04-06 08:52:32.597ERRORApache Binary Path must be set properly in order replace Apache, fall back to 'Reload on configuration file change'. 2008-04-06 08:52:32.602WARN[configerver:listener] No listener is available for normal virtual host! 2008-04-06 08:52:32.604ERROR[config:template:centralConfigLog] Listener [Default] does not exist 2008-04-06 08:52:32.605ERROR[config:templateHP_SuEXEC] Listener [Default] does not exist 2008-04-06 08:52:32.605ERROR[config:template:EasyRailsWithSuEXEC] Listener [Default] does not exist 2008-04-06 08:52:32.617WARNStandard Edition only support up to 5 Apache vhosts.
I did everything on the litespeed setup I was soppose to found at their wiki site. But still I recieve these errors, LiteSpeed works on my server because httpd is disabled and LiteSpeed is responding to request now.
We've been experiencing a lot of trouble with novice customers that want to install an Application Vault package that has sub-optimal default settings, e.g.
customer wants to install wordpress, clicks on Application Vault -> wordpress -> "INSTALL"
This will install, without any questions for settings, wordpress into domain.com/wordpress - which is not what people want. I know that there is a button with teh drop down menu that shows "custom", however, people don't see/know about it and click "install".
Is there a way to remove / replace the "quick install" button and have the "install custom" as default.
i have a serious problems with my shoutcast accounts the last 2 months...i create in my ports 8002,8004,8006,8008,8010,8012 some shoutcast accounts via cast control...every 3-4 hours some of my accounts is crashing....i can't understand why....so every 3 hours i am going to cast control panel to start again the shoutcast server of the account which which crashed....i don 't know what to do any more...my hands up...
i found these script which i can use via cron job to check if each shoutcast server is up
#!/bin/bash
dte=`date +%d%b%Y` cd /where/ever/you/run/stuff/
##-->> Check to see if sc_serv is running <<--## ps -ef|grep -v grep|grep sc_serv >sc_serv_ok
if [ -s sc_serv_ok ] then ##-->> Everything looks good, remove the file and exit <<--## rm -f sc_serv_ok exit 0 else
##-->> Log the error <<--## echo "Possible abend of sc_serv" > sc_serv_prob_log.$dte
##-->> Email the log <<--## mail -s "sc_trans" your-email@domain-name.com <sc_serv_prob_log.$dte
##-->> Restart sc_serv <<--## cd /path/to/shoutcast/ ./sc_serv
the problem is that i can't found the conf file for each account...where exactly CAST CONTROL creates it..i have the free version of cast sontrol 1.4...
I am currently running DA on my VPS and have about 15-20 accounts on it. We are upgrading to a dedicated running plesk while we need it, but I have not found a tool or an easy way to transfer DA accounts to plesk without problems. Because of this, I feel it would be easiest to transfer the accounts to a cPanel VPS, then to plesk. I know hosts are not supposed to PM here, but if you can offer me a cPanel VPS sometime within the next week for 24-48 hours for under $5-7, that would be great. This may seem like a little amount of money, but realistically it is a good amount in comparison to the pricing for a whole month of service.
I attached new backup harddrive with system and enable increment backup so that it can generate server backup on backup harddrive which was new,
I notice it takes 20 hours upto now and still working becoz i seen some command like rsync running on top and using alot of resources of server but when i checked backup harddrive then it almost copy all data into it but what about this rsync which running on system from 3 hours and still going .?
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 28045 root 35 19 42788 38m 168 S 63.8 1.0 42:59.51 rsync 28023 root 34 19 42680 39m 552 R 26.6 1.0 23:47.98 rsync 28024 root 34 19 42528 38m 312 S 19.9 1.0 10:25.91 rsync 944 nobody 15 0 167m 142m 10m S 5.0 3.5 0:09.26 httpd 1579 nobody 15 0 167m 143m 11m S 5.0 3.5 0:09.34 httpd 2471 nobody 15 0 167m 138m 7032 S 4.0 3.4 0:01.12 httpd 1528 nobody 16 0 167m 139m 7436 S 1.7 3.4 0:10.20 httpd 76 root 15 0 0 0 0 S 1.3 0.0 14:14.62 kswapd0 2194 nobody 15 0 167m 138m 7188 S 1.3 3.4 0:03.47 httpd 2386 nobody 15 0 167m 139m 7608 S 1.3 3.4 0:03.02 httpd 2452 nobody 15 0 167m 138m 7184 S 1.3 3.4 0:02.01 httpd 3054 mysql 16 0 747m 294m 2892 S 1.0 7.3 431:01.86 mysqld 18358 root 15 0 0 0 0 S 1.0 0.0 0:27.59 pdflush 665 nobody 15 0 167m 139m 7656 S 1.0 3.4 0:18.77 httpd 1917 nobody 15 0 167m 139m 7816 S 1.0 3.4 0:08.64 httpd
I'm not a direct client of Leaseweb, but it's not a secret that my domain is pointing at their servers.
I purchased a shared hosting plan from a reseller and since more than 43 hours my domain is down! My provider (the reseller) said he's waiting for Leaseweb support... according to my informations, in more than 24 hours they just made a reboot of the server!
I'm really bored of waiting with no chance of intervention! My provider says he can't do anything from his side, i can't contact Leaseweb cause i'm not a client... please, help, what can i do?
like to clarify this is not a post to bash liquidweb.
I have been a loyal customer of LW for the past 2 years (almost)
My websites have been down since Thursday 3:00 a.m due to "DDos Attack"
on Friday night, the network engineer told me the "DDos Attack" has stopped and problem should have been resolved. However, no websites were accessible.
On Saturday, I ensure you I have made many phone calls to Liquidweb dedicated server support and try to resolve this issue. (Never once did I raise my voice and they were being very polite.)
I believe the server admins that were helping was at the end of their shifts and every time I try to make a phone call to the person that was assisting me to get an update, liquidweb would tell me that he has gone home. Every time the server admin finishes his shift, the support ticket is not assigned to anyone else that is working until I make a phone call to them stating my problem.
I own quite a few large sites that generate over 3 millions hits per day and every hour of downtime means I will be losing valuable clients and revenue. That is why I am extremely frustrated with the 63 hours downtime as it seems like the results of working hard for the past 2 years is slipping away from me as the clock keeps ticking.
I am sorry, I am just trying to share this with fellow webmasters as I really need a place to express my feeling. (None of my friends will understand online business.)
Again, I am not bashing liquidweb...I must have really bad luck myself.
To start please take this in mind I have servers colo'd at FDC and have 0 problems, so i'm still all for fdc servers.
Here is my 24 hours review on my new vps server from FDC setup was quick less than 5hours after paying my invoice.
Now down to my problems. Off peak hours last night my VPS server was great 10 / 20mbits solid speed on sending data from the box today I am unable to get over 150kb/sec.
This doesn't help me since the nature of my business I need to transfer files fast between servers. The VPS speeds of 150kb/sec will be no use for my business if anything make our job harder.
These tests were taken using the internal fdc network transferring from the new vps to one of my 1gig fdc colos and other various servers I have on the FDC network.
After contacting fdc support about this speed issue they logged in and checked the speeds they did a download of the speedtest file from the fdc website around 30 - 40mbits. But they didn't test the outgoing from the server.
I received the response that I am sharing bandwidth on the node so speeds could vary so on there 100mbit unmetered vds package they are saying 150kb/sec is acceptable.
So basically after that my last response is if 150kb/sec are the speeds i can expect from a VDS then please cancel my server at the end of the billing period as the VDS will be no use to me.
So now I have been transferred to billing to cancel the vps at the end of the billing period.
So to sum it up, vps setup was fast and the vps runs great but don't expect the speeds you can get from one of there dedicated servers.
Is Nick Laws here? Someone knows where to call him or managemybox.com?
I have 3 servers with them. One of them is down for almost 16 hours now, and it has been 4 hours without notice. Tech replied saying is a harddrive crash and they will replace it, I have lost a lot of dollars because all important clients on this server are running out.
Now, can someone help me contact Nick? I sent him a message a minutes ago, but his techs are nto replying and one of my clients is really in a bad mood saying he will take legal actions against me.
Anyone can say a word? This is really bad and I dont get even a reply, just a word last night saying a few hours.
This is the ticket: Dear Felipe,
ssh down too, will have a tech reboot and clear firewall, will take about 15 minutes
Thank you for choosing ManageMyServices, we appreciate your business!
Administrator: managedservices Ticket Department: Sysadmin Ticket Category: ALL Assigned Administrator: ALL Importance: Urgent Company Area: ManageMyBox-Dedicated Ticket Status: closed Reply By felweb - 26-06-2008 01:57 Any news from your end on this ticket, or at least on the other 2?
This is taking way too long and it is affecting this a lot ....
Im running MySQL 5.0.32 on a Debian Etch server. I recently moved a couple sites from a Debian Sarge (with MySQL 4.1) server over, and now MySQL has become very unstable.
Every few hours mysql just hangs on a query. All the following queries are queued and never get executed. The only way to get things running again is forcefully killing and restarting the mysql process. After that things work again...for a few hours.
The logs (error and query log) show nothing exceptional. When it hangs and I do a 'show processlist;' I noticed that everytime a SELECT....IN (a,b,c) query is holding up everything. Could the 'IN ()' be the reason for mysql not completing the query and holding up the rest?
Another option might be to temp. go back to MySQL 4.1...but that is going to be a real problem on Debian Etch