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.

Apache Update

Discussion in 'EasyApache' started by pyrox, Mar 9, 2006.

  1. pyrox

    pyrox Registered

    Joined:
    Oct 4, 2005
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    In WHM i updated apache and now apache wont start I have tried to restart and reinstall 6 Times i still have the problem. I have also tried with default apache config here is what I see.

    Code:
    Building Apache Config.....Done
    Downloading and compiling apache+modules....
    
    Verifying archive integrity... All good.
    Uncompressing buildapache................................................................................................................................
    Verifying compiler and libs....Verifying installation....wget is installed and is the latest version.
    Gathering header information file(s) from server(s)
    Server: CentOS-3 - Addons
    Server: CentOS-3 - Base
    Server: CentOS-3 - Extras
    Server: CentOS-3 - Updates
    Finding updated packages
    Downloading needed headers
    No actions to take
    ImageMagick is installed and is the latest version.
    ncurses is installed and is the latest version.
    ncurses-devel is installed and is the latest version.
    gettext is installed and is the latest version.
    gdbm is installed and is the latest version.
    gdbm-devel is installed and is the latest version.
    db4 is installed and is the latest version.
    db4-devel is installed and is the latest version.
    patch is installed and is the latest version.
    glibc-kernheaders is installed and is the latest version.
    pam-devel is installed and is the latest version.
    krb5-devel is installed and is the latest version.
    openssl is installed and is the latest version.
    openssl-devel is installed and is the latest version.
    flex is installed and is the latest version.
    bison is installed and is the latest version.
    glibc-devel is installed and is the latest version.
    gcc is installed and is the latest version.
    gcc-c++ is installed and is the latest version.
    libgcc is installed and is the latest version.
    cpp is installed and is the latest version.
    libstdc++ is installed and is the latest version.
    libstdc++-devel is installed and is the latest version.
    libjpeg is installed and is the latest version.
    libjpeg-devel is installed and is the latest version.
    libpng is installed and is the latest version.
    libpng-devel is installed and is the latest version.
    libpng10 is installed and is the latest version.
    libpng10-devel is installed and is the latest version.
    libtiff is installed and is the latest version.
    libtiff-devel is installed and is the latest version.
    XFree86-libs is installed and is the latest version.
    XFree86-devel is installed and is the latest version.
    pspell is installed and is the latest version.
    pspell-devel is installed and is the latest version.
    zlib is installed and is the latest version.
    zlib-devel is installed and is the latest version.
    aspell is installed and is the latest version.
    aspell-devel is installed and is the latest version.
    libtool is installed and is the latest version.
    automake is installed and is the latest version.
    libungif-devel is installed and is the latest version.
    Gathering header information file(s) from server(s)
    Server: CentOS-3 - Addons
    Server: CentOS-3 - Base
    Server: CentOS-3 - Extras
    Server: CentOS-3 - Updates
    Finding updated packages
    Downloading needed headers
    No actions to take
    Done
    Done
    ********************************
    This is buildapache version 10.8.1
    ********************************
    buildapache configured from Web Host Manager
    Apache configured from Web Host Manager!
    /etc/rc.d/init.d/httpd start: httpd could not be started
    Setting /home permissions to 0711......Done
    Setting permissions for.....enserve...will...shoutc...toby...samh...data...privwill...knight...hosting...program...contact...rvadmin...wmail...patmanh...djtez...check...billing...script...email...upk...democom...enhost...habzfm1...radio...moviez3g...habhost...tscp...shutt...habbik...tutorial...thathabb...synitex...whmt...benjiboy...hnews...robsrand...ermm...phstatus...socro...axis...hotelfm...kristan...scullyuk...habomb...forum...forums...boska...sean...habzfm...habzland...djpanel...habbo...website...pyrox...louise...roger...axisdom...modusx...tech...habbay......Done
    Untarring php....Done
    Applying CURL curl_formfree patch
    patching file ext/curl/curl.c
    Hunk #1 succeeded at 590 (offset 45 lines).
    Hunk #2 succeeded at 904 (offset 19 lines).
    
    configure php-4.4.1...(--with-apxs=/usr/local/apache/bin/apxs --prefix=/usr/local --with-xml --enable-bcmath --enable-calendar --enable-ftp --enable-magic-quotes --with-mysqli --with-mysql=/usr --enable-discard-path --with-pear --enable-sockets --enable-track-vars --enable-versioning --with-zlib).... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done
    
    make -j 2 php-4.4.1...(clean).... Done
    
    make -j 2 php-4.4.1....... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done
    
    make php-4.4.1...(install).... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done
    
    /etc/rc.d/init.d/httpd start: httpd could not be started
    
    configure php-4.4.1...(--prefix=/usr --with-xml --enable-bcmath --enable-calendar --enable-ftp --enable-magic-quotes --with-mysqli --with-mysql=/usr --enable-discard-path --with-pear --enable-sockets --enable-track-vars --enable-versioning --with-zlib).... . . . . . . . . . . . . . . . . . . . . . . . . . . Done
    
    make -j 2 php-4.4.1...(clean).... Done
    
    make -j 2 php-4.4.1....... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done
    
    make php-4.4.1...(install).... . . . . . . . . . . . . . . . . Done
    
    initfpsuexec: using apache 1.x support
    PHP version file has been updated to 4.4.1
    Executing /scripts/postbuildapache (if exists)...Done
    /etc/rc.d/init.d/httpd start: httpd could not be started
        
    Attempting to restart httpd 	
    
    Waiting for httpd to restart....
    .
    .
    .
    .
    .
    .
    .
    .
    .
    .
    finished.
    
    
    
    
    httpd status
    
    
    
    
    httpd has failed, please contact the sysadmin.
    
    
    
    
    
    
    
    Build Complete
    
    
    #
    Please help me fix
     
  2. aby

    aby Well-Known Member

    Joined:
    May 31, 2005
    Messages:
    638
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    Did you check the syntax.. any errors it shows ?

    /usr/local/apache/bin/apachectl configtest

    Also please check apache error logs
     
  3. pyrox

    pyrox Registered

    Joined:
    Oct 4, 2005
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    It is telling me ByteSizeLog is an invalid command it was installed in the first Place
     
  4. celliott

    celliott Well-Known Member

    Joined:
    Jan 2, 2006
    Messages:
    460
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    United Kingdom
    I would try using /scripts/easyapache from ssh instead of the integrated WHM feature.
     
  5. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    This won't make any difference. Aby is right; Check the log files for any errors and that will help pinpoint the source of the problem.
     
  6. xidica

    xidica Well-Known Member

    Joined:
    Apr 21, 2005
    Messages:
    63
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Texas
    ByteSizeLog is the problem. Your httpd.conf file references the byteslog module, which you will need to recompile :

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

    That should fix it right up.
     
  7. z3usy

    z3usy Member

    Joined:
    Apr 12, 2005
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    USA
    cPanel Access Level:
    Root Administrator
    I had this same issue just today and that fix worked great! Thanks xidica! :)
     
Loading...

Share This Page