Running as a windows service on 2003

Started by Sibiu, November 02, 2010, 08:45:22 PM

Previous topic - Next topic

Sibiu

I am confused. I installed NetXMS service on a windows 2003 server machine and when I try to start the NetXMS Core service I get the error Error 1053: The service did not respond to the start or control request in a timely fashion.

I am using a MSSQL database, having tried both with windows authentication and after setting up a specific user. You can see both settings in the config file included below, except that the windows authentication settings were commented out.

# Created by NetXMS Server configuration wizard at Mon Nov 01 18:49:59 2010
#

#LogFile = {syslog}
LogFile = c:\logfile.txt
DBDriver = mssql.ddr
DBServer = localhost
DBName = netxmsDB
#DBLogin = *
DBLogin = netxms
DBPassword = netxms
LogFailedSQLQueries = yes


Running nxdbmgr check reports no errors as shown below either using windows authentication settings or when using the username and password configuration. It works fine when running as a console application using either authentication setting, but fails when I run it as a service. The service is set to log on as the same user that it runs as locally, an administrator, so there should be no permission issues.

The log file produced when running it as a service is shown below:
[02-Nov-2010 15:51:45] Log file opened
[02-Nov-2010 15:51:45] Database driver "mssql.ddr" loaded and initialized successfully
[02-Nov-2010 15:51:45] Stalled database lock removed
[02-Nov-2010 15:51:45] Listening for SNMP traps on UDP socket 0.0.0.0:162
[02-Nov-2010 15:51:45] NetXMS Server started
[02-Nov-2010 15:51:45] NetXMS Server stopped
[02-Nov-2010 15:51:45] Listening for client connections on TCP socket 0.0.0.0:4701

Anybody have any ideas as to how to get this to work?





Victor Kirhenshtein

Could you please run server as a service with full debug (-D 9 command line option)?

Best regards,
Victor

Sibiu

Thanks for your quick response, please find attached.