On Mon, Jun 17, 2013 at 1:36 PM, Adam <[email protected]> wrote: > Hi, > > I tired to remove the -xstrconst and -mt. The MySQL libraries still wouldn't > compile as certain variables weren't defined. > > I then removed mysql from PATH and recompiled with just postgres, and apart > from the mysql client lib errors when I ran make setdb, install.sh compiled > everything else.. > I get the following for # /var/ossec/bin/ossec-dbd -v >> >> OSSEC HIDS v2.7 - Trend Micro Inc. >> Compiled with PostgreSQL support. > > The psql db is set up as required (I've managed to get this working on a > CentOS VM happily, so i'm fairly sure I've not got anything different > between OS... still persisting with solaris) > > I've ossec-control enable database > > I get "ossec-dbd: Connected to database 'ossecdb' at '127.0.0.1'." in the > ossec.log, with no other error (e.g. a timeout or permission error, as I got > whilst trying to configure under CentOS.) > > But when I run ossec-control status, the ossec-dbd is not running, and the > DB is not being populated, except for the signature table. >
I don't use dbd, but you could try either running `/var/ossec/bin/ossec-dbd -d` or using something like gdb to try and see what's going wrong. I have to admit, I'd be surprised if the postgresql support even works. Changes were made and the mysql junk was updated, but I don't think the postgresql stuff was touched. > > > -- > > --- > 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 [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > -- --- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
