Thread: postgres stopped working

postgres stopped working

From
Mário Gamito
Date:
Hi,

I had this postgres running smoothly.

Then, i've imported the contents of a plain text file, by the book.
postgres said "COPY".
Everything seemed ok.

Well, postgres then died and now, refuses to start.
/var/log/pgsql is 0 bytes size :(

Any hint how to solve this situation ?

Any help would be appreciated.

Warm Regards,
Mário Gamito

Re: postgres stopped working

From
"Scott Marlowe"
Date:
On Wed, 2004-09-08 at 11:02, Mário Gamito wrote:
> Hi,
>
> I had this postgres running smoothly.
>
> Then, i've imported the contents of a plain text file, by the book.
> postgres said "COPY".
> Everything seemed ok.
>
> Well, postgres then died and now, refuses to start.
> /var/log/pgsql is 0 bytes size :(
>
> Any hint how to solve this situation ?

What error are you getting on attempting startup?


Re: postgres stopped working

From
Tom Lane
Date:
=?ISO-8859-1?Q?M=E1rio_Gamito?= <gamito@netual.pt> writes:
> Well, postgres then died and now, refuses to start.
> /var/log/pgsql is 0 bytes size :(

You may be using a start script that sends the postmaster's stderr to
/dev/null :-(.  You can tweak the script, or change postgresql.conf
to log to syslog instead of stderr.  This will not of course make things
work, but at least you should be able to see the failure message ...

            regards, tom lane