Thanks a lot. And how to make it started automatically when the machine booted? Without need to type the command to start manuall? Regards Bilal --- On Thu, 3/31/11, Devrim GÃNDÃZ <devrim@xxxxxxxxxx> wrote: > From: Devrim GÃNDÃZ <devrim@xxxxxxxxxx> > Subject: Re: ls /var/lib/pgsql/data nothing > To: "bilal ghayyad" <bilmar_gh@xxxxxxxxx> > Cc: pgsql-admin@xxxxxxxxxxxxxx > 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 > -- Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin