{"id":47,"date":"2012-05-12T12:05:37","date_gmt":"2012-05-12T12:05:37","guid":{"rendered":"http:\/\/www.milesweb.co.uk\/blog\/?p=47"},"modified":"2023-08-02T13:01:28","modified_gmt":"2023-08-02T12:01:28","slug":"cpaneladminbinadminrunpostgres","status":"publish","type":"post","link":"https:\/\/www.milesweb.co.uk\/blog\/control-panel\/cpaneladminbinadminrunpostgres\/","title":{"rendered":"Cpanel::AdminBin::adminrun (postgres)"},"content":{"rendered":"<blockquote><p>warn [cpanel] Cpanel::AdminBin::adminrun(postgres) (exit code = 1) set error in context postgres:<br \/>\nwarn [Postgres::updateprivs] Encountered error in Postgres::updateprivs: postgresadmin had an unknown error<\/p><\/blockquote>\n<p>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.<\/p>\n<p>Login to your server as root.<\/p>\n<p><strong>Login to WHM &gt;&gt; SQL Services &gt;&gt; Postgres Config &gt;&gt; Click on \u201cInstall Config&#8221;.<\/strong><br \/>\n<strong>Login to WHM &gt;&gt; SQL Services &gt;&gt; Postgres Config &gt;&gt; \u201cSet a Postgresql password too\u201d<\/strong><\/p>\n<p>Try accessing PostgreSQL databases now.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&#8230; <a class=\"read-more\" href=\"https:\/\/www.milesweb.co.uk\/blog\/control-panel\/cpaneladminbinadminrunpostgres\/\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[9],"class_list":["post-47","post","type-post","status-publish","format-standard","hentry","category-control-panel","tag-postgresql"],"_links":{"self":[{"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/posts\/47","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=47"}],"version-history":[{"count":7,"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/posts\/47\/revisions"}],"predecessor-version":[{"id":16764,"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/posts\/47\/revisions\/16764"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=47"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=47"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=47"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}