My PostgreSQL server has unexpectedly shut down.
In the log file (postgresql-Wed.log), I can see the following:
2025-11-12 18:18:54 LOG: received fast shutdown request
2025-11-12 18:18:54 LOG: aborting any active transactions
2025-11-12 18:18:54 FATAL: terminating connection due to administrator command
2025-11-12 18:18:54 LOG: disconnection: session time: 2:55:32.812 user=aaa database=bbb host=000.000.000.000 port=49342
2025-11-12 18:18:54 LOG: background worker "logical replication launcher" (PID 2604) exited with exit code 1
2025-11-12 18:18:54 LOG: shutting down
2025-11-12 18:18:54 LOG: database system is shut down
I tried to restart the server using systemctl:
$ sudo /bin/systemctl restart postgresql
Job for postgresql.service failed because the control process exited with error code.
See "systemctl status postgresql.service" and "journalctl -xe" for details.
When I run the systemctl status command:
$ /bin/systemctl status postgresql.service
? postgresql.service - PostgreSQL database server
Loaded: loaded (/usr/lib/systemd/system/postgresql.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2025-11-12 21:00:47 EST; 21min ago
Process: 11910 ExecStart=/usr/bin/postmaster -D ${PGDATA} (code=exited, status=1/FAILURE)
Process: 11908 ExecStartPre=/usr/libexec/postgresql-check-db-dir postgresql (code=exited, status=0/SUCCESS)
Main PID: 11910 (code=exited, status=1/FAILURE)
OS: Red Hat Enterprise Linux release 8.10 (Ootpa)
PostgreSQL version: 13.22
How can I fix this an restart the server ?
postgresand run/usr/pgsql-13/bin/pg_ctl start -D /var/lib/pgsql/13/data. Please add the errors you get to the question. Do not add it as a comment.