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.

Urgent: Apache Down

Discussion in 'EasyApache' started by ctmattice, Sep 21, 2005.

  1. ctmattice

    ctmattice Member

    Joined:
    Nov 4, 2004
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Hi All,

    I've tried serval attempts at getting apache back up. Both from whm and from scripts directory.



    Each time it comes up with

    Invalid command 'BytesLog', perhaps mis-spelled or defined by a module not inclu
    ded in the server configuration


    I've tried all the builds of cpanel both upgrading to edge and back down to stable. I've used the upcp --force command on each script directory rebuild

    Come up with same error.

    Please Help I'm lost

    Thanks in advance
     
  2. easyhoster1

    easyhoster1 Well-Known Member

    Joined:
    Sep 25, 2003
    Messages:
    659
    Likes Received:
    0
    Trophy Points:
    16
    Make sure you backup the file, and run;

    cd /usr/local/cpanel/apache
    /usr/local/apache/bin/apxs -iac mod_log_bytes.c
     
  3. ctmattice

    ctmattice Member

    Joined:
    Nov 4, 2004
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Command throws error

    root@secure [/usr/local/apache/conf]# /usr/local/apache/bin/apxs -iac mod_log_bytes.c

    gcc -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208122 -DUSE_HS
    REGEX -DEAPI -fpic -DSHARED_MODULE -I/usr/local/apache/include -c mod_log_bytes.c
    gcc: mod_log_bytes.c: No such file or directory
    gcc: no input files
    apxs:Break: Command failed with rc=1
    root@secure [/usr/local/apache/conf]#

    Where would the best place to get this module

    Thanks again
     
  4. ctmattice

    ctmattice Member

    Joined:
    Nov 4, 2004
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Apache ok

    Thanks easyhoster1 for the tip.

    Found and fixed the problem.

    Turned out to be a httpd.conf error on the virtual host directive for a restored account.
     
  5. anest

    anest Member

    Joined:
    Sep 18, 2005
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    I have the same problem.
    Every time, when I create new account, it add line BytesLog and apache go down
    After I comment that line, it restart succesfully.
    How I can install that module or cancel to add this line?

    /usr/local/apache/bin/apxs -iac mod_log_bytes.c
    doesn`t help :(

    [/scripts]# /usr/local/apache/bin/apxs -iac mod_log_bytes.c
    gcc -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208122 -DUSE_HSREGEX -DEAPI -fpic -DSHARED_MODULE -I/usr/local/apache/include -c mod_log_bytes.c
    gcc: mod_log_bytes.c: No such file or directory
    gcc: no input files
    apxs:Break: Command failed with rc=1
    [/scripts]#

    Please, anybody!
     
  6. anest

    anest Member

    Joined:
    Sep 18, 2005
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
Loading...

Share This Page