I use the /etc/init.d/postgresql {start|stop|status|restart|condrestart|condstop|reload|force-reload} command on my Linux boxes and it works great.
I recently installed PG on a couple Solaris boxes and found that the install did not come with the above command so I use pg_ctl as Marcus mentions. My question, has anyone tried using the Linux /etc/init.d/postgresql script on Solaris? If so, what were the results? I haven't tried it yet myself but if I do and get it to work I'll post the result back to the list.
Tim
-----Original Message-----
From: pgsql-admin-owner@postgresql.org [mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Wang, Marcus
Sent: Friday, April 28, 2006 2:36 AM
To: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] Regarding start postgresql startservice
Importance: High
It will be helpful if you tell us what OS you are using :)
Linux
/etc/init.d/postgres start
/etc/rc.d/postgres start
It will initialized the database @ /var/lib/pgsql/data or
/usr/local/pgsql depending on the distro.
Or do man pg_ctl or man postmaster
More Info
http://www.postgresql.org/docs/7.4/static/installation.html
http://www.postgresql.org/docs/8.0/static/installation.html
Regards
This communication may contain CONFIDENTIAL or copyright information of
Telstra Corporation Limited (ABN 33 051 775 556). If you are not an
intended recipient, you MUST NOT keep, forward, copy, use, save or rely
on this communication, and any such action is unauthorised and
prohibited. If you have received this communication in error, please
reply to this e-mail to notify the sender of its incorrect delivery, and
then delete both it and your reply. Thank you.
________________________________
From: pgsql-admin-owner@postgresql.org
[mailto:pgsql-admin-owner@postgresql.org] On Behalf Of D
Srinivas-in1713c
Sent: Tuesday, 25 April 2006 2:49 PM
To: pgsql-admin@postgresql.org
Subject: [ADMIN] Regarding start postgresql startservice
Hi
Iam Srinivas ,iam new to postgreSQL I installed without any problem but
iam unable to start to start service
plse help me how to startservice
Thanks and regards
Srinivas
---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?
http://www.postgresql.org/docs/faq