Hi,
I installed postgres using the script
But the following error occurs...
Please Help Me....
I installed postgres using the script
Code:
/scripts/installpostgres
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