[Pkg-ossec-devel] OSSEC on Debian/Squeeze

Slobodan Aleksić lists at aleksic.de
Mon Oct 31 06:17:45 UTC 2011


First thanks for your work on the Debain package!

I have cloned the git-repo and generated the .deb-files.

But when installing i get this :

Setting up ossec-hids-server (2.6-1) ...
dpkg: error processing ossec-hids-server (--install):
 subprocess installed post-installation script returned error exit status 10
Errors were encountered while processing:
 ossec-hids-server
E: Sub-process /usr/bin/dpkg returned an error code (1)


And when trying to start the service:

/etc/init.d/ossec-hids-server start
Starting Host-based Intrusion Detection System : ossecStarting OSSEC
HIDS v2.6 (by Trend Micro Inc.)...
cat: /var/ossec/var/start-script-lock/pid: No such file or directory
cat: /var/ossec/var/start-script-lock/pid: No such file or directory
cat: /var/ossec/var/start-script-lock/pid: No such file or directory
cat: /var/ossec/var/start-script-lock/pid: No such file or directory
cat: /var/ossec/var/start-script-lock/pid: No such file or directory
/var/ossec/bin/ossec-control: 239: cannot create
/var/ossec/var/start-script-lock/pid: Directory nonexistent
Started ossec-execd...
2011/10/31 07:15:00 ossec-agentd(4105): ERROR: No valid server IP found.
2011/10/31 07:15:00 ossec-agentd(1215): ERROR: No client configured.
Exiting.
 failed!




How can I help debugging this? I tried some things like creating the
directory var/ossec/var/start-script-lock and so on.  But I did not get
far...


Regards

--
Slobodan



More information about the Pkg-ossec-devel mailing list