ossec / ossec-hids

OSSEC is an Open Source Host-based Intrusion Detection System that performs log analysis, file integrity checking, policy monitoring, rootkit detection, real-time alerting and active response.
http://www.ossec.net
Other
4.51k stars 1.04k forks source link

ossec-syscheckd startup error #854

Closed gj12 closed 8 years ago

gj12 commented 8 years ago

I can't start ossec after upgrading an old install with the master from github:

root@lab56:~/ossec-hids$ /var/ossec/bin/ossec-control start
Starting OSSEC HIDS v2.8 (by Trend Micro Inc.)...
Started ossec-maild...
Started ossec-execd...
Started ossec-analysisd...
Started ossec-logcollector...
2016/05/24 12:44:39 ossec-syscheckd(1210): ERROR: Queue '/var/ossec/queue/ossec/queue' not accessible: 'Connection refused'.
2016/05/24 12:44:39 rootcheck(1210): ERROR: Queue '/var/ossec/queue/ossec/queue' not accessible: 'Connection refused'.
2016/05/24 12:44:47 ossec-syscheckd(1210): ERROR: Queue '/var/ossec/queue/ossec/queue' not accessible: 'Connection refused'.
2016/05/24 12:44:47 rootcheck(1210): ERROR: Queue '/var/ossec/queue/ossec/queue' not accessible: 'Connection refused'.
2016/05/24 12:45:00 ossec-syscheckd(1210): ERROR: Queue '/var/ossec/queue/ossec/queue' not accessible: 'Connection refused'.
2016/05/24 12:45:00 rootcheck(1211): ERROR: Unable to access queue: '/var/ossec/queue/ossec/queue'. Giving up..
ossec-syscheckd did not start correctly.
root@lab56:~/ossec-hids$
atomicturtle commented 8 years ago

This is because of #853 so I'm going to merge this into that issue.

vortex8300 commented 7 years ago

go to server and try this

chown -R ossec /var/ossec

carlosislasposadas commented 7 years ago

It works vortex8300 thankyou. Finally I can start the services. Regards

fshey commented 5 years ago

It works; thanks.