Symptoms
It is not possible to retrieve Plesk packages from the repository at autoinstaller.plesk.com
. The following error is displayed:
Getting new version of Parallels Installer...
File downloading parallels_installer_CloudLinux_5.7.1_x86_64.md5sum :
ERROR: The required version '3.11.0' was not found on the server.
This could happen because of configuration error at the download site.
Failed to download the package http://autoinstall.plesk.com/Paralle...x86_64.md5sum:
The requested URL returned error: 404
Not all packages were installed.
OR
http://autoinstall.plesk.com/PHP_5.3.29/dist-rpm-CentOS-7-x86_64/packages/plesk-php53-ioncube-loader-4.7.2-centos7.15020319.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=PHP_5_3_29-dist clean metadata
Trying other mirror.
centos7.15020319.x86_64: [Errno 256] No more mirrors to try.', u'plesk-php53-ioncube-loader-4.7.2-centos7.15020319.x86_64: [Errno 256] No more mirrors to try.', u'plesk-php52-xdebug-2.2.3-
ERROR: Failed to run the Yum utility.
The Yum utility failed to install the required packages.
It is also not possible to download the file using wget:
wget http://autoinstall.plesk.com/plesk.inf3
Resolving autoinstall.plesk.com... 93.184.221.133
Connecting to autoinstall.plesk.com|93.184.221.133|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 222396 (217K) [text/xml]
Saving to: `plesk.inf3.9' 3% [====> ] 6,960 --.-K/s in 0.001s
2013-09-01 00:21:21 (6.56 MB/s) - Read error at byte 6960/222396 (Connection reset by peer). Retrying.
Cause
Odin uses a content delivery network (CDN) to distribute Plesk packages. This technology uses several cache servers which are distributed across different parts of the internet. All of the servers share a common domain name, autoinstall.plesk.com, which resolves to different IP addresses depending on the network segment that a request comes from. Sometimes, a server becomes out of sync with the main replica and files go missing.
- Network issues (TCP window scaling).
Resolution
Use the main replica of the Plesk repository until your local CDN server synchronizes with it. To do this, configure a static resolution rule in the file /etc/hosts:
68.232.34.73 autoinstall.plesk.com
Alternatively:
93.184.221.133 autoinstall.plesk.com
If this does not help, disable TCP window scaling:
echo 0 > /proc/sys/net/ipv4/tcp_window_scaling
See the following link for more details on TCP window scaling http://lwn.net/Articles/92727/
If the issue still persists, open the /etc/hosts
file and replace:
68.232.34.73 autoinstall.plesk.com
With:
199.115.104.31 pleskwin.download.swsoft.com download1.parallels.com autoinstall.plesk.com origin.autoinstall.plesk.com