Обсуждение: Postgres won´t restart after system crash

Поиск
Список
Период
Сортировка

Postgres won´t restart after system crash

От
"roberto ms"
Дата:
I´m using postgres 8.1 undex linux slackware 10.2.

I can´t restart postgres after a system crash.

I get a message that says that permission is denied while creating
postmaster.pid.

I tried to list (ls -l) the .../data directory, and I get:
/usr/bin/ls: postmaster.pid: denied permission.

The same goes for pg_ident.conf and postmaster.opts files.

I can´t even create any file at all under .../data directory, as root ou
postgres user.

Somehow I no longer have access rights over the postgres data directory.

What should I do ???

Thanks for any input.

_________________________________________________________________
Insta-le agora o Windows Live Messenger
http://get.live.com/messenger/overview



Re: Postgres won´t restart after system crash

От
Jeff Frost
Дата:
On Sat, 22 Jul 2006, roberto ms wrote:

> I get a message that says that permission is denied while creating
> postmaster.pid.
>
> I tried to list (ls -l) the .../data directory, and I get:
> /usr/bin/ls: postmaster.pid: denied permission.

What does ls -ld .../data indicate?  What caused the system crash and has it
been resolved?  What is your filesystem?

--
Jeff Frost, Owner     <jeff@frostconsultingllc.com>
Frost Consulting, LLC     http://www.frostconsultingllc.com/
Phone: 650-780-7908    FAX: 650-649-1954