Re: First time installing

Поиск
Список
Период
Сортировка
От Keith
Тема Re: First time installing
Дата
Msg-id CAHw75vsju9Qb1He1_WF-h14MV-16S+a5k5VQoYKuit0AVbCmLQ@mail.gmail.com
обсуждение исходный текст
Ответ на RE: First time installing  ("Ron Watkins" <rwatki@gmail.com>)
Список pgsql-novice


On Wed, Feb 21, 2018 at 3:40 PM, Ron Watkins <rwatki@gmail.com> wrote:
# systemctl start postgresql
Failed to start postgresql.service: Unit not found.

Am I missing a step?

-----Original Message-----
From: Frederick . [mailto:nagemnna@gmail.com]
Sent: Wednesday, February 21, 2018 1:39 PM
To: Ron Watkins
Cc: pgsql-novice@lists.postgresql.org
Subject: Re: First time installing

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?




RHEL/CentOS does not enable the service nor create a cluster by default after package installation. Plug in your versions to this form and it will give you all the commands to run to get the package managed cluster installed

https://www.postgresql.org/download/linux/redhat/

В списке pgsql-novice по дате отправления:

Предыдущее
От: "Frederick ."
Дата:
Сообщение: Re: First time installing
Следующее
От: "Ron Watkins"
Дата:
Сообщение: RE: First time installing