[email protected] [~]# httpd start
Syntax error on line 1133 of /usr/local/apache/conf/httpd.conf:
Invalid command 'BytesLog', perhaps mis-spelled or defined by a module not included in the server configuration
/usr/sbin/httpd start: httpd could not be started [email protected] [~]#
I cannot get my sites back up. My friend is currently hosting me on his dedicated server, but I'm getting this command when i'm typing httpd start. Anyone know what to do?
If anything is missing, it's probably because of cPanel, since I've seen it leave out modules when building apache sometimes. You can copy them in from another server (easiest) or grab a new install package from cPanel and reinstall cPanel (not a good idea on a production machine unless you know exactly what you're doing). For you, the first option will probably be better. Or, you can use the update apache option from the WHM to rebuild apache, making sure you untick the box to skip the apache build if it is up to date, and see if cPanel will bring in the module for you.
Possibly. In the end, the problem is likely the same, in that the module is not loading. Having had to deal with half a dozen servers where cPanel failed to install mod_bytes and the passthrough modules, I guess I'm just a little jumpy about that. Fun stuff.
Originally posted by Jeff - Exceed cPanel can be picky, often breaking apache rather than recompiling it.
"A control panel can only do so much, sometimes you have to get your hands dirty"
Ain't that the truth. I'd rather build everything myself, but since people want cPanel and it is so picky during the install, you gotta do what you gotta do. A couple months ago I had to rebuild an entire machine from the ground up, including o/s reinstall, because the cPanel install had gone so badly. But that's another topic.