rc script not running at boot time
- From: "James D. Parra" <jamesp@xxxxxxxxxxxxxxxx>
- Date: Thu, 26 Aug 2010 11:45:50 -0700 (PDT)
Hello,
I can run the following scripts manually;
[root@ip-10-161-99-142 ~]# /etc/rc.d/rc3.d/S50pgstartstop start
server starting
[root@ip-10-161-99-142 ~]# /etc/rc.d/rc3.d/S50pgstartstop stop
waiting for server to shut down.... done
server stopped
[root@ip-10-161-99-142 ~]#
<snip>
However, upon reboot the service does not start.
Here is the script in /etc/init.d/pgstartstop;
<snip>
#! /bin/sh
case "$1" in
start) /usr/bin/pgstart ;;
stop) /usr/bin/pgstop ;;
restart) /bin/sh $0 stop
/bin/sh $0 start ;;
*) echo "Usage: $0 {start|stop}"
exit 1 ;;
esac
<snip>
The failure is not logged, so I can't figure out why it isn't starting.
Any and suggestions would be most welcome.
Thank you,
James
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
- Follow-Ups:
- RE: rc script not running at boot time
- From: Hugh E Cruickshank
- RE: rc script not running at boot time
- Prev by Date: Re: ulimit error while changing max files to unlimited: PAM / sshd options?
- Next by Date: RE: rc script not running at boot time
- Previous by thread: tool to see colorized logs
- Next by thread: RE: rc script not running at boot time
- Index(es):
Relevant Pages
|