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. PostgreSQL v1.2.4

PostgreSQL v1.2.4

Scheduled Pinned Locked Moved Support
9 Posts 2 Posters 69.9k 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.
  • L
    L
    lindeamon
    wrote on last edited by
    #1

    hi,

    i am trying to install the new version 1.2.4 on centos linux with postgresql .
    up until now i did not have problems but with this new version i get "unable to load and initialize database driver...", what is the problem ? what have changed ?
    i use pgsql v9.1

    Best Regards,
    Lindeamon

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

      Hi!

      Nothing changed in PostgreSQL driver. Try to run server from command line as

      netxmsd -D9

      maybe there will be additional error messages. Also, please send me output of

      uname -a

      and

      ldd <netxms_install_prefix>/lib/netxms/dbdrv/pgsql.ddr

      Best regards,
      Victor

      1 Reply Last reply
      0
      • L
        L
        lindeamon
        wrote on last edited by
        #3

        hi victor,

        it will take me a few days but i will get you the info

        Best Regards,
        Lindeamon

        1 Reply Last reply
        0
        • L
          L
          lindeamon
          wrote on last edited by
          #4

          hi victor,

          could not wait so i did it now.
          from the files i can see that maybe the nxdbmgr has a problem.
          by the way, i have installed 1.2.4 on windows servers and i did not have a problem
          attached are the files you requested and sorry that i could not post the name in the uname

          Best Regards,
          Lindeamon


          netxms_D9.txt

          netxms_ldd_pgsql.txt

          netxms_uname.txt

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

            Hi!

            Server looks good, you just have to upgrade the database. Did you run nxdbmgr upgrade command?

            Best regards,
            Victor

            1 Reply Last reply
            0
            • L
              L
              lindeamon
              wrote on last edited by
              #6

              Hi Victor,

              Of course. this is what gave me the error saying it can not load or initialize.
              i was not able to upgrade the db.
              as i mentioned, i have installed the x64 and the x32 versions on different computers and different operating systems and the problem did not occurs, the DB was upgraded.
              the problem occurs only in my linux box.
              when i installed v1.2.3 on the same linux box with the same postgre everything went smooth.
              hope this info will give you a lead

              Best Regards,
              Lindeamon

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

                Hi!

                That's very strange, both nxdbmgr and server uses same database driver. Can you please send me full output of nxdbmgr, and output of ldd nxdbmgr? Also, try to run nxdbmgr giving configuration file explicitly with -c command line option. And try to specify database driver in netxmsd.conf as

                DBDriver = pgsql.ddr

                Best regards,
                Victor

                1 Reply Last reply
                0
                • L
                  L
                  lindeamon
                  wrote on last edited by
                  #8

                  Hi Victor,

                  i hope i will be able to do this tomorrow.

                  Best Regards,
                  Lindeamon

                  1 Reply Last reply
                  0
                  • L
                    L
                    lindeamon
                    wrote on last edited by
                    #9

                    Hi Victor,

                    i do not know what happened but it works. i have installed the new version, changed the directory to the netxms bin directory, ran the upgrade and it worked.
                    the only thing i can think of is that i ran the nxdbmgr command out of the netxms bin directory {i really do not remember what i did}
                    thank you anyway.

                    Best Regards,
                    Lindeamon

                    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