Plesk 12.x / Linux :: Hosted Domain Connection Refused?
Aug 17, 2014We have latest Plesk 12 on Centos 7, I can login to Plesk UI and mail is working,
but cannot access hosted website www.elcop.hr :
Error: Connection refused
We have latest Plesk 12 on Centos 7, I can login to Plesk UI and mail is working,
but cannot access hosted website www.elcop.hr :
Error: Connection refused
Plask Management inferace error is:
ERROR: Zend_Db_Adapter_Exception: SQLSTATE[HY000] [2002] Connection refused (Abstract.php:144)
First, the datacenter lost power so the server shut off. I assume there is some DB corruption and why the SQL Service won't start.
Code:
failed
Trying to start service mariadb... Job for mariadb.service failed. See 'systemctl status mariadb.service' and 'journalctl -xn' for details.
WARNING!
Some problems are found during start(see log file: /var/log/plesk/psa_service.log)
Continue...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
Unable to connect to Plesk Database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
I ran the systemctl status mariadb.service command and this is below.
Code:
Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled)
Active: failed (Result: exit-code) since Wed 2015-04-29 05:57:21 CEST; 5min ago
Process: 21210 ExecStartPost=/usr/libexec/mariadb-wait-ready $MAINPID (code=exited, status=1/FAILURE)
Process: 21208 ExecStart=/usr/bin/mysqld_safe --basedir=/usr (code=exited, status=0/SUCCESS)
[Code] ....
When i am issuing systemctl status postfix.service i am receiving the following error. I am actually trying to install opendkim and i found this.
Code:
warning: master_wakeup_timer_event: service pickup(public/pickup): Connection refused
And this is the output of ls -l
Code:
[root@h2376451 postfix]# ls -l /usr/lib/sendmail /usr/sbin/sendmail
lrwxrwxrwx. 1 root root 30 Dec 2 10:51 /usr/lib/sendmail -> /etc/alternatives/mta-sendmail
lrwxrwxrwx. 1 root root 21 Dec 2 10:51 /usr/sbin/sendmail -> /etc/alternatives/mta
When I hit my server's domain it redirects me to one of the hosted sites' domain with a 302 redirect. It used to return the default plesk server page. How can I cancel the redirect?
View 2 Replies View RelatedI just configured the plesk server to only allow ftps connections.
When I try to access with a ftp account on the server itself it works well, however when I try to access it from a client PC it get these errors :
(...)
Response: 200 Type set to I.
Command: PASV
Response: 227 Entering Passive Mode (XXX,XXX,XX,XX,XXX,XX).
Command: LIST
Response: 150 Opening BINARY mode data connection.
Error: The data connection could not be established: ECONNREFUSED - Connection refused by server
On the client PC I configured Filezilla in Passive mode with "Require explicit FTP over TLS".
Normally for the firewall only the port 21 is needed or am I wrong (with explicit FTP and passif configured)?
I am currently running a trail of plex to see if it meets our requirements.
My domains are currently being hosted by an external provider and I have made the dns entry to point it the the server running plesk.
Now we can access the site created through plesk but the emails are not working not the webmail or even trying to forward the mails.
I am running a CentOS 6.5, 64-bit server with Plesk 12.0.18, and need to install a wildcard SSL for one of the domains/sub domains hosted on this server.
So you have the csr and private key installed (and domain.crt?), you just need to open..
1. COMODORSAAddTrustCA
2. COMODORSADomainValidationSecureServerCA
On your desktop and combine the two files into a new intermediate.crt file and upload that as the CA File.
But I'm not sure why you can't add it as text.
Click to expand...
Click for original message
My requirement is to redirect all hosted domain's webmail to the main hosting webmail url .. how can this be achieved ?
View 7 Replies View RelatedWe have a script that run for more day without problem Script connect to port 25
Now we get this:
Warning: fsockopen() [function.fsockopen]: unable to connect to my.domain.com:25 in /home/mydom/public_html/backend/go.php on line 47
Connection refused (111)
i have a vps
and all my site not working!
i got this error:
rndc: connect failed: 127.0.0.1#953: connection refused
i got this error :
rndc: connect failed: 127.0.0.1#953: connection refused
oot@server [/]# rndc status
rndc: connect failed: 127.0.0.1#953: connection refused
root@server [/]# /etc/init.d/named status
rndc: connect failed: 127.0.0.1#953: connection refused
named is stopped
root@server [/]# /scripts/fixndc
Named could not be restarted, any obvious config errors should show up below this line.
No critical problems found, will attempt to regenerate keys regardless.
warn [fixrndc] /usr/sbin/rndc status failed: rndc: connect failed: 127.0.0.1#953: connection refused
Creating rndc.conf
Creating /etc/rndc.key
warn [fixrndc] /usr/sbin/rndc status failed: rndc: connect failed: 127.0.0.1#953: connection refused
Restarting named
warn [fixrndc] /usr/sbin/rndc status failed: rndc: connect failed: 127.0.0.1#953: connection refused
/scripts/fixrndc failed to fix the rndc key (or named is otherwise broken), please investigate manually
and i have try to reload the rndc but i got this error :
root@server [~]# rndc reload
rndc: connect failed: 127.0.0.1#953: connection refused
my vps info : linux os - centos , using cpanel , apache , mysql ....
root@server [~]# uname -r
2.6.18-028stab064.7
I just moved my websites over to a server running plesk 8.2
Now when I look at any of my pages with firefox It puts a little circle logo thingy beside the url in the address bar and on the tab.
how to get rid of this?
Some of the domains are:
[url]
[url]
[url]
I am running two Apache web servers:
- moodle.myCompany.com (Moodle site)
- content.myCompany.com (web server)
I am trying to display a page, from the content site, through an iFrame, on the Moodle site, and am getting a console.log error message of "Refused to display 'http://subdomain.myCompany.com/index.php' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'."
I have been doing a lot of reading and it sounds like the X-Frame-Options is deprecated and that I should be controlling things through Content-Security-Policy and frame-ancestors. How do I allow content from a sub-domain to load into an iFrame on my moodle site?
This is a clean installation of Plesk, nothing else has been done on the server. After the Plesk 12 Installation I installed the Route53 Extension directly from the Panel.
I authenticated with the Access ID / Secret key, as soon as I start creating Domains I get duplicated zones in Route53. When I delete the Domain from Plesk only one Domain gets deleted, the other one remains.
This is my debug log where I see it executes the script twice:
Code:
[2014-12-10 14:50:15] DEBUG [panel] DNS Custom backend call: [{"command":"create","zone":{"name":"dummy123123test.nl.","displayName":"dummy123123test.nl.","soa":{"email":"vincent@mkbsc.nl","status":0,"type":"slave","ttl":86400,"refresh":10800,"retry":3600,"expire":604800,
"minimum":10800,"serial":1418219415,"serial_format":"UNIXTIMESTAMP"},"rr":
[Code] ....
The strange thing is, in the custom call it lists all the records twice as well..
When I disable the Plesk DNS Template it doesn't create Zones at all, when I then enable the Template per domain it creates one Zone correctly.
PRODUCT, VERSION, MICROUPDATE, OPERATING SYSTEM, ARCHITECTURE
Parallels Plesk v12.0.18_build1200140610.21 os_Ubuntu 14.04
PROBLEM DESCRIPTION
On Sub creation Plesk creates two hosted zones in AWS Route53
STEPS TO REPRODUCE
Install Plesk 12
Install Route53 Extension from Panel
Create subscription
ACTUAL RESULT
Duplicated zones in AWS Route53
EXPECTED RESULT
One Hosted Zone in AWS Route53
I am trying to increase the PHP memory limit for all Plesk hosted sites.
I've updated the 'memory_limit' setting in /etc/php.ini
Then I ran
Code:
/usr/local/psa/admin/sbin/httpdmng --reconfigure-all
/usr/local/psa/admin/sbin/httpdmng --reconfigure-server
Checking a phpinfo() page on hosted sites I see that this setting has not been effective.
Checking some /var/www/vhosts/system/domain.com/etc/php.ini also shows the old setting, and I can see that these files have not been updated.
I note that all these domain php.ini files have been modified earlier today, all at the same time, so presumably some process did regenerate them earlier. All these files hae the "DO NOT MODIFY ..." heading
I realise that I can go the the domain in Plesk GUI and save the PHP settings to force an update, but is there anyway to force the regeneration of all of these files via CLI?
I have a server that I use to host my primary domain, and I have a cople Plesk servers, now I updated the hostnames of all the servers like
Code: s1.de.myserverplace.de
Now when the plesk server sends a mail it goes in spam always,
In the SPF records of the primary domain sits this
Code:
myserverplace.de. IN TXT "v=spf1 a mx a:myserverplace.de a:s1.de.myserverplace.de ip4:148.251.100.157 ip4:144.76.163.46 ip6:2a01:4f8:201:81b8::60 ?all"
But when I actually send the mail in the headers of the received mail I get this.
Code:
Received: from s1.de.myserverplace.de (s1.de.myserverplace.de. [144.76.163.46])
by mx.google.com with ESMTPS id p2si2158952wjy.73.2015.05.14.04.09.17
for <mymailtestacount@gmail.com>
(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
[Code] ....
How would I set this up so this doesn't happen?
My Plesk panel (11.5.30) hosts a number of domains that all use Google Apps for Business to host their emails. No emails are hosted on the panel, and the mail server is turned off. So is the DNS server.
Using the mail() php function to send automatic confirmation emails from a website hosted on the panel, they arrive at any address NOT hosted locally, however they fail to arrive at any address whose website is locally hosted.
My initial research suggested that Plesk was routing locally, hence the problem, however the mailserver has been turned off the for domain/webspace.
How i get a new Password for a SSH Connection?
Plesk 12, CentOS 6.5
I am new to plesk. How can I create a user which has only rights to start a scp-connection to one folder.
[URL]
The user should be able to uplad files into this directory. (He shouldn't be able to browse the the tree)
I've had a problem to get a connection to my websites via https. My Plesk is version 12.0.18 an it runs on ubuntu 14.04 LTS. I have installed the certificate in that way: URL.... The SSL in that repository is activated in the hosting settings. I've activated and deactivated them a several times. The nginx.conf and the httpd.conf seems to be all fine.
SSL Engine is on an certificate statements links to the certificates in /opt/psa/var/certificates/The access_ssl_log an proxy_access_ssl_log had no entries, but /var/log/nginx/error.log said:
2015/05/14 13:29:08 [error] 981#0: *12788 no "ssl_certificate" is defined in server listening on SSL port while SSL handshaking, client: x.x.x.x, serv$ Click to expand...
After auto-updates I cannot connect to all my sites in ftp with filezilla.
These are the errors:
Unable to accept TLS connection: received EOF that violates protocol
I have tried this: [URL] .... but with no success.
I have restored permissions with:
/usr/local/psa/bin/repair --restore-vhosts-permissions but also in this case it cannot work for me.
How is it possible?
Firewall is ok. All is ok. I have this issue after updates.
I noticed Plesk uses an unsecured connection for webmail: webmail.mydomain.com
Can this connection be secured or is that not possible?
(Isn't this a security risk?)
OS CentOS 6.5 (Final)
Plesk version 12.0.18 Update #6, last updated at July 2, 2014 11:13 AM
The system is up-to-date; last checked at June 27, 2014 04:43 AM
All current websites on the server seem to work fine any new subscriptions we cannot get working at all.
We can connect via FTP to new sites SOMETIMES - just cant get directory listing. When we can connect and get into a directory it slows down.
In Active mode:
Command:MLSD
Response:425 Unable to build data connection: Connection refused
Error:Failed to retrieve directory listing​
Install Wordpress via the Parallels panel it loads and says it is all there, just can't log or display any pages. The default Parallels page is displayed.
Upload a html page via the File Manager in Parallels and it displays the default Parallels page.
Unpack the Wordpress tar file via File Manager and it displays the default Parallels page.
The Wordpress feature in Parallels says it is working fine, can't display any page, can't log in as it returns a 404 page or the default Parallels page.
Create a site in Presence builder and Parallels says there is a site. The default Parallels page is displayed when opening the site.
Go to DOMAINS and there is 0mb in space used and there are files listed in the File Manager - none of which can be displayed.
I'm using plesk with CentOS 6.6 and the postfix/courier mail services...I tried to connect an existing mail account with a mail program like thunderbird. But I'm not able to connect to it, except when I'm using "no connection security"...So I tried, if manually contacting the POP3s Port is working:
Code:
openssl s_client -ssl3 -host mail.domain.de -port 995
with the following result:
Code:
CONNECTED(00000003)
write:errno=104
---
no peer certificate available
---
No client certificate CA names sent
[code]....
the same results come for trying to connect to port 465 (ssmtp) and 993 (imaps)port 443 (https) seems to work fine..i already checked if the corresponding certificates exist (e.g. /usr/share/imapd.pem) and filled with the standard certificate informtaion given by plesk checking openssl on the server gives the following result:
Code:
# openssl version
OpenSSL 1.0.1e-fips 11 Feb 2013
is there anything I have missed to configure?
I have a client with a dedicated server running. Spec below.
The problem I am having is with incoming email. When I set up a new email account it can take about 10 attempts to log on to the incoming mail server. Once it has connected it will be ok for a short while then I will get a connection error and no emails will come through.
This is happening across all platforms, PC / MAC / iPhone and iPad.
I am a web designer with limited knowledge of the setting up of the server and was looking to set up email server within plesk.
General
CPUGenuineIntel, Intel(R)Core(TM) i5-2400 CPU @ 3.10GHz
VersionParallels Plesk Panel v11.0.9_build110120608.16 os_Ubuntu 12.04
OSUbuntu 12.04.4 LTS
Key numberPLSK.02873817.0002
System Uptime: 60 day(s) 10:03
Hostname
IP address
OSUbuntu 12.04.4 LTS
Panel version11.0.9 Update #62
When I start the process in Migration & Transfer Manager i have this error: Error: Connection timeout. I see in the log file:
[2015-07-08 19:39:55.977|22820] INFO: Launchpad started : /usr/local/psa/admin/bin/launchpad --send-scout --host=... ... .... --port=22 --login=root --session-path=/usr/local/psa/PMM/msessions....
[2015-07-08 19:39:56.021|22820] DEBG: Connecting to ....:22
[2015-07-08 19:39:56.021|22820] DEBG: Resolving ..... .....
[2015-07-08 19:42:03.344|22820] ERR : Unable to open socket to ......:22: Connection timed out
[2015-07-08 19:42:03.398|22820] INFO: ConnectionTimedOut[....]: Timeout while attempting connection to host ........ [./../commons/socket.h:65]
plesk::Socket::Socket(const string&, short unsigned int)
[2015-07-08 19:42:03.399|22820] INFO: Launchpad finished. Exit code: 12
In two servers the configuration is identical: CENTOS 7 and PLESK 12
I have a new Plesk 12 installation. I have configured a domain (example.com) with hosting that also requires wildcard subdomains.
To achieve this I had to create a vhost.conf file with...
ServerAlias *.example.com
This works and I can go to http://anything.example.com with no issue.
I purchased a wildcard SSL certificate for *.example.com and successfully installed it.
If I go to https://example.com it works perfectly and shows the correct certificate, however if I go to https://anything.example.com it tells me the connection is untrusted, when I view the certificate, it shows the Parallels Plesk self certified certificate and not my purchased certificate.
I created a vhost_ssl.conf with
ServerAlias *.example.com
ServerAlias *.example.com:443 #tried with and without this line
If I add an exception in the browser, then I am taken to the correct place, albeit with the incorrect certificate.
Of course I have executed httpdmng --reconfigure-domain example.com and also tried a full reboot.
In summary:
http://example.com - works
http://anything.example.com - works
https://example.com works with my certificate
https://anything.example.com has Parallels certificate but routes to correct page