Hi,
My ossec-dbd process keeps crashing after a few days and I wanted to know how I can go about getting more information out as to why it's happening because the OSSEC logs are sparse (just info entries of the services starting up each time):
[U@secserv etc]# service ossec status
ossec-monitord is running...
ossec-logcollector is running...
ossec-remoted is running...
ossec-syscheckd is running...
ossec-analysisd is running...
ossec-maild is running...
ossec-execd is running...
ossec-dbd: Process 27555 not used by ossec, removing ..
ossec-dbd not running...
ossec-csyslogd not running...
ossec-agentlessd not running...
[U@secserv etc]# service ossec restart
Stopping OSSEC: [ OK ]
Starting OSSEC: [ OK ]
[U@secserv etc]# /var/ossec/bin/ossec-control
ossec-monitord is running...
ossec-logcollector is running...
ossec-remoted is running...
ossec-syscheckd is running...
ossec-analysisd is running...
ossec-maild is running...
ossec-execd is running...
ossec-dbd is running...
ossec-csyslogd not running...
ossec-agentlessd not running...
Currently my setup is Centos 6.9 with mysql 5.1.73. Before I spiral down the rabbit hole of upgrades how can I enable some debugging on the server to hopefully spot the ossec-dbd crashing? Is it just internal_options' logcollector.debug=1