• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Domains not reachable: Service Temporarily Unavailable

A

AtifQ

Guest
Hi,

Since upgrading gracefully from 10.1.1 to 10.2.0, for some reason ALL domains return a 503 error (see below). The primary domain works fine, but subdomains on that premier don't work either.

Webmail can be accessed, etc, it's just the top level domains and any subdomains that return this error.

The other day I noticed it was working fine again, but as soon as I logged in to Plesk, all domains started cropping up the 503 message.

503 Service Temporarily Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

Web Server at 0

Any ideas?
 
Sorry IgorG, forgot to attach logs.

Here are a few common lines in /var/log/httpd/error_log
[Wed May 11 10:26:07 2011] [debug] fcgid_proc_unix.c(354): mod_fcgid: call /var/www/vhosts/mydomain.com/httpdocs/index.php with wrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper
suexec policy violation: see suexec log for more details
[Wed May 11 10:26:07 2011] [info] mod_fcgid: server mydomain.com:/var/www/vhosts/mydomain.com/httpdocs/index.php(20649) started
[Wed May 11 10:26:07 2011] [info] mod_fcgid: process /var/www/cgi-bin/cgi_wrapper/cgi_wrapper(20648) exit(server exited), terminated by calling exit(), return code: 120

Here is a common line from /var/log/httpd/suexec.log
[2011-05-11 11:17:23]: uid: (10003/username) gid: (505/505) cmd: cgi_wrapper
[2011-05-11 11:17:23]: target uid/gid (10003/505) mismatch with directory (0/0) or program (0/0)

Here is a common line from /var/log/sw-cp-server/error_log
2011-05-08 17:25:36: (connections.c.299) SSL: 1 error:140940E5:SSL routines:SSL3_READ_BYTES:ssl handshake failure

Where mydomain.com is a masked string of the actual domain, and username is a masked string of the respective domain user.
 
Usually, to reconfigure the domains, I remove all httpd include files from the domains conf folders.

I then run /usr/local/psa/admin/bin/httpdmng --reconfigure-server but returns:
2011-05-11T11:33:48+01:00 ERR (3): Apache config (13051100280.58366500) generation failed: httpd: Syntax error on line 210 of /etc/httpd/conf/httpd.conf: Syntax error on line 5 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Syntax error on line 61 of /usr/local/psa/admin/conf/generated/13051100280.58366500_server.include: Syntax error on line 5 of /usr/local/psa/admin/conf/ip_vhosts_bootstrap.conf: Could not open configuration file /var/www/vhosts/mydomain.com/conf/13046255690.95010800_httpd_ip_default.include: No such file or directory

httpd: Syntax error on line 210 of /etc/httpd/conf/httpd.conf: Syntax error on line 5 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Syntax error on line 61 of /usr/local/psa/admin/conf/generated/13051100280.58366500_server.include: Syntax error on line 5 of /usr/local/psa/admin/conf/ip_vhosts_bootstrap.conf: Could not open configuration file /var/www/vhosts/mydomain.com/conf/13046255690.95010800_httpd_ip_default.include: No such file or directory

Running /usr/local/psa/admin/bin/httpdmng --reconfigure-all returns:
2011-05-11T11:34:06+01:00 ERR (3): Apache config (13051100460.57632100) generation failed: httpd: Syntax error on line 210 of /etc/httpd/conf/httpd.conf: Syntax error on line 5 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Syntax error on line 61 of /usr/local/psa/admin/conf/generated/13051100460.57632100_server.include: Syntax error on line 5 of /usr/local/psa/admin/conf/ip_vhosts_bootstrap.conf: Could not open configuration file /var/www/vhosts/mydomain.com/conf/13046255690.95010800_httpd_ip_default.include: No such file or directory

httpd: Syntax error on line 210 of /etc/httpd/conf/httpd.conf: Syntax error on line 5 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Syntax error on line 61 of /usr/local/psa/admin/conf/generated/13051100460.57632100_server.include: Syntax error on line 5 of /usr/local/psa/admin/conf/ip_vhosts_bootstrap.conf: Could not open configuration file /var/www/vhosts/mydomain.com/conf/13046255690.95010800_httpd_ip_default.include: No such file or directory

Execution failed.
Command: httpdmng
Arguments: Array
(
[0] => --reconfigure-server
[1] => -no-restart
)

Details: Empty error message from utility.

But now I get this error in Plesk:
Error: New files of configuration for Apache web server were not built due to errors in configuration templates. The detailed error message was e-mailed to you, so please check the e-mail, fix the errors, and click here to retry generating configuration.

Click here returns:
Error: Web server reconfiguration failed: New Apache configuration was not built.
 
Looks like that /usr/sbin/suexec has been overwritten. Try to copy /usr/local/psa/suexec/psa-suexec over /usr/sbin/suexec and restart Apache.
 
I replaced the suexec file, but cannot restart Apache due to the above issue with Apache...

Any help on this?
 
I fixed this by using /usr/local/psa/admin/bin/httpdmng

Not sure why the usual didn't work. But the admin one seemed to do the trick.

Thanks for your help.
 
Back
Top