can't install netxms for sqlite

Started by toey_rrt, January 23, 2012, 01:05:59 PM

Previous topic - Next topic

toey_rrt

Hi
           I install follow manual setup program Netxms but i can't use Initialise this database sqlite 

          "/usr/local/bin/nxdbmgr init /usr/local/share/netxms/sql/dbinit_sqlite.sql"

My Config

DBDriver = /usr/local/lib/libnxddr_sqlite.so
DBServer = localhost
DBName = netxms
DBLogin = netxms
DBPassword = PaSsWd
LogFile = /var/log/netxmsd
LogFailedSQLQueries = yes

error

Syntax error in configuration file /etc/netxmsd.conf at line 1
Unable to load and initialize database driver "/usr/local/lib/libnxsqlite.so"

please help me

Victor Kirhenshtein

Hi!

That's very strange. Just copy your config into file on my test system and it works as expected. What operating system you are using? Are you sure you don't have any non-printable characters in your config file? I also suggest to use fully qualified file name in DBName parameter, otherwise database file will be created in current directory, but it's not a problem here.

Best regards,
Victor

toey_rrt

#2
Hi

        i install program on OS linux (Centos ) i check path /usr/local/lib/. it not have file libnxddr_sqlite.so" in this path 
and I dose Initialise database witch same path database

Victor Kirhenshtein

How do you configure NetXMS source package? It should be something like this:

./configure --with-server --with-sqlite

Best regards,
Victor