Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UpLqn-0000qI-Mn for pgsql-admin@arkaria.postgresql.org; Wed, 19 Jun 2013 17:07:17 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1UpLqn-00078s-6D for pgsql-admin@arkaria.postgresql.org; Wed, 19 Jun 2013 17:07:17 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UpLql-00077N-TP for pgsql-admin@postgresql.org; Wed, 19 Jun 2013 17:07:16 +0000 Received: from outbound.afilias.info ([66.199.183.4]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UpLqf-00049w-JG for pgsql-admin@postgresql.org; Wed, 19 Jun 2013 17:07:15 +0000 Received: from ms5.on1.afilias-ops.info ([10.109.8.9] helo=smtp.afilias.info) by outbound.afilias.info with esmtp (Exim 4.72) (envelope-from ) id 1UpLqd-0005K7-62 for pgsql-admin@postgresql.org; Wed, 19 Jun 2013 17:07:07 +0000 Received: from mail-ob0-f177.google.com ([209.85.214.177]) by smtp.afilias.info with esmtps (TLSv1:RC4-SHA:128) (Exim 4.72) (envelope-from ) id 1UpLqd-0004bg-5j for pgsql-admin@postgresql.org; Wed, 19 Jun 2013 17:07:07 +0000 Received: by mail-ob0-f177.google.com with SMTP id ta17so6139350obb.22 for ; Wed, 19 Jun 2013 10:07:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:x-gm-message-state; bh=vVqi46zTb1poGxz17dKFgsc0iKOL2AQwPzms76isL0s=; b=RWnJzdepJv5+m4T8hfPEhUsZyQcJzK0RSdg6m8TgTqMTf8aWhbVQqw0w8yImdr/+i/ ZVVmawjZf/hhT58W87myY0eCgtTQ6BaNIFRLuXsYBkwX8YzPaZwSiTRkf8/BAs7v6GVV laWa1Az7nfInVdD7rtxAFsxcFYPQxkXFSAPwnXUHrgIuZyGzfW8nIwXu7Qg6XaXAmU+a Yib3OQfJM8orOZ7R9osfwfazEGg5Iqm3qOGZMqXZec6IfK0RbqAnsprk3DaxMDSYM8Vb mJtI5yQqhdZBtZoCtbJVIIi+C9g9TY/j1t+1Bmex/RWaCo3QhgfGZ0Q+Pd6/G/uc2ZVX qtIA== X-Received: by 10.60.61.11 with SMTP id l11mr2656122oer.95.1371661622234; Wed, 19 Jun 2013 10:07:02 -0700 (PDT) X-Received: by 10.60.61.11 with SMTP id l11mr2656118oer.95.1371661622121; Wed, 19 Jun 2013 10:07:02 -0700 (PDT) Received: from [10.10.46.255] (tor-gateway.afilias.info. [199.15.87.4]) by mx.google.com with ESMTPSA id c10sm26161171oej.1.2013.06.19.10.07.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 19 Jun 2013 10:07:01 -0700 (PDT) Message-ID: <51C1E5A9.2030502@afilias.info> Date: Wed, 19 Jun 2013 13:08:57 -0400 From: Ziggy Skalski User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130330 Thunderbird/17.0.5 MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Re: Re: PG_UPGRADE issues "this utility can only upgrade to postgresql version 9.2." References: <1371491646614-5759509.post@n5.nabble.com> <20130617230803.GC1997@momjian.us> <1371578763431-5759711.post@n5.nabble.com> <51C0CADF.6040001@afilias.info> <1371651412536-5759873.post@n5.nabble.com> In-Reply-To: <1371651412536-5759873.post@n5.nabble.com> Content-Type: multipart/alternative; boundary="------------090208070004090700030704" X-Gm-Message-State: ALoCoQkTp8mbzglpG/d+yjYbI3y52pseTgTAE17pDqAL42xKiwMWxxTXouQ9lgkL0FdKOL2LHrN6V9pc4AW+9B214SXtXVYMkKo3Ze4rHBgeZPgnw4j530CV2+LpuQygTWWXsBiXmhU6CtnB9JDO6bZBvXleM+ryxNLH9uPkzfdo9z+cor5593s= X-Pg-Spam-Score: 0.6 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org This is a multi-part message in MIME format. --------------090208070004090700030704 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 13-06-19 10:16 AM, jmfox180 wrote: > so i tried to do a > > /usr/local/pgsql.old/bin/postgres -D /usr/local/pgsql.old/data start > > LOG: database system was shut down at 2013-06-19 08:10:51 CST > LOG: database system is ready to accept connections > LOG: autovacuum launcher started > > it got stuck there ^^ > > the i tried to > /usr/local/pgsql.old/bin/psql -p 5432 > > and it turns that > psql: could not connect to server: No such file or directory > Is the server running locally and accepting > connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? > > so basically i just moved the whole pgsql8.3.2 that i had to a new folder > which is pgsql.old with sudo mv etc,etc > but i can not turn on the 8.3 server, i did try to start the new one (9.2.4) > and yes i can. > > any idea? > > > > -- > View this message in context: http://postgresql.1045698.n5.nabble.com/PG-UPGRADE-issues-this-utility-can-only-upgrade-to-postgresql-version-9-2-tp5759509p5759873.html > Sent from the PostgreSQL - admin mailing list archive at Nabble.com. > > Does the file /var/run/postgresql/.s.PGSQL.5432.lock exist on the system you're trying to upgrade ? If so, what's inside (cat it), does it point to your /usr/local/pgsql.old/data directory? I've found that in my (limited) experience with pg_upgrade, it's good to run the upgrade from /tmp directory, that way the lock file gets created there and usually there's no write permission problems in /tmp either :) Ziggy --------------090208070004090700030704 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit

On 13-06-19 10:16 AM, jmfox180 wrote:
so i tried to do a 

/usr/local/pgsql.old/bin/postgres -D /usr/local/pgsql.old/data start

LOG:  database system was shut down at 2013-06-19 08:10:51 CST
LOG:  database system is ready to accept connections
LOG:  autovacuum launcher started

it got stuck there ^^

the i tried to 
/usr/local/pgsql.old/bin/psql -p 5432

and it turns that 
psql: could not connect to server: No such file or directory
	Is the server running locally and accepting
	connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?

so basically i just moved the whole pgsql8.3.2 that i had to a new folder
which is pgsql.old with sudo mv etc,etc
but i can not turn on the 8.3 server, i did try to start the new one (9.2.4)
and yes i can.

any idea?



--
View this message in context: http://postgresql.1045698.n5.nabble.com/PG-UPGRADE-issues-this-utility-can-only-upgrade-to-postgresql-version-9-2-tp5759509p5759873.html
Sent from the PostgreSQL - admin mailing list archive at Nabble.com.



Does the file /var/run/postgresql/.s.PGSQL.5432.lock exist on the system you're trying to upgrade ?   If so, what's inside (cat it), does it point to your /usr/local/pgsql.old/data directory?  I've found that in my (limited) experience with pg_upgrade, it's good to run the upgrade from /tmp directory, that way the lock file gets created there and usually there's no write permission problems in /tmp either :)

Ziggy

--------------090208070004090700030704--