I have installed server configured with: ./configure --with-server --with-agent --with-mysql
I do ./configure --with-server --with-agent --with-mysql --with-nxhttpd
make
killall netxmsd
killall nxagentd
make install
Then i try to start netxmsd:
test3:~/netxms-0.2.20 # netxmsd -D 9
Using configuration file "/etc/netxmsd.conf"
Configuration file OK
[17-Apr-2008 17:46:54] Unable to set codepage to ISO-8859-1
[17-Apr-2008 17:46:54] Platform subagent "/usr/local/lib/libnsm_linux.so" successfully loaded
[17-Apr-2008 17:46:54] Database driver "/usr/local/lib/libnxddr_mysql.so" loaded and initialized successfully
[17-Apr-2008 17:46:54] DEBUG: New DB connection opened: handle=0x617240
[17-Apr-2008 17:46:54] DEBUG: Successfully connected to database
[email protected][17-Apr-2008 17:46:54] DEBUG: Failed sync query: "SELECT var_value FROM config WHERE var_name='DBFormatVersion'" [0 ms]
[17-Apr-2008 17:46:54] SQL query failed (Query = "SELECT var_value FROM config WHERE var_name='DBFormatVersion'")
[17-Apr-2008 17:46:54] Your database has format version 0, but server is compiled for version 78
Then I do ./configure --with-server --with-agent --with-mysql
make
make install
and netxmsd starts without problems.