pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedls /var/lib/pgsql/data nothing
8+ messages / 4 participants
[nested] [flat]
* ls /var/lib/pgsql/data nothing
@ 2011-03-31 11:17 bilal ghayyad <bilmar_gh@yahoo.com>
0 siblings, 3 replies; 8+ messages in thread
From: bilal ghayyad @ 2011-03-31 11:17 UTC (permalink / raw)
To: pgsql-admin
Hi All;
I am root and when I do ls /var/lib/pgsql/data, I do not see anything.
Why?
I need to find the pg_h.conf file but not able.
Any help?
Regards
Bilal
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: ls /var/lib/pgsql/data nothing
@ 2011-03-31 11:20 lst_hoe02@kwsoft.de
parent: bilal ghayyad <bilmar_gh@yahoo.com>
2 siblings, 0 replies; 8+ messages in thread
From: lst_hoe02@kwsoft.de @ 2011-03-31 11:20 UTC (permalink / raw)
To: pgsql-admin
Zitat von bilal ghayyad <bilmar_gh@yahoo.com>:
> Hi All;
>
> I am root and when I do ls /var/lib/pgsql/data, I do not see anything.
>
> Why?
>
> I need to find the pg_h.conf file but not able.
"find / -name pg_hba.conf" is your friend...
Regards
Andreas
Attachments:
smime.p7s (application/pkcs7-signature, 5.9K) download
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: ls /var/lib/pgsql/data nothing
@ 2011-03-31 11:27 Devrim GÜNDÜZ <devrim@gunduz.org>
parent: bilal ghayyad <bilmar_gh@yahoo.com>
2 siblings, 2 replies; 8+ messages in thread
From: Devrim GÜNDÜZ @ 2011-03-31 11:27 UTC (permalink / raw)
To: bilal ghayyad <bilmar_gh@yahoo.com>; +Cc: 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
Attachments:
signature.asc (application/pgp-signature, 197B) download
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: ls /var/lib/pgsql/data nothing
@ 2011-03-31 11:27 Jerry Sievers <gsievers19@comcast.net>
parent: bilal ghayyad <bilmar_gh@yahoo.com>
2 siblings, 0 replies; 8+ messages in thread
From: Jerry Sievers @ 2011-03-31 11:27 UTC (permalink / raw)
To: pgsql-admin
bilal ghayyad <bilmar_gh@yahoo.com> writes:
> Hi All;
>
> I am root and when I do ls /var/lib/pgsql/data, I do not see anything.
Try the 'locate' command is it's on your system.
If you are able to connect to the DB, show data_directory;
Or, sudo su - postgres and see if $PGDATA is set.
ps -ef might even show something after the -D option for some sites if
DB is running also.
> Why?
>
> I need to find the pg_h.conf file but not able.
Do you mean pg_hba.conf?
> Any help?
> Regards
> Bilal
--
Jerry Sievers
e: gsievers19@comcast.net
p: 305.321.1144
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: ls /var/lib/pgsql/data nothing
@ 2011-03-31 11:37 bilal ghayyad <bilmar_gh@yahoo.com>
parent: Devrim GÜNDÜZ <devrim@gunduz.org>
1 sibling, 1 reply; 8+ messages in thread
From: bilal ghayyad @ 2011-03-31 11:37 UTC (permalink / raw)
To: Devrim GÜNDÜZ <devrim@gunduz.org>; +Cc: pgsql-admin
Mine is Fedora 10, how it will be?
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
>
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: ls /var/lib/pgsql/data nothing
@ 2011-03-31 11:39 Devrim GÜNDÜZ <devrim@gunduz.org>
parent: bilal ghayyad <bilmar_gh@yahoo.com>
0 siblings, 0 replies; 8+ messages in thread
From: Devrim GÜNDÜZ @ 2011-03-31 11:39 UTC (permalink / raw)
To: bilal ghayyad <bilmar_gh@yahoo.com>; +Cc: pgsql-admin
On Thu, 2011-03-31 at 04:37 -0700, bilal ghayyad wrote:
> Mine is Fedora 10, how it will be?
I already wrote what you need to do.
--
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
Attachments:
signature.asc (application/pgp-signature, 197B) download
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: ls /var/lib/pgsql/data nothing
@ 2011-03-31 12:52 bilal ghayyad <bilmar_gh@yahoo.com>
parent: Devrim GÜNDÜZ <devrim@gunduz.org>
1 sibling, 1 reply; 8+ messages in thread
From: bilal ghayyad @ 2011-03-31 12:52 UTC (permalink / raw)
To: Devrim GÜNDÜZ <devrim@gunduz.org>; +Cc: pgsql-admin
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
>
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: ls /var/lib/pgsql/data nothing
@ 2011-03-31 12:53 Devrim GÜNDÜZ <devrim@gunduz.org>
parent: bilal ghayyad <bilmar_gh@yahoo.com>
0 siblings, 0 replies; 8+ messages in thread
From: Devrim GÜNDÜZ @ 2011-03-31 12:53 UTC (permalink / raw)
To: bilal ghayyad <bilmar_gh@yahoo.com>; +Cc: pgsql-admin
On Thu, 2011-03-31 at 05:52 -0700, bilal ghayyad wrote:
> And how to make it started automatically when the machine booted?
> Without need to type the command to start manuall?
chkconfig postgresql on
--
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
Attachments:
signature.asc (application/pgp-signature, 197B) download
^ permalink raw reply [nested|flat] 8+ messages in thread
end of thread, other threads:[~2011-03-31 12:53 UTC | newest]
Thread overview: 8+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-03-31 11:17 ls /var/lib/pgsql/data nothing bilal ghayyad <bilmar_gh@yahoo.com>
2011-03-31 11:20 ` lst_hoe02@kwsoft.de
2011-03-31 11:27 ` Devrim GÜNDÜZ <devrim@gunduz.org>
2011-03-31 11:37 ` bilal ghayyad <bilmar_gh@yahoo.com>
2011-03-31 11:39 ` Devrim GÜNDÜZ <devrim@gunduz.org>
2011-03-31 12:52 ` bilal ghayyad <bilmar_gh@yahoo.com>
2011-03-31 12:53 ` Devrim GÜNDÜZ <devrim@gunduz.org>
2011-03-31 11:27 ` Jerry Sievers <gsievers19@comcast.net>
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