Click to See Complete Forum and Search --> : Starting Apache
I'm currently running on RedHat 7.0 and I want apache to start with SSL automatically. I can do this by editing the rc.local file. However, to get a more efficient startup, I would like to have the inet daemon start the process. I have written a script to do that, except on loading it's generating an error "execvp: No such file or directory." Can anyone explain this error? Also, if someone has written a working script, may I use it as reference against my own script.
TIA Allen.
wimvds
07-01-2001, 12:43 PM
Hi Allen,
I just had the same problem and started searching, and one of the pagehits was your post here. I just solved it, so in case you still haven't found the anwser, here it is.
I guess you have a line somewhere in your script that reads:
daemon httpd
To make your script work, you should replace it with:
daemon /full/path/to/httpd
ie. if you compiled apache from the source with the "--prefix=/usr/local/apache"-option, you have to enter daemon /usr/local/apache/bin/httpd
It should work then (at least it worked for me, YMMV).
Best regards,
Wim
PHP Builder
Copyright WebMediaBrands Inc. All Rights Reserved.