Help - Search - Members - Calendar
Full Version: Backup/apache/maxclients headaches !
The Planet Forums > General > Suggestions/Comments
royalexile
I am having huge probs at the moment with the following:

i am unable to make backups, submitted a tt & this is what i've received:
QUOTE
The reason backups are not working is because you have not mounted the
second hdd to /backup. Instead it is at /home2. Cpanel has already placed
sites on that drive so you will need to move them with the modify site
script to /home. Once they have been moved you need to mkdir /backup;
umount /home2; edit the /etc/fstab and change /home/2 to /backup; mount
/backup; rm -rf /home2.
Please refer to our support forums  http://forums.rackshack.net
rs-support


i have also received this 4 times within the last 3 hours:

QUOTE
apache failed @ Sat May 24 21:38:03 2003. A restart was attempted automagicly.


and (there's more!) this has dropped in my mailbox 4 times today:

QUOTE
Apache has reached the MaxClients  
limit.  cPanel has increased the MaxClients limit to 190 (10 higher).


Please can someone offer some advice?
eth00
The first thing is about cpanel putting sites on the backup hard disk so you need to remove them first before you can use it for backup.

Cpanel is nice enought to increase the max clients as needed. That just means that the server is having lots of connections and just needs to be increased. Cpanel is pretty good about that and you can just watch as you get more people connecting.

As far as apache getting killed check /var/log/messages and /var/log/httpd/error_logs and see what is causing it.
royalexile
Thanks icon_smile.gif

so i don't need to worry about the maxclients thing then?

about the backups, what exactly do i need to do?
i'm new to all this and start to worry when things go wrong!!
eth00
The maxclients are fine where they are.


As for the backup...well thats a totaly different problem. Cpanel has this "feature" where if you have /home and /home2 it adds sites to the hard disk that has the most free space. Well you happen to have that setup so it has put some sites in both places. The problem is you wanted home2 to be used for backup.... Anyways it looks like you will have to follow there directions and move all of the sites off /home2 if you wish to use all of the space for backup.
royalexile
ok, i've moved the sites from /home2

how & where do i do the rest?
eth00
umount /home2
Then look in /etc/fsctab where home2 is mounted and change that to say /backup

Now mount /backup
You should be ready to go to use the /backup partition!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.