From: | "Birchall, Austen" <austen(dot)birchall(at)metoffice(dot)gov(dot)uk> |
---|---|
To: | "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org> |
Subject: | pg_ctl stop failure |
Date: | 2013-05-17 13:47:56 |
Message-ID: | 4E154FB60786D74BB4DFDC97BF991CAC04E3E3@EXXCMPD1DAG2.cmpd1.metoffice.gov.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
8.4.13 & PostGIS 2.0 on Red Hat 6
I want to do a offline backup of /var/lib/pgsql/data
But whenever I do
Pg_ctl stop
I get
-bash-4.1$ pg_ctl stop
waiting for server to shut down............................................................... failed
pg_ctl: server does not shut down
1. If I do
pg_ctl stop -m f
the cluster and databases shutdown as required but is this a clean and/or consistent shutdown of the cluster in the sense that I could recover from the OS
cp -r /var/lib/pgsql/data
command that I did?
2. Any ideas as to what could be causing the pg_ctl stop command to fail. I tried doing it again after a -m f stop followed by a pg_ctl start but still no good.
Thanks
Austen Birchall
DBA
Met Office
From | Date | Subject | |
---|---|---|---|
Next Message | Amit Langote | 2013-05-17 15:00:04 | Re: pg_ctl stop failure |
Previous Message | Amit Langote | 2013-05-17 00:53:31 | Re: log files |