Re: server will not start (Debian)

Поиск
Список
Период
Сортировка
От Peter J. Holzer
Тема Re: server will not start (Debian)
Дата
Msg-id 20191215143446.GA22463@hjp.at
обсуждение исходный текст
Ответ на Re: server will not start (Debian)  (stan <stanb@panix.com>)
Список pgsql-general
On 2019-12-10 12:03:30 -0500, stan wrote:
> OK, here is the latets. If I do sudo systemctl start postgresql@12-main
>
> the instance starts and works fine.
>
> However, if I reboot the machine, the instance is not started.

Check whether the service is enabled in systemd:

# systemctl status postgresql@12-main.service
● postgresql@12-main.service - PostgreSQL Cluster 12-main
   Loaded: loaded (/lib/systemd/system/postgresql@.service; enabled-runtime; vendor preset: enabled)
                                                            ^^^^^^^

If it isn't, enable it:

# systemctl enable postgresql@12-main.service

    hp



--
   _  | Peter J. Holzer    | Story must make more sense than reality.
|_|_) |                    |
| |   | hjp@hjp.at         |    -- Charles Stross, "Creative writing
__/   | http://www.hjp.at/ |       challenge!"

Вложения

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

Предыдущее
От: "Abraham, Danny"
Дата:
Сообщение: Is there any tool that provides Physical Backup plus PITR for asingle database ( Not the whole PG instance ) ?
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Is there any tool that provides Physical Backup plus PITR for asingle database ( Not the whole PG instance ) ?