Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Postgresql 8.4 seems to be installed properly, according to this:

sudo yum install postgresql 
Loaded plugins: product-id, refresh-packagekit, rhnplugin, security, subscription-manager 
This system is not registered to Red Hat Subscription Management. You can
use subscription-manager to register. 
This system is receiving updates from RHN Classic or RHN Satellite. 
Setting up Install Process 
Package postgresql-8.4.13-1.el6_3.x86_64 already installed and latest version
Nothing to do

However, when I try to run this, it's unrecognized:

$ sudo /sbin/service postgresql initdb
postgresql: unrecognized service

This is RHEL 6.3

share|improve this question
up vote 3 down vote accepted

You need to install postgresql-server to get the System V init scripts and server binaries.

share|improve this answer
Of course... sudo yum install postgresql-server worked... – jgritty Feb 27 '13 at 23:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.