Dear Thomas Implementation of the same didn't solved the problem. The same problem is still pertaining. Has anyone installed ossec with DB support. If yes can you pls tell the mysql version I should use any if someone have some documented stps for the same.
Regards Gagan On 2/27/08, Tomas Olsson <[EMAIL PROTECTED]> wrote: > > I assume you need to install the libmysqlclient. A simple search on > "install libmysqlclient" retrurns the following help: > http://forums.mysql.com/read.php?35,9473,9473#msg-9473 > > /Tomas > > > [EMAIL PROTECTED] wrote: > > Dear Daniel/Thomas > > > > Thanks for your support & reply. I had implemented your suggestion but > > the things are not working correctly for me :-( > > > > I had added the /mysql/bin in the PATH variables & used the version as > > specified by Daniel. But it didn't worked. > > > > I am reiterating the steps pls do correct me if i am wrong. > > > > 1) Compiled the setdb; using make setdb > > 2) Installed the ossec server. > > 3) When I checked for DB in mysql it doesn't had ossec_db as the > > database( does the complile instruction make the DB or one has to make > > accordingly) > > 4) Made the database with the name ossec_db as it has not been created > > & the tables as specified in the schema. > > 5) Edited the ossec.conf & entered the parameters as specified in the > > website.( I had manually checked for logging of mysql with the host & > > username/password) > > 6) Enabled the database /var/ossec/bin/ossec-control enable database > > 7) When i restarted the ossec services via /var/ossec/bin/ossec- > > control restart It generated the error. > > > > /var/ossec/bin/ossec-dbd: error while loading shared libraries: > > libmysqlclient.so.15: cannot open shared object file: No such file or > > directory > > > > Where I am going wrong ? The PATH variable have /mysql/bin path > > included. > > > >
