Обсуждение: Postgres permission denied

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

Postgres permission denied

От
Verna Vergara
Дата:


Hi Everyone,

    Please kindly help me. In fedora core 4 Postgres cannot be started during the system startup. Error is Permission Denied. But in the command line if i issue /etc/init.t/postgres start it was successfully started. How can i start postgres during system startup without the error permission denied?

Thanks in advance

Verna



Never miss a thing. Make Yahoo your homepage.

Re: Postgres permission denied

От
Tom Lane
Дата:
Verna Vergara <vernadv@yahoo.com> writes:
>     Please kindly help me. In fedora core 4 Postgres cannot be started during the system startup. Error is Permission
Denied.But in the command line if i issue /etc/init.t/postgres start it was successfully started. How can i start
postgresduring system startup without the error permission denied? 

I'm guessing it's a selinux problem, in which case 'setenforce 0' would
help.  But *really* the problem is that you're still running FC4.
That's been unsupported/obsolete for near two years now, and if memory
serves selinux was one of the rougher edges in it.

            regards, tom lane

Re: Postgres permission denied

От
Verna Vergara
Дата:
Hi Tom,

    Your right its the selinux I disabled it and it works. Thanks a lot!


----- Original Message ----
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Verna Vergara <vernadv@yahoo.com>
Cc: pgsql-admin@postgresql.org
Sent: Monday, February 4, 2008 12:08:17 PM
Subject: Re: [ADMIN] Postgres permission denied

Verna Vergara <vernadv@yahoo.com> writes:
>    Please kindly help me. In fedora core 4 Postgres cannot be started during the system startup. Error is Permission Denied. But in the command line if i issue /etc/init.t/postgres start it was successfully started. How can i start postgres during system startup without the error permission denied?

I'm guessing it's a selinux problem, in which case 'setenforce 0' would
help.  But *really* the problem is that you're still running FC4.
That's been unsupported/obsolete for near two years now, and if memory
serves selinux was one of the rougher edges in it.

            regards, tom lane



Never miss a thing. Make Yahoo your homepage.