From: bilal ghayyad <bilmar_gh@yahoo.com>
To: Devrim GÜNDÜZ <devrim@gunduz.org>
Cc: pgsql-admin@postgresql.org
Subject: Re: ls /var/lib/pgsql/data nothing
Date: Thu, 31 Mar 2011 05:52:09 -0700 (PDT)
Message-ID: <64413.47291.qm@web162012.mail.bf1.yahoo.com> (raw)
In-Reply-To: <1301570822.31867.130.camel@lenovo01-laptop03.gunduz.org>
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@gunduz.org> wrote:
> From: Devrim GÜNDÜZ <devrim@gunduz.org>
> Subject: Re: [ADMIN] ls /var/lib/pgsql/data nothing
> To: "bilal ghayyad" <bilmar_gh@yahoo.com>
> Cc: pgsql-admin@postgresql.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
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: bilmar_gh@yahoo.com, devrim@gunduz.org
Subject: Re: ls /var/lib/pgsql/data nothing
In-Reply-To: <64413.47291.qm@web162012.mail.bf1.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox