Plesk 11.x / Linux :: Access To CPanel - 502 Bad Gateway Error Nginx On Multiple Domain

Feb 18, 2015

Our server : [URL] .....
plesk v11 (64BITS)

PROBLEM DESCRIPTION

We found 502 Bad Gateway error Nginx on multiple domain "currently troissoeursetunfrere.com is a wordpress site e-commerce" and also malittleboutique.com ecommerce wordpress, possibly to fix this problem we have followed this tutorial " [URL] ....

we perform the following operations:

sudo apt-get remove php5 php5-cgi php5-fpm
sudo apt-get install php5 php5-cgi php5-fpm

Following these operations we lost access to cpanel.

View 3 Replies


ADVERTISEMENT

Plesk 12.x / Linux :: 502 Bad Gateway Error When Use NGINX

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

Plesk 12.x / Linux :: OpenSuse 13.1 - 502 Bad Gateway Nginx Error

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

Plesk 12.x / Linux :: Nginx - 502 Bad Gateway With Every Domain Change

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

Plesk 12.x / Linux :: 502 Bad Gateway Using Nginx

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

Plesk 12.x / Linux :: Bad Gateway Nginx

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

Plesk 12.x / Linux :: 502 Bad Gateway Nginx

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

Plesk 12.x / Linux :: Bad Gateway Nginx After Upgrade

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

Plesk 12.x / Linux :: 502 Bad Gateway - Nginx After Update

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

Plesk 12.x / Linux :: Login Failed With 502 Bad Gateway - Nginx

Feb 27, 2015

Today morning a logged in in plesk without problems and started Fail2Ban and closed it. Now I want logged in and get only 502 bad gateway. All Domains working fine and shell access working fine too.

What happen here? What can I do?

View 1 Replies View Related

Plesk 12.x / Linux :: SSL Sites Receive 502 Bad Gateway When Nginx Is Enabled

Oct 22, 2014

When I turn on nginx for the server I am able to browse non SSL protected sites correctly. I receive a 502 Bad Gateway error on any sites that have an SSL certificate. Is there a fix for this? I have been unable to find one.

I am running Plesk 12 on an Ubuntu server.

View 6 Replies View Related

Plesk 11.x / Linux :: PHP-FPM / Nginx And Multiple Version Of PHP

Dec 17, 2014

I installed Nginx and PHP-FPM through the Plesk Autoinstaller.It works well with the default PHP version installed originally with the CentOS 6 system (5.3.3). I also installed manually following your KB [URL] .... additional versions of PHP. It works well, and I can use those additional versions through the Plesk UI.

Therefore, I was wondering how to use them with PHP-FPM? As when I activate a domain for Nginx with PHP process (PHP-FPM), it switches the PHP version to 5.3.3 and I can't change this parameter.

View 1 Replies View Related

Plesk 12.x / Linux :: Error 502 Bad Gateway After Upgrade

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

Plesk 12.x / Linux :: No Access To AWStats Using Nginx

Oct 8, 2014

Using Plesk 12 on a VPS with Ubuntu 12.04 LTS. In the Web Server Settings, if I select "Process PHP by nginx", then the URL "<domain>/plesk-stat/webstat/" is answered by Nginx with "404 Not Found". Having sniffed around, it seems:

/var/www/vhosts/system/VHOST/statistics/webstat is getting statistics gathered.I can't say if they are complete, or even sensible, but things are happening there.The various Alias and other statements required for access to AWStats via Apache are contained in the Apache config file /var/www /vhosts/system/VHOST/conf/last_httpd.conf..But no equivalent statements are generated in /var/www/vhosts/system/VHOST/conf/last_nginx.conf.

View 2 Replies View Related

Plesk 11.x / Linux :: Creating New Subscription - 502 Bad Gateway Error

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

Plesk 12.x / Linux :: Error 505 Bad Gateway - When Importing SQL Dump Via PHPMyAdmin

May 26, 2015

under Plesk 12.0.18 PHPMyAdmin is failing to import a 3 MB SQL dump of a simple Joomla website. "Error 505 Bad Gateway", it says.It happens with other dumps too, some as small as ~500 KB. The format (SQL or ZIP) of the file uploaded doesn't seem to matter, because the upload itself seems to work; it seems it's the post-processing what is raising the error.

The funny thing is that the import itself seems to work (the contents of the SQL dump are imported), but the error message appears and causes confusion and support requests from our clients./var/log/sw-cp-server/error_log says:

