OVH Community, your new community space.

Restarted server but services not started?


marks
13-10-2010, 14:02
I'm not sure if it's MySQL data the biggest among your services. If so, you could change the default data folder to another partition:
http://www.ubuntugeek.com/how-to-cha...directory.html

Or, change the folder /var altogether to another partition (Rescue mode, copy contents and prepare the fstab to boot up mounting the new partition as /var folder.

tbobker
13-10-2010, 12:30
I deleted all files from /tmp folder and rebooted. This has cleared some disk space. But my services still have not started?

I like this idea of tmpfs, I am certainly going to implement this once I get everything up and running.

Thanks for the help everyone.

yonatan
13-10-2010, 12:08
Quote Originally Posted by slacker
Put the server in rescue mode as explained here: http://help.ovh.com/RescueMode

Login via ssh and mount the root partition /dev/md1 if it's on RAID.

remove tmp files.

Put the server back to normal mode and reboot.
that's a good suggestion, but it addresses the symptom not the issue itself.


I would suggest , if you do not want to resize , use tmpfs.

slacker
13-10-2010, 11:57
Put the server in rescue mode as explained here: http://help.ovh.com/RescueMode

Login via ssh and mount the root partition /dev/md1 if it's on RAID.

remove tmp files.

Put the server back to normal mode and reboot.

yonatan
13-10-2010, 11:57
you will have to free some space,
after the reboot, what is the current disk space usage?

why don't you try to repartition in rescue-pro ? you can resize

tbobker
13-10-2010, 11:51
I am running dedicated Gentoo server. MySQL went down last night and I got an error 1030 meaning I ran out of disk space.

I checked my disk usage and looks like / (root) is 100% full. Turns out that the /tmp directory is full. The root is only 3GB. I need to enlarge this partition but the only way is to reinstall the server making the partitions bigger.

I restarted the server in an attempt that all tmp files were deleted, but this didnt work and my other services have not started, BIND9, APACHE2 AND MYSQL + PHP?

I have tried starting these through SSH (funnily enough ssh works) with no succcess. When I try and run commands such as /etc/init.d/apache2 restart the terminal shows the message named start....

Any advice or help appreciated.