Plesk Automation :: Nginx On Web Nodes?
May 26, 2014Is here any way to get nginx running on the web nodes and be able to manage it from the CP like standalone Plesk servers?
View 3 RepliesIs here any way to get nginx running on the web nodes and be able to manage it from the CP like standalone Plesk servers?
View 3 RepliesI'm testing PPA and have now a questions. How can restrict a subscription to a service node? I have try that over the subscriptions and custom atribute's. That work for the most thinks (Apache/Postfix) but not for MySQL, all customers can by a create to choose the database server (all database servers). How can i customer don't allow to choose the database server?
For a example (web1, mail1 only -> db1) (web2, mail2 only -> db2)
And for the DNS settings to create automaticly a DNS for the database service? (as a sample: db.domain.de -> database service node)....
I can't seem to find if there is a way to specify what hostname is used for a service on a service node. For instance, if one creates a service node named web01, and makes it a DNS service node, is web01 what will be used when creating NS records in zone files, or is there a way to change that?
The ppademo.com site is offline (and was unlicensed again last week).
after learning that server aliases are not available for PPA, we are needing to rename our service nodes. We have looked through the documentation, and did see the ppa.hostname command for the management node but there does not seem to be an equivalent for service nodes.
View 3 Replies View RelatedI'm attempting to run PPA on Azure but I only have one IP to work with, the public IP address. It's not possible to communicate between servers using the internal IP addresses as they are not necessarily on the same sub net. How can I get PPA and service nodes running on a single IP address per machine?
An example of the error I get when setting up a service node is
Failed to execute command 'cscript /Nologo http_download.js http://<private ip address>/tarballs/Win32Bin/support.cab'. Check logs in 'c:POA_Deploy' at host '<public ip address>' for more details about the reasons of failure.
I am working on a new install of PPA, and after installation on the management node Im trying to add the other nodes. Ive tried to add a Apache, Postfix, DNS & DB node, and they all have the same issue. The installation task fails with the following error:
Destination host 'node.domain.com' (#3), IP '192.168.1.*' : The operation can not be completed because the following component is missing or is not running: pleskd (sc_name '', sc_id #45)
(domain and IP are removed here, correct in the original error. The IP is a backchannel IP, and the public IP was properly set in the management node).
I've verified that pleskd was installed and is running on each node:
Code:
24710 ? S 0:00 /usr/local/pem/sbin/pleskd --props-file /usr/local/pem/etc/pleskd.props --send-signal
24712 ? S 0:00 /usr/local/pem/sbin/pleskd --props-file /usr/local/pem/etc/pleskd.props --send-signal
24714 ? S 0:00 /usr/local/pem/sbin/pleskd --props-file /usr/local/pem/etc/pleskd.props --send-signal
...
I've verified that my management node can connect to the nodes in question via 8532:
Code:
]# telnet 192.168.1.* 8352
Trying 192.168.1.*..
Connected to 192.168.1.*.
Escape character is '^]'.
^]
telnet> quit
Connection closed.
So there shouldn't be any firewall or other networking issues.
What else can I try to get this running?
Is there a KB (I couldn't find one) - to implement rate limiting for receiving mail on our service nodes?
Just had another customer account compromised (not a very weak password either) - and that meant > 250,000 emails - a LOT of cleanup.
Not only do we need rate limiting, but we also need notification of potential abuses.
I am trying to install Automation, and I keep getting an error after the "Getting SELinux" step, here is a log of the process so far:
Code:
[INFO]: Checking current user privileges...
[INFO]: Checking critical environment requirements...
[INFO]: Determining OS parameters...
[INFO]: Detected OS: CentOS-5-x86_64
[INFO]: Getting SELinux state...
[ERROR]: Unexpected error: ''
[Code] ....
I have tried running the installation on a different server and the same issue came up...
I am installing plesk automation on centos 6.5 using this command on a fresh system
./ppa_installer --password some_password --admin_email some_email
and get the following error.
[LOGTEE]: Error Downloading Packages:
[LOGTEE]:
[LOGTEE]: libuuid-2.17.2-12.18.el6.i686: failure: Packages/libuuid-2.17.2-12.18.el6.i686.rpm from base: [Errno 256] No more mirrors to try.
Looks like some lib is not found in the mirrors.
On a clean install of CentOS 6.6 (Final) I did the following:
1. updated the /etc/hosts file to point my ip to the hostname
2. Open the ports in the iptables file.
3. ran the ppa_installer per the instructions on [URL] ....
The ppa_installer log says installed Successfully. However the following occurs:
1. Cannot browse to the url:8443, or any of the other variations (8080, 8880, https/http)
2. Yum installer is now broken (I replicated this twice). Yum will not run at all with the following error:
There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: /usr/lib64/libcurl.so.4: file too short
Please install a package which provides this module, or verify that the module is installed correctly.It's possible that the above module doesn't match the
current version of Python, which is:
2.6.6 (r266:84292, Jan 22 2014, 09:42:36)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)]
I am now going to try Cent OS 6.4.. will report back.
I'm trying to create a subdomain using API but get this as the response:
[result] => Array
(
[status] => error
[errcode] => 1002
[errtext] => ProtDir_Apache::update() failed: Unable to create user protection directory:Service node is unknown for sysuser with id=0
[code]....
how do you set the hosting type for the subdomain?! I don't see this in the docs.
I have a VPS running Parallels Plesk 12.0.18 Update#36 and CentOS 6.6. I'll like to move (if it's possible uninstall complete) Apache and let Nginx to manage all the request coming from outside.
View 4 Replies View RelatedToday 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?
My current version of nginx in plesk 11.5.44 is 1.5.0 and i would like to update it to the latest stable version which is 1.6.0. However, i cannot seem to manage to do so. I tried with yum update nginx but i receive Package(s) nginx available, but not installed.
View 1 Replies View RelatedI running magento on plesk 12 and trying to configure nginx, but only home page is working and all other pages are not working with error 404.
View 6 Replies View Relatedthis 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.
My server admin already upgraded my OpenSSL to version 1.0.1m 19 Mar 2015 and he also upgraded Nginx to 1.6. I'm also running CentOS v5.11 and Plesk v11.5.
However, he tells me that he still can't get TLS 1.2 to work because he noticed that my server uses a different version of Nginx (sw-nginx), which he believes is part of Plesk. How we can get TLS 1.2 working on the Plesk copy of Nginx (sw-nginx)?
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.
Plesk 12 will not do it and if you reinstall it you get errors after installation. Maybe a bug but seems nobody is interested in answering my question before.
I tried to remove by
apt-get remove --purge sw-nginx
dpkg -r sw-ningx
Both of them display that is removed but after a new installation are the folders not created and maybe old files not overwritten if not deleted.
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] ....
Is here a tutorial special for plesk 12 that show me how set nginx to show real visitor ip in access_log and php?
Actual nginx show for IPv6 visitors the own server IPv6 in access_log and php.
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!?
how to change ports of Nginx from 80 to 8080 I would like install Varnish
View 2 Replies View RelatedI have upgraded from 10 to 12 and now I have "502 Bad Gateway nginx" error. I have atached logas..
View 1 Replies View Relatedi went to server setting and checked manage php with nginx then start getting 404 Not Found nginx. It was clear that it s a problem with the wordpress permanent links so i went in wordpress back-end and switched to default links then it start working but when i switched to permanent link againi got the previous error again
I searched for a while on internet and i found . URL.... So the problem that i have is that i added this piece of code manually in : /var/www/vhosts/system/domaine.com/conf/nginx.conf....Since it s mentioned above
#ATTENTION!
#
#DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
#SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED.
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?
I am trying to add the following nginx configuration to Plesk through
Website & Domains -> Web Server Settings
The conf i am adding is:
location /folder/folder/ { try_files $uri /folder1/folder2/file.php; }
or
location ^~ /folder/folder/ { try_files $uri /folder1/folder2/file.php; }
but it doesn't seem to be working.
gives 404
I have installed the nginx on my server and want to activate it for all my domains, to do this, i have to do it manually for each domains. But there should be an easier way. Apache uses too much ram.
View 7 Replies View RelatedI have a problem with Nginx on myPlesk 12 with wildcard dns.I want subdomains URl to be like root domain url. Exemple. URL...You can see a live exemple here: URL.... give error 404 instead of showing root domain file (URL....). It's the same for images.What specific rule I must add in plesk panel?
View 5 Replies View RelatedUsing 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.
i have installed today Reverse Proxy Nginx on Plesk 12. After have activing Nginx, website show "no data received".
Nginx error.log:
PHP: no "ssl_certificate" is defined in server listening on SSL port while SSL handshaking-----conflicting server name