Re: My bad...user and database not recognized after reboot

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Gan Uesli Starling <alias(at)starling(dot)us>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: My bad...user and database not recognized after reboot
Date: 2005-11-14 03:23:24
Message-ID: 1288.1131938604@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Gan Uesli Starling <alias(at)starling(dot)us> writes:
> I had run out of space on Unix directory /var and had
> decided to move it. I not so cleverly used 'tar -cf' and
> 'tar -xf' to restore /var in its new location. Alas, it
> seems to have set all ownerships in /var to root. Oops!
> ...
> If that be the case, how might I get psql to admit
> existence thereof and again allow access?

"chown -R postgres:postgres /usr/pgdata", or something close to that,
should fix it.

regards, tom lane

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Sebastian Scarano 2005-11-14 07:32:23 help compiling pgmanage
Previous Message Gan Uesli Starling 2005-11-14 01:12:23 My bad...user and database not recognized after reboot