Nginx error the page you are looking for is temporarily unavailable please try again later

I have an issue which I suspect is an NGINX problem. Basically when I try to log on to the site I created I get the folowing error...... the page you are looking for is temporarily unavailable. pl...

I have an issue which I suspect is an NGINX problem. Basically when I try to log on to the site I created I get the folowing error……

the page you are looking for is temporarily unavailable. please try again later.

Has anyone ever come across this before?

asked Jun 1, 2012 at 10:40

user1303594's user avatar

This problem may occur if you have incorrect fastcgi_pass directive in NGINX vhost file.

If you use fastcgi, it should be similar to this: fastcgi_pass 127.0.0.1:9000;

If you use fpm, it should be like this: fastcgi_pass unix:/var/run/php5-fpm.sock;

P.S. It is a one year old question, but Google directs me to this question for this problem. So I decided to write what I found.

answered Aug 2, 2013 at 20:28

MÇT's user avatar

MÇTMÇT

96913 silver badges21 bronze badges

For me it helped to get rid of error on symfony and this vagrant image https://github.com/rlerdorf/php7dev this nginx config:

server {
 listen [::]:80;
 listen 80;

 server_name test;

 root /var/www/default/web;

 charset utf-8;

 index index.php index.html;
 fastcgi_index index.php;
 client_max_body_size 128M;
 location ~ /. { deny all; access_log off; log_not_found off; }

 location ~ ^/(app_dev|config).php(/|$) {
   fastcgi_pass unix:/var/run/php-fpm.sock;
   fastcgi_split_path_info ^(.+.php)(/.*)$;
   include fastcgi_params;

   fastcgi_param  SCRIPT_FILENAME  $realpath_root$fastcgi_script_name;
   fastcgi_param DOCUMENT_ROOT $realpath_root;
 }

 location / {
   try_files $uri /app_dev.php$is_args$args;
 }
}

You need to adjust root, server_name to match your case.

answered Apr 20, 2016 at 14:17

Dariux's user avatar

DariuxDariux

3,8559 gold badges41 silver badges67 bronze badges

I have an issue which I suspect is an NGINX problem. Basically when I try to log on to the site I created I get the folowing error……

the page you are looking for is temporarily unavailable. please try again later.

Has anyone ever come across this before?

asked Jun 1, 2012 at 10:40

user1303594's user avatar

This problem may occur if you have incorrect fastcgi_pass directive in NGINX vhost file.

If you use fastcgi, it should be similar to this: fastcgi_pass 127.0.0.1:9000;

If you use fpm, it should be like this: fastcgi_pass unix:/var/run/php5-fpm.sock;

P.S. It is a one year old question, but Google directs me to this question for this problem. So I decided to write what I found.

answered Aug 2, 2013 at 20:28

MÇT's user avatar

MÇTMÇT

96913 silver badges21 bronze badges

For me it helped to get rid of error on symfony and this vagrant image https://github.com/rlerdorf/php7dev this nginx config:

server {
 listen [::]:80;
 listen 80;

 server_name test;

 root /var/www/default/web;

 charset utf-8;

 index index.php index.html;
 fastcgi_index index.php;
 client_max_body_size 128M;
 location ~ /. { deny all; access_log off; log_not_found off; }

 location ~ ^/(app_dev|config).php(/|$) {
   fastcgi_pass unix:/var/run/php-fpm.sock;
   fastcgi_split_path_info ^(.+.php)(/.*)$;
   include fastcgi_params;

   fastcgi_param  SCRIPT_FILENAME  $realpath_root$fastcgi_script_name;
   fastcgi_param DOCUMENT_ROOT $realpath_root;
 }

 location / {
   try_files $uri /app_dev.php$is_args$args;
 }
}

You need to adjust root, server_name to match your case.

answered Apr 20, 2016 at 14:17

Dariux's user avatar

DariuxDariux

3,8559 gold badges41 silver badges67 bronze badges

I have a vps running Ubuntu+LEMP+Varnish. Everything was fine untill I updated the server software.

Now I am getting «The page you are looking for is temporarily unavailable. Please try again later» on every pages. (Header response is 502)

I tried figure out. and here is what I got while updating.

The following is the difference beteen www.conf:

--- /etc/php5/fpm/pool.d/www.conf       2013-10-22 14:30:39.000000000 +0000
+++ /etc/php5/fpm/pool.d/www.conf.dpkg-new      2014-06-20 00:40:35.000000000 +0000
@@ -30,7 +30,7 @@
 ;                            specific port;
 ;   '/path/to/unix/socket' - to listen on a unix socket.
 ; Note: This value is mandatory.
-listen = /var/run/php5-fpm.sock
+listen = 127.0.0.1:9000

 ; Set listen(2) backlog. A value of '-1' means unlimited.
 ; Default Value: 128 (-1 on FreeBSD and OpenBSD)
@@ -40,10 +40,10 @@
 ; permissions must be set in order to allow connections from a web server. Many
 ; BSD-derived systems allow connections regardless of permissions.
 ; Default Values: user and group are set as the running user
-;                 mode is set to 0666
+;                 mode is set to 0660
 ;listen.owner = www-data
 ;listen.group = www-data
-;listen.mode = 0666
+;listen.mode = 0660

Here is the whole terminal activity when the server was upgraded:

login as: demouser
Using keyboard-interactive authentication.
Verification code:
Using keyboard-interactive authentication.
Password:
Welcome to Ubuntu 12.04.4 LTS (GNU/Linux 3.2.0-24-virtual i686)

 * Documentation:  https://help.ubuntu.com/
Last login: Tue Jun 17 08:48:07 2014 from 117.197.66.168
demouser@Titan:~$ varnishstat
demouser@Titan:~$ sudo apt-get update
[sudo] password for demouser:
Hit http://apt-longview.linode.com precise Release.gpg
Hit http://apt-longview.linode.com precise Release
Hit http://security.ubuntu.com precise-security Release.gpg
Hit http://apt-longview.linode.com precise/main i386 Packages
Hit http://archive.ubuntu.com precise Release.gpg
Hit http://archive.ubuntu.com precise-updates Release.gpg
Ign http://apt-longview.linode.com precise/main TranslationIndex
Hit http://security.ubuntu.com precise-security Release
Hit http://archive.ubuntu.com precise Release
Hit http://archive.ubuntu.com precise-updates Release
Hit http://security.ubuntu.com precise-security/main i386 Packages
Hit http://archive.ubuntu.com precise/main i386 Packages
Ign http://apt-longview.linode.com precise/main Translation-en_US
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Ign http://apt-longview.linode.com precise/main Translation-en
Hit http://apt.newrelic.com newrelic Release.gpg
Hit http://security.ubuntu.com precise-security/main Translation-en
Hit http://archive.ubuntu.com precise/universe i386 Packages
Hit http://archive.ubuntu.com precise/main TranslationIndex
Hit http://archive.ubuntu.com precise/universe TranslationIndex
Hit http://archive.ubuntu.com precise-updates/main i386 Packages
Hit http://archive.ubuntu.com precise-updates/universe i386 Packages
Hit http://archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://archive.ubuntu.com precise/main Translation-en
Hit http://archive.ubuntu.com precise/universe Translation-en
Hit http://archive.ubuntu.com precise-updates/main Translation-en
Hit http://apt.newrelic.com newrelic Release
Hit http://archive.ubuntu.com precise-updates/universe Translation-en
Hit http://apt.newrelic.com newrelic/non-free i386 Packages
Ign http://apt.newrelic.com newrelic/non-free TranslationIndex
Hit http://repo.varnish-cache.org precise Release.gpg
Hit http://repo.varnish-cache.org precise Release
Ign http://apt.newrelic.com newrelic/non-free Translation-en_US
Ign http://apt.newrelic.com newrelic/non-free Translation-en
Hit http://repo.varnish-cache.org precise/varnish-4.0 i386 Packages
Ign http://repo.varnish-cache.org precise/varnish-4.0 TranslationIndex
Ign http://repo.varnish-cache.org precise/varnish-4.0 Translation-en_US
Ign http://repo.varnish-cache.org precise/varnish-4.0 Translation-en
Reading package lists... Done
demouser@Titan:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  apt apt-utils libapt-inst1.4 libapt-pkg4.12 libssl-dev libssl-doc
  libssl1.0.0 libxml2 openssl php5-common php5-curl php5-fpm php5-gd
  php5-mysql
14 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 10.4 MB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.ubuntu.com/ubuntu/ precise-updates/main libapt-pkg4.12 i386                                                                                         0.8.16~exp12ubuntu10.17 [942 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ precise-updates/main apt i386 0.8.16~exp                                                                                        12ubuntu10.17 [1,105 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ precise-updates/main libssl-doc all 1.0.                                                                                        1-4ubuntu5.16 [1,033 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ precise-updates/main libssl-dev i386 1.0                                                                                        .1-4ubuntu5.16 [1,425 kB]
Get:5 http://archive.ubuntu.com/ubuntu/ precise-updates/main libssl1.0.0 i386 1.                                                                                        0.1-4ubuntu5.16 [1,007 kB]
Get:6 http://archive.ubuntu.com/ubuntu/ precise-updates/main libapt-inst1.4 i386                                                                                         0.8.16~exp12ubuntu10.17 [103 kB]
Get:7 http://archive.ubuntu.com/ubuntu/ precise-updates/main libxml2 i386 2.7.8.                                                                                        dfsg-5.1ubuntu4.9 [662 kB]
Get:8 http://archive.ubuntu.com/ubuntu/ precise-updates/main php5-mysql i386 5.3                                                                                        .10-1ubuntu3.12 [73.3 kB]
Get:9 http://archive.ubuntu.com/ubuntu/ precise-updates/main php5-curl i386 5.3.                                                                                        10-1ubuntu3.12 [27.9 kB]
Get:10 http://archive.ubuntu.com/ubuntu/ precise-updates/main php5-gd i386 5.3.1                                                                                        0-1ubuntu3.12 [37.5 kB]
Get:11 http://archive.ubuntu.com/ubuntu/ precise-updates/universe php5-fpm i386                                                                                         5.3.10-1ubuntu3.12 [3,134 kB]
Get:12 http://archive.ubuntu.com/ubuntu/ precise-updates/main php5-common i386 5                                                                                        .3.10-1ubuntu3.12 [163 kB]
Get:13 http://archive.ubuntu.com/ubuntu/ precise-updates/main apt-utils i386 0.8                                                                                        .16~exp12ubuntu10.17 [192 kB]
Get:14 http://archive.ubuntu.com/ubuntu/ precise-updates/main openssl i386 1.0.1                                                                                        -4ubuntu5.16 [519 kB]
Fetched 10.4 MB in 2s (3,871 kB/s)
Preconfiguring packages ...
(Reading database ... 35787 files and directories currently installed.)
Preparing to replace libapt-pkg4.12 0.8.16~exp12ubuntu10.16 (using .../libapt-pk                                                                                        g4.12_0.8.16~exp12ubuntu10.17_i386.deb) ...
Unpacking replacement libapt-pkg4.12 ...
Setting up libapt-pkg4.12 (0.8.16~exp12ubuntu10.17) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 35787 files and directories currently installed.)
Preparing to replace apt 0.8.16~exp12ubuntu10.16 (using .../apt_0.8.16~exp12ubun                                                                                        tu10.17_i386.deb) ...
Unpacking replacement apt ...
Processing triggers for man-db ...
Setting up apt (0.8.16~exp12ubuntu10.17) ...
gpg: key 437D05B5: "Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>"                                                                                         not changed
gpg: key FBB75451: "Ubuntu CD Image Automatic Signing Key <cdimage@ubuntu.com>"                                                                                         not changed
gpg: key C0B21F32: "Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubunt                                                                                        u.com>" not changed
gpg: key EFE21092: "Ubuntu CD Image Automatic Signing Key (2012) <cdimage@ubuntu                                                                                        .com>" not changed
gpg: Total number processed: 4
gpg:              unchanged: 4
(Reading database ... 35787 files and directories currently installed.)
Preparing to replace libssl-doc 1.0.1-4ubuntu5.15 (using .../libssl-doc_1.0.1-4u                                                                                        buntu5.16_all.deb) ...
Unpacking replacement libssl-doc ...
Preparing to replace libssl-dev 1.0.1-4ubuntu5.15 (using .../libssl-dev_1.0.1-4u                                                                                        buntu5.16_i386.deb) ...
Unpacking replacement libssl-dev ...
Preparing to replace libssl1.0.0 1.0.1-4ubuntu5.15 (using .../libssl1.0.0_1.0.1-                                                                                        4ubuntu5.16_i386.deb) ...
Unpacking replacement libssl1.0.0 ...
Processing triggers for man-db ...
Setting up libssl1.0.0 (1.0.1-4ubuntu5.16) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 35787 files and directories currently installed.)
Preparing to replace libapt-inst1.4 0.8.16~exp12ubuntu10.16 (using .../libapt-in                                                                                        st1.4_0.8.16~exp12ubuntu10.17_i386.deb) ...
Unpacking replacement libapt-inst1.4 ...
Preparing to replace libxml2 2.7.8.dfsg-5.1ubuntu4.8 (using .../libxml2_2.7.8.df                                                                                        sg-5.1ubuntu4.9_i386.deb) ...
Unpacking replacement libxml2 ...
Preparing to replace php5-mysql 5.3.10-1ubuntu3.11 (using .../php5-mysql_5.3.10-                                                                                        1ubuntu3.12_i386.deb) ...
Unpacking replacement php5-mysql ...
Preparing to replace php5-curl 5.3.10-1ubuntu3.11 (using .../php5-curl_5.3.10-1u                                                                                        buntu3.12_i386.deb) ...
Unpacking replacement php5-curl ...
Preparing to replace php5-gd 5.3.10-1ubuntu3.11 (using .../php5-gd_5.3.10-1ubunt                                                                                        u3.12_i386.deb) ...
Unpacking replacement php5-gd ...
Preparing to replace php5-fpm 5.3.10-1ubuntu3.11 (using .../php5-fpm_5.3.10-1ubu                                                                                        ntu3.12_i386.deb) ...
Unpacking replacement php5-fpm ...
Preparing to replace php5-common 5.3.10-1ubuntu3.11 (using .../php5-common_5.3.1                                                                                        0-1ubuntu3.12_i386.deb) ...
Unpacking replacement php5-common ...
Preparing to replace apt-utils 0.8.16~exp12ubuntu10.16 (using .../apt-utils_0.8.                                                                                        16~exp12ubuntu10.17_i386.deb) ...
Unpacking replacement apt-utils ...
Preparing to replace openssl 1.0.1-4ubuntu5.15 (using .../openssl_1.0.1-4ubuntu5                                                                                        .16_i386.deb) ...
Unpacking replacement openssl ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for man-db ...
Setting up libssl-doc (1.0.1-4ubuntu5.16) ...
Setting up libssl-dev (1.0.1-4ubuntu5.16) ...
Setting up libapt-inst1.4 (0.8.16~exp12ubuntu10.17) ...
Setting up libxml2 (2.7.8.dfsg-5.1ubuntu4.9) ...
Setting up php5-common (5.3.10-1ubuntu3.12) ...
Setting up php5-fpm (5.3.10-1ubuntu3.12) ...

Configuration file `/etc/php5/fpm/pool.d/www.conf'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** www.conf (Y/I/N/O/D/Z) [default=N] ?
update-rc.d: warning: php5-fpm stop runlevel arguments (0 1 6) do not match LSB                                                                                         Default-Stop values (none)
Setting up php5-mysql (5.3.10-1ubuntu3.12) ...
Setting up php5-curl (5.3.10-1ubuntu3.12) ...
Setting up php5-gd (5.3.10-1ubuntu3.12) ...
Setting up apt-utils (0.8.16~exp12ubuntu10.17) ...
Setting up openssl (1.0.1-4ubuntu5.16) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
demouser@Titan:~$ sudo nano /etc/php5/fpm/pool.d/www.conf
demouser@Titan:~$ sudo poweroff
demouser@Titan:~$
Broadcast message from demouser@Titan
        (/dev/pts/0) at 17:20 ...

The system is going down for power off NOW!

These updates are related with: http://www.ubuntu.com/usn/usn-2254-1/

  1. Главная
  2. Блоги
  3. Блог Айдар

Главные вкладки

  • Просмотр(активная вкладка)
  • Реакции

Аватар пользователя Айдар
Айдар


4 декабря 2015 в 14:41


Добрый день!

Гугл не помогает. Ошибка возникает, только когда перевожу сайт в maintenance mode:

«An error occurred.
Sorry, the page you are looking for is currently unavailable.
Please try again later.
If you are the system administrator of this resource then you should check the error log for details.
Faithfully yours, nginx.»

Error.log нжинса молчит по этому поводу, версия php — 5.5.9.
Есть какие-то мысли, из-за чего это может быть и где ещё что можно посмотреть?

  • Блог
  • Войдите или зарегистрируйтесь, чтобы отправлять комментарии

Комментарии

Аватар пользователя dropout
dropout


4 декабря 2015 в 16:04




А лог друпала что говорит?

Аватар пользователя dropout
dropout


4 декабря 2015 в 16:04




А лог друпала что говорит?

Аватар пользователя Айдар
Айдар


4 декабря 2015 в 16:18




Dblog в админке? Ничего тоже.

Аватар пользователя chilic
chilic


4 декабря 2015 в 17:24




Гляньте в конфиге nginx параметр:
fastcgi_intercept_errors

Аватар пользователя Айдар
Айдар


4 декабря 2015 в 17:54




fastcgi_intercept_errors on;
Ну и другие ошибки пишутся в лог.

Аватар пользователя chilic
chilic


4 декабря 2015 в 17:55




Аватар пользователя Айдар
Айдар


4 декабря 2015 в 18:12




Спасибо большое! Помогло.

Загуглил, правильно я понимаю, что выключенный параметр означает, что вместо нжинса друпал будет обрабатывать коды ответа страниц выше 300? И в этом случае друпал (7-ка) же корректно это делает ведь?

Аватар пользователя chilic
chilic


4 декабря 2015 в 18:13




В общем правильно Smile

Аватар пользователя Айдар
Айдар


4 декабря 2015 в 18:27




Понравилась статья? Поделить с друзьями:
  • Nginx error page css
  • Nginx error page 502
  • Nginx error page 403
  • Nginx error log stderr
  • Nginx error log signal process started