Robert, Thanks for the detailed insight. Your suggestions are taking to heart, esp. about security and the nutsNbolts of configuration.
I do believe I did crack the problem. :D I poked around a bit in the startup logs and noted that I was "INIT: Entering runlevel: 5"... this queued me to my problem. I was doing all of my work in runlevel 3 (/etc/rc.d/rc3.d). Opps. Not a newbie, more of an advanced novice. But still stumble around sometimes in the darker recesses of customizing a Red Hat installation. Thanks a lot! Tim > -----Original Message----- > From: Robert Tinsley [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 14, 2003 12:18 PM > To: [EMAIL PROTECTED] > Subject: RE: init/runlevel help needed in RHL 8. > > > On Fri, 2003-02-14 at 16:29, Stone, Timothy wrote: > > 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 > > #!/bin/sh > > printenv >/tmp/env.tmp > /usr/local/apache/bin/apachectl "$@" # pass our arguments on to apache > echo apachectl exited with status $? > > note that there's a very slight security risk if you leave > the "printenv > >/tmp/env.tmp" line in-place longer than you need it. > > > Okay... I thought I would drop this in /usr/local/bin. Sound right? > > the "standard" place on a red hat box would be /etc/rc.d/init.d but > small site-specific customisations like these can be dropped > wherever's > most convenient for you, really (if it were my box, it would > probably be > called /usr/local/something/or/other/init.apachectl but that's just > matter of taste.) > > obviously you will need links to it from /etc/rc?.d/rc?.d/S??apache > (instead of your existing links.) > > > Thanks for the help and further suggestions. > > did i gather from your other mail that you've cracked the problem? > > cheers, > > -- > [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