Newbie: problem Connecting to Server

Started by Ferindo Middleton Jrabout 23 years ago2 messagesdocs
Jump to latest
#1Ferindo Middleton Jr
ferindo.middleton@verizon.net

I'm running Redhat Linux 8. I have registration to the Redhat Network so
I'm probably running the latest version of postgre sql available. I also
have Redhat Databse v2.1 installed, but whenever I try to start a session,
I get the following error message:

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"?

Please help me configure my system so that I can connect and begin to use
postgresql.

#2Viktor Vislobokov
vvislobokov@lukoilperm.ru
In reply to: Ferindo Middleton Jr (#1)
Re: Newbie: problem Connecting to Server

Ferindo Middleton Jr wrote:

I'm running Redhat Linux 8. I have registration to the Redhat Network so
I'm probably running the latest version of postgre sql available. I also
have Redhat Databse v2.1 installed, but whenever I try to start a session,
I get the following error message:

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"?

Please help me configure my system so that I can connect and begin to use
postgresql.

/etc/init.d/postgresql start

After this:
Check your PostgreSQL server is running.

ps -ax | grep postmaster

You should be see some as:

807 ? S 0:02 /usr/bin/postmaster

If no, check your PostgreSQL installation.

With best wishes,
Victor Vislobokov
Perm, Russia