Minor error found

Discussion in 'Developers' Forum' started by concept21, May 30, 2017.

  1. concept21

    concept21 Active Member

    I find this minor error in the ISPConfig Cron - Log of ISPConfig 3.1.2:
    c1aps1 does not exceed quota qize: 0 > 1343488
    :oops:
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    That's not an error, it is a debug message that informs you that the database size has been tested and that it des not exceed its limits.
     
  3. mediamix

    mediamix New Member

    I was configuring cron jobs for user root and daemon and think I broke something. I was making the entries from a terminal window on my Ubuntu 16.04 server

    Now, if I look in ISPC Cron-Log, the entries stopped yesterday. Last entries were:

    Thu May 3 11:15:01 EDT 2018
    Thu May 3 11:15:01 EDT 2018
    Thu May 3 11:15:01 EDT 2018 finished.
    Thu May 3 11:15:01 EDT 2018 c1aps1 does not exceed quota qize: 0 > 13640803
    Thu May 3 11:15:01 EDT 2018 c1aps2 does not exceed quota qize: 0 > 28375110
    Thu May 3 11:15:01 EDT 2018 c1aps3 does not exceed quota qize: 0 > 5357568
    Thu May 3 11:15:01 EDT 2018 c1aps4 does not exceed quota qize: 0 >
    Thu May 3 11:15:01 EDT 2018 /usr/bin/fail2ban-client
    Thu May 3 11:15:01 EDT 2018 /sbin/iptables
    Thu May 3 11:15:01 EDT 2018 /sbin/ip6tables
    Thu May 3 11:16:01 EDT 2018
    Thu May 3 11:16:01 EDT 2018
    Thu May 3 11:16:01 EDT 2018 finished.
    Thu May 3 11:17:01 EDT 2018
    Thu May 3 11:17:01 EDT 2018
    Thu May 3 11:17:01 EDT 2018 finished.
    Thu May 3 11:18:01 EDT 2018
    Thu May 3 11:18:01 EDT 2018
    Thu May 3 11:18:01 EDT 2018 finished.
    Thu May 3 11:19:01 EDT 2018
    Thu May 3 11:19:01 EDT 2018
    Thu May 3 11:19:01 EDT 2018 finished.

    Any idea of what I changed in the cron job that stopped entries from populating here?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    An apache server should contain these cron lines:

    * * * * * /usr/local/ispconfig/server/server.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done
    * * * * * /usr/local/ispconfig/server/cron.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done
     
  5. mediamix

    mediamix New Member

    Till
    Thanks for taking the time to reply.
    I was missing the "2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done" at the end of each line
    I made the change but the log is still not receiving entries.
    I am modifying the cron job for user root.
    Any ideas?
    Joe
     

Share This Page