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. Just upgraded to 2.2.1 and NetXMS Core wont start.

Just upgraded to 2.2.1 and NetXMS Core wont start.

Scheduled Pinned Locked Moved Support
9 Posts 3 Posters 36.7k 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.
  • Nick BoardmanN
    Nick BoardmanN
    Nick Boardman
    wrote on last edited by
    #1

    Server = 2012
    DB = MySQL

    I have run the nxdbmgr utility, and it initially found errors, but they were corrected and the NetXMS Core service will not start.  Any ideas?

    Just checked the Event Viewer and there is an Event ID 7011 from the Service Control Manager: A timeout (30000 milliseconds) was reached while waiting for a transaction response from the NetXMSCore service.

    Thanks,
    Nick

    1 Reply Last reply
    0
    • Z
      Z
      Tatjana Dubrovica
      wrote on last edited by
      #2

      What does the server writes in log? Try to run server in console with debug and check what messages does it write?

      1 Reply Last reply
      0
      • Nick BoardmanN
        Nick BoardmanN
        Nick Boardman
        wrote on last edited by
        #3

        D:\Program Files\NetXMS\bin>"D:\Program Files\NetXMS\bin\netxmsd.exe" --config "D:\Program Files\NetXMS\etc\netxmsd.conf" -d
        StartServiceCtrlDispatcher() failed: The service process could not connect to the service controller.

        1 Reply Last reply
        0
        • Nick BoardmanN
          Nick BoardmanN
          Nick Boardman
          wrote on last edited by
          #4

          OK.  Found the log file...

          2018.01.03 10:35:42.502 Log file opened (rotation policy 2, max size 16777216)
          2018.01.03 10:35:42.502 *I* Database driver "mysql.ddr" loaded and initialized successfully
          2018.01.03 10:35:42.517 *I* Server ID 2B4559B000006E4C
          2018.01.03 10:35:42.549 *I* Server certificate not set
          2018.01.03 10:35:42.549 *E* SQL query failed (Query = "SELECT entry_key,value FROM persistent_storage"): Table 'netxms_db.persistent_storage' doesn't exist
          2018.01.03 10:42:57.702 *I* NetXMS Server stopped
          2018.01.03 10:43:22.283 *E* EXCEPTION 0xC0000005 (Access violation) at 0x68A4FB74 (crash dump was generated); please send files C:\\netxmsd-2912-1514994177.info and C:\\netxmsd-2912-1514994177.mdmp to [email protected]

          1 Reply Last reply
          0
          • Z
            Z
            Tatjana Dubrovica
            wrote on last edited by
            #5

            Looks like database was somehow corrupted.
            What was the steps you made before it spoted working? (Upgrade to new version?) What errors were there and what commad you used to fix them?

            1 Reply Last reply
            0
            • Nick BoardmanN
              Nick BoardmanN
              Nick Boardman
              wrote on last edited by
              #6

              I just sent a link to the 2 dump files.  One is 25 MB and too big to mail.

              There were a couple of interfaces that were orphaned, and one or two other errors.  After telling the nxdbmgr check command to fix the errors, all of the checks have PASSED....

              1 Reply Last reply
              0
              • Nick BoardmanN
                Nick BoardmanN
                Nick Boardman
                wrote on last edited by
                #7

                Sorry.  It was an upgrade to 2.2.1....

                1 Reply Last reply
                0
                • Z
                  Z
                  Tatjana Dubrovica
                  wrote on last edited by
                  #8

                  From what version? It looks like some upgrade procedures were not executed or failed.

                  Try to execute next sql queries on NetXMS DB and run server again:
                  CREATE TABLE policy_pstorage_actions (
                  rule_id integer not null,
                  ps_key varchar(255) not null,
                  value varchar(2000) null,
                  action integer not null,
                   PRIMARY KEY(rule_id,ps_key,action)

                  CREATE TABLE persistent_storage (
                  entry_key varchar(256) not null,
                  value varchar(2000) null,
                  PRIMARY KEY(entry_key))

                  Check that in server log there are no other sql errors.

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

                    Hi,

                    from the dump it seems that server crashes on shutdown because it tries to deallocate resources that were not allocated. But it is not the reason to not starting, just a side effect - it is some error during initialization that cause server to abort initialization process. Could you run it with debug level set to 9 and post log file?

                    Best regards,
                    Victor

                    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