Lose links to logfiles after rebooting server and mount -a restores them.

Discussion in 'General' started by webguyz, Apr 25, 2015.

  1. webguyz

    webguyz Active Member HowtoForge Supporter

    Everytime I reboot the symlinks to each websites logfiles isn't restored and customer can not see their logfiles when I ftp into the server. When I ssh into the server and type mount -a it restores the links for all customers websites.

    Is there anything I can do to automate this so I don't have to remember to run 'mount -a' after reboot?

    I followed the ISPConfig Perfect Server Wheezy apache, etc. during setup.

    Thanks
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Add the mount -a command in /etc/rc.local file. I use wheezy here as well on my servers and there are no issues with the mount points after a reboot, so not sure why mounting on your system fails.
     
  3. webguyz

    webguyz Active Member HowtoForge Supporter

    I tested 2 newer servers recently added and they do seem to be ok after a reboot. The older servers that have been around the longest this does happen to every reboot. In any case I'm sure the rc.local update will fix this.

    Thanks!
     

Share This Page