Re: First time installing - Mailing list pgsql-novice

From Frederick .
Subject Re: First time installing
Date
Msg-id CACMA5-xRdv2km5YDiLz-p0s6gt9z7u5boM5aXLS1V8V7aWJb6w@mail.gmail.com
Whole thread Raw
In response to First time installing  ("Ron Watkins" <rwatki@gmail.com>)
Responses RE: First time installing  ("Ron Watkins" <rwatki@gmail.com>)
List pgsql-novice
Make sure the service is running.

As root:   systemctl start postgresql

As a user:
https://www.postgresql.org/docs/10/static/server-start.html

On Wed, Feb 21, 2018 at 3:20 PM, Ron Watkins <rwatki@gmail.com> wrote:
> Trying to follow documentation. I  installed RPM’s but unable to connect to
> server…
>
> CentOS Linux release 7.4.1708 (Core)
>
>
>
> Package postgresql10-10.2-1PGDG.rhel7.x86_64 already installed and latest
> version
>
> Package postgresql10-server-10.2-1PGDG.rhel7.x86_64 already installed and
> latest version
>
>
>
> # su - postgres
>
> -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
> "/var/run/postgresql/.s.PGSQL.5432"?
>
>
>
> There are no files under /var/run/post*
>
>
>
> What am I missing here?


pgsql-novice by date:

Previous
From: "Ron Watkins"
Date:
Subject: First time installing
Next
From: "Ron Watkins"
Date:
Subject: RE: First time installing