[SOLVED] postgresql.service start error. Job for postgresql failed because process exited with error



[SOLVED] postgresql.service start error. Job for postgresql failed because process exited with error

[SOLVED] postgresql.service start error. Job for postgresql failed because process exited with error

Job for postgresql.service failed because the control process exited with error code.
See “systemctl status postgresql.service” and “journalctl -xe” for details.

FOR ARCH (by @César+Navejar)
(inside postgres shell): initdb -D ‘/var/lib/postgres/data’
The data folder was full with several files and then I restarted the server:
#systemctl restart postgresql.service
Then I checked:
#systemctl status postgresql.service
Everything was fine, now I proceeded to run in the postgres shell:
psql
And bingo!!!

LIKE SHARE AND SUBSCRIBE