Jump to content

I Had Fast-Cgi + Opcache + Nginx Installed And Now Store Is Down


Recommended Posts

Can anyone help me with this? This is the message I received from our hosting provider and now our website has a 500 Server Error:

 

We have installed "nginx" as a reverse proxy in your server.

~~~
root@vps [~]# ps aux| grep nginx
root 17018 0.0 0.0 57004 1516 ? Ss 06:00 0:00 nginx: master process /usr/local/sbin/nginx -c /etc/nginx/nginx.conf
nobody 17019 0.0 0.0 58612 3724 ? S 06:00 0:00 nginx: worker process
nobody 17020 0.0 0.0 58612 3720 ? S 06:00 0:00 nginx: worker process
nobody 17021 0.0 0.0 58612 3720 ? S 06:00 0:00 nginx: worker process
nobody 17022 0.0 0.0 58612 3720 ? S 06:00 0:00 nginx: worker process
nobody 17023 0.0 0.0 57004 1816 ? S 06:00 0:00 nginx: cache manager process
~~~

 

We have completed installing "opcache". Following that, we have also changed the php handler to "fastcgi".

++++
root@vps [~]# /usr/local/cpanel/bin/rebuild_phpconf --current
Available handlers: suphp dso fcgi cgi none
DEFAULT PHP: 5
PHP4 SAPI: none
PHP5 SAPI: fcgi
SUEXEC: enabled
RUID2: not installed
root@vps [~]#
root@vps [~]# php -v
PHP 5.4.45 (cli) (built: Feb 4 2016 06:04:24)
Copyright © 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright © 1998-2014 Zend Technologies
with the ionCube PHP Loader v4.7.5, Copyright © 2002-2014, by ionCube Ltd., and
with Zend OPcache v7.0.5, Copyright © 1999-2015, by Zend Technologies
++++

 

Link to comment
Share on other sites

Is this it?

 

2016/02/04 05:24:20 [emerg] 19488#0: bind() to 107.6.27.194:80 failed (98: Address already in use)
2016/02/04 05:24:20 [emerg] 19488#0: bind() to [::]:80 failed (98: Address already in use)
2016/02/04 05:24:20 [emerg] 19488#0: bind() to 107.6.27.194:80 failed (98: Address already in use)
2016/02/04 05:24:20 [emerg] 19488#0: bind() to [::]:80 failed (98: Address already in use)
2016/02/04 05:24:20 [emerg] 19488#0: bind() to 107.6.27.194:80 failed (98: Address already in use)
2016/02/04 05:24:20 [emerg] 19488#0: bind() to [::]:80 failed (98: Address already in use)
2016/02/04 05:24:20 [emerg] 19488#0: bind() to 107.6.27.194:80 failed (98: Address already in use)
2016/02/04 05:24:20 [emerg] 19488#0: bind() to [::]:80 failed (98: Address already in use)
2016/02/04 05:24:20 [emerg] 19488#0: bind() to 107.6.27.194:80 failed (98: Address already in use)
2016/02/04 05:24:20 [emerg] 19488#0: bind() to [::]:80 failed (98: Address already in use)
2016/02/04 05:24:20 [emerg] 19488#0: still could not bind()
2016/02/04 05:24:27 [emerg] 19686#0: bind() to 107.6.27.194:80 failed (98: Address already in use)
2016/02/04 05:24:27 [emerg] 19686#0: bind() to [::]:80 failed (98: Address already in use)

Link to comment
Share on other sites

@mdekker This is what my hosting provider sent me: Nginx listens to port 80 as a proxy and requests are redirected to port 8081 for Apache.

@bellini13 I contact my hosting provider at the same time as I posted here. I'm not too familiar with how everything works so I was just curious if anyone else had the same issue.

My hosting provider took care of it and everything works again. Our site is loading much faster now.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...