503 error

Discussion in 'Install/Configuration' started by DoM, May 12, 2011.

  1. DoM

    DoM New Member

    Hello,
    we are using ls 4.1 64bit + cPanel.

    One our customer use Joomla and he receive 503 error.

    No .htaccess file are present in his document root

    2011-05-13 00:35:25.910 [INFO] [x.x.x.x:63684-0#APVH_xxx.xxx.xxx] connection to [/tmp/lshttpd/APVH_xxx.xxx.xxx_Suphp5.sock] on request #0, confirmed, 1, associated process: 195279, running: 1, error: Connection reset by peer!
    2011-05-13 00:35:25.911 [INFO] Remove pid: 195279, exitcode: 129
    2011-05-13 00:35:25.973 [INFO] Remove pid: 195177, exitcode: 0
    2011-05-13 00:35:26.128 [INFO] [x.x.x.x:63684-0#APVH_xxx.xxx.xxx] connection to [/tmp/lshttpd/APVH_xxx.xxx.xxx_Suphp5.sock] on request #0, confirmed, 1, associated process: 195283, running: 1, error: Connection reset by peer!
    2011-05-13 00:35:26.128 [NOTICE] [x.x.x.x:63684-0#APVH_xxx.xxx.xxx] Max retries has been reached, 503!
    2011-05-13 00:35:26.128 [INFO] Remove pid: 195283, exitcode: 129
    2011-05-13 00:35:26.128 [NOTICE] [x.x.x.x:63684-0#APVH_xxx.xxx.xxx] oops! 503 Service Unavailable
    2011-05-13 00:35:26.128 [NOTICE] [x.x.x.x:63684-0#APVH_x.x.x.x] Content len: 0, Request line: 'GET /Joomla/ HTTP/1.1'
    2011-05-13 00:35:26.128 [INFO] [x.x.x.x:63684-0#APVH_xxx.xxx.xxx] File not found [/home/xxxxxx/public_html/503.shtml]
    2011-05-13 00:35:26.184 [INFO] [x.x.x.x:63685-0#APVH_xxx.xxx.xxx] File not found [/home/xxxxxx/public_html/404.shtml]

    Where can we check info about ?


    Waiting for your reply

    Regards
  2. webizen

    webizen New Member

    1. check stderr.log for any related errors.
    2. is joomla working under apache (with no .htaccess in docroot)?
    3. is matching php built in LSWS?
  3. DoM

    DoM New Member

    Hello.

    1) I do not see neither find stderr.log. I just checked error_log file.
    2) Joomla is working with Apache
    3) php is matching ( 5.3.6 ).


    Waiting for your reply

    Regards
  4. webizen

    webizen New Member

    disable opcode cache if any.
  5. DoM

    DoM New Member

    No apc or eaccelerator or similar.

    Same problem for gallery 3 too.


    Waiting for your reply

    Regards
  6. webizen

    webizen New Member

    enable DEBUG logging in lsws (admin console -> configuration -> server -> log -> server log). this should generate more info to help troubleshoot the 503 error.

    Log Level => DEBUG
    Debug Level => HIGH
  7. DoM

    DoM New Member

    Hello,
    no particular news when set to debug, high level.

    I see this on one another website:

    2011-05-18 10:22:42.344 [INFO] [x.x.x.x:56073-0#APVH_xxx.xxx] connection to [/tmp/lshttpd/APVH_xxx.xxx_Suphp.sock.995] on request #0, confirmed, 1, associated process: 899216, running: 0, error: Connection reset by peer!

    2011-05-18 10:22:42.344 [NOTICE] [x.x.x.x:56073-0#APVH_xxx.xxx] Max retries has been reached, 503!

    Also no .htaccess files are present.

    What to do ?


    Waiting for your reply

    Regards
  8. DoM

    DoM New Member

    If i try to execute from command line index.php like: "php -e index.php" i obtain:

    php -e index.php
    Segmentation fault (core dumped)

    If i try to read core dump i obtain:

    gdb /usr/local/bin/php core.98918
    GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-32.el5_6.2)
    Copyright (C) 2009 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law. Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "x86_64-redhat-linux-gnu".
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/>...
    Reading symbols from /usr/local/bin/php...done.
    Reading symbols from /lib64/libcrypt.so.1...(no debugging symbols found)...done.
    Loaded symbols for /lib64/libcrypt.so.1
    Reading symbols from /opt/xslt/lib/libexslt.so.0...done.
    Loaded symbols for /opt/xslt/lib/libexslt.so.0
    Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done.
    Loaded symbols for /lib64/libdl.so.2
    Reading symbols from /lib64/libm.so.6...(no debugging symbols found)...done.
    Loaded symbols for /lib64/libm.so.6
    Reading symbols from /lib64/libexpat.so.0...(no debugging symbols found)...done.
    Loaded symbols for /lib64/libexpat.so.0
    Reading symbols from /opt/tidy/lib/libtidy-0.99.so.0...(no debugging symbols found)...done.
    Loaded symbols for /opt/tidy/lib/libtidy-0.99.so.0
    Reading symbols from /usr/lib64/libaspell.so.15...(no debugging symbols found)...done.
    Loaded symbols for /usr/lib64/libaspell.so.15
    Reading symbols from /usr/lib64/libpspell.so.15...(no debugging symbols found)...done.
    Loaded symbols for /usr/lib64/libpspell.so.15
    Reading symbols from /opt/mhash/lib/libmhash.so.2...done.
    Loaded symbols for /opt/mhash/lib/libmhash.so.2
    Reading symbols from /opt/libmcrypt/lib/libmcrypt.so.4...done.
    Loaded symbols for /opt/libmcrypt/lib/libmcrypt.so.4
    Reading symbols from /usr/lib64/libltdl.so.3...(no debugging symbols found)...done.
    Loaded symbols for /usr/lib64/libltdl.so.3
    Reading symbols from /lib64/libssl.so.6...(no debugging symbols found)...done.
    Loaded symbols for /lib64/libssl.so.6
    Reading symbols from /lib64/libcrypto.so.6...(no debugging symbols found)...done.
    Loaded symbols for /lib64/libcrypto.so.6
    Reading symbols from /lib64/libpam.so.0...(no debugging symbols found)...done.
    Loaded symbols for /lib64/libpam.so.0
    Reading symbols from /usr/lib64/libfreetype.so.6...(no debugging symbols found)...done.
    Loaded symbols for /usr/lib64/libfreetype.so.6
    Reading symbols from /usr/lib64/libX11.so.6...(no debugging symbols found)...done.
    Loaded symbols for /usr/lib64/libX11.so.6
    Reading symbols from /usr/lib64/libXpm.so.4...(no debugging symbols found)...done.
    Loaded symbols for /usr/lib64/libXpm.so.4
    Reading symbols from /usr/lib64/libpng12.so.0...(no debugging symbols found)...done.
    Loaded symbols for /usr/lib64/libpng12.so.0
    Reading symbols from /usr/lib64/libjpeg.so.62...(no debugging symbols found)...done.
    Loaded symbols for /usr/lib64/libjpeg.so.62
    Reading symbols from /usr/lib64/libbz2.so.1...(no debugging symbols found)...done.
    Loaded symbols for /usr/lib64/libbz2.so.1
    Reading symbols from /opt/pcre/lib/libpcre.so.0...(no debugging symbols found)...done.
    Loaded symbols for /opt/pcre/lib/libpcre.so.0
    Reading symbols from /lib64/librt.so.1...(no debugging symbols found)...done.
    Loaded symbols for /lib64/librt.so.1
    Reading symbols from /lib64/libresolv.so.2...(no debugging symbols found)...done.
    Loaded symbols for /lib64/libresolv.so.2
    Reading symbols from /lib64/libnsl.so.1...(no debugging symbols found)...done.
    Loaded symbols for /lib64/libnsl.so.1
    Reading symbols from /usr/lib64/libgssapi_krb5.so.2...(no debugging symbols found)...done.
    Loaded symbols for /usr/lib64/libgssapi_krb5.so.2
    Reading symbols from /usr/lib64/libkrb5.so.3...(no debugging symbols found)...done.
    Loaded symbols for /usr/lib64/libkrb5.so.3
    Reading symbols from /usr/lib64/libk5crypto.so.3...(no debugging symbols found)...done.
    Loaded symbols for /usr/lib64/libk5crypto.so.3
    Reading symbols from /lib64/libcom_err.so.2...(no debugging symbols found)...done.
    Loaded symbols for /lib64/libcom_err.so.2
    Reading symbols from /opt/curlssl/lib/libcurl.so.4...(no debugging symbols found)...done.
    Loaded symbols for /opt/curlssl/lib/libcurl.so.4
    Reading symbols from /usr/lib64/libidn.so.11...(no debugging symbols found)...done.
    Loaded symbols for /usr/lib64/libidn.so.11
    Reading symbols from /usr/lib64/libmysqlclient.so.16...(no debugging symbols found)...done.
    Loaded symbols for /usr/lib64/libmysqlclient.so.16
    Reading symbols from /lib64/libpthread.so.0...(no debugging symbols found)...done.
    Loaded symbols for /lib64/libpthread.so.0
    Reading symbols from /usr/lib64/libnetsnmp.so.10...(no debugging symbols found)...done.
    Loaded symbols for /usr/lib64/libnetsnmp.so.10
    Reading symbols from /lib64/libwrap.so.0...(no debugging symbols found)...done.
    Loaded symbols for /lib64/libwrap.so.0
    Reading symbols from /opt/xslt/lib/libxslt.so.1...done.
    Loaded symbols for /opt/xslt/lib/libxslt.so.1
    Reading symbols from /opt/xml2/lib/libxml2.so.2...done.
    Loaded symbols for /opt/xml2/lib/libxml2.so.2
    Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done.
    Loaded symbols for /lib64/libc.so.6
    Reading symbols from /lib64/libz.so.1...(no debugging symbols found)...done.
    Loaded symbols for /lib64/libz.so.1
    Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
    Loaded symbols for /lib64/ld-linux-x86-64.so.2
    Reading symbols from /usr/lib64/libstdc++.so.6...(no debugging symbols found)...done.
    Loaded symbols for /usr/lib64/libstdc++.so.6
    Reading symbols from /lib64/libgcc_s.so.1...(no debugging symbols found)...done.
    Loaded symbols for /lib64/libgcc_s.so.1
    Reading symbols from /lib64/libaudit.so.0...(no debugging symbols found)...done.
    Loaded symbols for /lib64/libaudit.so.0
    Reading symbols from /usr/lib64/libXau.so.6...(no debugging symbols found)...done.
    Loaded symbols for /usr/lib64/libXau.so.6
    Reading symbols from /usr/lib64/libXdmcp.so.6...(no debugging symbols found)...done.
    Loaded symbols for /usr/lib64/libXdmcp.so.6
    Reading symbols from /usr/lib64/libkrb5support.so.0...(no debugging symbols found)...done.
    Loaded symbols for /usr/lib64/libkrb5support.so.0
    Reading symbols from /lib64/libkeyutils.so.1...(no debugging symbols found)...done.
    Loaded symbols for /lib64/libkeyutils.so.1
    Reading symbols from /lib64/libselinux.so.1...(no debugging symbols found)...done.
    Loaded symbols for /lib64/libselinux.so.1
    Reading symbols from /lib64/libsepol.so.1...(no debugging symbols found)...done.
    Loaded symbols for /lib64/libsepol.so.1
    Reading symbols from /usr/local/IonCube/ioncube_loader_lin_5.2.so...(no debugging symbols found)...done.
    Loaded symbols for /usr/local/IonCube/ioncube_loader_lin_5.2.so
    Reading symbols from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so...(no debugging symbols found)...done.
    Loaded symbols for /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
    Reading symbols from /usr/local/lib/php/extensions/no-debug-non-zts-20060613/suhosin.so...done.
    Loaded symbols for /usr/local/lib/php/extensions/no-debug-non-zts-20060613/suhosin.so
    Reading symbols from /usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo_mysql.so...done.
    Loaded symbols for /usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo_mysql.so
    Reading symbols from /usr/local/lib/php/extensions/no-debug-non-zts-20060613/imagick.so...done.
    Loaded symbols for /usr/local/lib/php/extensions/no-debug-non-zts-20060613/imagick.so
    Reading symbols from /usr/lib64/libMagickWand.so.1...done.
    Loaded symbols for /usr/lib64/libMagickWand.so.1
    Reading symbols from /usr/lib64/libMagickCore.so.1...done.
    Loaded symbols for /usr/lib64/libMagickCore.so.1
    Reading symbols from /usr/lib64/libtiff.so.3...(no debugging symbols found)...done.
    Loaded symbols for /usr/lib64/libtiff.so.3
    Reading symbols from /usr/lib64/libfontconfig.so.1...(no debugging symbols found)...done.
    Loaded symbols for /usr/lib64/libfontconfig.so.1
    Reading symbols from /usr/lib64/libXext.so.6...(no debugging symbols found)...done.
    Loaded symbols for /usr/lib64/libXext.so.6
    Reading symbols from /usr/lib64/libSM.so.6...(no debugging symbols found)...done.
    Loaded symbols for /usr/lib64/libSM.so.6
    Reading symbols from /usr/lib64/libICE.so.6...(no debugging symbols found)...done.
    Loaded symbols for /usr/lib64/libICE.so.6
    Reading symbols from /usr/lib64/libgomp.so.1...(no debugging symbols found)...done.
    Loaded symbols for /usr/lib64/libgomp.so.1
    Reading symbols from /usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo.so...done.
    Loaded symbols for /usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo.so
    Reading symbols from /usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo_sqlite.so...done.
    Loaded symbols for /usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo_sqlite.so
    Reading symbols from /usr/local/lib/php/extensions/no-debug-non-zts-20060613/sqlite.so...done.
    Loaded symbols for /usr/local/lib/php/extensions/no-debug-non-zts-20060613/sqlite.so
    Reading symbols from /lib64/libnss_files.so.2...(no debugging symbols found)...done.
    Loaded symbols for /lib64/libnss_files.so.2

    warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fff6f5fd000
    Core was generated by `php index.php'.
    Program terminated with signal 11, Segmentation fault.
    #0 0x0000003e0fa72a18 in _int_malloc () from /lib64/libc.so.6


    What's wrong ?

    Waiting for your reply

    Regards
  9. NiteWave

    NiteWave Administrator

    in gdb, run "bt", the output?
  10. DoM

    DoM New Member

    Output is really long and it repeat itself.

    I will paste a part:

    (gdb) bt
    #0 0x0000003e0fa72a18 in _int_malloc () from /lib64/libc.so.6
    #1 0x0000003e0fa746df in _int_realloc () from /lib64/libc.so.6
    #2 0x0000003e0fa753e2 in realloc () from /lib64/libc.so.6
    #3 0x000000000067fd0a in virtual_file_ex (state=0x7fff6ebaa220, path=0x8b166e0 "/home/user2616/public_html/ndxz-studio/lib/lang.php", verify_path=0, use_realpath=1) at /home/cpeasyapache/ls.src/php-5.2.17/TSRM/tsrm_virtual_cwd.c:656
    #4 0x0000000000687788 in expand_filepath_ex (filepath=0x8b166e0 "/home/user2616/public_html/ndxz-studio/lib/lang.php", real_path=0x7fff6ebae270 "", relative_to=<value optimized out>, relative_to_len=<value optimized out>) at /home/cpeasyapache/ls.src/php-5.2.17/main/fopen_wrappers.c:666
    #5 0x0000000000687d95 in php_check_specific_open_basedir (basedir=0x8d327e0 "/usr/bin/", path=0x8b166e0 "/home/user2616/public_html/ndxz-studio/lib/lang.php") at /home/cpeasyapache/ls.src/php-5.2.17/main/fopen_wrappers.c:112
    #6 0x00000000006880c4 in php_check_open_basedir_ex (path=0x8b166e0 "/home/user2616/public_html/ndxz-studio/lib/lang.php", warn=1) at /home/cpeasyapache/ls.src/php-5.2.17/main/fopen_wrappers.c:247
    #7 0x000000000060ca2f in php_stat (filename=0x8b166e0 "/home/user2616/public_html/ndxz-studio/lib/lang.php", filename_length=<value optimized out>, type=15, return_value=0x8d327b8) at /home/cpeasyapache/ls.src/php-5.2.17/ext/standard/filestat.c:753
    #8 0x000000000060d8a4 in zif_file_exists (ht=<value optimized out>, return_value=0x8d327b8, return_value_ptr=<value optimized out>, this_ptr=<value optimized out>, return_value_used=<value optimized out>) at /home/cpeasyapache/ls.src/php-5.2.17/ext/standard/filestat.c:1065
    #9 0x00002aebd568defc in suhosin_execute_internal (execute_data_ptr=0x7fff6ebb1170, return_value_used=1) at /home/cpeasyapache/src/suhosin/suhosin-0.9.32.1/execute.c:1673
    #10 0x00002aebd542c783 in ?? () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
    #11 0x00002aebd5487075 in ?? () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
    #12 0x00002aebd5487325 in ?? () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
    #13 0x00000000006e41f5 in ZEND_USER_OPCODE_SPEC_HANDLER (execute_data=0x3e0fd539e0) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:617
    #14 0x00000000006e559c in execute (op_array=0x8b42ad0) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
    #15 0x00002aebd548790f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
    #16 0x00002aebd568e45d in suhosin_execute_ex (op_array=0x8b42ad0, zo=0, dummy=0) at /home/cpeasyapache/src/suhosin/suhosin-0.9.32.1/execute.c:585
    #17 0x00002aebd542c933 in ?? () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
    #18 0x00002aebd5487075 in ?? () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
    #19 0x00002aebd5487325 in ?? () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
    #20 0x00000000006e41f5 in ZEND_USER_OPCODE_SPEC_HANDLER (execute_data=0x3e0fd539e0) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:617
    #21 0x00000000006e559c in execute (op_array=0x8b43020) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
    #22 0x00002aebd548790f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
    #23 0x00002aebd568e45d in suhosin_execute_ex (op_array=0x8b43020, zo=0, dummy=0) at /home/cpeasyapache/src/suhosin/suhosin-0.9.32.1/execute.c:585
    #24 0x00000000006e5e91 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fff6ebb2410) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
    #25 0x00000000006e559c in execute (op_array=0x8b42ad0) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
    #26 0x00002aebd548790f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
    #27 0x00002aebd568e45d in suhosin_execute_ex (op_array=0x8b42ad0, zo=0, dummy=0) at /home/cpeasyapache/src/suhosin/suhosin-0.9.32.1/execute.c:585
    #28 0x00002aebd542c933 in ?? () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
    #29 0x00002aebd5487075 in ?? () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
    #30 0x00002aebd5487325 in ?? () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
    #31 0x00000000006e41f5 in ZEND_USER_OPCODE_SPEC_HANDLER (execute_data=0x3e0fd539e0) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:617
    #32 0x00000000006e559c in execute (op_array=0x8b43020) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
    #33 0x00002aebd548790f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
    #34 0x00002aebd568e45d in suhosin_execute_ex (op_array=0x8b43020, zo=0, dummy=0) at /home/cpeasyapache/src/suhosin/suhosin-0.9.32.1/execute.c:585
    #35 0x00000000006e5e91 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fff6ebb36b0) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
    #36 0x00000000006e559c in execute (op_array=0x8b42ad0) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
    #37 0x00002aebd548790f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
    #38 0x00002aebd568e45d in suhosin_execute_ex (op_array=0x8b42ad0, zo=0, dummy=0) at /home/cpeasyapache/src/suhosin/suhosin-0.9.32.1/execute.c:585
    #39 0x00002aebd542c933 in ?? () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
    #40 0x00002aebd5487075 in ?? () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
    #41 0x00002aebd5487325 in ?? () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
    #42 0x00000000006e41f5 in ZEND_USER_OPCODE_SPEC_HANDLER (execute_data=0x3e0fd539e0) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:617
    #43 0x00000000006e559c in execute (op_array=0x8b43020) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
    #44 0x00002aebd548790f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
    #45 0x00002aebd568e45d in suhosin_execute_ex (op_array=0x8b43020, zo=0, dummy=0) at /home/cpeasyapache/src/suhosin/suhosin-0.9.32.1/execute.c:585
    #46 0x00000000006e5e91 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fff6ebb4950) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
    #47 0x00000000006e559c in execute (op_array=0x8b42ad0) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
    #48 0x00002aebd548790f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
    #49 0x00002aebd568e45d in suhosin_execute_ex (op_array=0x8b42ad0, zo=0, dummy=0) at /home/cpeasyapache/src/suhosin/suhosin-0.9.32.1/execute.c:585
    #50 0x00002aebd542c933 in ?? () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
    #51 0x00002aebd5487075 in ?? () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
    #52 0x00002aebd5487325 in ?? () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so





    Waiting for your reply

    Regards
  11. NiteWave

    NiteWave Administrator

    how about comment out ZendOptimizer.so and suhosin in php.ini, restart lsws.
    see if 503 error gone.
  12. DoM

    DoM New Member

    Nothing change.

    Waiting for your reply

    Regards
  13. NiteWave

    NiteWave Administrator

    then current "bt" output ?
  14. DoM

    DoM New Member

    (gdb) bt
    #0 0x0000003e0fa72c13 in _int_malloc () from /lib64/libc.so.6
    #1 0x0000003e0fa746df in _int_realloc () from /lib64/libc.so.6
    #2 0x0000003e0fa753e2 in realloc () from /lib64/libc.so.6
    #3 0x000000000067fd0a in virtual_file_ex (state=0x7fff23603250, path=0x1cfecc08 "/home/user2616/public_html/ndxz-studio/lib/lang.php", verify_path=0, use_realpath=1) at /home/cpeasyapache/ls.src/php-5.2.17/TSRM/tsrm_virtual_cwd.c:656
    #4 0x0000000000687788 in expand_filepath_ex (filepath=0x1cfecc08 "/home/user2616/public_html/ndxz-studio/lib/lang.php", real_path=0x7fff236072a0 "", relative_to=<value optimized out>, relative_to_len=<value optimized out>) at /home/cpeasyapache/ls.src/php-5.2.17/main/fopen_wrappers.c:666
    #5 0x0000000000687d95 in php_check_specific_open_basedir (basedir=0x1d42e958 "/usr/bin/", path=0x1cfecc08 "/home/user2616/public_html/ndxz-studio/lib/lang.php") at /home/cpeasyapache/ls.src/php-5.2.17/main/fopen_wrappers.c:112
    #6 0x00000000006880c4 in php_check_open_basedir_ex (path=0x1cfecc08 "/home/user2616/public_html/ndxz-studio/lib/lang.php", warn=1) at /home/cpeasyapache/ls.src/php-5.2.17/main/fopen_wrappers.c:247
    #7 0x000000000060ca2f in php_stat (filename=0x1cfecc08 "/home/user2616/public_html/ndxz-studio/lib/lang.php", filename_length=<value optimized out>, type=15, return_value=0x1d42e930) at /home/cpeasyapache/ls.src/php-5.2.17/ext/standard/filestat.c:753
    #8 0x000000000060d8a4 in zif_file_exists (ht=<value optimized out>, return_value=0x1d42e930, return_value_ptr=<value optimized out>, this_ptr=<value optimized out>, return_value_used=<value optimized out>) at /home/cpeasyapache/ls.src/php-5.2.17/ext/standard/filestat.c:1065
    #9 0x00000000006e63e2 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fff2360a0f0) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:200
    #10 0x00000000006e559c in execute (op_array=0x1d0180c0) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
    #11 0x00000000006e5e91 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fff2360a490) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
    #12 0x00000000006e559c in execute (op_array=0x1d018610) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
    #13 0x00000000006e5e91 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fff2360b140) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
    #14 0x00000000006e559c in execute (op_array=0x1d0180c0) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
    #15 0x00000000006e5e91 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fff2360b4e0) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
    #16 0x00000000006e559c in execute (op_array=0x1d018610) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
    #17 0x00000000006e5e91 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fff2360c190) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
    #18 0x00000000006e559c in execute (op_array=0x1d0180c0) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
    #19 0x00000000006e5e91 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fff2360c530) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
    #20 0x00000000006e559c in execute (op_array=0x1d018610) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
    #21 0x00000000006e5e91 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fff2360d1e0) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
    #22 0x00000000006e559c in execute (op_array=0x1d0180c0) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
    #23 0x00000000006e5e91 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fff2360d580) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
    #24 0x00000000006e559c in execute (op_array=0x1d018610) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
    #25 0x00000000006e5e91 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fff2360e230) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
    #26 0x00000000006e559c in execute (op_array=0x1d0180c0) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
    #27 0x00000000006e5e91 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fff2360e5d0) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
    #28 0x00000000006e559c in execute (op_array=0x1d018610) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
    #29 0x00000000006e5e91 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fff2360f280) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
    #30 0x00000000006e559c in execute (op_array=0x1d0180c0) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
    #31 0x00000000006e5e91 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fff2360f620) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
    #32 0x00000000006e559c in execute (op_array=0x1d018610) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
    #33 0x00000000006e5e91 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fff236102d0) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
    #34 0x00000000006e559c in execute (op_array=0x1d0180c0) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
    #35 0x00000000006e5e91 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fff23610670) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
    #36 0x00000000006e559c in execute (op_array=0x1d018610) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
    #37 0x00000000006e5e91 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fff23611320) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
    #38 0x00000000006e559c in execute (op_array=0x1d0180c0) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
    #39 0x00000000006e5e91 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fff236116c0) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
    #40 0x00000000006e559c in execute (op_array=0x1d018610) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
    #41 0x00000000006e5e91 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fff23612370) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
    #42 0x00000000006e559c in execute (op_array=0x1d0180c0) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
    #43 0x00000000006e5e91 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fff23612710) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
  15. DoM

    DoM New Member

    Do you have any news about ? Customers notify me this error also on other servers.


    Waiting for your reply

    Regards
  16. NiteWave

    NiteWave Administrator

    does it work under apache ?
  17. DoM

    DoM New Member

    No it does not.

    [Wed May 18 17:59:47 2011] [error] [client x.x.x.x] Premature end of script headers: php5

    Waiting for your reply


    Regards
  18. NiteWave

    NiteWave Administrator

    so it's php script's problem. should report the script's developer.
  19. mistwang

    mistwang LiteSpeed Staff

    Looks like a infinity loop exhausted stack or heap memory. have to be addressed from PHP internally. You should report this bug to php.net

Share This Page