rc script not running at boot time



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



Relevant Pages

  • Re: Why is KDE 4 so messed up?
    ... a server in the form you and your browser see. ... what was the filename on the server? ... No need I've used opera in the past, but I didn't stick with it so my ...
    (alt.os.linux.suse)
  • Re: PAE-CE84 Router Failure
    ... >>> I found I was unable to gain access to the internal web ... >>> server to check the router's settings, ... I have easily accessed my *new* router using!FTPc, ...
    (comp.sys.acorn.networking)
  • Re: Bug 800181: NFSv4 on RHEL 6.2 over six times slower than 5.7
    ... TAM = Technical Account Manager. ... exports file. ... Doing it from a 5.x NFS server takes about 1.5 min. ...
    (RedHat)
  • RE: Dovecot versus Postfix
    ... <SNIP> ... It says "Replace mail.example.com with your mail server ... configure the default gateway and Domain name server as well as the ... user accounts. ...
    (Ubuntu)
  • Hows the serenity! (was Re: Processing Ideas Needed:)
    ... tasks being "stateless" and the ACMS transaction monitor maintaining a fully ... pre-authorized and statefull connection to the client. ... response, but if server and client were cooperating on a row-by-row basis, ... [snip, snip, snip, snap, snip snippety snip] ...
    (comp.os.vms)