[8.160][BUG][FIXED] ACC agent restart every hour

Hi,

the ACC agent is restarted every our. Sysuptime within the message is wrong.

Sven

###########
1.hour
ACC device agent not running - restarted
-- 
System Uptime      : 0 days 0 hours 0 minutes
System Load        : 0.52
System Version     : Astaro Security Gateway 8.160

Please refer to the manual for detailed instructions.
############
2.hour
ACC device agent not running - restarted
-- 
System Uptime      : 1 days 1 hours 0 minutes
System Load        : 0.05
System Version     : Astaro Security Gateway 8.160

Please refer to the manual for detailed instructions.
  • Astaro Beta Report
    --------------------------------
    Version: 8.160
    Type: BUG
    State: MERGED/FIXED
    Reporter: maygyver
    Contributor: 
    MantisID: 17106
    Target version: 8.162
    Fixed in version: 8.162
    --------------------------------

  • This are actually two different issues. For the ACC-agent problem, i need you to take a look at the "Device agent" logfile. 

    Please look for the lines that indicate a restart, something like 

    "/usr/sbin/acc-agent.plx starting as daemon."


    then look for log entries that look like an error above that line, and post them here.

    The Sysuptime thing is a problem in the notifier, that has should be fixed in the upcoming version.
  • Same issue here. Here is my output

    2011:03:09-19:56:33 asg device-agent[32430]:   _AgentTermHandler -> 'Bad file descriptor' -> 'Modules::Monitoring::Resource'
    2011:03:09-19:56:33 asg device-agent[32430]: '/Modules/Monitoring/Resource.pm'
    2011:03:09-19:56:33 asg device-agent[32430]: 370
    2011:03:09-19:56:48 asg device-agent[32515]: Starting logging output (level=3 [3])...
    2011:03:09-19:56:48 asg device-agent[32515]:   /usr/sbin/acc-agent.plx starting as daemon.
    2011:03:09-19:56:48 asg device-agent[32515]:   /usr/sbin/acc-agent.plx has started with PID=32515 ()-
    2011:03:09-19:56:48 asg device-agent[32515]:    ---- Output Options ---- 
    2011:03:09-19:56:48 asg device-agent[32515]:     TRACE -> 0
    2011:03:09-19:56:48 asg device-agent[32515]:     DEBUG -> 1
    2011:03:09-19:56:48 asg device-agent[32515]:     INFO  -> 2
    2011:03:09-19:56:48 asg device-agent[32515]:     WARN  -> 3
    2011:03:09-19:56:48 asg device-agent[32515]:     ERROR -> 6
    2011:03:09-19:56:48 asg device-agent[32515]:     CRIT  -> 8
    2011:03:09-19:56:48 asg device-agent[32515]:   Current Level is: 3
    2011:03:09-19:56:48 asg device-agent[32515]:     WARN messages are displayed
    2011:03:09-19:56:48 asg device-agent[32515]:     ERROR messages are displayed
    2011:03:09-19:56:48 asg device-agent[32515]:     CRIT messages are displayed
    2011:03:09-19:56:50 asg device-agent[32515]:   Init cache.
    2011:03:09-19:56:55 asg device-agent[32515]: >====================================
  • Hi

    This issue is already known and has been reported here for the first time.

    The issue is fixed and will be released with one of the next beta releases.