[ADMIN] starting postgres on red hat

2008-09-11 Thread Marc Fromm
I installed Red Hat 5.2 EL. During the install I select postgresql and this versoin was installed: postgresql-8.1.11-1.el5_1.1. 1. I started postgresql as follows: initdb -D /var/lib/pgsql/data 2. I started the database server as follows: /usr/bin/pg_ctl -D /var/lib/pgsql/data -l logfile start

Re: [ADMIN] starting postgres on red hat

2008-09-11 Thread Devrim GÜNDÜZ
On Thu, 2008-09-11 at 09:57 -0700, Marc Fromm wrote: > When I check that it is all running with ps command I get: > 324 pts/1S 0:00 /usr/bin/postmaster -D /var/lib/pgsql/data > > When I did the same setps in fedora 8 the postmaster was started on a > port > 1703 ?S 0:01 /usr

Re: [ADMIN] starting postgres on red hat

2008-09-11 Thread Devrim GÜNDÜZ
On Thu, 2008-09-11 at 11:21 -0600, Scott Marlowe wrote: > There's an initidb function built into the /etc/init.d/postgresql > script you can use: > > sudo /etc/init.d/postgresql initdb It won't work in pre 8.2 releases. Regards, -- Devrim GÜNDÜZ, RHCE devrim~gunduz.org, devrim~PostgreSQL.org, d

Re: [ADMIN] starting postgres on red hat

2008-09-11 Thread Scott Marlowe
On Thu, Sep 11, 2008 at 11:35 AM, Marc Fromm <[EMAIL PROTECTED]> wrote: > Thanks for your reply. > I was following the instructions a listed in the 8.1 docs at postgresql.org, > which worked great on fedora. I'm using the PGDG 8.3.3 rpms on Centos 5.2 mysql. Those do have initdb. On older pgsql

Re: [ADMIN] starting postgres on red hat

2008-09-11 Thread Scott Marlowe
On Thu, Sep 11, 2008 at 11:36 AM, John <[EMAIL PROTECTED]> wrote: > Scott Marlowe wrote: >> >> Oh yeah, please note that the proper way to start and stop services on >> RH oses is via the service command: >> >> service postgresql start >> service postgresql initdb >> >> etc.. > > Scott, > > How doe

Re: [ADMIN] starting postgres on red hat

2008-09-11 Thread John
Scott Marlowe wrote: Oh yeah, please note that the proper way to start and stop services on RH oses is via the service command: service postgresql start service postgresql initdb etc... Scott, How does the above compare with using postmaster to start PostgreSQL? I tried in the past to use

Re: [ADMIN] starting postgres on red hat

2008-09-11 Thread Scott Marlowe
Oh yeah, please note that the proper way to start and stop services on RH oses is via the service command: service postgresql start service postgresql initdb etc... -- Sent via pgsql-admin mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/

Re: [ADMIN] starting postgres on red hat

2008-09-11 Thread Scott Marlowe
On Thu, Sep 11, 2008 at 10:57 AM, Marc Fromm <[EMAIL PROTECTED]> wrote: > > I installed Red Hat 5.2 EL. During the install I select postgresql and this > versoin was installed: postgresql-8.1.11-1.el5_1.1. > > 1. I started postgresql as follows: > initdb -D /var/lib/pgsql/data There's an initidb