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

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 (view raw or flat)
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

pgsql-novice by date

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

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