NetXMS Support Forum

English Support => General Support => Topic started by: CMelchior on October 22, 2020, 09:19:30 PM

Title: Connection Refused, service failed
Post by: CMelchior on October 22, 2020, 09:19:30 PM
Need a little help troubleshooting my test NetXMS system. I am unable to log into the web or console and get a connection refused error.
Systemctl status shows the following:

netxmsd.service - NetXMS Server
   Loaded: loaded (/lib/systemd/system/netxmsd.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2020-10-22 13:13:19 CDT; 38s ago
  Process: 869 ExecStart=/usr/bin/netxmsd -d (code=exited, status=0/SUCCESS)
Main PID: 870 (code=exited, status=3)

Oct 22 13:13:19 netxms-test systemd[1]: Starting NetXMS Server...
Oct 22 13:13:19 netxms-test systemd[1]: Started NetXMS Server.
Oct 22 13:13:19 netxms-test systemd[1]: netxmsd.service: Main process exited, code=exited, status=3/NOTIMPLEMENTED
Oct 22 13:13:19 netxms-test systemd[1]: netxmsd.service: Unit entered failed state.
Oct 22 13:13:19 netxms-test systemd[1]: netxmsd.service: Failed with result 'exit-code'.


Tried upgrading all packages, and restarting the service but get the same errors.
This is running on Debian 9, installed a couple months ago per the install instructions on the Wiki.

Thanks.
Title: Re: Connection Refused, service failed
Post by: CMelchior on October 22, 2020, 09:43:02 PM
OK well I solved my own problem...

I checked the netxmsd log at /var/log/netxmsd and the latest entries indicated that the DB was locked by a different IP address. I then realized that my test server had shifted IP addresses, I forgot to set a static IP on this VM when I built it...

so I forced the DB unlock "nxdbmgr unlock" and rebooted the machine.

The service started and I'm back in business.