Plesk 12.x / Linux :: 502 Bad Gateway After Upgrade On Subscriptions
Sep 27, 2014
After upgrading (i know, i should not do this) from Squeeze to Wheezy i have got a problem with subscriptions.Plesk seems to work, but whein i want do manage a domain/hosting. i just see 502 Bad Gateway nginxClick to expand...
View 7 Replies
ADVERTISEMENT
Jun 25, 2014
Can't add new subscriptions or domains/ subdomain after upgrade. Upgraded to 12.0.18 today and can no longer add domains or subdomains. When I try create a new subscription I get the following error:
New configuration files for the Apache web server were not created due to the errors in configuration templates:
Template processing failed: file = /usr/local/psa/admin/conf/templates/default/domainVhost.php, error =
Template_Exception: No data. file: /usr/local/psa/admin/plib/Template/Processor.php line: 28 code: 0 Previous error: Template_Variable_Exception: No data. file: /usr/local/psa/admin/plib/Template/Variable/AbstractCachedData.php line: 67 code: 0.
Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files.
Trying to generate all configuration files OR generate broken configuration files doesnt work. Still get the same error.
When I try can create a subdomain I get the error:
.............
Error: proftpd-config failed: mktemp: failed to create file via template `/etc/proftpd.d/50-plesk.conf.XXXXXX': No such file or directory
Can not create temporary file
...........
This solution [URL] ..... doesnt work that just says 'ls: cannot access /etc/proftpd.d/: No such file or directory'
I tried yum update proftpd to see if that would do anything but get this...
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* atomic: mir01.syntis.net
193 packages excluded due to repository priority protections
Setting up Update Process
No Match for argument: proftpd
No package proftpd available.
No Packages marked for Update
In plesk, ProFTPD ftpserver is showing as installed.
View 7 Replies
View Related
Aug 18, 2014
I have upgraded from 10 to 12 and now I have "502 Bad Gateway nginx" error. I have atached logas..
View 1 Replies
View Related
Jun 27, 2014
I have upgraded from 11.5 to 12, and now if I try to open Plesk on the port 8443 I have this error:
502 Bad Gateway
nginx
This is the log:
2014/06/27 18:25:13 [crit] 1629#0: *2 connect() to unix:/var/run/sw-engine.sock failed (2: No such file or directory) while connecting to upstream, client: 79.49.206.176, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "87.106.85.233:8443"
View 14 Replies
View Related
May 6, 2015
I seem to be having a strange problem with Plesk 12, after adding about 23 domains, i cant seem to add any more domains.
While adding the domain, it just keeps syncing, and then when i click on the subscriptions i see the domain has been added, but i cannot customise it.
View 3 Replies
View Related
Jun 4, 2014
I want to be able to copy 1000's of files from one subscription to another or rather from one domain to another on the server without having to FTP them each time. Is there a way which this can be done directly in Plesk and avoid the need to ftp the same 1000's of files into each subscription ? FTPing on my connection is really slow and takes 2-3 for each subscription / domain, whereas if I could just FTP to the server once and then copy&paste the files between subscriptions then this would save me a huge amount of time...
View 2 Replies
View Related
Oct 15, 2014
I imported backups in Plesk 12 from Plesk 9.5.4.
I can access 4 out of 5 domains in my subscritions, but one domain dosn't appear in the list.
The 4 working domains are "Default Domain", the one i can't access is "unlimited".
In the list of packages i can click on the number of subscriptions and see the domains, but if click on the 1 unlimited subscription nothing gets listed / no elements found.
The domains is online, but i can't access it with plesk.
View 1 Replies
View Related
Jan 23, 2015
I have migrated User from Confixx 3.3.9 to Plesk and now it works fine.
In the Subscriptions i have disable the Feature Backup for the Costumers, but it dosent take an effect.
So i Turn it on and off again. But there was also no effect.
View 1 Replies
View Related
Jan 22, 2015
Any time I attempt to create a customer, subscription, domain, anything I get the error "The password should be between 5 and 20 characters in length.". The password is exactly like that. On some pages it gives an error to the username I chose and the error just explains what a username is (??)....
The only actual error I've seen is one from creating an account via the command line. It was a PHP error relating to a function having issues with the encoding or something. (I think this is only relating to sending feedback though?)
Error occurred while sending feedback. HTTP code returned: 502 PHP Notice: iconv(): Wrong charset, conversion from `ISO-8859-1' to `UTF-8//TRANSLIT' is not allowed; File: /usr/local/psa/admin/plib/api-common/cu.php, Line: 599
Error occurred while sending feedback. HTTP code returned: 502 PHP Notice: iconv(): Wrong charset, conversion from `ISO-8859-1' to `UTF-8' is not allowed; File: /usr/local/psa/admin/plib/api-common/cu.php, Line: 597..I've tried OpenSuSE 12.3 with Plesk 11.5 and 12 and I'm now on OpenSuSE 13.1 with the latest Plesk 12.
View 3 Replies
View Related
Jun 11, 2015
I've been happily copy databases between subscriptions in Plesk 11.5xx for years but having updated to 12 the feature no longer works.
In the copy database screen when the 'local MySQL server' option is selected in the drop down the 'Copy to existing database' radio button is disabled.
My service provider tells me this is a feature change.
View 2 Replies
View Related
Jul 9, 2015
If you would disable a subscription and reloaded that domain name. You would be redirected to a default subscription. How can i change this default landing page?
View 2 Replies
View Related
Aug 25, 2014
After a migration I did this weekend I mis a couple of the migrated domains in the subscription list. The domains are working great, but I cannot find them in Plesk.
I got this errors in the migration manager:
Info:
The password was generated for user 'Domain Administrator (domain.com)'. New password is 'GA66QgQ'
Warning:
Execution of /opt/psa/admin/plib/api-cli/user.php --create domain.com -owner admin -guid cfa43606-e8b0-444c-a005-660984840498 -cname Domain Administrator (domain.com) -passwd '' -status disabled -domain-admin true -email '' -external-email true -role Domain Administrator (domain.com) -country NL -legacy-user false -subscription-name domain.com -ignore-nonexistent-options failed with return code 1.
Stderr is
Error during user creation: Owner with id 1 has not subscription with id 69
Warning: domain "domain.com"
Execution of /opt/psa/admin/bin/backup_restore_helper --restore-legacy-dlu domain.com -dlu-info /opt/psa/PMM/tmp/deployer_legacy_dluIrjcWa -ignore-nonexistent-options failed with return code 1.
Stderr is
Unable to create Account object: Account: unable to select: no such row in the tableClick to expand...
View 1 Replies
View Related
Oct 13, 2014
I got a new Server with Plesk 12.0.8 (old one has 11.5.30). Now I have to migrate all Subscriptions of the old System into the new one.
I tested it with one item and all time I get this warning:
Warning:SSL certificate "default certificate" Execution of /opt/psa/admin/plib/api-cli/certificate.php --create default certificate -cert-file /opt/psa/PMM/tmp/pmm-cert-GzVcei -key-file /opt/psa/PMM/tmp/pmm-privkey-PgXbaU -print-signature -admin -ignore-nonexistent-options failed with return code 1. Stderr is Unable to create certificate "default certificate": Unable to set the private key: Probably, the private key format is invalid.
View 2 Replies
View Related
Jun 25, 2015
I have a Plesk 12.0.18 on Centos Server. All subscriptions works fine, but one subscription have a domain with this problem.
When i change the domain prefix to "www.mydomain.com" or to "mydomain.com", this still stuck to "Waiting...".
When this happens, the rest of the server still works fine, but will not let me make any changes to the rest of subscriptions.
I try to edit the apache vhosts, but this looks fine.
View 3 Replies
View Related
Jan 29, 2015
I have a 'Service Plan' which has 270 subscriptions associated with it. When I navigate to 'Service Plans' page, underneath my plan it reads "Unable to sync subscriptions with the service plan" along with a yellow exclamation mark.
If I go into the plan there is another message near the "Update & Sync" button stating that syncing will take time and therefore be run in the background. When I click the "Update & Sync" button nothing appears to happen. If I then click on the plan again, as if to edit the settings I get the following "Warning: Subscriptions are currently syncing with the service plan. Please wait until the sync process is finished." and it prevents me from accessing the plan settings.
If I wait a while, I can eventually get into the plan settings again, which should mean that the Update & Sync has completed. However the "Unable to sync subscriptions with the service plan" warning is still present under my custom plan on the 'Service Plans' page and if I navigate to a subscription to check if it has been updated it hasn't.
If I change the subscription plan to another plan and then change it back to my original plan again, then the changes are reflected. But this is obviously a workaround.
Why doesn't the "Update & Sync" button do as it should?
Why is my plan "Unable to sync subscriptions with the service plan"?
View 2 Replies
View Related
Sep 19, 2014
today we notice that all subscriptions on Plesk when we access phpmyadmin has access to all databases,it was a Plesk update that can be done this ?
I don't remember to update anything during this days to this happen.
View 1 Replies
View Related
Oct 30, 2014
Today at 12.50 pm my (ubuntu 14.04.1 LTS) server running plesk 12.0.18 suddenly stopped serving websites. Any attempts to access a webpage on any vhost returned the 502 bad gateway using Nginx error messsage.When I looked at the nginx logs, I found messages like:
2014/10/30 14:48:00 [error] 3099#0: *101 connect() failed (111:
Connection refused) while connecting to upstream, client: m.m.m.m, server: , request: "GET /server-status HTTP/1.0", upstream: URL....
Restarting apache & nginx (/etc/init.d/apache2 restart & /etc/init.d/nginx restart) made no difference and I had to reboot to restore http access.
Strangely if I browsed with port 7080 specified (i.e. http://n.n.n.n:7080), this worked fine for all vhosts, so apache (which I believe is listening on this port while nginx listens on port 80) is working fine - nginx is just not able to pass stuff to it?
View 15 Replies
View Related
Jun 17, 2015
this is a fresh Plesk 12 installation on a Dedicated Server, on Debian 6. I haven't installed a License key yet.When i tried to run MIgration Manager, the loading was taking forever. Also, when i try to enter Webserver Configurations Troubleshooter, i get 502 Bad Gateway nginx error.In the /var/log/sw-cp-server/error_log i get this error:
Code:
2015/06/17 11:42:47 [error] 3918#0: *52 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: A.B.C.D, server: , request: "GET /modules/configurations-troubleshooter/index.php/index/list HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "X.X.X.X:8443", referrer: "https://X.X.X.X:8443/admin/module/list?context=modules"
When i try to insert a Plesk License, i also get this error:
Code:
2015/06/17 10:29:17 [error] 5643#0: *81 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: A.B.C.D., server: , request: "POST /server/
key_upload.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "X.X.X.X:8443", referrer: "https://X.X.X.X:8443/server/key_upload.php"
I followed this KB article 118757 but no luck. Also, the server resources are at the lowest usage and there is >2 TB disk space available.
View 2 Replies
View Related
Jun 23, 2015
We have a problem with a magento website. Often (perhaps when we use administration), we have the message "502 Bad Gateway nginx".
We have added server instructions in Plesk Nginx:
proxy_buffers 16 16k;
proxy_buffer_size 32k;
fastcgi_buffer_size 32k;
fastcgi_buffers 16 12k;
But we have still the problem.
We have tried :
[URL] ....
And
[URL] ....
Without results...
The log file say:
[client x.x.x.x] client denied by server configuration: /var/www/vhosts/domain.com/httpdocs/app/etc/local.xml
x.x.x.x is the website IP.
View 4 Replies
View Related
Apr 9, 2015
Getting this error on the customer, domain and subscriptions pages on Plesk 11.5 update 5.
Running CentOS 5.9
View 1 Replies
View Related
Jul 2, 2014
When i open the page i get the error: "502 Bad Gateway"with strace i get the following error:
Code:
connect(14, {sa_family=AF_FILE, path="/var/run/mysqld/mysqld.sock"}, 110) = 0
setsockopt(14, SOL_IP, IP_TOS, [8], 4) = -1 EOPNOTSUPP (Operation not supported)
setsockopt(14, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
System: Debian 7.5
Mysql: 5.6.19
Plesk: 12.0.18
View 6 Replies
View Related
Jan 14, 2015
I have a server with the latest version of plesk and centos.
The main site is Articoli Promozionali
Until now kept on the server active both apache and nginx.
Tonight I tried to disable apache leaving only nginx.
That raises the error: 502 bad gateway NGINX at all sites on that server.
To use nginx i need to keep active apache?
What can cause that error?
View 1 Replies
View Related
Aug 13, 2014
Yesterday I've upgraded the server to Plesk 12.0.18. After the upgrade, a WHMCS install has stopped working.
The only error logs where I found errors is the proxy_error_log. It contains this kind of lines (for the 502 error):
2014/08/13 08:13:45 [error] 2918#0: *400 upstream prematurely closed connection while reading response header from upstream, client: XX.XX.XX.XX, server: XXXXXXX.COM, request: "GET /knowledgebase.php HTTP/1.1", upstream: "http://XX.XX.XX.XX:7080/knowledgebase.php", host: "xxxxxxxxx.com"
View 9 Replies
View Related
Jul 21, 2014
i have plesk panel 12 ... in the last few days there was a automatically update from plesk for my strato v-server.
After this update i got the message: 502 Bad GateWay - nginx when I will connect to my plesk login ...
all websites etc works fine but i can't login ...
View 5 Replies
View Related
Jan 10, 2015
Recently I've tested the usage of domain keys on my plesk 12 server. The feature works without problems. I'm wondering however if it's possible to activate the domain keys by a service plan or subscription model. If not, for all my domains (65) I've to activate them manually and for each domain iIll create in the future I have to activate it too.
View 6 Replies
View Related
Oct 7, 2013
Plesk 11.5.30 all latest updated installed is used with Power-User view on an Ubuntu 12.04 LTS 64 Bit system.
The Plesk Interface is working well in general. But if the customer clicks on "Webspaces" -> Add Webspace they run in a:
[URL] ....
Browser:
502 Bad Gateway
nginx
To try to fix it with:
/usr/local/psa/admin/bin/nginxmng --disable
/usr/local/psa/admin/sbin/httpdmng --reconfigure-all
/etc/init.d/apache2 restart
/etc/init.d/ngnix restart ( does not work anyway since the customer is not using it ) -> ngnix_enable=no
Which did not work ( ngnix is and was not active )
In the log /var/log/sw-cp-server/error.log
we can see:
[error] 1936#0: *180 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 84.177.142.220, server: , request: "GET /smb/account/create-subscription HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "server:8443", referrer: "https://server:8443/smb/account"
View 12 Replies
View Related
Dec 10, 2013
I have a problem with "502 Bad Gateway" errore when I'm trying to create a new subscription.
Here my logfile:
/var/log/sw-cp-server/error_log:
2013/12/10 12:47:03 [error] 11827#0: *100 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: XX.XXX.XX.XXX, server: , request: "POST /admin/subscription/create HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "xxxxxxxxxxxxx.xx:8443", referrer: "https://xxxxxxxxxxxxx.xx:8443/admin/subscription/create"Click to expand...
View 8 Replies
View Related
Mar 12, 2015
Since we switched to Plesk 12 and activated nginx the problem reoccurs reliably on every domain change.
As soon as a customer creates a new domain or alias and Apache restarts nginx delivers 502 errors for maybe 10 seconds. After that everything is fine again.
The system is Debian 6.0.10 with Plesk 12.0.18 Update #38
That might not be a problem in small environments, but with >100 domains the timeout is annoying enough for customers to pick up the phone.
Adding this to /etc/sw-cp-server/config did not do the trick.
http {
fastcgi_buffers 32 32k;
fastcgi_buffer_size 64k;
fastcgi_read_timeout 600;
fastcgi_send_timeout 600;
}
View 3 Replies
View Related
May 28, 2015
After yesterday autoupdate (to Plesk 12.0.18 Update 48) admin area shows:
502 Bad Gateway
nginx
While navigating to Tools & Settings:
ERROR: Zend_Controller_Exception: SQLSTATE[HY000] [2002] Connection refused#0 /usr/local/psa/admin/externals/Zend/Db/Adapter/Pdo/Mysql.php(109): Zend_Db_Adapter_Pdo_Abstract->_connect()
#1 /usr/local/psa/admin/externals/Zend/Db/Adapter/Abstract.php(459):
[Code]....
View 1 Replies
View Related
Dec 4, 2014
this is my first thread because a big Problem after Plesk update from 10.2 to 12.0.8.
Always i got a bad gateway when i try to reach https://domain:8443
The only mistake i cam see is after /usr/local/psa/admin/sbin/httpdmng --reconfigure-all
is
root@xxxxxxx:~# /usr/local/psa/admin/sbin/httpdmng --reconfigure-all.
sw-engine: /usr/include/libboost-plesk-1.54.0/boost/interprocess/mapped_region.hpp:820: void boost::interprocess::mapped_region:riv_close(): Assertion `ret == 0' failed.
Aborted
View 14 Replies
View Related
Jul 26, 2014
We are running Plesk 12 (latest version) on openSuse 13.1. The web server is nginx as a proxy in front of Apache. We are running into a 502 Bad Gateway nginx error when trying to send data from a simple form to a php script.
The log shows: upstream prematurely closed connection while reading response header from upstream
It seems that Plesk does not configure nginx properly as some pages, especially pages that are accessed via https have broken headers. The headers of a page that is displaying
HTTP/1.1 400 Bad Request =>
Server => nginx
Date => Sat, 26 Jul 2014 09:53:13 GMT
Content-Type => text/html
Content-Length => 166
Connection => close
View 2 Replies
View Related