What is the proper way to install with database support?
I tried back in January when I submitted “OSSEC 3.3 - OSSEC not compiled with support for 'mysql' ” and now while I was updating to version 3.6 but it still won’t compile with database support.
The normal installation method never asks if a database is to be used. It should.
I tried updating but it looks like 3.6 won’t ignore the missing database support the way that 3.3 did so it failed to start. I tried doing an installation over the top of the current one, that gave me the same results.
I tried:
# make DATABASE=mysql TARGET=server settings
# ./install.sh
But the install script overwrote the make settings resulting in:
Mysql settings:
includes:
libs:
I tried:
# make DATABASE=mysql TARGET=server settings
# make install
Which failed to run.
Also
# env DATABASE=mysql TARGET=server ./install.sh
That appeared to work at first
Mysql settings:
includes: -I/usr/include/mysql -I/usr/include/mysql/mysql
libs: -L/usr/lib64/ -lmariadb -lz -ldl -lm -lpthread -lssl -lcrypto
But afterward
# /var/ossec/bin/ossec-dbd -V
Gave me
** Compiled without any database support
I’ve attached a printout of the full text of my last attempt. What’s next?
Natassia