On Friday 25 January 2002 11:45, J.H.M. Dassen (Ray) wrote: > On Fri, Jan 25, 2002 at 04:01:00 +0200, Meir Kriheli wrote: > > After upgrading sid, postgresql won't start anymore. > > > > The error says: > > There is no PostgreSQL database framework in /var/lib/postgres/data. > > Run initdb as the postgres user to create it > > It looks like you have/had the broken base-passwd package installed which > swapped uids and gids. Check that your /etc/passwd is sane, and correct the > ownership/group membership of /var/lib/postgres/data and everything in > there. > > HTH, > Ray
Thanks, that was it. /etc/passwd was OK (I copied the backup to the original), but I guess PostgreSQL was upgraded before the fix. BTW Permission should be corrected for /var/run/postgresql as well -- Meir Kriheli