Re: BUG #5723: Can not start postgres after install - Mailing list pgsql-bugs

From John R Pierce
Subject Re: BUG #5723: Can not start postgres after install
Date
Msg-id 4CC60620.2080908@hogranch.com
Whole thread Raw
In response to BUG #5723: Can not start postgres after install  ("Marcus" <marcusbooster@mailinator.com>)
List pgsql-bugs
On 10/25/10 7:50 AM, Marcus wrote:
> The following bug has been logged online:
>
> Bug reference:      5723
> Logged by:          Marcus
> Email address:      marcusbooster@mailinator.com
> PostgreSQL version: 9.0.1
> Operating system:   Ubuntu 10.10
> Description:        Can not start postgres after install
> Details:
>
> A user installing from source to a local directory.
> Builds and installs fine, but panics when starting the server.
>
> uname -a:
> Linux myname 2.6.35-22-server #35-Ubuntu SMP Sat Oct 16 22:02:33 UTC 2010
> x86_64 GNU/Linux
> Tried on ext3 and ext4 filesystems.
>
> ./configure --prefix=$HOME/opt/postgres
> ... (good)
> ./make&&  make install
> ... (good)
>
> $HOME/opt/postgresql/bin/pg_ctl -D $HOME/var/pgsql/data start
> server starting
> LOG:  database system was shut down at 2010-10-25 01:09:49 EDT
> PANIC:  could not open file "pg_xlog/000000010000000000000000" (log file 0,
> segment 0): Invalid argument
> LOG:  startup process (PID 5010) was terminated by signal 6: Aborted
> LOG:  aborting startup due to startup process failure
>

did you run initdb ?

pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: BUG #5725: server couldn't start when installing on liveCD
Next
From: Craig Ringer
Date:
Subject: Re: BUG #5725: server couldn't start when installing on liveCD