LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > [solved] error 503 gallery

Reply
 
Thread Tools Display Modes
  #1  
Old 12-12-2011, 02:18 AM
DoM DoM is offline
Senior Member
 
Join Date: Sep 2010
Posts: 123
Default [solved] error 503 gallery

Hello,
each time someone try to install gallery (menalto) he obtains error 503:

2011-12-11 22:23:01.040 [INFO] [x.x.x.x:60796-1#APVH_xxx.xxx] connection to [/tmp/lshttpd/APVH_xxx.xxx_Suphp.sock] on request #0, confirmed, 1, associated process: 885136, running: 0, error: Connection reset by peer!
2011-12-11 22:23:01.040 [NOTICE] [x.x.x.x:60796-1#APVH_xxx.xxx] Max retries has been reached, 503!
2011-12-11 22:23:01.040 [INFO] Remove pid: 885136, exitcode: 129
2011-12-11 22:23:01.040 [NOTICE] [x.x.x.x:60796-1#APVH_xxx.xxx] oops! 503 Service Unavailable
2011-12-11 22:23:01.040 [NOTICE] [x.x.x.x:60796-1#APVH_xxx.xxx] Content len: 0, Request line: 'GET /galleriafotografica2/ HTTP/1.1'
2011-12-11 22:23:01.040 [INFO] [x.x.x.x:60796-1#APVH_xxx.xxx] File not found [/home/xxxxxxxx/public_html/503.shtml]


Waiting for your reply

Regards

Last edited by NiteWave; 02-10-2013 at 01:10 AM..
Reply With Quote
  #2  
Old 12-12-2011, 12:05 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
try from command line and see if any error messages
Quote:
INSTALLATION VIA THE WEB:
- Point your web browser at gallery3/installer/ and follow the
instructions.


INSTALLATION FROM THE COMMAND LINE:
- php installer/index.php [-h host] [-u user] [-p pass] [-d dbname]
Reply With Quote
  #3  
Old 12-12-2011, 06:01 PM
DoM DoM is offline
Senior Member
 
Join Date: Sep 2010
Posts: 123
No error if we switch to apache and also if we execute it from command line.


Waiting for your reply

Regards
Reply With Quote
  #4  
Old 12-12-2011, 08:37 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
In our lab, it turns out to be ZendGuardLoader.so, try comment it out in php.ini see if it helps.

We tested PHP 5.3.8 + ZendGuard 5.5.0
Reply With Quote
  #5  
Old 12-13-2011, 12:26 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
filed a bug report at
http://forums.zend.com/viewtopic.php?f=57&t=41933
Reply With Quote
  #6  
Old 03-08-2012, 05:29 PM
craigles craigles is offline
Member
 
Join Date: Jun 2011
Posts: 34
Howdy,

Did anything ever come of this?
Loading ZendGuardLoader.so self destructs the users account, you remove the line and it's fine.

Cheers,
Craig
Reply With Quote
  #7  
Old 02-09-2013, 10:06 PM
kpkammer kpkammer is offline
New Member
 
Join Date: Feb 2013
Posts: 2
Arrow Solution!

To fix this simply edit /system/core/Kohana.php around line 704:
PHP Code:
if ($filename Kohana::find_file($type$file))
{
    
// Load the class
    
require $filename;
}
else
{
    
// The class could not be found
    ###############
    ## BEGIN FIX ##
    ###############
    /* Avoid segmentation fault in Zend Guard (Original: http://blog.teatime.com.tw/1/post/403)
        When ZendGuardLoader is enabled, it will try to load the same class again if does not exist, it will try a random name,
        then segmentation fault.  So, we keep the name first, then, create a dummy class for it. */
    // Only check this if ZendGuardLoader exist
    
if (extension_loaded('Zend Guard Loader')) {
        static 
$last_name '';
        
        
// Reject it first
        
if ($last_name !== $class) {
            
$last_name $class;
            return 
FALSE;
        }
        
// Create dummy one if try again
        
Kohana_Log::add('debug''create dummy class: '.$class);
        eval(
"class $class { }");
    }
    
#############
    ## END FIX ##
    #############
    
return FALSE;

Reply With Quote
  #8  
Old 02-10-2013, 01:11 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,220
thanks for the update. mark as [solved]

related thread:
http://www.litespeedtech.com/support...ead.php?t=5765
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 01:33 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.