Fog server offline
-
Yesterday I deleted some images because I couldn’t login to the server. This morning it is telling me that it is offline. I don’t normally take care of the server, can you help me?
-
Sounds like the disk might be still full, or other damage was caused by the disk filling to 100%. How are you logging in? Directly at the server itself? Have you tried using SSH?
-
I am logging in at the server. I can also log in remotely. Up in the right hand corner it shows that the fog server is offline.
-
@Connie Can you log into the console of the fog server (not web interface), to get to the command shell/line? You can do this from sitting in front of the console or via ssh (i.e. putty).
If so then can you run the following command and post the results here.
df -h
-
I took a picture of it. How do I post it?
-
-
Yep, your root file system has filled up. For unix this is not a good situation.
I might start with changing to the upload folder to see if there are any failed image captures.
cd /image/dev
then get a directory listing of what is there. Normally this directory is empty.
ls -la
If there ARE files there, then you need to decide if they are important enough so you can’t delete them. If you can delete them then you can run this dangerous command. Its dangerous in the since it WILL delete anything and every thing in that directory no questions asked.
If you are positive you are in /images/dev then key in
rm -rf /images/dev/*
and it will purge all files and folders in that folder. Then run thedf -h
command again and see if you have any free space on the /dev/sda1 partition. -
@george1421 said in Fog server offline:
cd /image/dev
should becd /images/dev
If you are positive you are in /images/dev then key in
rm -rf /images/dev/*
and it will purge all files and folders in that folder. Then run thedf -h
command again and see if you have any free space on the /dev/sda1 partition.After running George’s command to delete everything in that directory, execute these commands to recreate the .mntcheck file that is required in that directory.
touch /images/dev/.mntcheck;chmod 777 /images/dev/.mntcheck
-
Does this picture help?
-
@Connie You need to re-upload the picture. It must not have worked correctly
-
I was able to help via Team Viewer.
The FOG server’s IP address changed. The server is probably set to receive DHCP and maybe the reservation was deleted or something - not sure. It had a very weird IP, not one you’d normally set as static or as a reservation.
Also - Connie has fog 0.29 installed on Ubuntu 10.04
The root partition has around 30-40GB of free space now - but it will surely run out of space again.
Images and DB need backed up, and a new server needs built, honestly.