Robert, I'm trying your suggestion, but I'm not familiar with what is implied between the lines:
* replace the link with a script to call apachectl instead. before it calls apachectl, dump your environment to a temporary file, and after you've called apachectl, print out its exit status (see the top of the apachectl script for what the different return codes mean.) My script looks like this: #!/bin/sh # dump env to tmp printenv > /tmp/env.tmp # do I need to pass an arg? /usr/local/apache/bin/apachectl # print exit status # how? # end Okay... I thought I would drop this in /usr/local/bin. Sound right? Thanks for the help and further suggestions. > -----Original Message----- > From: Robert Tinsley [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 14, 2003 10:01 AM > To: [EMAIL PROTECTED] > Subject: RE: init/runlevel help needed in RHL 8. > > > On Fri, 2003-02-14 at 14:11, Rick Carroll wrote: > > What you're missing, is that apachectl uses start, stop, > etc to control the httpd server as it always has. > > This is NOT an init.d script, it's virtually the same > apachectl they have been using for years. > > > > When S85httpd gets run by init it gets passed a "start" argument. > > K15 gets passed a "stop" argument. > > S = start > > K = kill > > Standard rcX.d behavior... > > apachectl also takes 'start' 'stop' and friends as its argument. > > to the original poster... > > * "Today this setup does not work" -- what has changed? > > * replace the link with a script to call apachectl instead. before it > calls apachectl, dump your environment to a temporary file, and after > you've called apachectl, print out its exit status (see the top of the > apachectl script for what the different return codes mean.) > > * reboot and login as root, set up your environment > identically to what > it was when init called apachectl, and try again. > > * what error messages on stdout/stderr are you getting? > > * did you edit the apachectl script to configure it for your system? > > * what happens if you put /usr/local/apache/bin at the front > of PATH in > the init script? > > -- > [EMAIL PROTECTED] > > [ do NOT use the following e-mail address: [EMAIL PROTECTED] ] > > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe > https://listman.redhat.com/mailman/listinfo/redhat-list > -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list