Re: [GENERAL] pg_upgrade: "pg_ctl failed to start the new server"

2012-06-15 Thread Bruce Momjian
On Thu, Jun 14, 2012 at 08:03:49AM -0400, Evan D. Hoffman wrote: > So it appears the problem was inability to connect, although > pg_upgrade reported that it couldn't start the server (I assume > ability to connect is how it determines whether or not the server was > started). Ah, OK, so it was th

Re: [GENERAL] pg_upgrade: "pg_ctl failed to start the new server"

2012-06-14 Thread Evan D. Hoffman
Actually I found the solution right after I sent that email (of course): https://wiki-bsse.ethz.ch/download/attachments/55283107/PostgreSQL_9_Maintenance_Backup_and_Recovery_final.docx Has to do with the order in which shared libs are loaded when both 9.0 and 9.1 are installed. Renaming the con

Re: [GENERAL] pg_upgrade: "pg_ctl failed to start the new server"

2012-06-14 Thread Evan D. Hoffman
Woops. The file that had to be renamed was /etc/ld.so.conf.d/postgresql-9.0-libs.conf => postgresql-9.old-libs.conf . Prior to rename, ldconfig output was: # ldconfig -p | grep pq libpqwalreceiver.so (libc6) => /usr/pgsql-9.0/lib/libpqwalreceiver.so libpqwalreceiver.so (libc6) => /usr/pgsql-9.

Re: [GENERAL] pg_upgrade: "pg_ctl failed to start the new server"

2012-06-13 Thread Bruce Momjian
On Wed, Jun 13, 2012 at 10:41:37PM -0400, Evan D. Hoffman wrote: > Actually I found the solution right after I sent that email (of > course): > > https://wiki-bsse.ethz.ch/download/attachments/55283107/PostgreSQL_9_M > aintenance_Backup_and_Recovery_final.docx > > Has to do with the order in which

Re: [GENERAL] pg_upgrade: "pg_ctl failed to start the new server"

2012-06-13 Thread Bruce Momjian
On Wed, Jun 13, 2012 at 11:19:41AM -0400, Evan D. Hoffman wrote: > I'm trying to upgrade Postgres 9.0 to 9.1 with pg_upgrade. Both > versions are installed from the PGDG Yum repo: > > -bash-4.1$ /usr/pgsql-9.0/bin/postgres -V > postgres (PostgreSQL) 9.0.8 > -bash-4.1$ /usr/pgsql-9.1/bin/postgres

[GENERAL] pg_upgrade: "pg_ctl failed to start the new server"

2012-06-13 Thread Evan D. Hoffman
I'm trying to upgrade Postgres 9.0 to 9.1 with pg_upgrade. Both versions are installed from the PGDG Yum repo: -bash-4.1$ /usr/pgsql-9.0/bin/postgres -V postgres (PostgreSQL) 9.0.8 -bash-4.1$ /usr/pgsql-9.1/bin/postgres -V postgres (PostgreSQL) 9.1.4 I can successfully start and connect to both