pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Postgres at startup
4+ messages / 3 participants
[nested] [flat]

* Postgres at startup
@ 2006-11-08 01:34  Michael McCloskey <maxmcclo@ihug.com.au>
  0 siblings, 1 reply; 4+ messages in thread

From: Michael McCloskey @ 2006-11-08 01:34 UTC (permalink / raw)
  To: pgsql-admin

Postgres is starting automatically for me at startup.
When I boot up my machine and then check the running processes I see
postmaster.exe and 4 postgres processes.
How can I stop this?
I don't want Postgres starting up automatically.

Thanks.

-Michael

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Postgres at startup
@ 2006-11-16 07:05  Kis <kjt@takarnet.hu>
  parent: Michael McCloskey <maxmcclo@ihug.com.au>
  0 siblings, 2 replies; 4+ messages in thread

From: Kis János Tamás @ 2006-11-16 07:05 UTC (permalink / raw)
  To: pgsql-admin

2006. November 8. 02.34 dátummal Michael McCloskey ezt írta:
> Postgres is starting automatically for me at startup.
> When I boot up my machine and then check the running processes I
> see postmaster.exe and 4 postgres processes.
> How can I stop this?
PGBIN="/usr/local/pgsql/bin";
PGDATA="/srv/postgresql";
su postgres -c "$PGBIN/pg_ctl -D $PGDATA stop"

> I don't want Postgres starting up automatically.

If you have Linux/Unix, you must to find a soft link in your 
"/etc/rc[1-6].d" dir and must to remove them:

kjt:/# cat /etc/inittab | grep default
id:3:initdefault:
   ^^^
kjt:/# ls /etc/rc3.d/ | grep postgres
S20postgresql-my

kjt:/# rm -i /etc/rc3.d/S20postgresql-my

bye,
kjt


McAfee SCM 4.1 által ellenőrizve!


^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Postgres at startup
@ 2006-11-16 09:43  Andy Shellam (Mailing Lists) <andy.shellam-lists@mailnetwork.co.uk>
  parent: Kis <kjt@takarnet.hu>
  1 sibling, 0 replies; 4+ messages in thread

From: Andy Shellam (Mailing Lists) @ 2006-11-16 09:43 UTC (permalink / raw)
  To: Kis János Tamás <kjt@takarnet.hu>; +Cc: pgsql-admin

I'm guessing by the "postmaster.exe" that this is on Windows.

In that case, find "PostgreSQL X.Y" in Control Panel>Administrative 
Tools>Services (where X.Y is your major.minor version number of Postgres.)
Change the services' start-up type to "Manual" (so you can start it 
yourself when needed.)

Andy.

Kis János Tamás wrote:
> 2006. November 8. 02.34 dátummal Michael McCloskey ezt írta:
>   
>> Postgres is starting automatically for me at startup.
>> When I boot up my machine and then check the running processes I
>> see postmaster.exe and 4 postgres processes.
>> How can I stop this?
>>     
> PGBIN="/usr/local/pgsql/bin";
> PGDATA="/srv/postgresql";
> su postgres -c "$PGBIN/pg_ctl -D $PGDATA stop"
>
>   
>> I don't want Postgres starting up automatically.
>>     
>
> If you have Linux/Unix, you must to find a soft link in your 
> "/etc/rc[1-6].d" dir and must to remove them:
>
> kjt:/# cat /etc/inittab | grep default
> id:3:initdefault:
>    ^^^
> kjt:/# ls /etc/rc3.d/ | grep postgres
> S20postgresql-my
>
> kjt:/# rm -i /etc/rc3.d/S20postgresql-my
>
> bye,
> kjt
>
>
> McAfee SCM 4.1 által ellenőrizve!
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
>                http://www.postgresql.org/docs/faq
>
> !DSPAM:37,455c14a340413711078630!
>
>
>   


-- 
Andy Shellam
NetServe Support Team

the Mail Network
"an alternative in a standardised world"

p: +44 (0) 121 288 0832/0839
m: +44 (0) 7818 000834




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Postgres at startup
@ 2006-11-17 06:52  Kis <kjt@takarnet.hu>
  parent: Kis <kjt@takarnet.hu>
  1 sibling, 0 replies; 4+ messages in thread

From: Kis János Tamás @ 2006-11-17 06:52 UTC (permalink / raw)
  To: pgsql-admin

2006. November 16. 08.05 dátummal Kis János Tamás ezt írta:
> 2006. November 8. 02.34 dátummal Michael McCloskey ezt írta:
> > see postmaster.exe and 4 postgres processes.

Ooops!
I don't see the ".exe"...
I'm sorry! 

bye,
kjt


McAfee SCM 4.1 által ellenőrizve!


^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2006-11-17 06:52 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-11-08 01:34 Postgres at startup Michael McCloskey <maxmcclo@ihug.com.au>
2006-11-16 07:05 ` Kis <kjt@takarnet.hu>
2006-11-16 09:43   ` Andy Shellam (Mailing Lists) <andy.shellam-lists@mailnetwork.co.uk>
2006-11-17 06:52   ` Kis <kjt@takarnet.hu>

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