Windows Service Install Hangs

Started by m1975Michael, December 10, 2014, 05:55:02 PM

Previous topic - Next topic

m1975Michael

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.

Igetyaall

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 ^^

m1975Michael

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.

Igetyaall

Try to  stop the SQL Backend Service too and all what netxms is using ^^

Andreas@rc

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/

m1975Michael

This is actually a Windows XP machine.  I have tried the suggestions and stopping the services but the install still hangs.

Christian021

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

Victor Kirhenshtein

Hi,

can you please show your netxmsd.conf?

Best regards,
Victor

Christian021

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

Victor Kirhenshtein

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

Christian021

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

Victor Kirhenshtein

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

ditonet

Hi Victor,

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

Regards, Grzegorz.

Christian021

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.