[ADMIN] ls /var/lib/pgsql/data nothing

2011-03-31 Thread bilal ghayyad
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 -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription:

Re: [ADMIN] ls /var/lib/pgsql/data nothing

2011-03-31 Thread lst_hoe02
Zitat von bilal ghayyad bilmar...@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 smime.p7s Description: S/MIME Cryptographic

Re: [ADMIN] ls /var/lib/pgsql/data nothing

2011-03-31 Thread Devrim GÜNDÜZ
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

Re: [ADMIN] ls /var/lib/pgsql/data nothing

2011-03-31 Thread Jerry Sievers
bilal ghayyad bilmar...@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

Re: [ADMIN] ls /var/lib/pgsql/data nothing

2011-03-31 Thread bilal ghayyad
Mine is Fedora 10, how it will be? regards bilal --- On Thu, 3/31/11, Devrim GÜNDÜZ dev...@gunduz.org wrote: From: Devrim GÜNDÜZ dev...@gunduz.org Subject: Re: [ADMIN] ls /var/lib/pgsql/data nothing To: bilal ghayyad bilmar...@yahoo.com Cc: pgsql-admin@postgresql.org Date: Thursday, March

Re: [ADMIN] ls /var/lib/pgsql/data nothing

2011-03-31 Thread Devrim GÜNDÜZ
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:

Re: [ADMIN] ls /var/lib/pgsql/data nothing

2011-03-31 Thread bilal ghayyad
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 dev...@gunduz.org wrote: From: Devrim GÜNDÜZ dev...@gunduz.org Subject: Re: [ADMIN] ls /var/lib/pgsql/data

Re: [ADMIN] ls /var/lib/pgsql/data nothing

2011-03-31 Thread Devrim GÜNDÜZ
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