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 (Russian)
  3. Проблема с pgsql.ddr при установке

Проблема с pgsql.ddr при установке

Scheduled Pinned Locked Moved Support (Russian)
7 Posts 3 Posters 39.8k 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.
  • V
    V
    vr
    wrote on last edited by
    #1

    Добрый день,

    при свежей установке на шаге конфигурации сервера вываливается с ошибкой Unable to load database driver module "pgsql.ddr

    из командной строки то же самое:
    C:\NetXMS\bin>netxmsd.exe -D 9
    Using configuration file "C:\NetXMS\etc\netxmsd.conf"
    2020.03.31 16:35:59.859 *D* [                  ] LIB directory set to C:\NetXMS\lib
    2020.03.31 16:35:59.865 *D* [dload              ] DLOpen: file="pgsql.ddr", module=0000000000000000
    2020.03.31 16:35:59.866 *E* [db.drv            ] Unable to load database driver module "pgsql.ddr": The specified module could not be found.
    NetXMS Core initialization failed

    help, please  🙂

    NetXMS info:

    C:\NetXMS\bin>netxmsd.exe -v
    NetXMS Server Version 3.2.451 Build 3.2-451-g37a0366f6f (UNICODE)
    NXCP: 5.52.1.27 (AES-256, Blowfish-256, IDEA, 3DES, AES-128, Blowfish-128)
    Built with: Microsoft C/C++ Optimizing Compiler Version 191627032

    MS Windows Server 2016

    1 Reply Last reply
    0
    • A
      A
      Alex Kirhenshtein
      wrote on last edited by
      #2

      Проверьте, что при установке вы выбрали компоненту PostgreSQL

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

        выбирал, конечно, и сам файл pgsql.ddr лежит в правильном месте:
         Directory of C:\NetXMS\bin

        03/27/2020  06:09 PM            32,336 db2.ddr
        03/27/2020  06:09 PM            32,336 informix.ddr
        03/27/2020  06:09 PM            35,408 mariadb.ddr
        03/27/2020  06:09 PM            32,848 mssql.ddr
        03/27/2020  06:09 PM            34,384 mysql.ddr
        03/27/2020  06:09 PM            32,848 odbc.ddr
        03/27/2020  06:09 PM            41,552 oracle.ddr
        03/27/2020  06:09 PM            35,408 pgsql.ddr
        03/27/2020  06:09 PM            28,752 sqlite.ddr
                      9 File(s)        305,872 bytes

        1 Reply Last reply
        0
        • A
          A
          Alex Kirhenshtein
          wrote on last edited by
          #4

          Есть две части - наши драйвера баз (*.ddr, которые предоставляют унифицированный доступ к конкретным базам данных), и клиентские библиотеки - их предоставляют производители базы данных. Наши драйвера ставятся всегда, клиентские библиотеки - нет.
          В инсталлере есть опция "PostgreSQL Client Library", если во время установки она была выбрана, то это какой-то баг.
          Проверьте, пожалуйста, pgsql.ddr при помощи Dependency Walker (http://www.dependencywalker.com/)

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

            я ставил клиентские библиотеки.

            Dependency Walker показывает кучу недостающего:
            [  6] c:\netxms\bin\PGSQL.DDR
                [  6] c:\netxms\bin\LIBPQ.DLL
                      [  6] c:\netxms\bin\LIBSSL-1_1-X64.DLL
                          [ ^6] c:\netxms\bin\LIBCRYPTO-1_1-X64.DLL
                          [ ^6] c:\windows\system32\MSVCR120.DLL
                          [ ^6] c:\windows\system32\KERNEL32.DLL
                                [F^6] c:\windows\system32\NTDLL.DLL
                      [  6] c:\netxms\bin\LIBCRYPTO-1_1-X64.DLL
                          [ ^6] c:\windows\system32\WS2_32.DLL
                          [ ^6] c:\windows\system32\ADVAPI32.DLL
                          [  6] c:\windows\system32\USER32.DLL
                                [  6] c:\windows\system32\WIN32U.DLL
                                [ ^6] c:\windows\system32\NTDLL.DLL
                                [ ? ] API-MS-WIN-CORE-LOCALIZATION-L1-2-1.DLL
                                [ ? ] API-MS-WIN-CORE-REGISTRY-L1-1-0.DLL
                                [ ? ] API-MS-WIN-CORE-HEAP-L2-1-0.DLL
                                [ ? ] API-MS-WIN-CORE-LIBRARYLOADER-L1-2-0.DLL
                                [ ? ] API-MS-WIN-CORE-SYNCH-L1-2-0.DLL
                                [ ? ] API-MS-WIN-CORE-STRING-L1-1-0.DLL
                                [ ? ] API-MS-WIN-CORE-SYSINFO-L1-2-1.DLL
                                [ ? ] API-MS-WIN-CORE-PROCESSTHREADS-L1-1-2.DLL
                                [ ? ] API-MS-WIN-SECURITY-BASE-L1-2-0.DLL
                                [ ? ] API-MS-WIN-CORE-ERRORHANDLING-L1-1-1.DLL
                                [ ? ] API-MS-WIN-CORE-STRING-L2-1-0.DLL
                                [ ? ] API-MS-WIN-CORE-PROCESSENVIRONMENT-L1-2-0.DLL
                                [ ? ] API-MS-WIN-CORE-FILE-L1-2-1.DLL
                                [ ? ] API-MS-WIN-CORE-HANDLE-L1-1-0.DLL
                                [ ? ] API-MS-WIN-EVENTING-PROVIDER-L1-1-0.DLL
                                [ ? ] API-MS-WIN-CORE-MEMORY-L1-1-2.DLL
                                [ ? ] API-MS-WIN-CORE-PROFILE-L1-1-0.DLL

            и так далее.
            полные отчёты в аттаче


            pgsql1.txt

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

              есть идеи?  🙂

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

                Попробуйте поставить Visual C++ 2013 and Visual C++ Redistributable Package
                https://support.microsoft.com/en-us/help/3138367/update-for-visual-c-2013-and-visual-c-redistributable-package

                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