When I start ossec-hids via init script, ossec-analysisd dies shortly thereafter with the following error:
Interestingly enough, I don't see this issue if I simply start ossec-analysisd by itself using:
Config and system info below. Appreciate any assistance. Cheers.
# /var/ossec/etc/ossec.conf
<ossec_config>
<syscheck>
<frequency>21600</frequency>
<directories check_all="yes">/etc,/usr/bin,/usr/sbin</directories>
<directories check_all="yes">/bin,/sbin</directories>
<ignore>/etc/mtab</ignore>
<ignore>/etc/hosts.deny</ignore>
<ignore>/etc/mail/statistics</ignore>
<ignore>/etc/random-seed</ignore>
<ignore>/etc/adjtime</ignore>
<ignore>/etc/httpd/logs</ignore>
</syscheck>
<rootcheck>
<disabled>no</disabled>
<rootkit_files>/var/ossec/etc/shared/rootkit_files.txt</rootkit_files>
<rootkit_trojans>/var/ossec/etc/shared/rootkit_trojans.txt</rootkit_trojans>
<system_audit>/var/ossec/etc/shared/system_audit_rcl.txt</system_audit>
</rootcheck>
<localfile>
<log_format>syslog</log_format>
<location>/var/log/messages</location>
</localfile>
<global>
<email_notification>yes</email_notification>
<smtp_server>127.0.0.1</smtp_server>
</global>
<alerts>
<email_alert_level>7</email_alert_level>
<log_alert_level>1</log_alert_level>
<use_geoip>no</use_geoip>
</alerts>
<remote>
<connection>secure</connection>
</remote>
</ossec_config>