NetXMS Support Forum

English Support => General Support => Topic started by: supplyd on July 30, 2015, 12:53:14 AM

Title: netxmsd dead but pid file exists
Post by: supplyd on July 30, 2015, 12:53:14 AM
I have a new installation on a centos 6.6 64-bit server. I followed the directions posted by a user to get the system running and that was successful. I was able to log in and make some changes per the instruction videos. Once satisfied that everything would work OK, I needed to change the server's IP address because all of the devices expect the SNMP server to have a different address than I originally configured this server for in tes not log inting. So I changed the IP and rebooted. Afterwards I could not log in. I checked the netxmsd service and it says: netxmsd dead but pid file exists

I deleted the pid and tried starting the service. It immediately dies and gives the same message.

I checked the netxmsd log and it says:
Database is already locked by another NetXMS server instance (IP address: 2000:200:2e06:a8c0:e0a1:b939:100::, machine info: prd-netxms Linux Release 2.6.32-504.30.3.el6.x86_64)

I assume there's probably some record in the database retaining the old IP address, but I don't know how to correct that. Can someone give me an idea how to proceed to fix this?
Thanks
Title: Re: netxmsd dead but pid file exists
Post by: multix on July 30, 2015, 09:51:21 AM
Hi
Be sure that nexmsd is not running (there is not any process that it's name is netxmsd.) If there is any, kill it.

before run netxmsd again, type:

nxdbmgr unlock

and if asks any question say yes.

Regards.
Title: Re: netxmsd dead but pid file exists
Post by: supplyd on July 30, 2015, 04:02:16 PM
Worked perfectly. Thank you multix!