Search Postgresql Archives

Re: Unrecognized service

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx> 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@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux