NetXMS Support Forum

English Support => General Support => Topic started by: toey_rrt on January 23, 2012, 01:05:59 PM

Title: can't install netxms for sqlite
Post by: toey_rrt on January 23, 2012, 01:05:59 PM
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
Title: Re: can't install netxms for sqlite
Post by: Victor Kirhenshtein on January 23, 2012, 10:45:44 PM
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
Title: Re: can't install netxms for sqlite
Post by: toey_rrt on January 25, 2012, 05:34:48 AM
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
Title: Re: can't install netxms for sqlite
Post by: Victor Kirhenshtein on January 25, 2012, 06:18:17 PM
How do you configure NetXMS source package? It should be something like this:

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

Best regards,
Victor