Hi,
I am using CLOUDLINUX 7.7 and WHM version 84.0.21. When I tried to install postgresql according to this link I got the following error.
I am using CLOUDLINUX 7.7 and WHM version 84.0.21. When I tried to install postgresql according to this link I got the following error.
Bash:
# /usr/local/cpanel/scripts/installpostgres
This script installs PostgreSQL 9.2.x or later.
Are you certain that you wish to proceed? [y/(n)]:y
Installing Postgres...
info [installpostgres] Starting yum execution “--assumeyes --config /etc/yum.conf install rh-postgresql rh-postgresql-devel rh-postgresql-libs
rh-postgresql-server postgresql postgresql-devel postgresql-libs postgresql-server --disablerepo=epel”.
Loaded plugins: fastestmirror, rhnplugin, universal-hooks
Error communicating with server. The message was:
There was an error communicating with CLN.
Loading mirror speeds from cached hostfile
* EA4: 185.53.12.144
* cpanel-addons-production-feed: 185.53.12.144
* cpanel-plugins: 185.53.12.144
No package rh-postgresql available.
No package rh-postgresql-devel available.
No package rh-postgresql-libs available.
No package rh-postgresql-server available.
No package postgresql available.
No package postgresql-devel available.
No package postgresql-server available.
Nothing to do
info [installpostgres] Completed yum execution “--assumeyes --config /etc/yum.conf install rh-postgresql rh-postgresql-devel rh-postgresql-lib
s rh-postgresql-server postgresql postgresql-devel postgresql-libs postgresql-server --disablerepo=epel”: in 10.869 second(s).
Use of uninitialized value $pg_data in concatenation (.) or string at /usr/local/cpanel/scripts/installpostgres line 97, <STDIN> line 1.
Failed to locate postgresql user
The PostgreSQL installation failed.
Building global cache for cpanel...Done