Plesk 12.x / Linux :: FTPS Not Working After Upgrade - Could Not Establish Connection
May 5, 2015
For some reason FTPS is no longer working as it used to before plesk upgraded. At this point, I am not sure which Plesk upgrade caused this since I do not FTPS or ftp in general often. its enabled as it was before, even disabled and re-enabled it again. Still gives a "could not establish connection". Restarted the service via command Line with "service xinetd restart". still isnt working...
I have a VPS on Webfusion which auto upgraded last night to Plesk 11.5.30 #45. However, I used to have the domain registrar, 123-reg manage my DNS & now since the upgrade I've lost access to all emails & ftp access but the domains still work ok.
whether I should delete all DNS records at 123-reg & point to my VPS now? The DNS parameters in Plesk appear to be different to 123-reg. I
workaround 1) rpm -q --scripts psa-backup-manager | sed 1d | sh 2) /etc/init.d/crond restart
my error message with CentOS 5.8, Plesk 11.0.9 MU#4 sh: line 2315: syntax error near unexpected token `(' sh: line 2315: `preuninstall scriptlet (using /bin/sh):'
/etc/cron.d/plesk-backup-manager is created
why do not work after you upgrade the backup cronjobs?
After a recent update (4.2.1) for Wordpress all of our sites showed issues when editing a page the "Visual editor" would not be available any more.
You would only see nothing where normally html text or WYSIWYG is supposed to appear. Text in editor window has the same color (white) as background (white).
I'm curious if others had same issue?
-- it's affected all websites -- it's not plugin related -- fresh websites with twentytwelve and hello world page have same issue -- disabled mod (did not work)
eventlog:
[Wed Apr 29 15:10:12 2015] [error] [client xx.xx.xx.xx] client denied by server configuration: /var/www/vhosts/my-example-website.org/httpdocs/wp-includes/js/tinymce/wp-tinymce.php, referer: http://my-example-website.org/wp-admin/post.php?post=142&action=editClick to expand...
I got a new server from uk2, has whm but i just couldnt get the server to work, i changed hostname and made nameservers etc but couldnt get it to work i pointed ips to hostnames and everything no response, domain is www.uploadline.com ns1.uploadline.com and ns2.uploadline.com i havent used cpanel for 2 years now and i used to have alot of experience in it before these days i just stick to directadmin and other control panels.
I just need to ask a few questions and i need help too to get my server up and running as im losing alot of time and money here
i remembered when i changed hostname on whm i need to run this through ssh: /usr/local/cpanel/cpkeyclt So i did, and this was the result:
Quote:
login as: rootroot@server80004.uk2net.com's password: Last login: Sat Nov 1 01:39:07 2008 from proxy-sov.uk2.net root@server1 [~]# /usr/local/cpanel/cpkeyclt Updating Internal cPanel Information........................................quer y failed: query timed out [cpkeyclt.pl]: No working dig found! Unable to establish connection. License server hostnames could not be resolve to IPs. Done .Done root@server1 [~]#
The Problem: I'm trying to set up an automatic backup to an ftp server using ftps (as configured in the personal ftp repository). Copying the files fails however.
The things I checked: The Plesk management website can't show the target folder's contents. The only error I get is Error-Code "1". The ftp server (a synology NAS) logs the ftp access: Credentials are correct, session is terminated after transferring 0 Bytes. Each failed backup leaves a 0-Byte .tar file on the Backup folder. If I disable ftps and go with plain ftp, everything works just fine.
Our previous generation Plesks (v11 and lower) can utilize ftps for backup (to the same ftp server) without a hitch.
Additional considerations: Since the WebServer is on a hosted machine and file transfer has to be done across the internet, unsecured transport is not an option.
Plesk Panel 12 uses a proftpd FTP server, with the TLS module pre-installed and configured.
Many questions and/or problems arise when trying to connect to the FTP server over a FTPS connection. In (almost) all cases, the disability to connect with FTPS is due to
a) the lack of configuration of passive ports, AND b) firewall settings, enabling connections through before mentioned passive ports.
The passive port range can be configured by
adding a line to /etc/proftpd.conf, stating: "PassivePorts <start> <end>", OR adding a separate file with name <filename>.conf to /etc/proftpd.d/, with the contents of <filename>.conf stating: "PassivePorts <start> <end>"
And note that
- <start> is the first port of the port range, in theory any value above 1050 can suffice, - <end> is the last port of the port range, any value below 65000 (!) can suffice, - the extension .conf is required when using a separate config file, - the directory location /etc/proftpd.d/ is required when using a separate config file, - one should always limit the port range, i.e. it is not desirable to open up a lot of ports, - it is desirable to have the <start> value above 20000, in order to prevent conflicts with other programs, using a specific port (for instance, port 8443 is also being used), - it is not necessary to restart proftpd after configuring the passive ports.
The firewall settings have to be changed to allow connections through the passive ports that have been opened for FTPS connections and note that
- only open up the port range (not more) in the firewall settings, - it is only necessary to open up ports in the firewall settings of the FTP server, - it is not required to open up ports in the firewall settings of the sending server. Many issues have been arising when setting up the FTP Backup Repository.
In general, the passive mode checkbox has to be selected, when encountering issues.
The explicit use of the passive mode allows for proper configuration of the FTP Backup Repository and note that it does not matter whether FTPS or normal FTP will be used.
I experienced an issue using an external backup repository on Plesk 12.0.18 machines using ftps. The ftp server uses ftps (explicit) connections.Plesk 11.5 works fine (and ordinary ftp client like Filezilla as well), Plesk 12 throws the following error when trying to add the server via the web interface:
Code: Curl error: Login denied Unencrypted connections will work. Plesk 11.5 machines (with the same settings) will work.
I've analyzed the problem and got so far: The backup manager tries to connect using "regular" transfer method + ssl, not ftp-ssl explicit.Is there a chance to force Plesk using explicit ftpes connections? Or is there another work around?Some additional infos about the (ftp) server: The ftp server is running ProFTP 1.3.4d, uses port 2000 for the control port and has a port range (2001 - 2100) for the passive connections.I tried to add the server using the address field of the gui IP:2000 and checkboxed "passive mode" and "ftps".
Problem with FTP Users on Plesk 11 after updating from Plesk 10.
SO: Windows Server 2008 R2 Standard Edition Panel: Plesk for Windows 11.0.4
I noticed that users cannot FTP, when trying to connect they receive an error: 530 User cannot log in, home directory inaccessible.
Doing further investigation, I confirmed that only users created after upgrade have this issue, that created before upgrade works fine.
I already discovered that home directory is missing on IIS 7.5 FTP. Creating a symbolic link on NTFS using MKLINK command pointing to home folder and configuring permissions to user solved the problem.I think its a bug on Plesk Panel 11.0.4 as I can see same the same problem on two distinct servers after upgrading from Plesk 10 to 11.
I tried to run Plesk Reconfigurator utility with all options, without success.I can fix home directory by myself manually but it will be great if Plesk Panel handle this again.
After Plesk panel upgrade to 12.x webadmin stopped working . It's showing following error
Code: Server Error in '/' Application. The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. review the following URL and make sure that it is spelled correctly.
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...
I have a Plesk host that I am tasked with upgrading. It started with openSUSE 11.4 on Plesk 10.4 and I have upgraded it all the way to openSUSE 12.2 on Plesk 11.09 (fixed minor issues with pop3d and mysql locking on the way). The next upgrade was supposed to be 11.5, but the option to upgrade it never shows up. I have re-instated our support license so I know the license is OK, and also checked that 11.5 supports openSUSE 12.2. The update log doesn't really tell me much either:
Code:
Release PLESK_12_1_18 contains no any build for this OS Release PLESK_12_1_17 contains no any build for this OS Release PLESK_12_1_16 contains no any build for this OS Release PLESK_12_1_15 contains no any build for this OS Release PLESK_12_1_14 contains no any build for this OS
While running the plesk auto installer script and upgrading I get the following error.
Components validation detected at least one important issue: Parallels Panel pre-upgrade check... dpkg-query: no packages found matching psa-atmail dpkg-query: no packages found matching psa-horde dpkg-query: no packages found matching libapache2-modsecurity WARNING: IP address registered in Plesk is invalid or broken: xxx.xxx.xxx.xxx
Panel version: 11.5.30 Update #47, last updated at June 19, 2014 07:32 AM
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.
Over the weekend, I upgraded from Plesk 10.3 to Plesk 11.5, using the updater in the control panel. Everything seemed to go well. However, this morning I've noticed that some, not all, email accounts are having trouble logging into the server to send and receive mail. Other accounts are working fine.Via POP, I get this error: -ERR Temporary problem, please try again later
Via SMTP, I get this error: 535 auth failure
I see this in the maillog:
Jun 17 07:15:05 [server] courier-pop3d: LOGIN FAILED, user=[username], ip=[::ffff:xxx.xxx.xxx.xxx] Jun 17 07:15:05 [server] courier-pop3d: authentication error: Input/output error
And this... Jun 17 07:24:50 [server] smtp_auth: FAILED: [email address] - password incorrect from [host] [xxx.xxx.xxx.xxx]
I replaced the server name, username, host, and IP in the above.
Here are the steps I've tried so far. - Changing the password using the control panel. - Updating the number of daemons in authdaemonrc - Restarting the services
I just upgraded my Plesk on Ubuntu (vServer) yesterday. But after the upgrade I couldn't login to the Panel anymore because all I get when I try to reach the panel (https://panel.examplesite.com:8443) is a white screen.
I rebooted the server and restarted the panel as well as Apache several times with no change.
Its also upgrading Apache from 2.2 to 2.4 and after installation, it break my Apache configuration and getting configuration errors when adding domains from Plesk etc.
Is there any proper way to upgrade PHP 5.5 in Plesk 12.0(Ubuntu 12.04)...
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.
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