Skip site navigation (1) Skip section navigation (2)

Re: ls /var/lib/pgsql/data nothing

From: bilal ghayyad <bilmar_gh(at)yahoo(dot)com>
To: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: ls /var/lib/pgsql/data nothing
Date: 2011-03-31 11:37:32
Message-ID: 307488.79361.qm@web162013.mail.bf1.yahoo.com (view raw or flat)
Thread:
Lists: pgsql-admin
Mine is Fedora 10, how it will be?

regards
bilal

--- On Thu, 3/31/11, Devrim GÜNDÜZ <devrim(at)gunduz(dot)org> wrote:

> From: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
> Subject: Re: [ADMIN] ls /var/lib/pgsql/data nothing
> To: "bilal ghayyad" <bilmar_gh(at)yahoo(dot)com>
> Cc: pgsql-admin(at)postgresql(dot)org
> Date: Thursday, March 31, 2011, 7:27 AM
> 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
> 


      

In response to

Responses

pgsql-admin by date

Next:From: Devrim GÜNDÜZDate: 2011-03-31 11:39:51
Subject: Re: ls /var/lib/pgsql/data nothing
Previous:From: Anal DeyDate: 2011-03-31 11:37:27
Subject: Restore Backup from Linux to Windows 2003

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group