NetXMS Support Forum

English Support => General Support => Topic started by: m1975Michael on December 10, 2014, 05:55:02 PM

Title: Windows Service Install Hangs
Post by: m1975Michael on December 10, 2014, 05:55:02 PM
I have tried to install 1.2.17 on Windows but the install hangs when checking the netxms core service.  I get a check mark by Installing service.  It works correctly in 1.2.16.  Any suggestions?  Thank you for your assistance.
Title: Re: Windows Service Install Hangs
Post by: Igetyaall on December 11, 2014, 12:29:49 PM
Hey if u have Installed 1.2.16 already on ur System , try to turn off the Service NetXMS Core and run the installation again , this should help ^^
Title: Re: Windows Service Install Hangs
Post by: m1975Michael on December 11, 2014, 03:06:02 PM
The service was off.  I even uninstalled 1.2.16 and tried a fresh install of 1.2.17.  I made sure none of the services were installed before I attempted the fresh install.
Title: Re: Windows Service Install Hangs
Post by: Igetyaall on December 11, 2014, 03:42:40 PM
Try to  stop the SQL Backend Service too and all what netxms is using ^^
Title: Re: Windows Service Install Hangs
Post by: Andreas@rc on December 12, 2014, 10:41:33 AM
Quote from: m1975Michael on December 10, 2014, 05:55:02 PM
I have tried to install 1.2.17 on Windows but the install hangs when checking the netxms core service.  I get a check mark by Installing service.  It works correctly in 1.2.16.  Any suggestions?  Thank you for your assistance.

Which OS do you use? There seems to be a problem with Windows Server 2003 and NetXMS 1.2.17.
https://www.netxms.org/forum/installation/upgrade-from-1-2-16-to-1-2-17-error/
https://www.netxms.org/forum/general-support/error-while-upgrading-to-1-2-17/
Title: Re: Windows Service Install Hangs
Post by: m1975Michael on December 16, 2014, 08:46:01 PM
This is actually a Windows XP machine.  I have tried the suggestions and stopping the services but the install still hangs.
Title: Re: Windows Service Install Hangs
Post by: Christian021 on January 12, 2015, 11:24:44 AM
I've the same problem under 2003 32Bit.
If I run the netxmsd.exe -D9 there will be no answer. Seems the programm hangs.
Is there any solution?

best regards,
Christian
Title: Re: Windows Service Install Hangs
Post by: Victor Kirhenshtein on January 12, 2015, 05:39:03 PM
Hi,

can you please show your netxmsd.conf?

Best regards,
Victor
Title: Re: Windows Service Install Hangs
Post by: Christian021 on January 12, 2015, 06:07:15 PM
Hi Victor,

yes, sure:

#
# NetXMS Server configuration file
# Created by NetXMS Server configuration wizard at Mon Jan 12 10:57:21 2015
#
LogFile = {syslog}
DBDriver = mysql.ddr
DBServer = localhost
DBName = netxms_db
DBLogin = netxms
DBPassword = netxms
LogFailedSQLQueries = yes

The DBPassword is another. I replaced it for the posting. In real it is an complex password with charcaters, numbers and an $.

Best regards,
Christian
Title: Re: Windows Service Install Hangs
Post by: Victor Kirhenshtein on January 13, 2015, 12:45:20 AM
Can you please change LogFile from {syslog} to some file and run netxmsd -D9 from command line? It should show at least some messages.

Best regards,
Victor
Title: Re: Windows Service Install Hangs
Post by: Christian021 on January 13, 2015, 08:53:58 AM
Hi Victor,

I set the path LOGFile = C:\netxms.log
This is an existing emty file. Then I had started the netxmsd -D9 from command line.
The file kept emty an in the command line there will no reply. You can't terminate with <ctrl>+<c>.

I had testet to set the path to LOGFile = {c:\netxms.log}, but it dosn't work,too.

Yesterday I had for testing the version installed on windows 7 64Bit - it works fine.

Best regards,
Christian
Title: Re: Windows Service Install Hangs
Post by: Victor Kirhenshtein on January 13, 2015, 12:18:35 PM
Hi,

I was able to reproduce problem with netxmsd.exe hang (on Windows Server 2003 32 bit). I'll publish installer with a fix later today.

Best regards,
Victor
Title: Re: Windows Service Install Hangs
Post by: ditonet on January 14, 2015, 12:27:05 PM
Hi Victor,

Thanks for information. Please let us know when mentioned fix will be ready to download.

Regards, Grzegorz.
Title: Re: Windows Service Install Hangs
Post by: Christian021 on January 29, 2015, 10:29:19 AM
Hi Victor,

it seems that unfortunally the problem isn´t solved. I tried to install the M2. Before I tried this I had to uninstall the server and the Core Service. The uninstaller wasn´t able to uninstall the core service. So I hat delete the service with the sc delete command. After that I restarted the server. After the restart I run the M2 installer. At the last step the installer wants to start the core - but he wasn´t able to start the service. So I have killed the netxmsd process.
Restarted the server again. Try to start the process manually: Error 1053. Then the same procedure: change the path of the logfile, try to start netxmsd -D9 but there were no file created an no response in the command window.
Any ideas? Thanks.