The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

BytesLog prevents restart of httpd!

Discussion in 'General Discussion' started by tjfulopp, Mar 19, 2006.

  1. tjfulopp

    tjfulopp Member

    Joined:
    Sep 22, 2005
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Slovakia / Belgium
    Hi,

    Any time I add a new account (domain) CP adds a line looking like

    BytesLog domlogs/fulopp.org-bytes_log

    into httpd.conf for each <VirtualHost ...>

    From then on, the next time I restart Apache (service httpd restart), I get this error:

    Syntax error on line 1131 of /usr/local/apache/conf/httpd.conf:
    Invalid command 'BytesLog', perhaps mis-spelled or defined by a module not included in the server configuration
    /etc/init.d/httpd restart: httpd could not be started


    I always have to go and open httpd.conf and comment out all the BytesLog commands, e.g.

    #BytesLog domlogs/fulopp.org-bytes_log

    Only then I can start Apache again.

    I have been using CP (always latest stable version) for a year now but am still unable to find out how to solve this problem..

    Can you please help, anybody?

    Cheers,

    Tomas
     
  2. dave9000

    dave9000 Well-Known Member

    Joined:
    Apr 7, 2003
    Messages:
    891
    Likes Received:
    1
    Trophy Points:
    16
    Location:
    arkansas
    cPanel Access Level:
    Root Administrator
    use the search function and search for BytesLog.

    This has been discussed many many times on what causes it and how to fix it
     
  3. tjfulopp

    tjfulopp Member

    Joined:
    Sep 22, 2005
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Slovakia / Belgium
    Dave,

    I dearly wish you were a bit more specific.

    Of course I did search the fora for "byteslog" -- but the threads I read were extremely confusing, with many people spending days and nights trying to fix their servers...

    Could you please point me to one thread that has a working, and hopefully a simple, method for fixing this problem? You can be sure you will help other people by doing that.

    Thanks!!

    Tomas
     
  4. dave9000

    dave9000 Well-Known Member

    Joined:
    Apr 7, 2003
    Messages:
    891
    Likes Received:
    1
    Trophy Points:
    16
    Location:
    arkansas
    cPanel Access Level:
    Root Administrator

Share This Page