Home > Archive > PostgreSQL Administration > November 2006 > Postgres at startup









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Postgres at startup
Michael McCloskey

2006-11-14, 12:14 am

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


Kis János Tamás

2006-11-16, 5:52 am

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

Andy Shellam

2006-11-16, 5:52 am

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:
>
> PGBIN="/usr/local/pgsql/bin";
> PGDATA="/srv/postgresql";
> su postgres -c "$PGBIN/pg_ctl -D $PGDATA stop"
>
>
>
> 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,455c14a340
413711078630!
>
>
>



--
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


---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Kis János Tamás

2006-11-17, 5:23 am

2006. November 16. 08.05 dátummal Kis János Tamás ezt írta:[color=darkred]

> 2006. November 8. 02.34 dátummal Michael McCloskey ezt írta:

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

bye,
kjt


McAfee SCM 4.1 által ellenőrizve!

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql
.org so that your
message can get through to the mailing list cleanly

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com