On 06/29/2012 02:09 PM, Umarzuki Mochlis wrote:
2012/6/29 Itamar Heim <iheim(a)redhat.com>:
> On 06/29/2012 06:59 AM, Umarzuki Mochlis wrote:
>>
>> 2012/6/29 Doron Fediuck<dfediuck(a)redhat.com>:
>>>
>>> Looks like your db is down. Please try
>>> service postgresql status
>>> If it's not running, start it.
>>>
>>
>> apparently starting postgres service was failed also, perhaps there's
>> a package missing?
>> is this a known issue on fedora 16?
>
>
> please use fedora 17 for 3.1.
> and its postgresql
my bad but it seemed that postgresql failed to start anyway.
would upgrading to fedora 17 solve this?
[root@ovirt01 ~]# service postgresql status
Redirecting to /bin/systemctl status postgresql.service
postgresql.service - PostgreSQL database server
Loaded: loaded (/lib/systemd/system/postgresql.service; disabled)
Active: failed since Fri, 29 Jun 2012 20:05:25 +0800; 6s ago
Process: 4265 ExecStartPre=/usr/bin/postgresql-check-db-dir
${PGDATA} (code=exited, status=1/FAILURE)
CGroup: name=systemd:/system/postgresql.service
It looks like you never started that database before. You need to run
"postgresql-setup" before being able to start it.