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. Upgrade 2.2.10 to 3.3.315 Your database has format version X, but server is Y

Upgrade 2.2.10 to 3.3.315 Your database has format version X, but server is Y

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 29.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.
  • M
    M
    Mystery
    wrote on last edited by
    #1

    Hello, I upgraded from scratch our NetXMS instance from 2.2.10 to 3.3.315 on Linux debian
    nxdbmgr check OK
    nxdbmgr upgrade after 10 days OK
    nxagentd run ok

    When i run service netxmsd start
    it says running but in /var/log/netxms.log I can see Errors:

    2020.05.18 08:08:03.608 Log file opened (rotation policy 2, max size 16777216)
    2020.05.18 08:08:04.058 *I* Platform subagent "/usr/local/lib/netxms/linux.nsm" successfully loaded
    2020.05.18 08:08:04.203 *I* Database driver "mysql.ddr" loaded and initialized successfully
    2020.05.18 08:08:04.694 *E* Your database has format version 32.12, but server is compiled for version 22.40

    When I restarted server and these services are autostart, it started server somehow with same error:

    2020.05.18 08:25:28.024 *I* [logger            ] Log file opened (rotation policy 2, max size 16777216)
    2020.05.18 08:25:28.028 *I* [                  ] Code page set to ISO8859-1
    2020.05.18 08:25:28.029 *I* [                  ] Platform subagent "/usr/local/lib/netxms/linux.nsm" successfully loaded
    2020.05.18 08:25:28.031 *I* [db.drv            ] Database driver "mysql.ddr" loaded and initialized successfully
    2020.05.18 08:25:28.031 *E* [                  ] Unable to bind socket for local admin interface (98 Address already in use)
    2020.05.18 08:25:33.329 *I* [                  ] Server ID 2BE33A49B3270BF8
    2020.05.18 08:25:33.668 *I* [                  ] Server certificate not set
    2020.05.18 08:25:35.592 *E* Your database has format version 32.12, but server is compiled for version 22.40
    2020.05.18 08:25:44.241 *I* [db.drv            ] Database driver "sqlite.ddr" loaded and initialized successfully
    2020.05.18 08:25:51.643 *I* [db.drv            ] Database driver "sqlite.ddr" loaded and initialized successfully

    But all values and history on nodes are empty, even netxms server node is saying there is running agent 2.2.10.
    Somehow DB is for 3.3.X and server instalation is older.

    Any tips how to fix this?
    Thank you.

    1 Reply Last reply
    0
    • M
      M
      Mystery
      wrote on last edited by
      #2

      Somehow service is trying to start older version of server.
      Anyway if I run manually netxmsd from console, it load right version NetXMS Server V3.3.315 Build 3.3-315-g5360e23aa3 (UNICODE) Ready
      But after a while, there is a SIGSEGV error and it stops.

      2020.05.18 10:43:25.592 *I* [db.drv            ] Database driver "sqlite.ddr" loaded and initialized successfully
      2020.05.18 10:43:26.392 *I* [                  ] NetXMS Server started

      NetXMS Server V3.3.315 Build 3.3-315-g5360e23aa3 (UNICODE) Ready
      Enter "help" for command list or "down" for server shutdown
      System Console

      netxmsd: 2020.05.18 10:43:26.645 *I* [                  ] Listening for syslog messages on UDP socket 0.0.0.0:514
      2020.05.18 10:43:26.645 *I* [                  ] Listening for syslog messages on UDP socket :::514
      2020.05.18 10:43:26.645 *I* [                  ] SocketListener/MobileDevices: listening on 0.0.0.0:4747
      2020.05.18 10:43:26.645 *I* [                  ] SocketListener/MobileDevices: listening on [0.0.0.0]:4747
      2020.05.18 10:43:26.646 *I* [                  ] SocketListener/Clients: listening on 0.0.0.0:4701
      2020.05.18 10:43:26.646 *I* [                  ] SocketListener/Clients: listening on [0.0.0.0]:4701
      2020.05.18 10:43:26.646 *I* [                  ] Listening for SNMP traps on UDP socket 0.0.0.0:162
      2020.05.18 10:43:26.646 *I* [                  ] Listening for SNMP traps on UDP socket :::162
      2020.05.18 10:43:26.646 *I* [                  ] SocketListener/AgentTunnels: listening on 0.0.0.0:4703
      2020.05.18 10:43:26.646 *I* [                  ] SocketListener/AgentTunnels: listening on [0.0.0.0]:4703
      Unauthorized access to memory (SIGSEGV)

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

        Hi,

        what Debian version you are using? Did you install server from packages? If possible, please run server under gdb and provide stack trace after crash.

        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