rc script not running at boot time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux