Re: pgaccess not connecting

From: Jesus Aneiros <aneiros(at)jagua(dot)cfg(dot)sld(dot)cu>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Bill Barnes <bbarnes(at)operamail(dot)com>, postgres general mail list <pgsql-general(at)postgresql(dot)org>
Subject: Re: pgaccess not connecting
Date: 2000-08-26 17:51:41
Message-ID: Pine.LNX.4.10.10008261349360.12266-100000@jagua.cfg.sld.cu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)jagua(dot)cfg(dot)sld(dot)cu
http://jagua.cfg.sld.cu/~aneiros

On Sat, 26 Aug 2000, Tom Lane wrote:

> Bill Barnes <bbarnes(at)operamail(dot)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
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Aleksandar Lazic 2000-08-26 18:09:13 Scalability from Postgresql
Previous Message Bill Barnes 2000-08-26 17:26:44 RE: pgaccess not connecting