Re: [ossec-list] How to install ossec in a custom directory

2014-12-16 Thread christophe.egron
Files LOCATION and init were already correct, I applied the modification on src/headers/defs.h. It is now operational on solaris, I am also going to operate the solution on AIX and Linux RedHat. Thank you Darin, Christophe Le jeudi 11 décembre 2014 20:16:16 UTC+1, Darin Perusich a écrit : > >

Re: [ossec-list] How to install ossec in a custom directory

2014-12-11 Thread Darin Perusich
These are relative to the basedir of unpacked source, adjust to taste ;-) # fix for FHS sed -i 's%/var/ossec%/var/lib/ossec%' src/LOCATION sed -i 's%/var/ossec%/var/lib/ossec%' src/headers/defs.h # don't forget the init script and init config sed -i 's%/var/ossec%/var/lib/ossec%' src/init/ossec-h

[ossec-list] How to install ossec in a custom directory

2014-12-11 Thread christophe.egron
Hi All, I meet difficulties to install ossec agent in a directory different of /var/ossec. During the installation I indicated a new target directory /mycustomdir. I find it in *:~/ossec-hids-2.8.1/src/Config.OS* *CEXTRA= -DDEFAULTDIR=\"/mycustomdir\" -DCLIENT* However the makefile of generat