Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Failed to start the postgresql service

Discussion in 'Database Discussion' started by benhuragmf, Sep 20, 2017.

  1. benhuragmf

    benhuragmf Member

    Feb 12, 2012
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Website Owner
    Need help my server has this error
    what can I do

    Reiniciando Servidor PostgresSQL:[
    The Postgres database is not initialized. The system will now initialize it.The files belonging to this database system will be owned by user "postgres". This user must also own the server process. The database cluster will be initialized with locale "en_US.UTF-8". The default database encoding has accordingly been set to "UTF8". The default text search configuration will be set to "english". Data page checksums are disabled. initdb: directory "/var/lib/pgsql/9.4/data" exists but is not empty If you want to create a new database system, either remove or empty the directory "/var/lib/pgsql/9.4/data" or run initdb with an argument other than "/var/lib/pgsql/9.4/data". Done Waiting for “postgresql” to start ……Job for postgresql.service failed because the control process exited with error code. See "systemctl status postgresql.service" and "journalctl -xe" for details. …failed.
    Cpanel::Exception::Services::StartError Service Status
    Service Error
    (XID nny2g8) Falha ao iniciar o serviço “postgresql”.
    The “postgresql” service failed to start.
    Startup Log
    Sep 20 06:26:08 systemd[1]: Starting PostgreSQL database server...
    Sep 20 06:26:08 systemd[1]: postgresql.service: control process exited, code=exited status=1
    Sep 20 06:26:08 systemd[1]: Failed to start PostgreSQL database server.
    Sep 20 06:26:08 systemd[1]: Unit postgresql.service entered failed state.
    Sep 20 06:26:08 systemd[1]: postgresql.service failed.
    #1 benhuragmf, Sep 20, 2017
    Last edited by a moderator: Sep 20, 2017
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    Do you notice any error messages output to the most recent log file under the /var/lib/pgsql/data/pg_log/ directory?

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice