From: | Hrvoje Zokovic <hzokovic(at)gmail(dot)com> |
---|---|
To: | Ron Watkins <rwatki(at)gmail(dot)com>, pgsql-novice(at)lists(dot)postgresql(dot)org |
Subject: | Re: First time installing |
Date: | 2018-02-21 20:47:02 |
Message-ID: | 6837eabf-45df-7841-9423-516a0e460e33@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
Typically installing postgres to your OS creates an "initial DB" and
starts the
postgres server daemon running. If not then you'll need to run initdb
https://www.postgresql.org/docs/9.6/static/app-initdb.html
HTH
Hrvoje
On 21.02.18. 21:20, Ron Watkins 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?
>
From | Date | Subject | |
---|---|---|---|
Next Message | Frederick . | 2018-02-21 20:47:03 | Re: First time installing |
Previous Message | Ron Watkins | 2018-02-21 20:40:10 | RE: First time installing |