rc script not running at boot time

James D. Parra jamesp at musicreports.com
Thu Aug 26 18:45:50 UTC 2010


Hello,

I can run the following scripts manually;

[root at ip-10-161-99-142 ~]# /etc/rc.d/rc3.d/S50pgstartstop start
server starting
[root at ip-10-161-99-142 ~]# /etc/rc.d/rc3.d/S50pgstartstop stop
waiting for server to shut down.... done
server stopped
[root at 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







More information about the redhat-list mailing list