New postgresql-setup command in Fedora 16

Faced this error in Fedora 16?

# service postgresql start
Redirecting to /bin/systemctl  start postgresql.service
Job failed. See system logs and 'systemctl status' for details.

If you work with PostgreSQL and execute service postgresql initdb, it wont work. Simply because the startup scripts for PostgreSQL and MySQL were ported to systemd. There is a brand new command called postgresql-setup for that. Initialization is as easy as:


# sudo postgresql-setup initdb

My first impressions from Verne are positive. I have been doing complete re-install because I am switching from i386 to x86_64 for the first time on a laptop or desktop. Yeah, I never needed 64 bits for editing source codes, reading mail and browsing web, but I need sometime to run 64 bit virtual guests on my laptop and one can't do that with 32 bit host.
05 November 2011 | fedora | error | postgresql
twitter.com linkedin.com
google.com/+ facebook.com
flickr.com youtube.com