Re: PostgresSQL Halting System Boot

From: Jerry Sievers <jerry(at)jerrysievers(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: PostgresSQL Halting System Boot
Date: 2005-12-02 13:09:08
Message-ID: m3hd9rejd7.fsf@prod01.jerrysievers.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Matias Silva <matiassilva(at)gmail(dot)com> writes:

> How do I fix this?
>
> I check the PostgreSQL logs and the only thing that stands out is
> "Do you want to choose a different one? [n]Your default context is
> user_u:system_r:unconfined_t.". However when I search Google, I find
> nothing.

Dunno the actual cause. Someone else will.

Ok, so if you start the server again after booting you're going to get
prompted the same way. Try starting it with logging NOT directed to a
file.

$ su - postgres
$ pg_ctl start

Should prompt you. Now see if redirecting the null file to stdin lets
the server start without waiting.

$ pg_ctl start </dev/null

Or...

$ echo n | pg_ctl start

If any of these workarounds suffice, edit them into your
/etc/init.d/postgresql script.

HTH

--
-------------------------------------------------------------------------------
Jerry Sievers 305 854-3001 (home) WWW ECommerce Consultant
305 321-1144 (mobile http://www.JerrySievers.com/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Sean Davis 2005-12-02 13:50:11 Table design
Previous Message Marian Naghen 2005-12-02 12:11:46 user_write_lock_oid questions