reinstalling agent

73 views
Skip to first unread message

Adiel Navarro

unread,
Sep 28, 2016, 10:58:31 AM9/28/16
to wa...@googlegroups.com

I uninstalled an agent in a SUNOS and try to reinstalled, but when I run install.sh, the next error appears:

 

 

*** Error code 1

make: Fatal error: Command failed for target `bf'

Current working directory /export/root/Adiel/home/ossec-hids-2.8.3/src/os_crypto/blowfish

*** Error code 1

The following command caused the error:

cd blowfish; make

make: Fatal error: Command failed for target `os_crypto'

Current working directory /export/root/Adiel/home/ossec-hids-2.8.3/src/os_crypto

 

Error Making os_crypto

*** Error code 1

The following command caused the error:

/usr/xpg4/bin/sh ./Makeall all

make: Fatal error: Command failed for target `all'

 

Error 0x5.

Building error. Unable to finish the installation.

Adiel Navarro

unread,
Sep 28, 2016, 11:36:59 AM9/28/16
to wa...@googlegroups.com

I untar again ossec-hids-2.8.3 and run install.sh and the next error appears:

 

5- Installing the system

- Running the Makefile

./Makeall: test: argument expected

*** Error code 1

The following command caused the error:

/bin/sh ./Makeall all

Santiago Bassett

unread,
Sep 29, 2016, 1:49:59 PM9/29/16
to Adiel Navarro, Wazuh mailing list
Hi Adiel,

is this for Solaris 10 or 11? Most likely you just need to use gcc and gmake instead of default compiler. See below my notes from when I compiled ossec-wazuh-1.1 on Solaris 10. 

$ uname -a

SunOS 5.10 Generic_147148-26 i86pc i386 i86pc


$ export TERM=xterm

$ export PATH=$PATH:/opt/csw/bin

$ export CC=/opt/csw/bin/gcc

$ export LD_LIBRARY_PATH=/usr/sfw/lib/


pkgadd -d http://get.opencsw.org/now

/opt/csw/bin/pkgutil -U

/opt/csw/bin/pkgutil -y -i vim

/opt/csw/bin/pkgutil -y -i gcc4core


Download ossec-wazuh-1.1.zip and uncompress in /export/home/santiago


added := to line 68 of Makefile


export PATH=$PATH:/opt/csw/bin

export CC=/opt/csw/bin/gcc

/usr/sfw/bin/gmake TARGET=agent


I hope that helps,

Santiago.

--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+unsubscribe@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/004001d2199e%2419d67d20%244d837760%24%40mail.telcel.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages