"sudo service postgresql start" problem on fedora 16

Itamar Reis Peixoto itamar at ispbrasil.com.br
Wed Nov 9 02:35:31 UTC 2011


On Wed, Nov 9, 2011 at 12:19 AM, Leonardo Silveira <sombriks at gmail.com> wrote:
> hello everyone,
>
> i've installed postgre in this way:
>
>  sudo yum install postgresql.x86_64 postgresql-server.x86_64
> postgresql-contrib.x86_6
>
> sadly when i try to start the database this happens:
>
> [sombriks at gau ~]$ sudo service postgresql start
> [sudo] password for sombriks:
> Redirecting to /bin/systemctl  start postgresql.service
> Job failed. See system logs and 'systemctl status' for details.
> [sombriks at gau ~]$
>
> sudo systemctl status returns 'Too few arguments.', and sudo systemctl
> status postgresql returns 'Failed to issue method call: Unit name
> postgresql is not valid.'
>
> any help is welcome
>
>

systemctl postgresql inittdb

or

service postgresql initdb




-- 
------------

Itamar Reis Peixoto
msn, google talk: itamar at ispbrasil.com.br
+55 11 4063 5033 (FIXO SP)
+55 34 9158 9329 (TIM)
+55 34 8806 3989 (OI)
+55 34 3221 8599 (FIXO MG)


More information about the users mailing list