Re: pgaccess not connecting - Mailing list pgsql-general

From Jesus Aneiros
Subject Re: pgaccess not connecting
Date
Msg-id Pine.LNX.4.10.10008261349360.12266-100000@jagua.cfg.sld.cu
Whole thread Raw
In response to Re: pgaccess not connecting  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Check the script in /etc/rc.d/init.d/postgresql it doesn't accept
parameters in the command linea except start, stop, status. Change the
line that runs postmaster adding -i option.

--
Jesus Aneiros Sosa
mailto:aneiros@jagua.cfg.sld.cu
http://jagua.cfg.sld.cu/~aneiros

On Sat, 26 Aug 2000, Tom Lane wrote:

> Bill Barnes <bbarnes@operamail.com> writes:
> > kgb10:/home/billb# /etc/init.d/postgreql start -i
> > Starting PostgreSQL postmaster
> > kgb10:/home/billb# ps ax | grep postmaster
> > 24746 pts/5    S      0:00 /usr/lib/postgresql/bin/postmaster -b
> >             /usr/lib/postgresql/bin/postgres -B 128 -D
> >             /var/lib/postgres/data -d 0
>
> > What could account for the missing -i switch in the running postmaster?
>
> Are you sure your /etc/init.d/postgreql is designed to pass its own
> commandline switches on to the invoked postmaster?  Usually startup
> scripts don't do that, since they are not designed to be run by hand
> but from /etc/rc.  My bet is that there is a config file somewhere that
> the init.d script is reading (which is where the other switches given
> to the postmaster are coming from).  You need to put -i in that file.
>
>             regards, tom lane
>


pgsql-general by date:

Previous
From: Bill Barnes
Date:
Subject: RE: pgaccess not connecting
Next
From: Michael Blakeley
Date:
Subject: Re: Stripping a prefix