Page 1 of 1

ossec+ and postgress

Posted: Wed Oct 20, 2021 4:58 am
by tonny
Hi,

I've tried the following:

Code: Select all

cd /tmp
wget -q -O install.sh https://updates.atomicorp.com/installers/oum 
chmod+x install.sh
DATABASE=pgsql ./install.sh
and then oum config, oum update and ossec runs as they should
But when changing the config to use the database as output I get

Code: Select all

ossec-dbd(5207): ERROR: OSSEC not compiled with support for 'postgresql'.
any ideas of what goes wrong here ?
//Tonny

Re: ossec+ and postgress

Posted: Thu Oct 28, 2021 4:10 pm
by support_jared
Hello,

What OS are you on? If you're running Debian, installing these might help:

Code: Select all

apt-get install postgresql-client postgresql-client-common

Re: ossec+ and postgress

Posted: Thu Oct 28, 2021 4:13 pm
by cponton
Pleas try installing the following packages as well:

Code: Select all

sudo apt-get -y install libpq-dev

Code: Select all

sudo apt-get install postgresql-client postgresql-client-common