ossec+ and postgress

Support/Development for OSSEC
tonny
Forum User
Forum User
Posts: 7
Joined: Fri Apr 09, 2021 8:56 am
Location: Sweden

ossec+ and postgress

Unread post 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
support_jared
New Forum User
New Forum User
Posts: 1
Joined: Thu Jul 22, 2021 12:13 pm

Re: ossec+ and postgress

Unread post 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
User avatar
cponton
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 61
Joined: Fri Oct 09, 2020 9:41 am

Re: ossec+ and postgress

Unread post 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
Post Reply