pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
PGadmin error while connecting with database.
3+ messages / 2 participants
[nested] [flat]

* PGadmin error while connecting with database.
@ 2018-01-12 04:55  Dinesh Chandra 12108 <Dinesh.Chandra@cyient.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Dinesh Chandra 12108 @ 2018-01-12 04:55 UTC (permalink / raw)
  To: pgsql-performance-owner@postgresql.org <pgsql-performance-owner@postgresql.org>; +Cc: pgsql-performance

Dear Expert,

While connecting PostgreSQL 9.3 with PGAdmin client I am getting the below error.

[cid:image001.png@01D38B8F.6F382110]

However I am able to connect the database using psql  thourgh Putty.

Entry in pg_hba.conf

# IPv4 local connections:
host    all             all             127.0.0.1/32           md5
host    all             all             0.0.0.0/0              md5

entry in Postgresql.conf

listen_addresses = '*'
port = 5432

port is already open and I am able to telnet.

Even after creating a new instance and fresh installation of PostgreSQL, I am getting the same error.

OS-CentOS 7
S/w-PostgreSQL9.3

Regards,
Dinesh Chandra
|Database administrator (Oracle/PostgreSQL)| Cyient Ltd. Noida.
------------------------------------------------------------------
Mobile: +91-9953975849 | Ext 1078 |dinesh.chandra@cyient.com<mailto:%7Cdinesh.chandra@cyient.com>
Plot No. 7, NSEZ, Phase-II ,Noida-Dadri Road, Noida - 201 305,India.


________________________________

DISCLAIMER:

This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. Check all attachments for viruses before opening them. All views or opinions presented in this e-mail are those of the author and may not reflect the opinion of Cyient or those of our affiliates.

Attachments:

image001.png (image/png, 7.4K) download | view image
^ permalink raw reply [nested|flat] 3+ messages in thread

* Re: PGadmin error while connecting with database.
@ 2018-01-12 08:44  Mariel Cherkassky <mariel.cherkassky@gmail.com>
  parent: Dinesh Chandra 12108 <Dinesh.Chandra@cyient.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Mariel Cherkassky @ 2018-01-12 08:44 UTC (permalink / raw)
  To: Dinesh Chandra 12108 <Dinesh.Chandra@cyient.com>; +Cc: pgsql-performance-owner@postgresql.org <pgsql-performance-owner@postgresql.org>; pgsql-performance

Do you any errors in the server log  or in the log of pgadmin (show us..)?
What are the settings that you configured for your pgadmin client  and for
the connection ?

2018-01-12 6:55 GMT+02:00 Dinesh Chandra 12108 <Dinesh.Chandra@cyient.com>:

> Dear Expert,
>
>
>
> While connecting PostgreSQL 9.3 with PGAdmin client I am getting the below
> error.
>
>
>
>
>
> However I am able to connect the database using psql  thourgh Putty.
>
>
>
> *Entry in pg_hba.conf*
>
>
>
> # IPv4 local connections:
>
> host    all             all             127.0.0.1/32           md5
>
> host    all             all             0.0.0.0/0              md5
>
>
>
> *entry in Postgresql.conf*
>
>
>
> listen_addresses = '*'
>
> port = 5432
>
>
>
> port is already open and I am able to telnet.
>
>
>
> Even after creating a new instance and fresh installation of PostgreSQL, I
> am getting the same error.
>
>
>
> OS-CentOS 7
>
> S/w-PostgreSQL9.3
>
>
>
> *Regards,*
>
> *Dinesh Chandra*
>
> *|Database administrator (Oracle/PostgreSQL)| Cyient Ltd. Noida.*
>
> *------------------------------------------------------------------*
>
> Mobile: +91-9953975849 | Ext 1078 |dinesh.chandra@cyient.com
>
> Plot No. 7, NSEZ, Phase-II ,Noida-Dadri Road, Noida - 201 305,India
> <https://maps.google.com/?q=NSEZ,+Phase-II+,Noida-Dadri+Road,+Noida+-+201+305,India&entry=gmail&a...;
> .
>
>
>
> ------------------------------
>
> DISCLAIMER:
>
> This email message is for the sole use of the intended recipient(s) and
> may contain confidential and privileged information. Any unauthorized
> review, use, disclosure or distribution is prohibited. If you are not the
> intended recipient, please contact the sender by reply email and destroy
> all copies of the original message. Check all attachments for viruses
> before opening them. All views or opinions presented in this e-mail are
> those of the author and may not reflect the opinion of Cyient or those of
> our affiliates.
>

