Error with Softlinks after using pg_upgrade

From: <Paul(dot)Weiler(at)itdz-berlin(dot)de>
To: <pgsql-bugs(at)postgresql(dot)org>
Subject: Error with Softlinks after using pg_upgrade
Date: 2017-03-02 09:12:52
Message-ID: 184BA296A01F13429370916F47BFCD571541A93C@ITSEX203.its.verwalt-berlin.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hello together,

as far as I can see, I found a bug with the tool pg_upgrade under PostgreSQL 9.6.2. After upgrading from Version 9.5.3 to 9.6.2 I still couldn't start the database with the normal command pg_ctl start.

It said Database data are incompatible with the Server. The directory was initialized by PostgreSQL Version 9.6, which is not compatible with Version 9.5.3.

The error in german:
"< 2017-03-02 09:49:20.085 CET > FATAL: Datenbankdateien sind inkompatibel mit Server
< 2017-03-02 09:49:20.085 CET > DETAIL: Das Datenverzeichnis wurde von PostgreSQL Version 9.6 initialisiert, welche nicht mit dieser Version 9.5.3 kompatibel ist."

Only after using the path /usr/pgsql-9.6/bin/pg_ctl start it worked correctly. As far as I could find out, it's a problem with a softlink. The softlink pgsql-pg_ctl shows still to "/usr/pgsql-9.5/bin/pg_ctl". The faulty softlink is located in /etc/alternatives.

Additional Info: I'm using CentOS Linux release 7.2.1511 (Core).

If you need more additional informations, please ask.

Mit freundlichen Grüßen /
Regards

Paul Weiler
EF 9 WL
___________________________________

Tel. +49 30 90222 4342
Paul(dot)Weiler(at)itdz-berlin(dot)de<mailto:Paul(dot)Weiler(at)itdz-berlin(dot)de>

IT-Dienstleistungszentrum Berlin
Anstalt des öffentlichen Rechts
Berliner Straße 112-115
10713 Berlin
Handelsregisternr.: HRA 36349 B
Registergericht: Amtsgericht Charlottenburg

www.itdz-berlin.de<http://www.itdz-berlin.de/>
www.itdz.verwalt-berlin.de<http://www.itdz.verwalt-berlin.de/>

Das ITDZ Berlin ist mit dem BSI-Zertifikat nach ISO 27001 auf Basis IT-Grundschutz ausgezeichnet.

Das ITDZ Berlin ist im Rahmen des "audit berufundfamilie" als familienbewusstes Unternehmen zertifiziert.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message postgres1 2017-03-02 09:54:16 BUG #14574: unable to execute SQL query. crashes. word has fallen :(
Previous Message Denise Wiedl 2017-03-02 06:36:34 Re: BUG #14573: lateral joins, ambuiguity