pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daulat Ram <Daulat.Ram@cyient.com>
To: Bob Strecansky <bob@mailchimp.com>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: RE: Re: Issue with postgres login
Date: Fri, 24 Nov 2017 04:04:39 +0000
Message-ID: <2d6c9fa482374cd489d8158fbe0635c6@cyient.com> (raw)
In-Reply-To: <CAEGG-HXusEMx54rqqqPX31PCaPXDQYFzmQL3Zj-G7Z7LXcftoA@mail.gmail.com>
References: <2c605dcbfbea411698c27145d72df38a@cyient.com>
	<CAEGG-HXusEMx54rqqqPX31PCaPXDQYFzmQL3Zj-G7Z7LXcftoA@mail.gmail.com>

Hi team,

But it was working fine earlier.

Another message I have seen after starting by
-bash-4.2$  /usr/pgsql-9.3/bin/pg_ctl -D /var/lib/pgsql/9.3/data/ -l logfile start
< 2017-11-24 04:00:40.780 UTC >FATAL:  data directory "/var/lib/pgsql/9.3/data" has group or world access
< 2017-11-24 04:00:40.780 UTC >DETAIL:  Permissions should be u=rwx (0700).

For more details please refer to trail mail
Regards,
Daulat
From: Bob Strecansky [mailto:bob@mailchimp.com]
Sent: 24 November, 2017 9:07 AM
To: Daulat Ram <Daulat.Ram@cyient.com>
Cc: pgsql-performance@postgresql.org
Subject: [EXTERNAL]Re: Issue with postgres login

It seems you may have just the postgresql package installed and not the postgresql-server package. This Linode guide may be helpful:

https://www.linode.com/docs/databases/postgresql/how-to-install-postgresql-relational-databases-on-c...

-B
On Thu, Nov 23, 2017 at 22:28 Daulat Ram <Daulat.Ram@cyient.com<mailto:Daulat.Ram@cyient.com>> wrote:
Hi team,

We are facing the below issue while logging with postgres as given below:

[centos@ip-192-90-2-208 ~]$ su - postgres
Password:
Last login: Thu Nov 23 16:15:45 UTC 2017 on pts/1
-bash-4.2$ psql
psql: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
-bash-4.2$


OS: Centos
AWS environment

Regards,
Daulat

________________________________

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.
--
Thanks,

-B


view thread (7+ messages)  latest in thread

Message-ID: <2d6c9fa482374cd489d8158fbe0635c6@cyient.com>
Permalink:  ../2d6c9fa482374cd489d8158fbe0635c6@cyient.com/
Also on:    postgresql.org/message-id/2d6c9fa482374cd489d8158fbe0635c6@cyient.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: Daulat.Ram@cyient.com, bob@mailchimp.com
  Subject: RE: Re: Issue with postgres login
  In-Reply-To: <2d6c9fa482374cd489d8158fbe0635c6@cyient.com>

* 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