"sudo service postgresql start" problem on fedora 16

T.C. Hollingsworth tchollingsworth at gmail.com
Wed Nov 9 02:53:19 UTC 2011


On Tue, Nov 8, 2011 at 7:41 PM, Leonardo Silveira <sombriks at gmail.com> wrote:
> Hello and thanks for the help.
>
> indeed this is a new database, but such operands didn't worked. Here's
> the output:
>
> [sombriks at gau ~]$ sudo service postgresql initdb
> Redirecting to /bin/systemctl  initdb postgresql.service
> Unknown operation initdb

This command has changed in Fedora 16.  The correct command is now:
$ sudo postgresql-setup initdb

For more information, see the release notes:
http://docs.fedoraproject.org/en-US/Fedora/16/html/Release_Notes/sect-Release_Notes-Changes_for_Sysadmin.html#id1410272

-T.C.


More information about the users mailing list