Re: ls /var/lib/pgsql/data nothing - Mailing list pgsql-admin

From Devrim GÜNDÜZ
Subject Re: ls /var/lib/pgsql/data nothing
Date
Msg-id 1301570822.31867.130.camel@lenovo01-laptop03.gunduz.org
Whole thread Raw
In response to ls /var/lib/pgsql/data nothing  (bilal ghayyad <bilmar_gh@yahoo.com>)
Responses Re: ls /var/lib/pgsql/data nothing  (bilal ghayyad <bilmar_gh@yahoo.com>)
Re: ls /var/lib/pgsql/data nothing  (bilal ghayyad <bilmar_gh@yahoo.com>)
List pgsql-admin
On Thu, 2011-03-31 at 04:17 -0700, bilal ghayyad wrote:
> I am root and when I do ls  /var/lib/pgsql/data, I do not see
> anything.
>
> Why?

You need to initdb first. I think this is an RPM installation. If so,

service postgresql initdb
(or service postgresql-9.0 initdb  , depending on the version) would
work.

Regards,
--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org  Twitter: http://twitter.com/devrimgunduz

Attachment

pgsql-admin by date:

Previous
From: lst_hoe02@kwsoft.de
Date:
Subject: Re: ls /var/lib/pgsql/data nothing
Next
From: Jerry Sievers
Date:
Subject: Re: ls /var/lib/pgsql/data nothing