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. Server core service starts then stops under Vista

Server core service starts then stops under Vista

Scheduled Pinned Locked Moved Support
6 Posts 3 Posters 23.6k 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.
  • C
    C
    Challenge
    wrote on last edited by
    #1

    Hi

    I am a newbie to this forum.. Attempting to install Netxms under Vista. Installation proceeds successfully until I attempted to log-in.: Symthoms: " Cannot  connect to server."
     
    I have determined tthe following:

    1. The Server core service is not running in the list of Services under Vista
    2. If I attempt to run the service Vista error reports that the "service has not responded in a timely manner"
    3. If I go into a Command Liine window and attempt to start the service from here it "starts" normally with no error messages I have used the -D option to to try and get more messages as well...
    4. Looking at the NetXms log I see that that the only difference is:
      a) launching the service from the Vista service manager there is an extra entry in the log below "server is started" that is named the "server is stopped" !
      b) launching the service from the command line there is no "server stopped line" entry in the log

    It is so frustrating that I am so close to being able to use the application....!Any advice on how I can diagnose what is causing the problem would be appreciated...  Chris

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

      Hi!

      Could you please do the following:

      1. Post here your netxmsd.conf file
      2. Run command
      nxdbmgr check
      

      and post here it's output?

      Best regards,
      Victor

      1 Reply Last reply
      0
      • C
        C
        Challenge
        wrote on last edited by
        #3

        Hi Victor

        Sorry, I should have included these in my previous post
        a) netxmsd.conf contents:
        #
        # NetXMS Server configuration file
        # Created by NetXMS Server configuration wizard at Tue Sep 09 17:54:15 2008
        #
        #LogFile = {syslog}
        Logfile = C:\NetXMS\var\netxms.log
        DBDriver = mssql.ddr
        DBServer = HOMEVISTA\SQLEXPRESS
        DBName = netxms_db
        DBLogin = netxms
        LogFailedSQLQueries = yes

        b) contents of my netxms.log file

        10-Sep-2008 13:33:41] Log file opened
        [10-Sep-2008 13:33:41] Database driver "mssql.ddr" loaded and initialized successfully
        [10-Sep-2008 13:33:45] GSM modem on COM1: initialized successfully. Hardware ID: "".
        [10-Sep-2008 13:33:46] NetXMS Server started
        [10-Sep-2008 13:33:46] Listening for SNMP traps on UDP socket 0.0.0.0:162
        [10-Sep-2008 13:33:46] Listening for client connections on TCP socket 0.0.0.0:4701
        [10-Sep-2008 13:57:50] NetXMS Server stopped
        [10-Sep-2008 13:57:52] Log file closed

        [10-Sep-2008 14:28:08] Log file opened
        [10-Sep-2008 14:28:08] Database driver "mssql.ddr" loaded and initialized successfully
        [10-Sep-2008 14:28:24] GSM modem on COM1: initialized successfully. Hardware ID: "".
        [10-Sep-2008 14:28:25] Listening for SNMP traps on UDP socket 0.0.0.0:162
        [10-Sep-2008 14:28:25] NetXMS Server started
        [10-Sep-2008 14:28:25] NetXMS Server stopped
        [10-Sep-2008 14:28:25] Listening for client connections on TCP socket 0.0.0.0:4701
        [10-Sep-2008 14:28:26] Log file closed

        The two different server sessions above reflect one using the command prompt the other attempting to start the server using the Vista Services GUI

        c) Output of running "nxdbmgr check" command at command prompt
        NetXMS Database Manager Version 0.2.22

        Configuration file OK
        Checking database:
        * Checking node objects...                                            [PASSED]
        * Checking interface objects...                                      [PASSED]
        * Checking network service objects...                                [PASSED]
        * Checking cluster objects...                                        [PASSED]
        * Checking object properties...                                      [PASSED]
        * Checking event processing policy...                                [PASSED]
        Database doesn't contain any errors
        Database check completed

        Is there a clue here that helps?
        Regards  Chris

        1 Reply Last reply
        0
        • C
          C
          Challenge
          wrote on last edited by
          #4

          Hello

          Another follow-up...
          I have also copied the command from the services Vista GUI in a 😄 commnd window and ran it manually: C:\NetXMS\bin\netxmsd.exe" --config "C:\NetXMS\etc\netxmsd.conf
          And then shut it down manually using the "down" command at the 😄 prompt...
          Result is as below..

          Using configuration file "C:\NetXMS\etc\netxmsd.conf"
          Configuration file OK
          [14-Sep-2008 21:24:47] Database driver "mssql.ddr" loaded and initialized successfully
          [14-Sep-2008 21:24:52] GSM modem on COM1: initialized successfully. Hardware ID: "".
          [14-Sep-2008 21:24:53] Listening for SNMP traps on UDP socket 0.0.0.0:162
          [14-Sep-2008 21:24:53] NetXMS Server started

          NetXMS Server V0.2.22 Ready
          Enter "help" for command list or "down" for server shutdown
          System Console

          netxmsd: [14-Sep-2008 21:24:53] Listening for client connections on TCP socket 0.0.0.0:4701
          Proceeding with server shutdown...
          [14-Sep-2008 21:25:08] NetXMS Server stopped

          So seems to work ok here....but not at the Vista GUI level
          Chris

          1 Reply Last reply
          0
          • A
            A
            Alex Kirhenshtein
            wrote on last edited by
            #5

            It's weird.

            Could you try any other database, just for test? SQLite, for example - you don't have to install anything, just change DBDriver to sqlite.ddr and DBName to DB file path (somethign like c:\netxms\netxms_db). Then you should create dabase by running C:\NetXMS\bin\nxdbmgr.exe init C:\NetXMS\lib\sql\dbinit_sqlite.sql

            1 Reply Last reply
            0
            • C
              C
              Challenge
              wrote on last edited by
              #6

              Hi Victor

              Sorry for the late reply. Away on holiday.  Just an quick update: NetXMS is now running ok.... 🙂
              Steps I took were:

              1. Reread all previous posts!
              2. Checked dual authentication setting for SQL Express
              3. Deleted Netxms user from database
              4. Deleted Netxms database
              5. Deleted and reinstalled Netxms .. Made sure I entered a password for DBUser ( I have a suspicion that is what my problem was...) 

              Works fine!

              Also I have installed NetXMS on Windows 2003  (Small Business Server) with no problem

              Now into learning about NetXMS capability first hand...!

              Chris

              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