ISPConfig 3 don't update Serverstatus/Logs

Discussion in 'Installation/Configuration' started by aulinang, Jun 29, 2014.

  1. aulinang

    aulinang New Member

    Good day HowtoForge community,

    I have a problem with my ISPConfig installation. Server Status, Logs (email, fail2ban, Syslog, ....) were not updated in the Web Interface.

    This problem started, when I re-configured Squirrelmail (partial rights changed), and then because I wanted to start all services again, the complete LInux server got restarted. Since 06/27/2014 21:30 ISPConfig updated any more.

    I already tried some HowTo's on the Internet, and even googled for hours. Unfortunately, without the desired success.

    After otherwise all functions are working properly by ISPConfig, my first suspicion is that I gave files which ISPConfig needs the wrong rights.

    I have made ​​changes to:
    / var / spool / squirrelmail
    / var / lib / squirrelmail


    I hope somebody has a tip for me or can help me somehow.
    Thank you in advance
    Greetings Aulinang

    PS: I'm using the latest version of ISPConfig3 with patch 1. Also Debian is up to date
     

    Attached Files:

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Try to restart the cron daemon.
     
  3. aulinang

    aulinang New Member

    hello till, thanks for fast answer

    the output of 'crontab -l' shows:
    Code:
    * * * * * /usr/local/ispconfig/server/server.sh 2>&1 > /dev/null | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done
    30 00 * * * /usr/local/ispconfig/server/cron_daily.sh 2>&1 > /dev/null | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done
    i stopped the server.sh script and run it manually:
    Code:
    /usr/local/ispconfig/server/server.sh stop
    /usr/local/ispconfig/server/server.sh start
    so my logs and status in webinterface is updated for 1 time. don't now why, because crontab look's good. the cron.log in /var/log/ispconfig/cron.log is empty (last entry 1 week ago)
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    You can not restart server.sh as its not a daemin, please restart cron as I suggested above.
     
  5. aulinang

    aulinang New Member

    can't find the ispconfig deamon. the scripts are in crontab table, so i restarted the whole cron system

    Code:
    /etc/init.d/cron restart 
    do not know that was the correct path, but cron restart did not yield any solution
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Off course, as ispconfig has no daemon.

    Yes, thats what I told you. The problem is your Linux cron daemon and not ispconfig as you found out yourself by running the server.sh script manually. Take a look at the syslog to find out why cron is not running and executing scripts from root crontab.
     
  7. aulinang

    aulinang New Member

    a restart of the cron system was not helpful

    for some reason my linux no longer execute crontab, so i had to do:

    comment out crontab -e:

    Code:
    [COLOR="Red"]#[/COLOR]* * * * * /usr/local/ispconfig/server/server.sh 2>&1 > /dev/null | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done
    [COLOR="Red"]#[/COLOR]30 00 * * * /usr/local/ispconfig/server/cron_daily.sh 2>&1 > /dev/null | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done
    then save file so the crontab table is updated. after that edit again this file and delete comment:

    Code:
    * * * * * /usr/local/ispconfig/server/server.sh 2>&1 > /dev/null | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done
    30 00 * * * /usr/local/ispconfig/server/cron_daily.sh 2>&1 > /dev/null | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done
    this workaround helped me and solve my problem. thanks to till
     

Share This Page