Awstats and access log files not working after migration

Discussion in 'Installation/Configuration' started by zbuzanic, Dec 3, 2015.

  1. zbuzanic

    zbuzanic Member

    After migrating to new server everything is fine except I can't get access log files/awstats work on old sites. New sites work without a problem.
    I compared working and non-working site (permissions, apache vhost files, awstats configs, directories) but didn't find anything useful. Any ideas what should I check or what I missed?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Which ISPConfig version do you use?
     
  3. zbuzanic

    zbuzanic Member

    3.0.5.4p8 is running on all servers. I did run ISPConfig "upgrade" after migration.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you move the bind mount lines for the log files in /etc/fstab file to the new server?
     
  5. zbuzanic

    zbuzanic Member

    Ohhh, yes now I see. Didn't copy fstab section. Thank you. That's it.
     
  6. zbuzanic

    zbuzanic Member

    Binds are still not working as I got only one listing doing mount | grep log
    Then I tried to remove log directory from clients but got permission denied as root.
    Tried rm -rf log, chown root:root log, chmod 777 log, with sudo and similar, any fresh idea how to remove it and is that even smart thing to do?
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    did you run:

    mount -a

    after you edited the fstab file?
     
  8. zbuzanic

    zbuzanic Member

    Hit the wall... I did remount... but only /
    Did reboot too as I was hoping reboot will remount fstab but apparently not.
    ok, now symlinks work as supposed. Free to close this as now is solved.
     

Share This Page