Cpanel::AdminBin::adminrun (postgres)

Updated on 2 August 2023 2 min Read

warn [cpanel] Cpanel::AdminBin::adminrun(postgres) (exit code = 1) set error in context postgres:
warn [Postgres::updateprivs] Encountered error in Postgres::updateprivs: postgresadmin had an unknown error

When PostgreSQL is installed on the server, accessing it (PostgreSQL databases) from cPanel shows offline. In such situations, best way to troubleshoot is refer /usr/local/apache/logs/error_log. See what they show. If they report any error as above, perform the steps in this post.

Login to your server as root.

Login to WHM >> SQL Services >> Postgres Config >> Click on “Install Config”.
Login to WHM >> SQL Services >> Postgres Config >> “Set a Postgresql password too”

Try accessing PostgreSQL databases now.

The Author

Neha Kahnna is a professional content writer associated with MilesWeb. She curates articles on web hosting, latest SEO trends and technology topics. Her insightful content captivates the reader’s attention and deliver a higher learning ROI.