Applicable to:
- Plesk for Linux
Symptoms
-
Website inaccessible with the following error:
CONFIG_TEXT: Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. - A website on Magento is inaccessible with the error:
CONFIG_TEXT: ERR_TOO_MANY_REDIRECTS
-
Website name contains upper-case letters and it is using Apache + PHP-FPM.
-
The following error can be found in
/var/www/vhosts/example.com/logs/error_log
:CONFIG_TEXT: [proxy:error] [pid 11255] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /home/httpd/vhosts/system/example.com/php-fpm.sock (*) failed
[proxy_fcgi:error] AH01079: failed to make connection to backend: httpd-UDS, referer: https://example2.com/profiles/ticket/XJ-447-329/conversation - Domain reconfiguration fails:
CONFIG_TEXT: ERR [panel] Apache config generation failed: Template_Exception: mkdir: cannot create directory `/var/www/vhosts/system/Example.com/conf': No such file or directory mktemp: failed to create file via template `/var/www/vhosts/system/Example.com/conf/httpd.conf.XXXXXX': No such file or directory Can not create temporary file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php line: 75 code: 0 mkdir: cannot create directory `/var/www/vhosts/system/Example.com/conf': No such file or directory mktemp: failed to create file via template
Cause
Product issue:
-
#PPPM-4284 "Websites with uppercase letters are not working if they are configured with handler Apache+PHP-FPM"
Fixed in:- Plesk Obsidian 02 July 2018 (fixed as PPP-25110)
Resolution
Workaround
Workaround 1. Log in to Plesk, go to Plesk > Domains > example.com > PHP Settings and change PHP handler to PHP FastCGI or PHP FPM served by nginx.
Workaround 2. Log in to Plesk, recreate or rename the subscription using lowercase letters only. The renaming can be done at Subscriptions > example.com > Domains > Hosting Settings. Since direct renaming will throw the "domain name already exists" error, use the following scheme: example.com - example2.com - example.com.
Comments
8 comments
I've the same problem (random) on domains that have poor traffic (Plesk onyx with 5.6.30)
no uppercase into subscription
@Aniello What is the error in the domain error log?
@Lev
same symptoms reported into this article
@Aniello does changing of hadler type solve the issue?
@Vitality
problem is rando, I can't reproduce bug
however why FPM should have this issue?
@Aniello the possible reasons of such behaviour were decribed in this article . In future updates of Plesk it will be fixed in scope of ternal issue with ID #PPPM-4284
- Change Domain name to: Yourdomainname.com_temp
- Change it back to: yourdomainname.com
Thomas Alexander Pruim You are my hero ! I have so many troubles with user with CAPS in their domain name
Please sign in to leave a comment.