Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have just installed apache 2 with ssl but when I try to start the process I got error

httpd starting. exit status 127

There is no log even though I configured httpd.conf with LogLevel debug. Where else can I look for clues to troubleshoot this problem?

share|improve this question
    
Tell us more about your system. How did you install Apache and on what kind of system? Did you wrote the config files from scratch? Are there any statements in it that tell it where to log (LogLevel tells it how much, not where)? See httpd.apache.org/docs/current/logs.html for more info regarding log files. –  SvW Jun 13 '12 at 22:50
add comment

2 Answers 2

There won't be a standard apache error log because the service haven't started. 127 status code means that a command was not found.

How did you install apache2? Which unix distribution? What do you mean on "with ssl"?

Check on system logs found on /var/log... dmesg, messages or similar

share|improve this answer
add comment

Try starting Apache directly rather than via the startup script.

sudo /usr/sbin/httpd -X -e 9 -E /var/log/httpd/startup_errors.log

This should give you more information.

The options I've chosen above are:

-e level           : show startup errors of level (see LogLevel)
-E file            : log startup errors to file
-X                 : debug mode (only one worker, do not detach)
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.