Attachments:

image001.png (image/png, 7.4K) download | view image
^ permalink raw reply [nested|flat] 3+ messages in thread

* Re: Re: PGadmin error while connecting with database.
@ 2018-01-14 04:10  Dinesh Chandra 12108 <Dinesh.Chandra@cyient.com>
  parent: Mariel Cherkassky <mariel.cherkassky@gmail.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Dinesh Chandra 12108 @ 2018-01-14 04:10 UTC (permalink / raw)
  To: pgsql-performance-owner@postgresql.org <pgsql-performance-owner@postgresql.org>; +Cc: pgsql-performance

Hi Mariel,


Thanks for your response. the problem has been resolved now .

 I checked all the listening port status and port 5432 was only opened for local not for all.

root> netstat -nlt


tcp     0     127.0.0.1:5432     0.0.0.*  LISTEN


I changed it as the below and problem got resolved.


tcp     0     0.0.0.0:5432     0.0.0.*  LISTEN


Regards,
Dinesh Chandra
Cyient Ltd.


________________________________
From: Mariel Cherkassky <mariel.cherkassky@gmail.com>
Sent: Friday, January 12, 2018 2:14:31 PM
To: Dinesh Chandra 12108
Cc: pgsql-performance-owner@postgresql.org; pgsql-performance@postgresql.org
Subject: [EXTERNAL]Re: PGadmin error while connecting with database.

Do you any errors in the server log  or in the log of pgadmin (show us..)? What are the settings that you configured for your pgadmin client  and for the connection ?

2018-01-12 6:55 GMT+02:00 Dinesh Chandra 12108 <Dinesh.Chandra@cyient.com<mailto:Dinesh.Chandra@cyient.com>>:
Dear Expert,

While connecting PostgreSQL 9.3 with PGAdmin client I am getting the below error.

[cid:image001.png@01D38B8F.6F382110]

However I am able to connect the database using psql  thourgh Putty.

Entry in pg_hba.conf

# IPv4 local connections:
host    all             all             127.0.0.1/32<http://127.0.0.1/32;           md5
host    all             all             0.0.0.0/0<http://0.0.0.0/0;              md5

entry in Postgresql.conf

listen_addresses = '*'
port = 5432

port is already open and I am able to telnet.

Even after creating a new instance and fresh installation of PostgreSQL, I am getting the same error.

OS-CentOS 7
S/w-PostgreSQL9.3

Regards,
Dinesh Chandra
|Database administrator (Oracle/PostgreSQL)| Cyient Ltd. Noida.
------------------------------------------------------------------
Mobile: +91-9953975849 | Ext 1078 |dinesh.chandra@cyient.com<mailto:%7Cdinesh.chandra@cyient.com>
Plot No. 7, NSEZ, Phase-II ,Noida-Dadri Road, Noida - 201 305,India<https://maps.google.com/?q=NSEZ,+Phase-II+,Noida-Dadri+Road,+Noida+-+201+305,India&entry=gmail&a...;.


________________________________

DISCLAIMER:

This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. Check all attachments for viruses before opening them. All views or opinions presented in this e-mail are those of the author and may not reflect the opinion of Cyient or those of our affiliates.

Attachments:

image001.png (image/png, 7.4K) download | view image
^ permalink raw reply [nested|flat] 3+ messages in thread


end of thread, other threads:[~2018-01-14 04:10 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-01-12 04:55 PGadmin error while connecting with database. Dinesh Chandra 12108 <Dinesh.Chandra@cyient.com>
2018-01-12 08:44 ` Mariel Cherkassky <mariel.cherkassky@gmail.com>
2018-01-14 04:10   ` Dinesh Chandra 12108 <Dinesh.Chandra@cyient.com>

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