nm the sys admin lol how can i enable mod_bandwidth to sort out this?
Ok i never deleted teh byteslog so how do i over come this
nm the sys admin lol how can i enable mod_bandwidth to sort out this?
Ok i never deleted teh byteslog so how do i over come this
You need to run easyapache from /scripts or Upgrade Apache from WHM and enable the mod_bandwidth module.
Regards,
David
Forum Moderator
this is weird a canny accesss cpanel at all again
hi i get this error when i add mod_bandwidth
/etc/rc.d/init.d/httpd
That's not an error that's a start script.
Did easyapache fully run?
What does this show?
/usr/local/apache/bin/apachectl configtest
Regards,
David
Forum Moderator
Syntax error on line 1114 of /usr/local/apache/conf/httpd.conf:
Invalid command 'BytesLog', perhaps mis-spelled or defined by a module not included in the server configuration
Your best bet is to take Andy's advice and have someone look at it for you.
Regards,
David
Forum Moderator
It happened to me once
Just try my solution
- Login into SSH --> use root account
- locate php.ini
- search for php.ini.recommended
- copy php.ini.recommended to /usr/local/lib/ and rename it to php.ini or just overwrite the existing
- start the httpd
Make sure u backed up your original php.ini first
Then after restart the http, browse a little your website or your client account, if all okey, then Update Upache with your desire option
Regards
I ran in to the same error last week when I was trying to add a module on to Apache in WHM.
I actually think that the problem lies within either SuEXEC or PHPSuEXEC
I would keep SuEXEC and try disabling phpSUEXEC, or if you do not care at all about clients running scripts as nobody or root, then go ahead and disable them both...
Beside that you might try rolling back to a "known good" httpd.conf
Cheers.
Worked for me:
Add the following lines to your /usr/local/apache/conf/httpd.conf file:
LoadModule bytes_log_module libexec/mod_log_bytes.so
AddModule mod_log_bytes.c
That's all there is to it.