Plesk 12.x / Linux :: Port 443 Not Responding / Nginx Failed On Startup
Jun 30, 2015
I have made a fresh plesk 12 install on a cent os 7. all is working fine except the SSL 443 port. on startup the following error message is thrown:
Code:
nginx.service - Startup script for nginx service
Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled)
Active: failed (Result: exit-code) since Tue 2015-06-30 17:55:37 CEST; 6min ago
Process: 800 ExecStartPre=/usr/sbin/nginx -q -t (code=exited, status=1/FAILURE)
Process: 797 ExecStartPre=/usr/bin/test $NGINX_ENABLED = yes (code=exited, status=0/SUCCESS)
Process: 788 ExecStartPre=/bin/echo Starting nginx service (code=exited, status=0/SUCCESS)
[code]....
View 2 Replies
ADVERTISEMENT
May 19, 2015
Since 15.05.2015 smtp experiencing problems.
Smtp service (qmail) stops responding on port 25:
# time telnet localhost 25
Trying 127.0.0.1...
quit
quit
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
quit
quit
Connection closed by foreign host.
real 4m10.629s
user 0m0.000s
sys 0m0.002s
After server restart or sometimes apache stop or ixnetd restart its responding for a some random time, and then again it stops to respond. Plesk panel show it as stopped but qmail itself running in memory, and does other its work, it just stops responding at port 25, or responds with a huge delay.
I've tried change it to postfix, reconfigured with mchk, repaired with repair.sh -r, disabled and uninstalled parallels antivirus, antispam, dnsbl, disabled firewall, disabled smtp lock. Checked apache, dns. Enabled submission port which works when 25 port doesnt, but i need working 25 port.
Nothing solves problem, its just stops responding after some random time. There is no errors on maillog.
I think this problem occured after recent plesk microupdate, because i didn't do anything to server configuration in last months.
This article says it might be dnsbl [URL] .... but it disabled(from plesk panel) on my server, maybe there is way to focefully kill any relation to dnsbl?
Plesk info:
OS Red Hat Enterprise Linux Server 5.9 (Tikanga)
Panel version 11.5.30 Update #50, last updated at May 18, 2015 05:21 PM
The system is up-to-date; last checked at May 17, 2015 10:56 PM
update: xinetd restart is definitely brings smtp alive, but it goes off after random period of time (5min ~ couple hours)
View 1 Replies
View Related
Feb 3, 2015
I need changing the nginx port. I've followed various threads and have created a custom nginxDomainVirtualHost.php file at: /usr/local/psa/admin/conf/templates/custom/domain, while the website indeed moves to the port I have set, a second nginx thread starts at port 80 and takes over in it's place.
I need to put varnish at port 80 and cannot do so until all services relinquish control on port 80.
Followed clues here: [URL] ....
some here: [URL] .....
Turn's out to be able to change the nginx port to a non-standard port you need to edit 6 files
nginx.php
nginxDomainForwarding.php
nginxDomainForwardingIpDefault.php
nginxDomainVhost.php
nginxDomainVhostIpDefault.php
nginxWebmail.php
For the time being i disabled SSL support for my test domain as I didn't need it. The line you need to look for the in above files is:
Code:
$VAR->server->nginx->httpPort
So the line would finally become from this:
Code:
<?php echo $VAR->includeTemplate('server/nginxVhosts.php', array(
'ssl' => false,
'frontendPort' => $VAR->server->nginx->httpPort,
'backendPort' => $VAR->server->webserver->httpPort,
)) ?>
to this:
Code:
<?php echo $VAR->includeTemplate('server/nginxVhosts.php', array(
'ssl' => false,
'frontendPort' => "8888",
'backendPort' => $VAR->server->webserver->httpPort,
)) ?>
To get this to work you'll need to create a custom directory at: /usr/local/psa/admin/conf/templates
And copy the files over from the root of /usr/local/psa/admin/conf/templates/default
View 1 Replies
View Related
Dec 10, 2014
How can I remove a few "server { }" blocks from the file "/etc/nginx/plesk.conf.d/server.conf" without them being readded by plesk?
I want to stop nginx from listening on port 80/443 for a specific IP which is listed there.
Very much like described here: [URL] ....
But with nginx running in front of apache...
My setup looks like this:
* Plesk 12 + Ubuntu 14.04
* IP-Pair1 (IPv4_1 + IPv6_1)
* IP-Pair2 (IPv4_2 + IPv6_2)
IP-Pair1 is supposed to host admin and customer access.
= Plesk-admin-interface (lighhttpd?) on 80/443 instead of 8443 (ssh on 22, ftp ...)
IP-Pair2 is supposed to host visitor access.
= Plesk webspaces (nginx/apache) on 80/443
So I want to stop nginx from grabbing ports 80/443 of IP-Pair1 and listen to IP-Pair2 addresses only. Then I want to set plesk-admin interface to listen to 80/443 on IP-Pair1 only.
View 2 Replies
View Related
Dec 2, 2014
Here is my setup
Centos6.6 x86_64 Minimal install + Plesk12 installation completed without problem.
However when I logged into Plesk Panel i get this message.
ERROR: PleskException
Up Level
Unable to configure control panel: nginxmng failed: [2014-12-02 07:32:44] ERR [util_exec] proc_close() failed
enabling nginx proxy failed:
255 Service /etc/init.d/httpd failed to start
Service /etc/init.d/httpd failed to start
Nginx proxy changes had been reverted.
Everything seems to work but i would like to have it enabled for performance reasons, when i check it
# /etc/init.d/nginx status
nginx is stopped
Then I try to start it manually
/etc/init.d/nginx start
Not starting nginx as it is disabled in config
then i try to force it
/usr/local/psa/admin/bin/nginxmng --enable
[2014-12-02 08:19:48] ERR [util_exec] proc_close() failed
enabling nginx proxy failed:
255 Service /etc/init.d/httpd failed to start
Service /etc/init.d/httpd failed to start
Nginx proxy changes had been reverted.
View 4 Replies
View Related
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
May 29, 2015
For some reason my nginx doenst start and I get the following error:
Error: Unable to start service: Unable to manage service by nginxmng: [2015-05-30 01:03:20] ERR [util_exec] proc_close() failed
enabling nginx proxy failed: getsebool: SELinux is disabled
255 Service /etc/init.d/nginx failed to start
getsebool: SELinux is disabled
Nginx proxy changes had been reverted.
('--enable', 'nginx')
View 1 Replies
View Related
May 21, 2007
I got my hands on a used 2161DS (unit only, no cables etc), but somehow it doesnt seem to respond on the hyperterminal to any keyboard input.
As its used it doesnt have any support directly from Dell and Dell is unable even to give us a cost estimate as the service tag number is not in their system. Anyway...
When I power up the 2161DS KVM-Over-IP switch all I get in the Hyperterminal is
---
Verifying subsystem flash versions...
<snip>
DELL 2161DS Console Ready...
Press any key to continue
---
From there on its not working. The keyboard and mouse directly connected to it are working. Also all the menus, but we can set the network address, do firmware updates etc, only from the serial port connection (once the serial port is working).
I checked the hyperterminal settings (9600 baud, 8 bit, 1 stop bit, no parity, no flow control).
Is there anything that I might be missing?
Perhaps I have to use something like a crossed serial cable instead of a straight one ?
Character set issues?
Terminal type issues?
We have spent days in front of the machine and on the phone with Dell without really getting anywhere. Its our first 2161DS so I still want to believe that we must be missing something.
View 1 Replies
View Related
May 1, 2015
I am troubleshooting a problem where the php5 package was replaced and caused lots of psa/plesk packages to be removed. This system details are;
# cat core.version
11.5.30 Ubuntu 12.04 115140407.17
# lsb_release -a
Description: Ubuntu 12.04.2 LTS
Codename: precise
# uname -a
Linux my.host.name 3.2.0-45-generic #70-Ubuntu SMP Wed May 29 20:12:06 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
The plesk panel is up, the websites are running, and the email services are running, but there are many errors like so;
==> error.log <==
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/json.so' - /usr/lib/php5/20090626/json.so: cannot open shared object file: No such file or directory in Unknown on line 0
I also get the following error when inspecting the json module:
root@vps:/etc/php5/mods-available# php -i|grep -i json
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/json.so' - /usr/lib/php5/20090626/json.so: cannot open shared object file: No such file or directory in Unknown on line 0
/etc/php5/cli/conf.d/20-json.ini,
[Code] ....
What I need to install to get that json.so file back?
View 2 Replies
View Related
May 26, 2014
Just got a strange problem on my plesk server. (11.0.9)
Qmail isn't working...
In Home>Tools & Settings>Services management SMTP "Server (QMail)" is stoppped.
When I try to start it, it say "Information: Please allow for some time for the service to start." but never starts...
In command line i try to restart it with "service qmail restart" and it says "OK" also if i run "service qmail status" it says "qmail-send (pid 2880) is running..."
but, it really doesn't work... queue is getting bigger and smtp isnt responding...!
View 4 Replies
View Related
Jun 17, 2015
I have Plesk 12 panel on Debian 7 server.
When I try to add service to auto start using command:
# update-rc.d nginx defaults
update-rc.d: using dependency based boot sequencing
I got error:
insserv: warning: script 'kavehost' missing LSB tags and overrides
#
View 2 Replies
View Related
Aug 13, 2007
using a guide found at: [url]
I installed freenx and the client on the server, then downloaded the client on my windows pc.
The Server is running CentOs 5.0, cpanel 11, and I also had GNOME installed.
The problem is, I don't think GNOME is setup, or running.
When Connecting I get this:
Quote:
"NX> 203 NXSSH running with pid: 5812
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 285 Setting the preferred NX options
NX> 200 Connected to address: 72.223.50.10 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
HELLO NXSERVER - Version 1.5.0-60 OS (GPL)
NX> 105 hello NXCLIENT - Version 1.5.0
NX> 134 Accepted protocol: 1.5.0
NX> 105 SET SHELL_MODE SHELL
NX> 105 SET AUTH_MODE PASSWORD
NX> 105 login
NX> 101 User: crewxp
NX> 102 Password:
NX> 103 Welcome to: 10.40.213.72.static.reverse.ltdomains.com user: crewxp
NX> 105 listsession --user="crewxp" --status="suspended,running" --geometry="3840x2400x32+render+fullscreen" --type="unix-gnome"
NX> 127 Sessions list of user 'crewxp' for reconnect:
Display Type Session ID Options Depth Screen Status Session Name
------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------
NX> 148 Server capacity: not reached for user: crewxp
NX> 105 startsession --link="adsl" --backingstore="1" --cache="16M" --images="64M" --media="0" --session="CrewXp.com" --type="unix-gnome" --geometry="3840x2400" --fullscreen="1" --kbtype="pc102/en_US" --screeninfo="3840x2400x32+render+fullscreen"
NX> 1000 NXNODE - Version 1.5.0-60 OS (GPL)
NX> 700 Session id: 10.40.213.72.static.reverse.ltdomains.com-1000-ABB92BE2A15206F134F0AB649A63DF70
NX> 705 Session display: 1000
NX> 703 Session type: unix-gnome
NX> 701 Proxy cookie: 3d231db82ebaad182c25969704ceaf15
NX> 702 Proxy IP: 70.241.9.129
NX> 706 Agent cookie: 3d231db82ebaad182c25969704ceaf15
NX> 704 Session cache: unix-gnome
NX> 707 SSL tunneling: 0
NX> 1009 Session status: starting
NX> 710 Session status: running
NX> 1002 Commit
NX> 105 /usr/bin/nxserver: line 1190: 31685 Terminated sleep $AGENT_STARTUP_TIMEOUT
NX> 1006 Session status: running
NX> 596 Session startup failed.
NX> 1004 Error: NX Agent exited with exit status 1.
Can't open /var/lib/nxserver/db/running/sessionId{ABB92BE2A15206F134F0AB649A63DF70}: No such file or directory.
mv: cannot stat `/var/lib/nxserver/db/running/sessionId{ABB92BE2A15206F134F0AB649A63DF70}': No such file or directory
NX> 1006 Session status: closed
NX> 1001 Bye.
Killed by signal 15
"
I'm not sure why this is happening, but i think its because gnome isn't configured or something. I just had the server installed, and asked for gnome to be installed.
I've searched for an answer for a week, but no one's came up with anything. I can't start my new server to run my business on without this.
View 0 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
May 12, 2014
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 Related
Dec 18, 2014
I 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 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
Apr 30, 2015
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)?
View 1 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
Jun 10, 2015
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.
View 1 Replies
View Related
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
Mar 23, 2015
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.
View 5 Replies
View Related
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
Jul 9, 2014
how to change ports of Nginx from 80 to 8080 I would like install Varnish
View 2 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
Dec 19, 2014
i 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.
View 14 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
Sep 3, 2014
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
View 1 Replies
View Related
Nov 18, 2014
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 Related
Jul 3, 2014
I 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 Related
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