how to start service netxmsd Error:Unable to login (Communication failure)

Started by bananabank, December 21, 2011, 06:32:25 AM

Previous topic - Next topic

bananabank

i use command

/usr/local/bin/netxmsd -d > then no any reply message on my command prompt

then i go to browser localhost:8080 and logon with usr:admin , pwd:netxms

i got error

Unable to login (Communication failure)

how can i start service netxmsd

thanks for any support

bananabank

when i call netxmsd directly (not netxmsd -d i got error like this)

[21-Dec-2011 11:32:21] SQL query failed (Query = "SELECT var_value FROM metadata WHERE var_name='SchemaVersion'"): Table 'netxms.metadata' doesn't exist
[21-Dec-2011 11:32:21] SQL query failed (Query = "SELECT var_value FROM config WHERE var_name='DBFormatVersion'"): Table 'netxms.config' doesn't exist
[21-Dec-2011 11:32:21] Your database has format version -1, but server is compiled for version 105

bananabank

i use command "nxdbmgr check"

here my result

NetXMS Database Manager Version 1.0.13

testos

You must create netxms database and user with access rights, modify server configuration file (default is /etc/netxmsd.conf), start netxms server and finally look into log file (/var/log/netxmsd for example) for possible errors.

You can find information in addition about this issue in NetXMS Installation Guide pages 7 and 8: https://www.netxms.org/documentation/netxms_install_guide.pdf

Best regards.

bananabank

this is my log /var/log/netxmsd

[21-Dec-2011 11:32:21] SQL query failed (Query = "SELECT var_value FROM metadata WHERE var_name='SchemaVersion'"): Table 'netxms.metadata' doesn't exist
[21-Dec-2011 11:32:21] SQL query failed (Query = "SELECT var_value FROM config WHERE var_name='DBFormatVersion'"): Table 'netxms.config' doesn't exist
[21-Dec-2011 11:32:21] Your database has format version -1, but server is compiled for version 105

bananabank

i do  follow installation manual page 7-8 already

but it's not work

my OS is linux mint

testos

Quote[21-Dec-2011 11:32:21] Your database has format version -1, but server is compiled for version 105

Seems like netxms database had not been upgraded.

Stop NetXMS server and try to check / upgrade database:
$ nxdbmgr -f check
$ nxdbmgr upgrade

Victor Kirhenshtein

Looks like database was not initialized correctly. Try to initialize it by running

nxdbmgr init /usr/local/share/netxms/sql/dbinit_<your_sql_engine>.sql

Best regards,
Victor