This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ACC Agent not running on 8.002

Since a longer time (i think it was since updating my Astaro at home to 8.002, or short after that) i get a message that ACC service was not running and it was restarted every hour.

Because it was my ASG at home i did not cared about it first.

Restarted the ASG today, still the same message every hour, no connection to ACC server. The log accd.log on the ASG contains nothing. Wanted to restart the service manually over SSH but did not found a service to restart it.

Then found "acc-agent.plx" in PATH and executed it as root (just to try out) with this result:
# acc-agent.plx 
new(c) Modules::Monitoring::Services::Raw ---> Modules::Monitoring::Services::Ftp=HASH(0x8feb9b0),Modules::Monitoring::Services::Ftp
new(c) Modules::Monitoring::Services::Raw ---> Modules::Monitoring::Services::Http=HASH(0x8fe95c0),Modules::Monitoring::Services::Http
new(c) Modules::Monitoring::Services::Raw ---> Modules::Monitoring::Services::Smtp=HASH(0x8fe9650),Modules::Monitoring::Services::Smtp
new(c) Modules::Monitoring::Services::Raw ---> Modules::Monitoring::Services:[[:P]]op3=HASH(0x8fe96e0),Modules::Monitoring::Services:[[:P]]op3
new(c) Modules::Monitoring::Services::Raw ---> Modules::Monitoring::Services::Socks=HASH(0x8ff61e8),Modules::Monitoring::Services::Socks
new(c) Modules::Monitoring::Services::Raw ---> Modules::Monitoring::Services:[[[[:D]]]]ns=HASH(0x8ff6278),Modules::Monitoring::Services:[[[[:D]]]]ns
new(c) Modules::Monitoring::Services::Raw ---> Modules::Monitoring::Services::Ntp=HASH(0x8ff6308),Modules::Monitoring::Services::Ntp
new(c) Modules::Monitoring::Services::Raw ---> Modules::Monitoring::Services:[[[[:D]]]]hcp=HASH(0x8ff6398),Modules::Monitoring::Services:[[[[:D]]]]hcp
Subroutine Init redefined at /Modules/AggregatedReporting.pm line 236.
Subroutine connect redefined at /AccConnection.pm line 281.
Subroutine disconnect redefined at /AccConnection.pm line 332.
new(c) Agent::Logger ---> Agent::Logger=HASH(0x9535cb0),Agent::Logger
===> Astaro::Logdispatcher->dump_state():
 initialized: 1
 configfilename='/etc/agent/logdispatcher.conf'
 logbitmask='3'
 syslog:
   open=1 active=1 name='device-agent' delimiters='only_multiline'
  mtypeinfo=0 stackinfo=0   always_backtrace=0
 file: tofilehandle=1 filename='' valid='open'
 FILTER:
dump_state():

##################
2010-10-15 09:46:25.506 INFORMATIVE MESSAGE device-agent[14975]: Agent::Logger::_new_instance:120()
| Starting logging output (level=3 [3])...
null
Starting logging output (level=3 [3])...

##################
2010-10-15 09:46:25.507 WARNING device-agent[14975]: Agent::Logger::log:190()
|   acc-agent.plx starting as application.
Use of uninitialized value in concatenation (.) or string at acc-agent.pl line 259.

##################
2010-10-15 09:46:25.508 WARNING device-agent[14975]: Agent::Logger::log:190()
|   acc-agent.plx has started with PID=14975 ()-

##################
2010-10-15 09:46:25.509 WARNING device-agent[14975]: Agent::Logger::log:190()
|    ---- Output Options ---- 

##################
2010-10-15 09:46:25.510 WARNING device-agent[14975]: Agent::Logger::log:190()
|     TRACE -> 0

##################
2010-10-15 09:46:25.511 WARNING device-agent[14975]: Agent::Logger::log:190()
|     DEBUG -> 1

##################
2010-10-15 09:46:25.512 WARNING device-agent[14975]: Agent::Logger::log:190()
|     INFO  -> 2

##################
2010-10-15 09:46:25.513 WARNING device-agent[14975]: Agent::Logger::log:190()
|     WARN  -> 3

##################
2010-10-15 09:46:25.514 WARNING device-agent[14975]: Agent::Logger::log:190()
|     ERROR -> 6

##################
2010-10-15 09:46:25.515 WARNING device-agent[14975]: Agent::Logger::log:190()
|     CRIT  -> 8

##################
2010-10-15 09:46:25.517 WARNING device-agent[14975]: Agent::Logger::log:190()
|   Current Level is: 3

##################
2010-10-15 09:46:25.518 WARNING device-agent[14975]: Agent::Logger::log:190()
|     WARN messages are displayed

##################
2010-10-15 09:46:25.519 WARNING device-agent[14975]: Agent::Logger::log:190()
|     ERROR messages are displayed

##################
2010-10-15 09:46:25.520 WARNING device-agent[14975]: Agent::Logger::log:190()
|     CRIT messages are displayed
new(c) Agent::Cache ---> Agent::Cache=HASH(0x94e7480),Agent::Cache
Use of uninitialized value $host in concatenation (.) or string at /Agent/Confd.pm line 86.
Use of uninitialized value $port in concatenation (.) or string at /Agent/Confd.pm line 86.
new(c) Agent::Confd ---> Agent::Confd=HASH(0x82b0c70),Agent::Confd ([:)]
Use of uninitialized value in concatenation (.) or string at /Agent/Confd.pm line 156.
Use of uninitialized value in concatenation (.) or string at /Agent/Confd.pm line 156.
bless( {
  'confd_facility' => 'acc-agent',
  'confd_user' => 'system',
  'conn_timeout' => '60'
}, 'Agent::Confd' )


##################
2010-10-15 09:46:26.260 WARNING device-agent[14975]: Agent::Logger::log:190()
|   Init cache.

##################
2010-10-15 09:46:28.132 WARNING device-agent[14975]: Agent::Logger::log:190()
|   _AgentTermHandler -> '' -> 'Agent::Config::IPSecSite2Site'
| '/Agent/Config/IPSecSite2Site.pm'
| 610

Undefined subroutine &Agent::Config::IPSecSite2Site::JSONCoder_pretty called at /Agent/Config/IPSecSite2Site.pm line 610.


Don't know, if the "Undefined subroutine" breaks the agent.

On the ASG itself, "ACC Health" shows:
Thu Sep  9 13:48:05 2010
Login successful

So, still over a month ago, and no error shown there.

Maybe someone (Thorsten?) has an idea.

Thanks
Urs


This thread was automatically locked due to age.
Parents Reply Children
No Data