You need to build a binary install.
http://www.ossec.net/doc/manual/installation/installation-binary.html

On Wed, Aug 22, 2012 at 4:42 PM, Christopher Werby <[email protected]> wrote:
> Hi
>
> I'm trying to set OSSEC up as "local" on a VPS hosted by Dreamhost (running
> the Debian 6.0, Linux kernal release 3.1.9-vs2.3.2.5).  I've done this twice
> before using older versions of OSSEC without difficulty.
>
> When running the register_rule.sh script, the installer dies with a
> permission error.  I tried to change the permissions and made the
> register_rule.sh file 777 with no luck.  I'm executing the script as root
> (using sudo su).
>
> I've reproduced the onscreen display starting from just before the point it
> dies.
>
>> make[3]: Leaving directory
>> `/tmp/ossec-hids-2.6/src/analysisd/decoders/plugins'
>> gcc -g -Wall -I../../ -I../../headers  -DDEFAULTDIR=\"/var/ossec\" -DLOCAL
>> -DUSE_OPENSSL -DUSEINOTIFY    -DARGV0=\"ossec-analysisd\" -DXML_VAR=\"var\"
>> -DOSSECHIDS -I../ -c *.c
>> ar cru decoders.a *.o  plugins/*.o
>> ranlib decoders.a
>> make[2]: Leaving directory `/tmp/ossec-hids-2.6/src/analysisd/decoders'
>> cd ./compiled_rules; make;
>> make[2]: Entering directory
>> `/tmp/ossec-hids-2.6/src/analysisd/compiled_rules'
>> ./register_rule.sh build
>> make[2]: execvp: ./register_rule.sh: Permission denied
>> make[2]: *** [plugins] Error 127
>> make[2]: Leaving directory
>> `/tmp/ossec-hids-2.6/src/analysisd/compiled_rules'
>> make[1]: *** [logaudit] Error 2
>> make[1]: Leaving directory `/tmp/ossec-hids-2.6/src/analysisd'
>> Error Making analysisd
>> make: *** [all] Error 1
>>  Error 0x5.
>>  Building error. Unable to finish the installation.
>
>
>
> Any thoughts on how I might fix this?
>
> Thanks!



-- 
Registered Linux User # 379282

Reply via email to