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 postgresql service

Discussion in 'Database Discussion' started by kuttysam, Jun 7, 2018.

  1. kuttysam

    kuttysam Registered

    Joined:
    Jun 7, 2018
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    cPanel Access Level:
    Website Owner
    Hi,
    I installed postgres using the script
    Code:
    /scripts/installpostgres
    But the following error occurs...
    Code:
    This script installs PostgreSQL 7.4.x or later.
    If your system runs an older version of PostgreSQL, you must
    dump your databases to a file, and then restore them after
    installation.
    PostgreSQL 7.4.x is NOT backwards compatible.
    If no PostgreSQL databases exist on your system, run the
    following command to force the creation of a PostgreSQL 7.4.x -style
    setup:
            mv /var/lib/pgsql /var/lib/pgsql.old
            /sbin/service postgresql stop
            /sbin/service postgresql start
    
    Do not run this command if databases exist that you wish to keep!
    Are you certain that you wish to proceed? [y/(n)]:y
    Loaded plugins: fastestmirror, universal-hooks
    Setting up Install Process
    Loading mirror speeds from cached hostfile
     * EA4: 204.10.37.146
     * cpanel-addons-production-feed: 204.10.37.146
     * base: centos-distro.cavecreek.net
     * extras: mirrors.oit.uci.edu
     * updates: mirrors.usc.edu
    No package rh-postgresql available.
    No package rh-postgresql-devel available.
    No package rh-postgresql-libs available.
    No package rh-postgresql-server available.
    Package postgresql-8.4.20-8.el6_9.x86_64 already installed and latest version
    Package postgresql-devel-8.4.20-8.el6_9.x86_64 already installed and latest version
    Package postgresql-libs-8.4.20-8.el6_9.x86_64 already installed and latest version
    Package postgresql-server-8.4.20-8.el6_9.x86_64 already installed and latest version
    Nothing to do
    warn [installpostgres] Failed to reload PostgreSQL: “/usr/bin/pg_ctl” exited with signal “ZERO” and code “EPERM”.
    info [installpostgres] Failed to _update_db_passwd for postgres: psql: FATAL:  Peer authentication failed for user "postgres"
    ,
    warn [installpostgres] Failed to reload PostgreSQL: “/usr/bin/pg_ctl” exited with signal “ZERO” and code “EPERM”.
    Configuration successfully updated
    The PostgreSQL installation failed.
    Building global cache for cpanel...Done
    Please Help Me....
     
  2. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    1,387
    Likes Received:
    92
    Trophy Points:
    103
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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