Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 10 of 10
  1. #1
    Member cLub2Share's Avatar
    Join Date
    Oct 2003
    Posts
    114

    Default do u think this is the end ?

    I think i did somethign wrong when i'm editing httpd.conf



    know i can't restart the http and all our site is down

    here is when i try to restart the server

    /etc/rc.d/init.d/httpd restart: httpd not running, trying to start
    Syntax error on line 1070 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/rc.d/init.d/httpd restart: httpd could not be started

    is there anyway i can fix this problem

  2. #2
    Member gupi's Avatar
    Join Date
    Apr 2004
    Posts
    125

    Default

    Maybe mod_byteslog is not loaded into apache.
    Check if httpd.conf has a line stating this.
    Stefaniu -gupi- Criste
    Hangar Hosting - a safe place for your Romanian online business

  3. #3
    Member cLub2Share's Avatar
    Join Date
    Oct 2003
    Posts
    114

    Default

    Quote Originally Posted by gupi
    Maybe mod_byteslog is not loaded into apache.
    Check if httpd.conf has a line stating this.

    No i dont find it in httpd.conf

  4. #4
    Member gupi's Avatar
    Join Date
    Apr 2004
    Posts
    125

    Default

    Start editing your httpd.conf file:
    Code:
    nano /usr/local/apache/conf/httpd.conf
    (if nano fails, try pico)

    You should have a zone in httpd.conf where there are a lot of "LoadModule" statements
    Make sure you have a line like the following:
    Code:
    LoadModule bytes_log_module      libexec/mod_log_bytes.so
    Go down more, and find the zone with a lot of "AddModule" statements
    Make sure you have a line like the following:
    Code:
    AddModule mod_log_bytes.c
    Save (F3) and close (Ctrl+X) the file.

    Restart Apache:
    Code:
    /scripts/restartsrv_apache

    Hope it helps.
    Stefaniu -gupi- Criste
    Hangar Hosting - a safe place for your Romanian online business

  5. #5
    Member cLub2Share's Avatar
    Join Date
    Oct 2003
    Posts
    114

    Default hello

    Hello


    I try to search for this and i dont find any such word i'm not sure what wrong i'm doing

    IS there anyway i can make the httpd.conf from alll over again ? and what command for this .. please help on this because all site are down : (

  6. #6
    Member
    Join Date
    Dec 2001
    Posts
    746

    Default

    Quote Originally Posted by phpbbfm
    Hello


    I try to search for this and i dont find any such word i'm not sure what wrong i'm doing

    IS there anyway i can make the httpd.conf from alll over again ? and what command for this .. please help on this because all site are down : (

    Go into WHM -> Backup -> Configuration File Rollback. Roll back Apache. Wash hands, rinse, repeat as necessary.

  7. #7
    Member
    Join Date
    Jan 2005
    Posts
    1,880

    Default

    /scripts/rebuildhttpdconf might be useful as well.

  8. #8
    Member dave9000's Avatar
    Join Date
    Apr 2003
    Location
    arkansas
    Posts
    891
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    /etc/rc.d/init.d/httpd restart: httpd not running, trying to start
    Syntax error on line 1070 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/rc.d/init.d/httpd restart: httpd could not be started
    quick way to get back online

    edit httpd.conf with pico,vi or whatever editor your most familier with

    as the error says goto line 1070 and comment out the BytesLog line and then restart apache

    this will get you back online and give you time to fix the actual problem which is as stated above mod_byteslog is not being loaded into the apache

    use the above instructions to re-enable the mod_byteslog module in apache
    Dave Browning
    Intersite Technologies
    Greenbrier Ar
    dave@isitetech.com

  9. #9
    Member
    Join Date
    Nov 2005
    Posts
    125

    Default

    That used to come up for me and the reason why, was because I had no HDD space left...

    So check that out just incase...

    Kind regards,

    Josh Crick

    PS. Use proper English next time.
    Shock Hosts
    __________________________________________________
    Simply Hosting. Simply Good. | Quality Web Hosting.

    Sales: Sales@ShockHosts.Net | Support: Support@ShockHosts.Net

    Visit ShockHosts Now!

  10. #10
    Member cLub2Share's Avatar
    Join Date
    Oct 2003
    Posts
    114

    Thumbs up

    Thanks everyone for support ..


    @DaveDark it work !!!!!!!!!!!!!






    Quote Originally Posted by FlamingHostCEO
    PS. Use proper English next time.
    English is not my Primery lang but i try my best when i write something i make the reader to understand what i wrote

Similar Threads & Tags
Similar threads

  1. End date
    By netsen in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-15-2007, 12:51 PM
  2. how to encrypt formmail submissions end-to-end?
    By ShirazDindar in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-20-2007, 05:28 PM
  3. Front End Script?
    By Mibble in forum cPanel Developers
    Replies: 1
    Last Post: 10-12-2005, 08:45 PM
  4. at a dead end!
    By geekhosting in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 06-24-2003, 09:53 AM
  5. yes the end-user
    By jimd in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-21-2002, 10:23 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube