Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 16 to 26 of 26
  1. #16
    Member
    Join Date
    Dec 2004
    Location
    Glasgow
    Posts
    133

    Default

    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

  2. #17
    Moderator cPanel Partner NOC Badge dgbaker's Avatar
    Join Date
    Sep 2002
    Location
    Toronto, Ontario Canada
    Posts
    2,773

    Default

    You need to run easyapache from /scripts or Upgrade Apache from WHM and enable the mod_bandwidth module.
    Regards,
    David
    Forum Moderator

  3. #18
    Member
    Join Date
    Dec 2004
    Location
    Glasgow
    Posts
    133

    Default

    this is weird a canny accesss cpanel at all again

  4. #19
    Member
    Join Date
    Dec 2004
    Location
    Glasgow
    Posts
    133

    Default

    hi i get this error when i add mod_bandwidth

    /etc/rc.d/init.d/httpd

  5. #20
    Moderator cPanel Partner NOC Badge dgbaker's Avatar
    Join Date
    Sep 2002
    Location
    Toronto, Ontario Canada
    Posts
    2,773

    Default

    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

  6. #21
    Member
    Join Date
    Dec 2004
    Location
    Glasgow
    Posts
    133

    Default

    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

  7. #22
    Moderator cPanel Partner NOC Badge dgbaker's Avatar
    Join Date
    Sep 2002
    Location
    Toronto, Ontario Canada
    Posts
    2,773

    Default

    Your best bet is to take Andy's advice and have someone look at it for you.
    Regards,
    David
    Forum Moderator

  8. #23
    Member
    Join Date
    Dec 2004
    Location
    Glasgow
    Posts
    133

    Default

    thanks for trying guys, Great help

  9. #24
    Member
    Join Date
    Jan 2005
    Posts
    9

    Default

    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

  10. #25
    Member
    Join Date
    Jan 2005
    Posts
    34

    Default

    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.

  11. #26
    Member
    Join Date
    Mar 2002
    Posts
    70

    Default

    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.

Similar Threads & Tags
Similar threads

  1. To reinstall or not
    By qisback in forum Data Protection
    Replies: 6
    Last Post: 08-20-2009, 12:05 PM
  2. Cpanel Reinstall
    By Nicarlo in forum New User Questions
    Replies: 4
    Last Post: 06-26-2009, 08:28 PM
  3. Apache Reinstall on Cpanel + centos
    By Nicarlo in forum New User Questions
    Replies: 3
    Last Post: 06-25-2009, 01:36 PM
  4. Reinstall Exim
    By persianwhois in forum E-mail Discussions
    Replies: 7
    Last Post: 10-27-2007, 08:09 AM
  5. Help me. Reinstall
    By exit in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-31-2005, 04:45 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube