Running ossec-dbd with the "-d" flag puts it in debug mode.I don't
know if there's a setting to enable that.

On Tue, Jul 20, 2010 at 6:43 AM,  <[email protected]> wrote:
> The error occurred again, output from ossec.log:
>
> 2010/07/20 03:51:28 ossec-dbd(5203): ERROR: Error executing query 'SELECT id 
> FROM location WHERE name = 'sles11-sp1-vm1-kus->ossec-monitord' AND server_id 
> = '1' LIMIT 1'. Error: 'MySQL server has gone away'.
>
> Running var/ossec/bin/ossec-control status shows the following
>
> sles11-sp1-vm1-kus:/var/ossec # /var/ossec/bin/ossec-control status
> ossec-monitord is running...
> ossec-logcollector is running...
> ossec-remoted is running...
> ossec-syscheckd is running...
> ossec-analysisd is running...
> ossec-maild not running...
> ossec-execd not running...
> ossec-dbd: Process 28624 not used by ossec, removing ..
> ossec-dbd not running...
>
> So it seems that the ossec-dbd is dying for whatever reason after some 
> runtime!?
>
> I have added dbd.debug=2 in the internal_options.conf file and also changed 
> the hostname from localhost to 127.0.0.1 in the ossec.conf file and restarted 
> ossec afterwards.
> If I get any new results I will share with you.
>
> Regards,
>
> Kai-Uwe
>
>

Reply via email to