pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: linda.ding@cemtek.com.cn
Subject: BUG #15639: Unable to connect to database with dsn dbi
Date: Mon, 18 Feb 2019 05:36:59 +0000
Message-ID: <15639-b53e677fe2bd8d05@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      15639
Logged by:          Ding Linda
Email address:      linda.ding@cemtek.com.cn
PostgreSQL version: Unsupported/Unknown
Operating system:   Linux
Description:        

I run into a problem with the postgresql server. Is there any way to remove
it separately and do a clean install of Postgresql only?
Here’s one of the error messages I get:

Unable to connect to database with dsn
dbi:Pg:dbname=pmx_quarantine;port=5432;host=mgate2.cemtek.com.cn.cemtek.com.cn:
DBI
connect('dbname=pmx_quarantine;port=5432;host=mgate2.cemtek.com.cn.cemtek.com.cn','',...)
failed: FATAL: no pg_hba.conf entry for host "117.184.46.144", user "pmx6",
database "pmx_quarantine", SSL on
FATAL: no pg_hba.conf entry for host "117.184.46.144", user "pmx6", database
"pmx_quarantine", SSL off at
/opt/pmx6/lib/site_perl/5.8.7/PureMessage/Reports/Reductor.pm line 67
at /opt/pmx6/bin/pmx-prd-reduce line 46

and also

/opt/pmx6/postgres/bin/pg_ctl: error while loading shared libraries:
libpq.so.5: cannot open shared object file: No such file or directory
when I try to start the server manually.

Apparently something went wrong during the pgsql installation and I’m not
sure how to fix the host problem and add the missing LD_LIBRARY_PATH
variable.



Message-ID: <15639-b53e677fe2bd8d05@postgresql.org>
Permalink:  ../15639-b53e677fe2bd8d05@postgresql.org/
Also on:    postgresql.org/message-id/15639-b53e677fe2bd8d05@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, linda.ding@cemtek.com.cn
  Subject: Re: BUG #15639: Unable to connect to database with dsn dbi
  In-Reply-To: <15639-b53e677fe2bd8d05@postgresql.org>
  References: <15639-b53e677fe2bd8d05@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox