Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql General > Re: roll back t...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 8 Topic 15983 of 16557
Post > Topic >>

Re: roll back to 8.1 for PyQt driver work-around

by frankel@[EMAIL PROTECTED] (Scott Frankel) Jul 6, 2008 at 09:19 AM

Thanks for the tips.  I've created separate log files for the two  
versions of pg, but postmaster still won't start.

When I try to start 8.3, the log file lists a fatal error in the  
postgresql.conf file.  But there are no obvious errors in that file.  
Line 107 reads:  "shared_buffers = 1600kB".

I've also tried grep'ing for ****t 5432, but it all looks clear.  eg:

	tiento:~ root# lsof -Pni | grep :5432  -->  yields nothing

	tiento[yfilm]% ps uxwa | grep postgres
	postgres 46547 0.0 0.1 604328 1204 s006 S+ 11:09PM 0:00.10 -tcsh
	root 46546 0.0 0.1 75536 1064 s006 S 11:09PM 0:00.02 su - postgres
	frankel 46720 0.0 0.0 599780 392 s003 R+ 8:58AM 0:00.00 grep postgres
	
Here's the full text from the log file:

FATAL:  syntax error in file "/Library/PostgreSQL8/data/ 
postgresql.conf" line 107, near token "kB"
FATAL:  syntax error in file "/Library/PostgreSQL8/data/ 
postgresql.conf" line 107, near token "kB"
LOG:  could not bind IPv6 socket: Address already in use
HINT:  Is another postmaster already running on ****t 5432? If not,  
wait a few seconds and retry.
FATAL:  incorrect checksum in control file
LOG:  could not bind IPv6 socket: Address already in use
HINT:  Is another postmaster already running on ****t 5432? If not,  
wait a few seconds and retry.
FATAL:  incorrect checksum in control file
LOG:  could not bind IPv6 socket: Address already in use
HINT:  Is another postmaster already running on ****t 5432? If not,  
wait a few seconds and retry.
FATAL:  incorrect checksum in control file
LOG:  could not bind IPv6 socket: Address already in use
HINT:  Is another postmaster already running on ****t 5432? If not,  
wait a few seconds and retry.

Thanks again!
Scott






On Jul 5, 2008, at 10:43 PM, Tom Lane wrote:

> Scott Frankel <frankel@[EMAIL PROTECTED]
> writes:
>> Any suggestions for how best to launch one of two different versions
>> of pg installed on the same machine?
>
>> I have both 8.3 and 8.1 installed on a MacBookPro (OS X 10.5.2).  I
>> stopped the 8.3 postmaster using pg_ctl in order to roll back to 8.1.
>> Problem is, now I can't seem to start the server using either  
>> version.
>
> It looks like you're trying to use the same data directory for both
> versions, which won't work.  They're not compatible on-disk.
>
>> When I launch 8.1 with pg_ctl, it yields a "postmaster starting"
>> message; but then a status check shows that the server is not
>> running.  Issuing the same commands for 8.3, I get similar results.
>
> Looking into the postmaster log file (your -l specification) might
> yield some insight.  pg_ctl itself doesn't really know why the
> postmaster failed to start.
>
> 			regards, tom lane
>
> -- 
> Sent via pgsql-general mailing list (pgsql-general@[EMAIL PROTECTED]
)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

Scott Frankel
President/VFX Supervisor
Circle-S Studios
510-339-7477 (o)
510-332-2990 (c)





-- 
Sent via pgsql-general mailing list (pgsql-general@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
 




 8 Posts in Topic:
roll back to 8.1 for PyQt driver work-around
frankel@[EMAIL PROTECTED]  2008-07-05 16:40:18 
Re: roll back to 8.1 for PyQt driver work-around
tgl@[EMAIL PROTECTED] (T  2008-07-06 01:43:43 
Re: roll back to 8.1 for PyQt driver work-around
frankel@[EMAIL PROTECTED]  2008-07-06 09:19:41 
Re: roll back to 8.1 for PyQt driver work-around
tgl@[EMAIL PROTECTED] (T  2008-07-06 13:48:56 
Re: roll back to 8.1 for PyQt driver work-around
frankel@[EMAIL PROTECTED]  2008-07-06 22:46:32 
Re: roll back to 8.1 for PyQt driver work-around
alvherre@[EMAIL PROTECTED  2008-07-07 09:39:18 
Re: roll back to 8.1 for PyQt driver work-around
guillaume@[EMAIL PROTECTE  2008-07-16 16:52:44 
Re: roll back to 8.1 for PyQt driver work-around
lennin.caro@[EMAIL PROTEC  2008-07-07 07:08:24 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Sep 7 13:19:50 CDT 2008.