Re: Postgresql not accessible, recovering

From: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "Gary Stainburn *EXTERN*" <gary(dot)stainburn(at)ringways(dot)co(dot)uk>, "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Postgresql not accessible, recovering
Date: 2013-11-19 14:39:54
Message-ID: A737B7A37273E048B164557ADEF4A58B17C5CC40@ntex2010i.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Gary Stainburn wrote:
> My Bacula system has stopped working because it cannot access the Postgresql
> server.
>
> I have tried restarting the server using
>
> systemctl restart postgresql
>
> and
>
> pg_ctl start (from postgres user)
>
> I get nothing appearing on-screen using either method but the server is still
> unaccessible.
>
> Doing a 'ps ax' found the following output. Can anyone help on what I need to
> do next as Google only returns posts relating to replication which I don't
> use.
>
> -bash-4.2$ ps ax|grep post
> 29370 pts/0 S 0:00 su - postgres
> 29446 pts/0 S 0:00 /usr/bin/postgres
> 29447 ? Ss 0:00 postgres: logger process
> 29448 ? Ds 0:07 postgres: startup process recovering
> 000000010000000C000000FD
> 29653 ? Ss 0:00
> gvim /etc/systemd/system/multi-user.target.wants/postgresql.service
> 29746 pts/0 S+ 0:00 grep --color=auto post
> -bash-4.2$

That means that PostgreSQL is recovering from a crash or immediate
shutdown. You won't be able to access the server until recovery has
finished.

You should look into your PostgreSQL server log file to determine
what is going on.

Yours,
Laurenz Albe

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Gary Stainburn 2013-11-19 14:39:59 Re: Postgresql not accessible, recovering
Previous Message ktm@rice.edu 2013-11-19 14:35:29 Re: Postgresql not accessible, recovering