S
S
Shurik2021-08-25 13:55:53
PostgreSQL
Shurik, 2021-08-25 13:55:53

Why does reloading postgres fail while the database is running?

Hello. Faced the problem of reloading the postgres database.
I reboot with the command sudo service postgresql-9.6.service reload
It gives an error:

Redirecting to /bin/systemctl reload postgresql-9.6.service
Job for postgresql-9.6.service invalid.

At the same time, the database continues to work (answers requests to it).
Issues on command systemctl list-units --type service-
postgresql.service                 loaded failed failed  PostgreSQL database server

What could be wrong? Before everything worked properly and rebooted.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
BorLaze, 2021-08-25
@svisch

reload is not a restart, it is an instruction to re-read the configs.
restart sudo service postgresql restartworks?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question