Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    May 2006
    Posts
    23

    Default apache update problem

    when i try to update apache from Whm.
    it gives following error...



    /etc/rc.d/init.d/httpd start: httpd could not be started

    Attempting to restart httpd

    Waiting for httpd to restart....
    .
    .
    .
    .
    .
    .
    .
    .
    .
    .
    finished.




    and in the end apache failed..
    sir tell me where is problem... how to fix it.

  2. #2
    Member
    Join Date
    Jan 2005
    Location
    Earth
    Posts
    1,050

    Default

    I suggest you to update apache from shell. Login to server as root and execute the following script :-
    ]# /scripts/easyapache
    Select 5th option and wait till the execution completes.

    You may get the error, "httpd failed. Contact sysadmin." In this case just do the following :-
    service httpd stop
    service httpd start

    If apache won't start, execute the command :-
    service httpd configtest
    and paste the output.

  3. #3
    Member
    Join Date
    May 2006
    Posts
    23

    Default

    this is the error which i've faced

    Syntax error on line 149 of /usr/local/apache/conf/httpd.conf:
    module access_module is built-in and can't be loaded

  4. #4
    Member
    Join Date
    Jan 2005
    Location
    Earth
    Posts
    1,050

    Default

    I haven't had faced such an issue before but just give it a try.

    Login to server and try the following :-
    cd /usr/local/apache/conf/
    mv httpd.conf httpd.conf.bak
    and then update apache with the steps given in the previous post.

    If you face any major problems with this solution, do the following and you will be back to your current state and will have to search for another solution :-
    cd /usr/local/apache/conf/
    rm -f httpd.conf
    mv httpd.conf.bak httpd.conf

    IMP :- Do remember to take the backup of your current httpd.conf file.

  5. #5
    Member
    Join Date
    May 2006
    Posts
    23

    Default

    Quote Originally Posted by Shekhar
    I haven't had faced such an issue before but just give it a try.

    Login to server and try the following :-
    cd /usr/local/apache/conf/
    mv httpd.conf httpd.conf.bak
    and then update apache with the steps given in the previous post.

    If you face any major problems with this solution, do the following and you will be back to your current state and will have to search for another solution :-
    cd /usr/local/apache/conf/
    rm -f httpd.conf
    mv httpd.conf.bak httpd.conf

    IMP :- Do remember to take the backup of your current httpd.conf file.
    -
    -
    -
    -
    -
    -

    thank you thank you thank you so much sir,

    your provided method solve my problem

    sir thanx

  6. #6
    Registered User
    Join Date
    May 2006
    Posts
    4

    Default

    I tried this fix, and, YAY, apache restarted... but now all my websites have the default "There is no website configured at this address" message.

    How do I get my sites back?


    EDIT: Oh, and, another thing... in WHM, there are no more accounts set up. At all.
    Last edited by Indyhouse; 07-10-2006 at 09:57 AM.

  7. #7
    Member
    Join Date
    Jan 2005
    Location
    Earth
    Posts
    1,050

    Default

    What were the errors you have received before trying the above steps ? Have you created the backup of the httpd.conf file before making the changes ?

    Check the VirtualHost entry for the domains in httpd.conf file. Also what exactly you mean by "in WHM, there are no more accounts set up. At all." ?

Similar Threads & Tags
Similar threads

  1. Problem after Apache Update
    By cPanelDavidG in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 09-11-2008, 03:51 PM
  2. Apache update problem
    By rajesh_ in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 09-04-2007, 11:55 AM
  3. Problem with Apache update
    By nemeek in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-13-2006, 07:10 PM
  4. Update Apache Problem (Urgent!!)
    By Mysteerie in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 03-24-2005, 09:55 AM
  5. Apache update problem
    By hst in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-20-2002, 09:55 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube