Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. Running as a windows service on 2003

Running as a windows service on 2003

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 8.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    S
    Sibiu
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #2

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

      Best regards,
      Victor

      1 Reply Last reply
      0
      • S
        S
        Sibiu
        wrote on last edited by
        #3

        Thanks for your quick response, please find attached.


        logfile.txt

        1 Reply Last reply
        0

        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
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        Powered by NodeBB Contributors
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups