0
I installed the Nginx and the HHVM to test the language Hack. Everything perfect, I can program in Hack and PHP using that set.
However, in giving stop
in the Nginx and HHVM and start
in the Apache 2 he casts Erro 503 Service Unavailable
.
In the error log. he launches this:
[Fri Mar 27 16:29:42.300830 2015] [proxy:error] [pid 26561] (111) Connection refused: AH00957: FCGI: Attempt to connect to 127.0.0.1:9000 (*) failed [Fri Mar 27 16:29:42.300853 2015] [proxy_fcgi:error] [pid 26561] [client 127.0.0.1:58766] AH01079: failed to make Connection to backend: 127.0.0.1
Can someone help me?
(Using Ubuntu 14.04)
EDIT: Log and settings as requested in questions: http://pastebin.com/L5LnHKHf
Startin' the Apache /var/log/apache2$ sudo service apache2 start * Starting web server apache2 AH00558: apache2: Could not reliably determine the server’s Fully Qualified Domain name, using 127.0.1.1. Set the 'Servername' Directive globally to Suppress this message *
Open a terminal (CTRL+Alt+T) and type:
netstat -tulpn | grep 9000
what appears on the screen?– stderr
When I’m with Nginx + hhvm:
tcp6 0 0 :::9000 :::* LISTEN 3614/hhvm
– Raul3k
When I start apache2 nothing appears
– Raul3k
[PHP-FPM](sudo service php5-fpm Restart) is not running. Do the following and open the configuration file
gedit /etc/php5/fpm/pool.d/www.conf
, look for a line that starts withLISTEN
and switch tolisten = 127.0.0.1:9000
. Hail. Then execute the command:sudo service php5-fpm restart
. Now try to start Apache again.– stderr
Now you are not running Nginx either, nor open the page. in the error log this:
a duplicate default server for 0.0.0.0:80 in /etc/nginx/sites-enabled/default~:21
– Raul3k
My default configuration file is http://pastebin.com/zhFjEPzT
– Raul3k
NOTE: I don’t have PHP-FPM installed, I didn’t have to run it before and after the installation, but now neither of the two Servers (apache giving the error informed and Nginx+hhvm does not start)
– Raul3k
Oh yes, so disregard the above message and undo it. I’ll keep looking for something about.
– stderr
@Raul3k, upload the Apache and Nginx configuration files, and the apache log that theoretically is
access_log
. I have some servers in production, including Ubuntu and Debian, with Nginx and apache. With the files I debug here for you. D– Fernando Cordeiro
@Fernandocordeiro Thank you, the link with all the files is at the end of the question, thank you.
– Raul3k