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.

strange apache just started dieing this morning when it'as rebooted..

Discussion in 'EasyApache' started by DWHS.net, Dec 26, 2006.

  1. DWHS.net

    DWHS.net Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,569
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    Also ssl stopped working.

    I tried to re-compile apache but that fails as well.

    The only way to get it up up is to run the zend optimizer installer. But even after that if i restart it apache crashes again untill I re-installed zend.

    Confounded :rolleyes:
     
  2. adept2003

    adept2003 Well-Known Member

    Joined:
    Aug 11, 2003
    Messages:
    283
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    ~ "/(extra|special)/data"
    I'm assuming that you've got good reason to associate the issue with Zend, so I'd suggest your first check would be to ensure you're not running IonCube loader too.
    • Does apache restart with httpd startssl?
    • What's the output from apachectl configtest?
    • Anything in the log files?
    • Any effect by disabling Zend?
     
    #2 adept2003, Dec 26, 2006
    Last edited: Dec 26, 2006
  3. DWHS.net

    DWHS.net Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,569
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    Thanks for the help!

    --Does apache restart with httpd startssl? I can't really tell but the mesaages log says this on the reboot:

    Dec 26 17:10:24 dwhs4 httpd: /etc/rc3.d/S85httpd start: httpd could not be started
    Dec 26 17:10:24 dwhs4 httpd: /etc/rc3.d/S85httpd: line 202: 9444 File size limit exceeded$HTTPD -DSSL
    Dec 26 17:10:24 dwhs4 rc: Starting httpd: failed

    And the ssl log only says this over and over:

    [26/Dec/2006 19:08:39 18406] [info] Server: Apache/1.3.37, Interface: mod_ssl/2.8.28, Library: OpenSSL/0.9.7a
    [26/Dec/2006 19:08:39 18406] [info] Init: 1st startup round (still not detached)
    [26/Dec/2006 19:08:39 18406] [info] Init: Initializing OpenSSL library

    --What's the output from apachectl configtest? Syntax OK

    [*]Anything in the log files? Amazingly no, even when apache crashes it doesn't list anything other then:

    [Tue Dec 26 19:09:16 2006] [notice] Apache/1.3.37 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 PHP-CGI/0.1b configured -- resuming normal operations
    [Tue Dec 26 19:09:16 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
    [Tue Dec 26 19:09:16 2006] [notice] Accept mutex: sysvsem (Default: sysvsem)



    Any effect by disabling Zend? i remove all references to zend in the php.ini file and restarted apache and it still failed. Also the php.ini file does not have any references to ioncube.

    I keep thinking that once i do a reboot the php.ini file gets reverted back to another copy somehow. or maybe this is a bad module.

    It's strange since I didn't change anything, it just happened out of the blue.
     
  4. adept2003

    adept2003 Well-Known Member

    Joined:
    Aug 11, 2003
    Messages:
    283
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    ~ "/(extra|special)/data"
    Ah - seems to make sense now...

    This suggests that your log file is too big. Check /usr/local/apache/logs/ for any huge files ~2GB.

    That would kinda explain why Apache seems to work for a short while before dying
     
  5. DWHS.net

    DWHS.net Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,569
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    Shoot, your a god. it was a domlog ssl file that was over 2 gigs.

    Merry Xmas!
     
  6. ambusv

    ambusv Member

    Joined:
    May 18, 2009
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    File size limit exceeded(core dumped) $HTTPD -DSSL

    1.Check log file size { /usr/local/apache/logs }

    2. #cd /usr/local/apache/logs

    3. # > {max size filename}-----> eg: error_log

    4.enter.
    5.restart apache.

    aMBU
    uNIx tEcH:)
     
Loading...

Share This Page