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. Migration Error

Migration Error

Scheduled Pinned Locked Moved Support
6 Posts 3 Posters 31.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.
  • P
    P
    Professional_B
    wrote on last edited by
    #1

    Hi All,

    I'm in the process of migrating our NetXMS installation from our old server to a new one. I read some earlier forum posts and the wiki article on how to migrate the DB, but I'm running into an error when I attempt to use nxdbmgr migrate. It says "Error loading source configuration from netxmsd_old.conf". I'm assuming there's an issue with the DBServer entry in netxmsd_old.conf, but I'm not sure. I've tried entering the old server's FDQN and IP address without success. Any help on this would be appreciated.

    Thanks,

    Pro_B

    1 Reply Last reply
    0
    • WoodyW
      WoodyW
      Woody
      wrote on last edited by
      #2

      I think you should attach your config files here if someone should help you.  😉

      1 Reply Last reply
      0
      • P
        P
        Professional_B
        wrote on last edited by
        #3

        Oh sure. Here's the netxmsd_old (with altered/obfuscated entries):

        LogFile = {syslog}
        DBDriver = mysql.ddr
        DBServer = oldserver.localnetwork.local
        DBName = netxms_db
        DBLogin = ****
        DBPassword = ****
        LogFailedSQLQueries = yes

        I should note also that both of the databases are local to their servers, so in this case the new server is attempting to migrate the database directly from the old.

        1 Reply Last reply
        0
        • WoodyW
          WoodyW
          Woody
          wrote on last edited by
          #4

          What operating system do you use?  Can you connect to your database remotely? You can test it with this command: mysql -u [user] -p -h [ip of db server]

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

            Hi,

            configuration file looks correct. How exactly you run nxdbmgr? Try to specify full path to old DB config and make sure it is accessible.

            Best regards,
            Victor

            1 Reply Last reply
            0
            • P
              P
              Professional_B
              wrote on last edited by
              #6

              Hi Victor,

              That did it, specifying the absolute file path to netxmsd_old.conf with nxdbmgr is what was needed. Thanks so much for your help!

              Pro_B

              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