autostart postgresql - Mailing list pgsql-general

From Bob Hartung
Subject autostart postgresql
Date
Msg-id 39EA6F3A.ED4300F9@netexpress.net
Whole thread Raw
Responses Re: autostart postgresql  (Alexey Borzov <borz_off@rdw.ru>)
Re: autostart postgresql  (Mike E <mee@quidquam.com>)
List pgsql-general
Partial success!
  I have postgresql started and have "createdb testdb"
successfully.  I am having trouble with autostarting
postmaster in RH6.2 however.

  I have copied the file
"/usr/local/postgresql-7.0.2.......postgres-init"  to
/etc/rc.d/init.d and made a softe link to it from .../rc5.d
as follows       ln /etc/rc.d/init.d/postgres.init
/etc/rc.d/rc5.d/S98postgres.init

  postmaster does not autostart upon a reboot.  Do I have to
use a start command or other paramater to tell postgres.init
to start the postmaster up?  I am not good at reading and
deciphering these scripts but would like postgres to
autostart everytime the PC boots to runlevel 5.

  Thanks for all the help from various members so far!

Bob Hartung


pgsql-general by date:

Previous
From: zaor@sky.pl (Pawel Zaorski)
Date:
Subject: Re: dissallowing access to databases
Next
From: "Warren Flemmer"
Date:
Subject: Fw: Fw: Postgresql 7 does not always start on RH 6.2