pg_upgrade Error- Kindly help - Mailing list pgsql-novice
| From | Subramanian,Ramachandran |
|---|---|
| Subject | pg_upgrade Error- Kindly help |
| Date | |
| Msg-id | 05dd6f76a73843a9a59ddf79e207e649@alte-leipziger.de Whole thread |
| List | pgsql-novice |
Hello,
I am trying to do a pg_upgrade from V16 to V18.
We are running RHEL 9.8.
All our postgresql binary files are in /bin directory. There is no separate /bin/postgre/v16/bin directory.
Our Sysadmin did his magic and now we have the new bin files in the same /bin directory. ( In effect we do not have a old-binary and new-binary directory ).
To make a long story short,
1.I created a new local directory called /binary_files/V16 and copied the bin files from a non upgraded server to this server, just to have a copy of the old binaries.
2. Moved my instance data directory from data to data_old
3. Did an initdb with the new V18 pg_ctl to create a new empty Instance.
When I do a dry run of pg_upgrade I get the below error .
- What should I do to overcome this error?
- Why is it looking for port number 50432 ? We never used this port before.
Regards
Ram
-----------------------------------------------------------------
pg_upgrade run on Tue Jul 21 10:41:10 2026
-----------------------------------------------------------------
command: "/var/lib/pgsql/binary_files/V16/pg_ctl" -w -l "/var/lib/pgsql/AUFGABEN-VERWAL/data/pg_upgrade_output.d/20260721T104110.789/log/pg_upgrade_server.log" -D "/var/lib/pgsql/AUFGABEN-VERWAL/data_old" -o "-p 50432 -b -c listen_addresses='' -c unix_socket_permissions=0700 -c unix_socket_directories='/var/lib/pgsql/work/scripts'" start >> "/var/lib/pgsql/AUFGABEN-VERWAL/data/pg_upgrade_output.d/20260721T104110.789/log/pg_upgrade_server.log" 2>&1
waiting for server to start....2026-07-21 10:41:10.902 CEST [44817] FATAL: incompatible library "/usr/lib64/pgsql/pg_stat_statements.so": version mismatch
2026-07-21 10:41:10.902 CEST [44817] DETAIL: Server is version 16, library is version 18.
2026-07-21 10:41:10.902 CEST [44817] LOG: database system is shut down
stopped waiting
pg_ctl: could not start server
Examine the log output.
Freundliche Grüße
i. A. Ramachandran Subramanian
Zentralbereich Informationstechnologie
Alte Leipziger Lebensversicherung a. G.
Hallesche Krankenversicherung a. G.
______________________ ALH Gruppe Alte Leipziger Lebensversicherung a. G., Alte Leipziger-Platz 1, 61440 Oberursel Sitz Oberursel (Taunus) · Rechtsform VVaG · Amtsgericht Bad Homburg v. d. H. HRB 1583 · USt.-IdNr. DE 114106814 Hallesche Krankenversicherung a. G., Löffelstraße 34-38, 70597 Stuttgart Vors. des Aufsichtsrats: Dr. Walter Botermann · Vorstand: Christoph Bohn (Vors.), Dr. Jürgen Bierbaum (stv. Vors.), Robert Gladis, Dr. Jochen Kriegmeier, Alexander Mayer, Christian Pape, Udo Wilcsek Sitz Stuttgart · Rechtsform VVaG · Amtsgericht Stuttgart HRB 2686 · USt.-IdNr. DE 147802285 Beiträge zu privaten Kranken- und Pflegekrankenversicherungen unterliegen nicht der Versicherungsteuer (§ 4 (1) Nr. 5 b VersStG) · Versicherungsleistungen sowie Umsätze aus Versicherungsvertreter-/Maklertätigkeiten sind umsatzsteuerfrei
Alte Leipziger-Platz 1, 61440 Oberursel
Tel: +49 (6171) 66-4882
Fax: +49 (6171) 66-800-4882
E-Mail: ramachandran.subramanian@alte-leipziger.de
www.alte-leipziger.de
www.hallesche.de
Pflichtangaben der ALH Gruppe gemäß § 35a GmbHG bzw. § 80 AktG
pgsql-novice by date: