how to start postgresql server ( or postmaster ) automatically

Started by HYipalmost 25 years ago3 messagesgeneral
Jump to latest
#1HYip
hualinyip@earthlink.net

I have installed the postgresql in a Linux 6.2 machine. Everything
seems to be working. However, after rebooting the system, I have to
manually start the postmaster.
I found that there is postgresql under /etc/rc.d/init.d.

How can I set up the machine so that it will automatically restart
postmaster after reboot?

Thanks

#2Lark
andrei.boulgakov@nsi.co.il
In reply to: HYip (#1)
Re: how to start postgresql server ( or postmaster ) automatically

I use RH 7, but i think it will be the same in 6.2
run linuxconf, go to tab "Control", within "Control panel" open "Control
service activity". In the list click on postgres. Check "Startup
automatic", open tab "Run levels" and check proper levels. i.e. i'm
always using level 5 (Graphical interface), so i check "Level 5". You
can check Levels 2 and 3 too.

#3John Clark Naldoza y Lopez
njclark@ntsp.nec.co.jp
In reply to: HYip (#1)
Re: how to start postgresql server ( or postmaster ) automatically

Hualin Yip wrote:

I have installed the postgresql in a Linux 6.2 machine. Everything
seems to be working. However, after rebooting the system, I have to
manually start the postmaster.
I found that there is postgresql under /etc/rc.d/init.d.

How can I set up the machine so that it will automatically restart
postmaster after reboot?

chkconfig --level 35 postgresql on

or use the setup utility ...;-)

--
/) John Clark Naldoza y Lopez (\
/ ) Software Design Engineer II ( \
_( (_ _ Web-Application Development _) )_
(((\ \> /_> Cable Modem Network Management System <_\ </ /)))
(\\\\ \_/ / NEC Telecom Software Phils., Inc. \ \_/ ////)
\ / \ /
\ _/ phone: (+63 32) 233-9142 loc. 3112 \_ /
/ / cellphone: (+63 919) 399-4742 \ \
/ / email: njclark@ntsp.nec.co.jp \ \