Jump to content

Error 502 while trying to install IP.Nexus

Featured Replies

Posted

Using nginx.

Cloudflare is disabled.

Getting error 502 while trying to install IP.Nexus.

All timeouts are already configured as 300 seconds:

fastcgi_buffers 8 16k;
fastcgi_buffer_size 32k;
fastcgi_read_timeout 300;
fastcgi_connect_timeout 300;
fastcgi_send_timeout 300;
proxy_read_timeout 300;
Error happens immediately after hitting the "Install" button. Which leads me to believe it is not a timeout issue, as on timeout issues usually the browser keeps loading the page until the timeout happens.
Zend Guard is installed as below. Notice the "no value" for the "License Path", as php.ini file has only:
;Zend Guard Loader
zend_extension=/usr/local/php/lib/php/extensions/ZendGuardLoader.so
; Enables loading encoded scripts. The default value is On^M
zend_loader.enable=1
IPB support said they can't help me as this is a server issue.

post-35164-0-29665100-1392131898_thumb.j

  • Author

Access.log:

[my ip] [11/Feb/2014:13:24:54 -0200] "GET /admin/index.php?adsess=a602fab76046d10caae490a1d6b60a7c&app=core&module=applications&section=setup&do=install&app_directory=nexus&app_location=ips HTTP/1.1" 502 568 "http://forum.clubedohardware.com.br/admin/index.php?adsess=a602fab76046d10caae490a1d6b60a7c&app=core&module=applications&section=applications&do=applications_overview" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.107 Safari/537.36"

Error.log:

2014/02/11 13:24:54 [error] 13059#0: *24620 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: [my ip], server: forum.clubedohardware.com.br, request: "GET /admin/index.php?adsess=a602fab76046d10caae490a1d6b60a7c&app=core&module=applications&section=setup&do=install&app_directory=nexus&app_location=ips HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "forum.clubedohardware.com.br", referrer: "http://forum.clubedohardware.com.br/admin/index.php?adsess=a602fab76046d10caae490a1d6b60a7c&app=core&module=applications&section=applications&do=applications_overview"
  • Author

Hum... Syslog shows that PHP is crashing because of Xcache:

Feb 11 09:30:49 forum kernel: [29577146.341969] php-fpm[13022]: segfault at 7fffb4a63d60 ip 00007fdba4e0e55f sp 00007fff9eedc5e0 error 6 in xcache.so[7fdba4df2000+23000]

Will disable Xcache to see if it solves.

  • Author

Yep, disabling Xcache solved the issue. Now I have to investigate on why.

Depending on php version, I believe it has something to do with bug #62205

I have had this issue previously, but it was a timeout issue, and I did have php 5.3.13, have since upgraded to 5.4.24

  • Author

Hum... We are using 5.3.28, and this bug is reported as fixed. I should be upgrading to 5.4 or even 5.5 anyway...

maybe your xcache ram usage limit was too low?

  • Author

Nope. It was a segment fault. The issue was with Zend Guard. Installed IonCube instead and everything works fine now.

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.