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?


  • Moderator

    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.


  • Testers

    @Connie You need to re-upload the picture. It must not have worked correctly



  • Does this picture help?


  • Moderator

    @george1421 said in Fog server offline:

    cd /image/dev should be cd /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 the df -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


  • Moderator

    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 the df -h command again and see if you have any free space on the /dev/sda1 partition.



  • 0_1460651032557_20160414_105446_resized.jpg



  • I took a picture of it. How do I post it?


  • Moderator

    @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 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.


  • Moderator

    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?


Log in to reply
 

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.