Connection attempt failed with “ECONNREFUSED – Connection refused by server”.
Bu sorunun sebebi pure-ftpd sağlıklı kurulamamasından dolayı filezilla gibi yazılımlarla FTP bağlantısı kurulamayınca sistem tarafından verilen hatadır.
Öncelikle sistemimizde kurulu pure-ftpd’yi yeniden yapılandıralım.
pure-FTPd yazılım versiyonunu ögrenmek için SSH’dan
1 | rpm -qa|grep pure-ftpd |
Kurulu versiyon
1 | pure-ftpd-1.0.42-5.cp1156.x86_64 |
Devredışı bırak
1 | rpm -e --nodeps pure-ftpd-1.0.42-3.cp1156.x86_64 |
Devredışı bırakıldı
1 2 3 | rpm -e --nodeps pure-ftpd-1.0.42-5.cp1156.x86_64 [pure-ftpd] Stopping pure-authd: 1 process (pure-authd) sent signal 9 disable was successful |
Yeniden yapılandırma için SSH’dan /scripts/check_cpanel_rpms –fix uygulayın.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | [2016-09-09 16:21:38 +0200] [2016-09-09 16:21:38 +0200] Problems were detected with cPanel-provided files which are RPM controlled. [2016-09-09 16:21:38 +0200] If you did not make these changes intentionally, you can correct them by running: [2016-09-09 16:21:38 +0200] [2016-09-09 16:21:38 +0200] > /usr/local/cpanel/scripts/check_cpanel_rpms --fix [2016-09-09 16:21:38 +0200] The following RPMs are missing from your system: [2016-09-09 16:21:38 +0200] pure-ftpd-1.0.42-5.cp1156 [2016-09-09 16:24:48 +0200] Removing 0 broken rpms: [2016-09-09 16:24:48 +0200] rpm: no packages given for erase [2016-09-09 16:24:49 +0200] Downloading http://httpupdate.cpanel.net/RPM/11.56/centos/6/x86_64/rpm.sha512 [2016-09-09 16:24:57 +0200] Successfully verified signature for cpanel (key types: release). [2016-09-09 16:24:57 +0200] Downloading http://httpupdate.cpanel.net/RPM/11.56/centos/6/x86_64/pure-ftpd-1.0.42-5.cp1156.x86_64.rpm [2016-09-09 16:24:58 +0200] Disabling service monitoring. [2016-09-09 16:24:59 +0200] Hooks system enabled. [2016-09-09 16:24:59 +0200] Checking for and running RPM::Versions 'pre' hooks for any RPMs about to be installed [2016-09-09 16:24:59 +0200] All required 'pre' hooks have been run [2016-09-09 16:25:04 +0200] No RPMS need to be uninstalled [2016-09-09 16:25:04 +0200] Installing new rpms: pure-ftpd-1.0.42-5.cp1156.x86_64.rpm [2016-09-09 16:25:04 +0200] Preparing packages for installation... [2016-09-09 16:25:04 +0200] pure-ftpd-1.0.42-5.cp1156 [2016-09-09 16:25:05 +0200] enable was successful [2016-09-09 16:25:06 +0200] Hooks system enabled. [2016-09-09 16:25:06 +0200] Checking for and running RPM::Versions 'post' hooks for any RPMs about to be installed [2016-09-09 16:25:06 +0200] All required 'post' hooks have been run [2016-09-09 16:25:06 +0200] Restoring service monitoring. |
NOT : Bu hata whm’nin WHM 58.0 (build 27) versiyonunda tespit edildi.