Re: Unrecognized service

Поиск
Список
Период
Сортировка
От Augori
Тема Re: Unrecognized service
Дата
Msg-id CAFE+72MekvtvaRaN3tvyqmD-iQLKi+5KaYyvektZMucadotGYQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Unrecognized service  (John R Pierce <pierce@hogranch.com>)
Ответы Re: Unrecognized service  (Adrian Klaver <adrian.klaver@aklaver.com>)
Список pgsql-general
Hi all,

woohoo!  

service postgresql-9.2 status

(pid  9924) is running...


  It seems that I was looking for the service by the wrong name, as John guessed correcty.    Also, Tom, it's good to know that the data won't necessarily go away if I need to reinstall at some point.  

thank you so much for the messages from all three of you.  Your rapid responses were very encouraging.


On Mon, Apr 14, 2014 at 10:34 PM, John R Pierce <pierce@hogranch.com> wrote:
On 4/14/2014 5:33 PM, Augori wrote:
# service postgresql status
postgresql: unrecognized service

Does this mean it's gone?  Does anyone have any suggestions?

the 'service' command on rhel/centos/etc runs /etc/rc.d/init.d/$1 $2

so, ls -l /etc/rc.d/init.d/postgres*    and see what the service name is.   my postgreses are generally postgresql-x.y where x.y is the major version (9.1, 9.3, etc)



--
john r pierce                                      37N 122W
somewhere on the middle of the left coast



--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: Unrecognized service
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Unrecognized service