Re: [GENERAL] Start up script for Fedora Core 3

2005-08-24 Thread Chris Guo
Thanks, I found it. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Joshua D. Drake
Sent: Wednesday, August 24, 2005 12:18 PM
To: Chris Guo
Cc: pgsql-general@postgresql.org
Subject: Re: [GENERAL] Start up script for Fedora Core 3

Chris Guo wrote:

> -->
>
> Dear all,
>
>  
>
> We are using Fedora Core 3 in our company, and we installed postgresql 
> 8.0.3 as the database system. I wonder if anybody has the start up 
> script for this version so we can start postgresql service 
> automatically after we reboot the server.
>
If you installed it from rpm then the startup script should already be 
there. If you install it from src look
in postgresql-8.0.3/contrib/start-scripts

Sincerely,

Joshua D. Drake


> Any help will be highly appreciated.
>
>  
>
> Chris
>


---(end of broadcast)---
TIP 1: if posting/reading through Usenet, please send an appropriate
   subscribe-nomail command to [EMAIL PROTECTED] so that your
   message can get through to the mailing list cleanly


---(end of broadcast)---
TIP 5: don't forget to increase your free space map settings


Re: [GENERAL] Start up script for Fedora Core 3

2005-08-24 Thread Alexandre Barros

Chris Guo wrote:


Dear all,

 

We are using Fedora Core 3 in our company, and we installed postgresql 
8.0.3 as the database system. I wonder if anybody has the start up 
script for this version so we can start postgresql service 
automatically after we reboot the server.


Any help will be highly appreciated.

 


Chris


personally i use something like this on my rc.local:

rm -f /opt/pgsql-8.0.3/dbdata/postmaster.pid
sudo -u pgsql /opt/pgsql-8.0.3/bin/pg_ctl -o -i -D 
/opt/pgsql-8.0.3/dbdata/ -l /opt/pgsql-8.0.3/dbdata/logfile start


does the job, but i'm not sure i'd recommend it... ;)


best regards.





---(end of broadcast)---
TIP 1: if posting/reading through Usenet, please send an appropriate
  subscribe-nomail command to [EMAIL PROTECTED] so that your
  message can get through to the mailing list cleanly


Re: [GENERAL] Start up script for Fedora Core 3

2005-08-24 Thread Joshua D. Drake

Chris Guo wrote:


-->

Dear all,

 

We are using Fedora Core 3 in our company, and we installed postgresql 
8.0.3 as the database system. I wonder if anybody has the start up 
script for this version so we can start postgresql service 
automatically after we reboot the server.


If you installed it from rpm then the startup script should already be 
there. If you install it from src look

in postgresql-8.0.3/contrib/start-scripts

Sincerely,

Joshua D. Drake



Any help will be highly appreciated.

 


Chris




---(end of broadcast)---
TIP 1: if posting/reading through Usenet, please send an appropriate
  subscribe-nomail command to [EMAIL PROTECTED] so that your
  message can get through to the mailing list cleanly


Re: [GENERAL] Start up script for Fedora Core 3

2005-08-24 Thread Tom Lane
"Chris Guo" <[EMAIL PROTECTED]> writes:
> We are using Fedora Core 3 in our company, and we installed postgresql =
> 8.0.3
> as the database system. I wonder if anybody has the start up script for =
> this
> version so we can start postgresql service automatically after we reboot =
> the
> server.

If you install the RPM distribution of Postgres (which is the way I'd
recommend, on RPM-based platforms), it comes with a suitable init
script.

regards, tom lane

---(end of broadcast)---
TIP 2: Don't 'kill -9' the postmaster


Re: [GENERAL] Start up script for Fedora Core 3

2005-08-24 Thread Dianne Yumul

Hello,

We have Fedora Core 4, but I'm pretty sure it's the same. To start the 
service we use


/etc/rc.d/init.d/postgresql start

Now if you want postgresql to start automatically on boot you do:

chkconfig postgresql on

Read the man pages for chkconfig for more details.

Hope this helps.

On Aug 24, 2005, at 11:31 AM, Chris Guo wrote:


Dear all,
 
We are using Fedora Core 3 in our company, and we installed postgresql 
8.0.3 as the database system. I wonder if anybody has the start up 
script for this version so we can start postgresql service 
automatically after we reboot the server.

Any help will be highly appreciated.
 
Chris



---(end of broadcast)---
TIP 1: if posting/reading through Usenet, please send an appropriate
  subscribe-nomail command to [EMAIL PROTECTED] so that your
  message can get through to the mailing list cleanly