I'm trying to install posgresql on F16 to work with my rails installation. Using this guide
http://wiki.postgresql.org/wiki/YUM_Installation#Initialize
But when I run service postgresql initdb
I get this error
Unknown operation initdb
I'm trying to install posgresql on F16 to work with my rails installation. Using this guide
http://wiki.postgresql.org/wiki/YUM_Installation#Initialize
But when I run service postgresql initdb
I get this error
Unknown operation initdb
Fedora 16 has migrated to
systemd
from traditional init.d layout, so you should runsu - postgres -c "PGDATA=/var/lib/pgsql/data initdb"
directly, see Fedora wikiReading the link you provide it says
and later is says
so I'm guessing you want
You can now use
sudo postgresql-setup initdb
.