Probleme with libnetxms.so.0

Started by folkene, March 24, 2010, 05:52:48 PM

Previous topic - Next topic

folkene

Hello everybody,

I have a big probleme and I don't know why? I explain myself:
I was following the install guide to install netxms server under linux (UBUNTU). When I run nxdbmgr, I have had the error:
"/usr/local/bin/nxdbmgr: error while loading shared libraries: libnetxms.so.0: cannot open shared object file: No such file or directory". The libnetxms.so.0 is in  "/usr/local/lib".

Thanks for all

Alex Kirhenshtein

Please check that file /etc/ld.so.conf.d/libc.conf contains line "/usr/local/lib" and then run "ldconfig" as root (it will produce no output).

After that run "ldconfig -p|grep libnetxms" to verify, output should be like this:root@b08s02ur:~# ldconfig -p|grep libnetxms
        libnetxms.so.0 (libc6,x86-64) => /usr/local/lib/libnetxms.so.0
        libnetxms.so (libc6,x86-64) => /usr/local/lib/libnetxms.so


If this will not help, please post output of "ldd /usr/local/bin/nxdbmgr".

folkene

thanks for the answers  ;)

Unfortunately, when I ran nxdbmgr, I received the error "Unable to load and initialize database driver ".
Does someone know why?


Sorry for my wrong english

Alex Kirhenshtein

Check "DBDriver" parameter in netxmsd.conf, is should point to correct driver, for example:
DBDriver = /user/local/lib/libnxddr_sqlite.so