Install OSSEC to a MySql Database

844 views
Skip to first unread message

Derek J. Morris

unread,
Jun 26, 2008, 8:37:59 AM6/26/08
to ossec...@googlegroups.com
What is the procedure to use MySql as the database for ossec?


- Derek

List Subscriptions

unread,
Jun 26, 2008, 9:17:30 AM6/26/08
to ossec...@googlegroups.com

Derek J. Morris

unread,
Jun 26, 2008, 9:51:52 AM6/26/08
to ossec...@googlegroups.com
Tried and no luck..

make setdb

Error: MySQL client libraries not installed.


Error: PostgreSQL client libraries not installed.

Error: DB libraries not installed.


And mysql is install and working properly for many other apps.

Any help is appreciated!

-Derek


- Derek

Derek J. Morris

unread,
Jun 26, 2008, 10:02:18 AM6/26/08
to ossec...@googlegroups.com
Got it the fix was to add mysql to the PATH variable

-Derek


- Derek

Gansert, Matthew A

unread,
Jun 26, 2008, 10:59:17 AM6/26/08
to ossec...@googlegroups.com
Derek,

Try downloading the MySQL client development libraries for your distro.
On debian, the deb looks something _like_ "apt-get install
libmysqlclient15-dev" or "apt-get install mysql-dev".

I'm not sure if this will make a difference, but putting the MySQL
libraries in your path might help. From a former Cid email:

"
You don't have MySQL in your library path. Try updating /etc/ld.so.conf
with it.

$ man lfconfig (should give you all th necessary info)

maybe:
# echo /usr/local/mysql/lib/mysql >> /etc/ld.so.conf
# ldconfig

Hope it helps...
"

Matt
------------------------------------------
The contents of this message, together with any attachments, are
intended only for the use of the person(s) to which they are
addressed and may contain confidential and/or privileged
information. Further, any medical information herein is
confidential and protected by law. It is unlawful for unauthorized
persons to use, review, copy, disclose, or disseminate confidential
medical information. If you are not the intended recipient,
immediately advise the sender and delete this message and any
attachments. Any distribution, or copying of this message, or any
attachment, is prohibited.

Derek J. Morris

unread,
Jun 26, 2008, 11:08:16 AM6/26/08
to ossec...@googlegroups.com
Thanks for the response, came down to adding mysql bin path to the PATH
variable. worked after that.


- Derek

- Derek

Reply all
Reply to author
Forward
0 new messages