From: | Cédric Villemain <cedric(at)2ndquadrant(dot)fr> |
---|---|
To: | pgsql-fr-generale(at)postgresql(dot)org |
Cc: | Sebastien Douche <sdouche(at)gmail(dot)com> |
Subject: | Re: Aide sur pg_upgrade : il ne lance pas le nouveau postmaster |
Date: | 2014-02-14 11:56:26 |
Message-ID: | 201402141256.26549.cedric@2ndquadrant.fr |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-fr-generale |
Bonjour,
> J'ai une 8.4 sur une Debian Lenny, installée avec les paquets Debian,
> et une 9.3.2 installée à partir des sources dans un répertoire
> particulier.
[....]
> command: "/opt/nova/current/nova/parts/pg93/bin/pg_ctl" -w -l
> "pg_upgrade_server.log" -D "/srv/postgresql/9.3/main" -o "-p 50432 -c
> autovacuum=off -c autovacuum_freeze_max_age=2000000000 -c
> synchronous_commit=off -c fsync=off -c full_page_writes=off -c
> listen_addresses='' -c unix_socket_permissions=0700" start >>
> "pg_upgrade_server.log" 2>&1
> pg_ctl: another server might be running; trying to start server anyway
> waiting for server to start....FATAL: lock file "postmaster.pid" already
> exists HINT: Is another postmaster (PID 17079) running in data directory
> "/srv/postgresql/9.3/main"?
> ....
> pg_ctl: this data directory appears to be running a pre-existing postmaster
> stopped waiting
> pg_ctl: could not start server
> Examine the log output.
>
> Ma question est donc : Ou je me goure ? Parce que pour moi, cela se
> résume à faire un initdb et arrêter les postmaster. Je ne vois pas ce
> que je rate.
L'emplacement de la socket par défaut est modifié par un patch debian, il n'y a
donc pas le même défaut entre vos version 8.4 et 9.3.
La solution la plus simple me semble être: utiliser apt.postgresql.org pour
installer la 9.3 à la sauce debian.
--
Cédric Villemain +33 (0)6 20 30 22 52
http://2ndQuadrant.fr/
PostgreSQL: Support 24x7 - Développement, Expertise et Formation
From | Date | Subject | |
---|---|---|---|
Next Message | Cédric Villemain | 2014-02-14 12:00:49 | Re: Contrainte d'exclusion. |
Previous Message | Pam Contribution | 2014-02-14 11:56:09 | Re: Intégration Continue avec PostgreSQL. |