Re: Unrecognized service - Mailing list pgsql-general

From Tom Lane
Subject Re: Unrecognized service
Date
Msg-id 12692.1397529291@sss.pgh.pa.us
Whole thread Raw
In response to Re: Unrecognized service  (Augori <augori@gmail.com>)
Responses Re: Unrecognized service  (John R Pierce <pierce@hogranch.com>)
List pgsql-general
Augori <augori@gmail.com> writes:
> Here's what the ps command gives:
> root@server# ps ax | grep post
>  9165 pts/1    S+     0:00 grep post

> Does this mean it's not running?

Sure looks that way.

> It's certainly possible that software updates have occurred.  There are a
> lot of people working on this machine, so I'm not aware of which changes
> have been made lately.

If "service" is saying it doesn't know a service it used to know,
then either somebody removed the relevant rc.d file (or more likely
the whole postgresql package), or your filesystem is corrupted.
The former seems more likely.  /var/log/yum.log might be helpful
in affixing blame.

> Do you think I need to reinstall the works and set everything up again?

Well, you definitely need to reinstall the postgresql software, but with
any luck the data directory is still there and you can just start up the
server after reinstalling the missing package(s).  Red Hat's packages
were certainly never configured to remove the data directory on package
deletion, and I don't think Devrim's are either.

If the data directory is gone too, you need to have words with whoever
did that ...

            regards, tom lane


pgsql-general by date:

Previous
From: Augori
Date:
Subject: Re: Unrecognized service
Next
From: John R Pierce
Date:
Subject: Re: Unrecognized service