httpd refuses to start

tansu

Verified User
Joined
Jul 31, 2008
Messages
80
Hi all,
after an update, httpd refuses to start. I tried several things wriiten here. In some cases it looks like it does not even exist.
service httpd restart/stop/etc comes with command doesnt exist
kill command comes with: httpd: No such file or directory

What do you suggest?
Regards
 
And also ./build versions returns this:
Restarting apache.
Stopping httpd:
Starting httpd: Syntax error on line 50 of /etc/httpd/conf/httpd.conf:
Invalid command 'suPHP_UserGroup', perhaps misspelled or defined by a module not included in the server configuration
 
solved:
perl -pi -e 's/suPHP_UserGroup/#suPHP_UserGroup/' /etc/httpd/conf/httpd.conf
/etc/init.d/httpd restart
 
Thats not really a solve. Are you using suphp or not?
 
It's hard to give you specific help beause you don't tell us your OS Distribution.

service httpd restart/stop/etc comes with command doesnt exist
The service command may not work that way with your OS Distribution. With both Red Hat Enterprise Linux and with CentOS it should work that way, as long as you're logged as root. Both with other OS Distributions the command may be completely different.
kill command comes with: httpd: No such file or directory
The kill command generally requires a process ID (PID) number and not a command name. You can generally use the killall command:
Code:
# killall httpd

Jeff
 
Back
Top