• Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

PostgreSQL failed to start

R

rembrandt

Guest
Hello,

Since a few days (weeks maybe) on two of my servers running PSA 7.5.x and Red Hat 7.3 PostgreSQL isn´t running anymore, rendering Spamassassin useless.

When i want to start it from the commanline it simply says: [failed[ and when i log in to PlesK and try to start it i get this:
Unable to update database parameters: Unable to change database login:
Unable to change administrator's login: Error while execute pg_manage:
Unable to start PostgreSQL. 1
Reinstalling the packages won´t help either...

Packagelist:
postgresql-7.2.4-5.73
postgresql-server-7.2.4-5.73
php-pgsql-4.3.10-0

Has anyone experienced the same problem adn found a solution for this problem?

Best regards.
 
spamassassin is not related to postgresql... What do you get when you try to restart pgsql from command line?
 
commandline

Hy Hardweb,

From my original post:
When i want to start it from the commanline it simply says: [failed]
so i do:
/etc/init.d/postgresql start
then i get:
Starting postgresql service: [FAILED]
And there is there isn´t any more inforamtion given, not 1 logfile will give me any leads on what could be wrong.

Best regards
 
found the solution

After an extensive search i´ve found the solution: upgrade to the latest version available for RedHet 7.3.

First, backup the data:
tar -zcvf pgsql-7-2-backup.tar.gz /var/lib/pgsql
then get the packages you need from the PostgresQL website. You need these packages:
postgresql-7.3.4-2PGDG.i386.rpm
postgresql-devel-7.3.4-2PGDG.i386.rpm
postgresql-libs-7.3.4-2PGDG.i386.rpm
postgresql-server-7.3.4-2PGDG.i386.rpm
Then install the packages:
rpm -Uvh ./*rpm
after that, remove the old data:
rm -rf /var/lib/pgsql/data/*
and then start PostgresQL:
/etc/init.d/postgresql start
The Log in to PlesK to set the administrative user en password and presto! you´re up-and-running again.
 
Back
Top