wazuh install error

759 views
Skip to first unread message

Aytekin Döne

unread,
May 14, 2019, 6:15:27 AM5/14/19
to wa...@googlegroups.com
Hi everyone
i got this error when i install ossec on ubuntu server

 Error 0x5.
 Building error. Unable to finish the installation.

any idea?



Sergio Cervilla

unread,
May 14, 2019, 7:15:39 AM5/14/19
to Aytekin Döne, Wazuh mailing list
Hi Aytekin,

Have you installed all the needed dependencies to compile the wazuh-manager from sources? 

If not, you can check all the necessary dependencies as well as the steps to install the wazuh-manager in our official documentation

Don't hesitate to ask again if your problem persists.

Regards,

Sergio Cervilla 
IT Engineer — Wazuh, Inc.




--
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+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/CAOwLxLVZVUTN1mt7HUkFSdC4DznsQLuz8XcZpiXA4O%2BRV%3DCNpg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Aytekin Döne

unread,
May 14, 2019, 8:56:37 AM5/14/19
to Sergio Cervilla, Wazuh mailing list
thanks sergio
i try to install wazuh manager from ./install.sh

Sergio Cervilla <sergio....@wazuh.com>, 14 May 2019 Sal, 14:15 tarihinde şunu yazdı:

Sergio Cervilla

unread,
May 14, 2019, 9:11:09 AM5/14/19
to Aytekin Döne, Wazuh mailing list
Hello Aytekin,

Have you followed the steps of how to install the wazuh-manager

Yo need to install all the dependencies before trying to use the install.sh script or it will fail.

Could you please execute the following command and try again?

# apt-get install python gcc make libc6-dev curl policycoreutils automake autoconf libtool
I'm waiting for your response.

Regards,

Sergio Cervilla 
IT Engineer — Wazuh, Inc.



Aytekin Döne

unread,
May 14, 2019, 9:26:12 AM5/14/19
to Sergio Cervilla, Wazuh mailing list
hi sergio
i executed this command and  but i got same error

Error 0x5.
 Building error. Unable to finish the installation.


Sergio Cervilla <sergio....@wazuh.com>, 14 May 2019 Sal, 16:11 tarihinde şunu yazdı:

Aytekin Döne

unread,
May 14, 2019, 9:33:28 AM5/14/19
to Sergio Cervilla, Wazuh mailing list
which repos should I add to source list for  dependencies 

Aytekin Döne <ayteki...@gmail.com>, 14 May 2019 Sal, 16:25 tarihinde şunu yazdı:

Sergio Cervilla

unread,
May 14, 2019, 9:39:45 AM5/14/19
to Aytekin Döne, Wazuh mailing list
Hi Aytekin,

I need more information about your environment in order to help you. If you can answer the following questions it would be really helpful.
- What version of wazuh-manager are you trying to install?
- Could you please send us the complete output of the install.sh script execution?
- What version of Ubuntu Server are you using? 

I'm waiting for your response.

Regards,

Sergio Cervilla 
IT Engineer — Wazuh, Inc.



Aytekin Döne

unread,
May 14, 2019, 9:57:21 AM5/14/19
to Sergio Cervilla, Wazuh mailing list
hi sergio

1.wazuh-manager  3.9

2.output

make ossec-maild - ossec-csyslogd - ossec-agentlessd - ossec-execd - ossec-logcollector - ossec-remoted ossec-agentd manage_agents utils ossec-syscheckd ossec-monitord ossec-reportd ossec-authd ossec-analysisd ossec-logtest ossec-makelists ossec-dbd - ossec-integratord wazuh-modulesd wazuh-db
make[1]: Entering directory '/home/aytekin/wazuh-master/src'
    LINK libwazuh.a
ar: `u' modifier ignored since `D' is the default (see `U')
    LINK rootcheck.a
ar: `u' modifier ignored since `D' is the default (see `U')
./analysisd/compiled_rules/register_rule.sh build
make[1]: execvp: ./analysisd/compiled_rules/register_rule.sh: Permission denied
make[1]: *** [Makefile:1372: analysisd/compiled_rules/compiled_rules.h] Error 127
make[1]: *** Waiting for unfinished jobs....
    RANLIB rootcheck.a
    RANLIB libwazuh.a
make[1]: Leaving directory '/home/aytekin/wazuh-master/src'
make: *** [Makefile:554: server] Error 2

 Error 0x5.
 Building error. Unable to finish the installation.

3. ubuntu server19.04



Sergio Cervilla <sergio....@wazuh.com>, 14 May 2019 Sal, 16:39 tarihinde şunu yazdı:

Aytekin Döne

unread,
May 14, 2019, 10:01:58 AM5/14/19
to Sergio Cervilla, Wazuh mailing list
i downloaded fom this link

Aytekin Döne <ayteki...@gmail.com>, 14 May 2019 Sal, 16:57 tarihinde şunu yazdı:

Sergio Cervilla

unread,
May 14, 2019, 10:48:46 AM5/14/19
to Aytekin Döne, Wazuh mailing list
Hi Aytekin,

I've installed the same version in the same operating system without failure. 

It looks like a permission problem, so can you execute please the following command?

# stat /path/to/wazuh/src/analysisd/compiled_rules/register_rule.sh
The permissions should be 
0775/-rwxrwxr-x. 

Do you have full permissions in the directory where you're using the install.sh script? Also, can you paste here the output of the following command from inside the Wazuh repository?

# git branch
Regards,

Sergio Cervilla 
IT Engineer — Wazuh, Inc.



Aytekin Döne

unread,
May 15, 2019, 3:03:57 AM5/15/19
to Sergio Cervilla, Wazuh mailing list
Thanks, it worked. 

now i try to install ELK stack 
  1. For SysV Init:
  1. For Systemd:
should i install both?

Sergio Cervilla <sergio....@wazuh.com>, 14 May 2019 Sal, 17:48 tarihinde şunu yazdı:

Sergio Cervilla

unread,
May 15, 2019, 4:26:40 AM5/15/19
to Aytekin Döne, Wazuh mailing list
Hi Aytekin,

You should install only one option.

I suggest you install the one that best suits your needs but if your operating system supports Systemd, I recommend you to use it.

Regards,

Sergio Cervilla 
IT Engineer — Wazuh, Inc.



Aytekin Döne

unread,
May 15, 2019, 5:27:35 AM5/15/19
to Sergio Cervilla, Wazuh mailing list
thanks to you I've done installation

Sergio Cervilla <sergio....@wazuh.com>, 15 May 2019 Çar, 11:26 tarihinde şunu yazdı:

Sergio Cervilla

unread,
May 15, 2019, 5:38:30 AM5/15/19
to Aytekin Döne, Wazuh mailing list
Hi Aytekin,

I'm glad to know your issue is solved. 

If you need anything else, don't hesitate to open a new thread. 

Thanks!

Sergio Cervilla 
IT Engineer — Wazuh, Inc.



Reply all
Reply to author
Forward
0 new messages