Running as a windows service on 2003
-
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 = yesRunning 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:4701Anybody have any ideas as to how to get this to work?
-
Could you please run server as a service with full debug (-D 9 command line option)?
Best regards,
Victor -
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login