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. latest version - problem loading postgres driver upon new installation

latest version - problem loading postgres driver upon new installation

Scheduled Pinned Locked Moved Support
11 Posts 5 Posters 46.1k 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.
  • WoodyW
    WoodyW
    Woody
    wrote on last edited by
    #2

    Hello,
    have you installed netxms-dbdrv-pgsql?
    Can you send logs and your netxms configuration file?
    What operating system do you use?

    Best regards
    Woody

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

      Hi Woody,

      didn't know that i have to install separately, is it new ?
      using windows 2012 r2

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

        Hi,
        sorry I thought you were using Linux.
        I do not have much experience with netxms on windows, but maybe this guide will help you:
        https://www.netxms.org/documentation/adminguide/installation.html#installing-on-windows
        If it still doesn't work i recommend uploading the exact error message or logs and your configuration,
        so other people can easy help you.

        Best regards
        Woody

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

          victor ?
          netxms Team ?

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

            Hi,

            most likely there is some DLL conflict. I'll try to check if all dependencies for pgsql.ddr were added to installer.

            Best regards,
            Victor

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

              Thank you very much !

              1 Reply Last reply
              0
              • M
                M
                mibox
                wrote on last edited by
                #8

                Hi,

                Follow the below steps and you will have NetXMS working, regardless if PG is installed on your local NetXMS host or on a remote DB server (assuming pgadmin4 works remotely for you).

                1. Install / upgrade the required version of PostgreSQL on your NetXMS machine or extract the \bin folder from PostgreSQL binary zip package to a folder of your choice (actually you will need dlls only).
                2. Make sure the folder is included in windows env path variable or in case of the regular PostgreSQL install, execute the batch file that comes with the install to set local environment up. Make sure it has successfully applied the required changes. (Run "cmd" and then "set" commands to verify system variables. In case they are not set, do it by hand following the batch file content).
                3. Rename ...\NetXMS\bin\libpq.dll  to e.g. "_libpq.dll"
                  4.From the folder to which you have extracted PostgreSQL package or from ..\PostgreSQL\xx\bin\ installation folder, copy "libpq.dll" file to ...\NetXMS\bin\ folder (in place of the earlier renamed dll).
                4. Start netxmsd.exe -D 9 to make sure it follows your config file settings and it connects to DB (can be on localhost or on remote serverver machine).
                5. Start nx client, it should work fine, stop netxmsd.exe and start NetXMS service the normal way. Reconnect the client.

                I hope it'd be of help.

                BR
                MI

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

                  thank you MI.
                  will give it a try but i prefer to wait for victor's fix. this way, i know that the one who created the software checks the integrity of it's work.

                  BR,
                  Lindeamon

                  1 Reply Last reply
                  0
                  • F
                    F
                    Filipp Sudanov
                    wrote on last edited by
                    #10

                    3.2 bugfix release is out. Please check, if it fixed this issue.

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

                      bug fixed.
                      thank you

                      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