2015/05/15 03:19:31 [error] 10215#0: *5 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: XX.XX. XXX. XXX, server: , request: "POST /domains/databases/phpMyAdmin/import.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "xxxx. xxxxxxx.com:8443", referrer: URL.....To me it sounds like a timeout.

This seems to be a "popular" error among Plesk users, and I have tried this, this and this with no luck.

View 1 Replies View Related

Plesk 12.x / Linux :: Page Not Found / Timeout / 502 Bad Gateway Error Creating Accounts

Jun 22, 2015

As I read, when Plesk and WHMCS are in the same server, you may have 502 bad gateway errors when creating an account through WHMCS..Page not Found/Timeout/502 Bad Gateway error creating accounts with Plesk 10+..By default Plesk 10 and above performs a forced restart of apache when an account is created or suspended which causes WHMCS to lose connection to the server, and if your WHMCS is on the same server, you will also lose connection to WHMCS at the same time.

In order to resolve this please refer to the following knowledgebase article for instructions on configuring Plesk to perform a graceful restart instead: URL..

But when I activate nginx in Plesk the 502 bad Gateway problem comes back.Is there an option to activate Nginx graceful restart in Plesk?

View 4 Replies View Related

Plesk 12.x / Linux :: Error On Enabling Nginx

May 20, 2015

I wanted to activate nginx on my server als describes on [URL] ...

Installing was no problem, but when i try to enable nginx, I always get errors:

/usr/local/psa/admin/sbin/nginxmng -e
[2015-05-20 10:42:36] ERR [util_exec] proc_close() failed
Error occured while sending feedback. HTTP code returned: 502
[2015-05-20 10:42:37] ERR [util_exec] proc_close() failed

[Code] ....

View 7 Replies View Related

Plesk 12.x / Linux :: ERROR IP Nginx After UPDATE

Mar 18, 2015

how is it possible that after an update my main site is down? This site: www.orderhosting.it has plesk Panel and I have 20 sites. They work perfectly but my main site is off. I think there is an error in the configuration because:

[root@orderhosting ~]# grep -r 199.99.36.73 /etc/nginx/
[root@orderhosting ~]#

