pg_ctl stop failure

Поиск
Список
Период
Сортировка
От Birchall, Austen
Тема pg_ctl stop failure
Дата
Msg-id 4E154FB60786D74BB4DFDC97BF991CAC04E3E3@EXXCMPD1DAG2.cmpd1.metoffice.gov.uk
обсуждение исходный текст
Ответы Re: pg_ctl stop failure  (Amit Langote <amitlangote09@gmail.com>)
Список 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
sensethat 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
followedby a pg_ctl start but still no good. 

Thanks

Austen Birchall
DBA
Met Office


В списке pgsql-novice по дате отправления:

Предыдущее
От: Amit Langote
Дата:
Сообщение: Re: log files
Следующее
От: Amit Langote
Дата:
Сообщение: Re: pg_ctl stop failure