clearing system logs (remove errors) ispconfig 3.0.0.8

Discussion in 'Developers' Forum' started by gjcomputer, Jan 6, 2009.

  1. gjcomputer

    gjcomputer New Member

    Code:
    State: error
    0 unknown | 0 info | 0 warning | 0 critical | 1 error
    
    ok:
    The state of your Hard-Disk space is ok [more...]
    Your Virus-protection is ok [more...]
    Your Mailq load is ok [more...]
    Your RAID is ok [more...]
    Your Server load is ok [more...]
    All needed Services are online [more...]
    Your System is up to date. [more...]
    
    error:
    There are errors in your System-Log [more...]

    i get this in red under Server State and i cant clear it, any ideas?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Have you fixed the error that is mentioned in the log?
     
  3. gjcomputer

    gjcomputer New Member

    yes, they were fixed
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok. I added this to the bugtracker. We will have to add some kind of function that allows bugs to be marked as solved.

    What you can do is e.g. to delete the error in the sys_log database table.
     
  5. gjcomputer

    gjcomputer New Member

    i removed the logs and it still seems to show, even after restarting
     
  6. olkos

    olkos New Member

    If you have a lot of pages with errors you can remove it by emptying the sys_log in dbispconfig database.
     
  7. GaryS

    GaryS New Member

    Sorry to bring this up again... BUT..

    I noticed when using phpmyadmin to do a clean up as ispconfig didn't, I couldn't select more than 100 rows as an error about 1000 fields came up, obviously a config issue (any suggestions of a fix ?)
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Probably you hit the max number of variables in your php setup (apache php.ini file).
     
  9. GaryS

    GaryS New Member

    I wonder what the recommended setting is for ispconfig ?

    I was actually observing a mysql traffic issue whilst the log wasn't clearing. The warnings (1000's) all occurred during a reboot of the base machine when mysql was down, I would have expected things to clear. What alerted me to the problem was the DNS machines were generating outbound traffic back to the control machine, in some cases well over their link capacity. Once I managed to look at IspConfig via a non effected link, the only issue was the warning and once manually cleared all the links returned to normal. Seems a funny result, but I now have to setup some new firewall rules around the place for should it happen again.

    I wonder if others have ever seen this ? My DNS's are in different datacenters.
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    There is no recommended setting as the defaults are alwyas fine for ISPConfig as ISPConfig does not use many post variables ina page. Your problem is in phpmyadmin and not ISPConfig.
     

Share This Page