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 problems

Discussion in 'EasyApache' started by lexiu, Dec 16, 2005.

  1. lexiu

    lexiu Registered

    Joined:
    Dec 13, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    I tried to update apache [add GD support] but after upgrade there was an error:
    Code:
    Waiting for httpd to restart..............finished.
    
    root      1518  0.7  1.3  10604  5876 ?        Ss   10:29   0:00 /usr/local/apache/bin/httpd -DSSL
    
    httpd: [ != HTTP/1..]
    httpd has failed, please contact the sysadmin.
    
    After it i tried to use backuped httpd.conf file - It didn`t work. The last thing, what I did was rebuidling apache using /scripts/easyapache.
    Now I did this:
    Code:
    root@serv [~]# /scripts/restartsrv_apache
    [Fri Dec 16 10:34:43 2005] [warn] NameVirtualHost 67.159.2.142:80 has no VirtualHosts
    /etc/rc.d/init.d/httpd start: httpd started
    
    Which also didn`t help.

    Thanks for a reply.
     
  2. aby

    aby Well-Known Member

    Joined:
    May 31, 2005
    Messages:
    638
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    It show apache as started. What is the status of apache now.. ?
     
  3. lexiu

    lexiu Registered

    Joined:
    Dec 13, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    The problem is, that it is not working. ps aux has output as below:
    Code:
    root      2118  0.0  1.4  15148  6444 ?        Ss   12:07   0:03 /usr/local/apache/bin/httpd -DSSL
    nobody   18734  0.0  1.4  15280  6756 ?        S    14:07   0:00 /usr/local/apache/bin/httpd -DSSL
    nobody   18985  0.0  1.4  15280  6736 ?        S    14:08   0:00 /usr/local/apache/bin/httpd -DSSL
    nobody   19004  0.0  1.4  15260  6616 ?        S    14:08   0:00 /usr/local/apache/bin/httpd -DSSL
    nobody   19006  0.2  1.6  16056  7324 ?        S    14:08   0:00 /usr/local/apache/bin/httpd -DSSL
    nobody   19007  0.0  1.4  15148  6448 ?        S    14:08   0:00 /usr/local/apache/bin/httpd -DSSL
    nobody   19008  0.0  1.4  15148  6448 ?        S    14:08   0:00 /usr/local/apache/bin/httpd -DSSL
    nobody   19019  0.0  1.4  15148  6448 ?        S    14:09   0:00 /usr/local/apache/bin/httpd -DSSL
    root     19023  0.0  0.1   3944   596 pts/0    R+   14:09   0:00 grep httpd
    
    and my website is not responding.
    When I am tailing /usr/local/apache/logs/error_log I get:
    Code:
    [Fri Dec 16 14:17:02 2005] [notice] child pid 20750 exit signal Segmentation fault (11)
    [Fri Dec 16 14:17:03 2005] [notice] child pid 20744 exit signal Segmentation fault (11)
    [Fri Dec 16 14:17:06 2005] [notice] child pid 20745 exit signal Segmentation fault (11)
    [Fri Dec 16 14:17:09 2005] [notice] child pid 20753 exit signal Segmentation fault (11)
    
    I tried to rebuild apache using /scripts/easyapache and Apache upgrade in WHM Both of them didn`t work.
     
  4. aress

    aress Active Member

    Joined:
    May 5, 2004
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    Segmentation faults

    Segmentation faults are sometimes caused by bad ram have your datacenter check your ram.memtest would be able to find it out.
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    ...or it could be as a result of the recent mod_security issues that cause seg faults - if that's the issue mod_security needs to be recompiled/reinstalled.
     
Loading...

Share This Page