This is strange.Error log does not report any errors, only this: [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?

View 7 Replies View Related

Plesk 11.x / Linux :: Error When Changing Nginx Configuration

Jun 5, 2014

I have following problem when I try to cange the configuration file for Nginx in Plesk.

Details:

- Using Wordpress
- vServer
- PHP is handled through Nginx
- Memcached is enabled

To use the caching plugin "Cachify" in combination with memcached, the nginx configuration file must be edited. Following config should be used:

Code:

## GZIP
gzip_static on;
## CHARSET
charset utf-8;
## INDEX LOCATION
location / {
error_page 405 = @nocache;

[Code] ....

When I try to save the new config, following error appears:

Invalid nginx configuration: nginx: [emerg] duplicate location "/" in /var/www/vhosts/systemmydomain/conf/vhost_nginx.conf:8 nginx: configuration file /etc/nginx/nginx.conf test failed

How can I use the necessary configuration? I used google before, but some people said, that the server templated needs to be edited?

View 1 Replies View Related

Plesk 12.x / Linux :: Nginx Not Restarting / Reloading On Domain Changes

Nov 4, 2014

I have a Plesk 12.0.18 (Update #22) running on CentOS 6.6 (Final) and I have a very irritating issue with nginx.

Anytime a customer creates a domain and/or subdomain everything is registered and going wel except that nginx is not restarted/reloaded to reflect the changes and I have to restart nginx manually.

I cannot find anything that causes this, no obvious errors in the logs and or errors in the UI.

View 5 Replies View Related

Plesk 12.x / Linux :: Enable / Disable Nginx Per Domain

Feb 24, 2015

Is it possible to control if nginx is active on a per domain basis? If so, how do we configure this. If not, how do we disable nginx completely?

View 3 Replies View Related

Plesk 12.x / Linux :: Nginx Domain Conf File Blank?

Feb 2, 2015

I recently needed to make some changes to the domain.conf file at the following path: /etc/nginx/plesk.conf.d/vhosts. When I try to edit the file it just has 3 lines at the top warning me that the changes made here would not persist, while other domain confs have full configs inside.

I am positive that the domain in question is set to use nginx, double checked this, so what gives? Why is the file blank?

View 4 Replies View Related

Plesk 12.x / Linux :: Domain Migration From CPanel 11.42 - PHP Fatal Error

Sep 5, 2014

I trying to migrate a domain from cpanel 11.42 to my new plesk 12 vps.

When i do this i got a error:

PHP Fatal error: Call to a member function getElementsByTagName() on a non-object in /usr/local/psa/admin/plib/backup/Conflicts/Detector.php on line 536

The domain has 3 sub domains, 1 parked domain and several mailboxes.

View 1 Replies View Related

Plesk 12.x / Linux :: Multiple Maillog Error Messages - Postfix

Mar 31, 2015

Plesk 12 is used, latest #MU on CentOS 6.5 final.

Maillog is full of messages like:

Mar 31 14:56:52 hosting plesk sendmail[1177]: _mh_fork(): Error occured during waiting the child process with pid: 1178: No child processes
Mar 31 14:56:52 hosting plesk sendmail[1177]: Error during 'check-quota' handler
Mar 31 14:56:52 hosting plesk sendmail[1177]: Unable to get sender domain by sender mailname

[Code]....

View 1 Replies View Related

Plesk 12.x / Linux :: Multiple IP Address Per Domain In Subscription / Customer Account

Sep 13, 2014

We are looking for a solution to support multible IP's for different domains in one subscription/cusomer Account. Current, we have 4 IP's as shared. the Customer can choose under "Web Hosting Access" , which IP he wants to use.

This setting effect all domains in his Account. So it is not possible to set domain1.tld to e.g. IP 1.1.1.1 and domain2.tld e.g. to 2.2.2.2

We like to offer the cusomers one cusomer account with multible IP's

View 3 Replies View Related

Plesk 12.x / Linux :: CentOS 5.5 - Resetting Access And Error Log

Apr 25, 2015

I am running CentOS 5.5, Plesk 12.

Access_log and error_log are being rotated around 10AM daily for my server.

But for busy days access_log and error_log gets very big to inspect. Is there any way that I can manually reset the logs for the time being but without changing the daily rotation time?

View 1 Replies View Related

Plesk 12.x / Linux :: Log File To Access The Error Messages

Mar 17, 2015

This is our first installation of Plesk Panel.

In our root directory have the Logs folder, but do not know how to find the log file to access the error messages that may be generated one.

View 1 Replies View Related

Plesk 12.x / Linux :: Adding Multiple PHP Version / Error Reading Data From FastCGI Server

Jun 6, 2014

I'm trying to add multiple PHP version (current version installed: 5.5.13), using the official documentation. I always get 500 Internal Server Error after switching to the new version, with the following error_log content:

Code:
[Sat Jun 07 00:49:35 2014] [warn] [client XXX.XXX.XXX.XXX] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Sat Jun 07 00:49:35 2014] [error] [client XXX.XXX.XXX.XXX] Premature end of script headers: index.php
Here you can view phpinfo() obtained running php54-cgi index.php from the command line. Same script doesn't work as FastCGI.

I'm trying to add PHP 5.4.29. Here is how I compiled it:

Code:

./configure
--prefix=/usr/local/php54
--with-bz2
--with-config-file-path=/usr/local/php54/etc
--with-config-file-scan-dir=/usr/local/php54/etc/php.d
--with-curl

[code]....

Switching back to PHP 5.5.13 and the script works fine (a simple phpinfo() output).How can I try to understand/debug what's wrong with the installation?

View 5 Replies View Related

Plesk 11.x / Linux :: General Error 1030 - Can't Access Panel

Apr 11, 2015

the Error Code is :SQLSTATE[HY000]: General error: 1030 Got error -1 from storage engine Knowledge base says I am out of storage but I am not .But the output of command df -h returns this:

Code:
Filesystem Size Used Avail Use% Mounted on
/dev/vda3 825G 673G 110G 86% /
tmpfs 9.8G 0 9.8G 0% /dev/shm
/dev/vda1 477M 59M 393M 13% /boot

Restarting sw-cp-server doesn't shows any error.However , I was getting some problems with mysql socket and I wasn't able to use the plesk still then currently a custom installation of phpmyadmin lets me access the databases but I can't access any of my websites either (Wordpress). Apache returns 504 Gateway Error .

View 1 Replies View Related

Plesk 11.x / Linux :: Syntax Error Or Access Violation - 1286 Unknown Table Engine InnoDB

Sep 18, 2014

I've been with my Strato VServer and it installed Plesk on Linux a big problem.

I coming no longer in the Plesk Dashboard and the following code appears:

Syntax error or access violation: 1286 Unknown table engine 'InnoDB'

Here are the contents of my my.cnf

#
# The MySQL database server configuration file.
#
# You can copy this to one of:
# - "/etc/mysql/my.cnf" to set global options,
# - "~/.my.cnf" to set user-specific options.
#
# One can use all long options that the program supports.

[Code] .....

View 8 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved