Skip site navigation (1) Skip section navigation (2)

Re: deinstallation - reinstallation on Mac OS 10.4

From: Christoph Heibl <christoph(dot)heibl(at)gmx(dot)net>
To: PostgreSQL Admin <postgres(at)productivitymedia(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: deinstallation - reinstallation on Mac OS 10.4
Date: 2007-07-25 07:43:19
Message-ID: DB30B605-F1CB-4B4C-9063-9940E989FFA7@gmx.net (view raw or flat)
Thread:
Lists: pgsql-admin
> run this in the command line
>
> locate postmaster.pid
> or
> find / -name "postmaster.pid" -print
>
> that should locate any postmaster files and then remove whatever  
> looks like the postmaster.pif file

Thank you! I found postmaster.pid in usr/local/pgsql/data. I deleted  
the whole pgsql directory and installed postgres again using the  
following commands:

	./configure
	make
	sudo make install
	sudo mkdir /usr/local/pgsql/data
	sudo chown postgres /usr/local/pgsql/data
	su postgres
	/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data

When I then try to start the PosrgreSQL-server via

	/usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data

the terminal gets "stuck" (i.e. no prompt appears ) after six lines  
of output:

LOG:  database system was shut down at 2007-07-25 09:38:00 CEST
LOG:  checkpoint record is at 0/42C258
LOG:  redo record is at 0/42C258; undo record is at 0/0; shutdown TRUE
LOG:  next transaction ID: 0/593; next OID: 10820
LOG:  next MultiXactId: 1; next MultiXactOffset: 0
LOG:  database system is ready

There is no explicit error message. What can be wrong?
What directory do I have to cd to in order to execute "/usr/local/ 
pgsql/bin/postgres -D /usr/local/pgsql/data"?
Did I omit an important step?

Thanks for your ideas!
Christoph








In response to

Responses

pgsql-admin by date

Next:From: De Leeuw GuyDate: 2007-07-25 08:38:09
Subject: trigger bugs ? and suggestions
Previous:From: Vishal AroraDate: 2007-07-25 04:11:20
Subject: Re: Installing PgAdmin package on Linux

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group