Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
sush_1
Partner - Contributor III
Partner - Contributor III

Postgres endpoint Error

Hi Team,

I am trying to connect postgres database to qlik replicate. getting postgre odbc driver error that is libpd.dll not found. besides I have followed all the perquisites for connecting this endpoint. attaching screenshot of error msg.

1 Solution

Accepted Solutions
john_wang
Support
Support

Hello Sushant @sush_1 ,

From the picture you did not set wal_level correctly:

#wal_level = logical

This line is commented out.  You need remove the prefix "#". It's the same for other parameters.

BTW, if you need further assistance please choose this article closed by "Accept as Solution" as the original issue fixed. Open a new one to make articles clear.

Thank you,

John.

Help users find answers! Do not forget to mark a solution that worked for you! If already marked, give it a thumbs up!

View solution in original post

14 Replies
john_wang
Support
Support

Hello @sush_1 ,

Thanks for reaching out!

It's hard to tell from the picture only this time. let's trace it by steps:

1- Make sure you are using x64-bit installation kit rather than 32-bit as Replicate support 64-bit driver only

2- What's the driver version please?

3- Would you please add the installation folder eg "C:\Program Files\psqlODBC\<versionNumber>\bin" to system environment PATH and restart Replicate services ?

4- How about if config an ODBC DSN manually to see if same error popup ? if yes then sesms the installation is some problematic.

Hope this helps.

Regards,

John.

Help users find answers! Do not forget to mark a solution that worked for you! If already marked, give it a thumbs up!
sush_1
Partner - Contributor III
Partner - Contributor III
Author

Hi John

1. yes I am using 64 bit installation kit.

2. psqlodbc_12_02_0000-x64 this is the version of the driver.

3. I have also added the path to system variables.

still the the issue is there.

4. how to config ODBC dsn manuall?

Regards,

Sushant

Arun_Arasu
Support
Support

Hi @sush_1  , can you please follow the below steps and verify if the test connection works

To manually configure an ODBC DSN (Data Source Name), you can follow these general steps:

Open the ODBC Data Source Administrator:
In Windows, you can typically find it in the Control Panel under Administrative Tools or by searching for "ODBC" in the Start menu.

Navigate to the System DSN or User DSN tab: The System DSN tab configures a DSN that is available to all users on the computer, while the User DSN tab configures a DSN specific to the current user.

Click the "Add" button: This will open a dialog to create a new DSN.

Select the appropriate driver: Choose the driver that matches the database or data source you want to connect to. The available drivers depend on the software and database drivers installed on your system. For example, if you want to connect to a Microsoft SQL Server database, you would select the appropriate SQL Server driver.

Provide the necessary information: The exact information required may vary depending on the selected driver, but typically includes the DSN name, a description (optional), the server or database name, authentication details (username and password), and any additional connection parameters or options.

Test the connection: After providing the required information, you can use the "Test" or "Test Connection" button to verify that the connection to the data source is successful. This step helps ensure that the configuration is correct and the necessary drivers are installed.

Save the DSN: Once you have tested the connection and verified its success, save the DSN configuration.

After configuring the DSN, you can use it in applications that support ODBC to connect to the specified data source using the configured settings.

sush_1
Partner - Contributor III
Partner - Contributor III
Author

Hi Arun,

I have tested OBDC connection by adding DSN . It has shown that Connection Successful.

but in qlik replicate same error msg is pops up when I test the  connection.

Regards,

Sushant

 

john_wang
Support
Support

Hello @sush_1 ,

Please confirm you restarted Replicate services after adding to PATH.

Regards,

John.

Help users find answers! Do not forget to mark a solution that worked for you! If already marked, give it a thumbs up!
sush_1
Partner - Contributor III
Partner - Contributor III
Author

Hi John,

Yes, I have restarted the replicate services after doing this step.

Regards,

Sushant

john_wang
Support
Support

Hello @sush_1 ,

Thanks for the clarification.

Do you have multiple versions of PSQL ODBC driver installed on the same machine ? how many "libpq.dll" files you can find? if more than once then please remove the unnecessary ones. 

BTW, try to reboot the server to see if it is helpful?

Regards,

John.

Help users find answers! Do not forget to mark a solution that worked for you! If already marked, give it a thumbs up!
sush_1
Partner - Contributor III
Partner - Contributor III
Author

Hi John,

As I checked there is only one libpq.dll file in psql ODBC driver and also done with the rebooting the server. but still issue is there.

Regards, 

Sushant

john_wang
Support
Support

Hello @sush_1 ,

Thank you for the update.

Let's continue the trace until we figure out the root cause.

Would you please copy all files from the PSQL ODBC installation folder (for example "C:\Program Files\psqlODBC\1302\bin") to Replicate bin folder (for example "C:\Program Files\Attunity\Replicate\bin") then see what happens?

thanks,

John.

Help users find answers! Do not forget to mark a solution that worked for you! If already marked, give it a thumbs up!