OSSEC seems to be ignoring Postgres during the install.  This is running on 
Ubuntu 14.04 LTS.

I already have Postgres and postgres-client installed.
sudo apt-get -y install postgresql postgresql-client postgresql-contrib

I get an error when I run setdb (notice it doesn't say anything about 
postgres)
service@apps:/opt/ossec-hids-2.8.1/src$ sudo make setdb
Error: MySQL client libraries not installed.
Error: DB libraries not installed.

Even though I do not use/need MySQL, I installed them anyway just to test.
service@apps:/opt/ossec-hids-2.8.1/src$ sudo apt-get -y install 
libmysqlclient-d  mysql-client

I rerun the setdb and everything looks good, but it's missing the postgres 
support
service@apps:/opt/ossec-hids-2.8.1/src$ sudo make setdb
Info: Compiled with MySQL support.
service@apps:/opt/ossec-hids-2.8.1/src$ 

When I go to start OSSEC, I get an error saying OSSEC is not compiled with 
support for postgresql.
service@apps:/opt/ossec-hids-2.8.1$ sudo /var/ossec/bin/ossec-control start
Starting OSSEC HIDS v2.8 (by Trend Micro Inc.)...
2016/01/26 00:33:19 ossec-dbd(5207): ERROR: OSSEC not compiled with support 
for                                                  'postgresql'.
2016/01/26 00:33:19 ossec-dbd(1202): ERROR: Configuration error at 
'/var/ossec/e                                                 
tc/ossec.conf'. Exiting.
ossec-dbd did not start correctly.
service@apps:/opt/ossec-hids-2.8.1$


I've looked in the docs and search the forums, but I cannot find what am I 
doing wrong.  Suggestions?  

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"ossec-list" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ossec-list+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to