• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

PROFTPD not working anymore

KimV

New Pleskian
Since a few days I cannot access my ftp anymore.
Following error:
"ECONNREFUSED - Connection refused by server".

So I've checked the logfiles on the server and saw the following:
Dec 4 17:14:53 vps1892 xinetd[23823]: Server /usr/sbin/in.proftpd is not executable [file=/etc/xinetd.d/ftp_psa] [line=10]
Dec 4 17:14:53 vps1892 xinetd[23823]: Error parsing attribute server - DISABLING SERVICE [file=/etc/xinetd.d/ftp_psa] [line=10]

seems that something was changed and that I'm not aware off... Probably an auto update...

So I restarted the server and still the same problem.

Proftpd is installed for PSA:
[root@vps1892 sbin]# rpm -q psa-proftpd
psa-proftpd-1.3.3-cos5.build109101019.20


When I check the xinetd.conf file, there's nothing much in it. So I ask myself where it does get its information?
 
Even cannot reinstall psa-proftpd?

[root@vps1892 log]# yum reinstall psa-proftpd
Loaded plugins: fastestmirror
Setting up Reinstall Process
Loading mirror speeds from cached hostfile
* addons: ftp.nluug.nl
* base: mirrors.nl.kernel.org
* extras: ftp.nluug.nl
* rpmforge: apt.sw.be
* updates: ftp.nluug.nl
addons | 951 B 00:00
base | 2.1 kB 00:00
extras | 2.1 kB 00:00
rpmforge | 1.1 kB 00:00
updates | 1.9 kB 00:00
Installed package psa-proftpd-1.3.3-cos5.build109101019.20.i386 not available.
Nothing to do
 
Reinstalled and works fine!


Ok but it says me that packet is already installed???

[root@vps1892 temp]# rpm -U psa-proftpd-1.3.3-cos5.build109101019.20.i386.rpm
package psa-proftpd-1.3.3-cos5.build109101019.20.i386 is already installed
[root@vps1892 temp]# rpm -i psa-proftpd-1.3.3-cos5.build109101019.20.i386.rpm
package psa-proftpd-1.3.3-cos5.build109101019.20.i386 is already installed


So I probably first need to remove it and then I get this:

Error DetailsOperation remove with the Env(s) "vps1892.deonderdelenshop.de" is finished with errors: Can not remove packages: exec failed: error: Failed dependencies:
psa-proftpd >= 1.3.3 is needed by (installed) plesk-core-10.9.0-cos5.build109101029.17.i386
Error: /usr/lib/rpm/rpmi failed, exitcode=1

Via shell:

[root@vps1892 temp]# rpm -e psa-proftpd-1.3.3-cos5.build109101019.20
error: Failed dependencies:
psa-proftpd >= 1.3.3 is needed by (installed) plesk-core-10.9.0-cos5.build109101029.17.i386


So I removed it with nodeps option:
[root@vps1892 temp]# rpm -e psa-proftpd-1.3.3-cos5.build109101019.20 --nodeps


Reinstalled it:
[root@vps1892 temp]# rpm -i psa-proftpd-1.3.3-cos5.build109101019.20.i386.rpm

Checking if it's installed:
[root@vps1892 temp]# rpm -qa | grep ftp
psa-ftputil-2.1.1-1.10101920
ftp-0.17-35.el5
psa-proftpd-1.3.3-cos5.build109101019.20


Restarted the services:
Dec 6 17:25:12 vps1892 xinetd[16112]: xinetd Version 2.3.14 started with libwrap loadavg labeled-networking options compiled in.
Dec 6 17:25:12 vps1892 xinetd[16112]: Started working: 5 available services



WORKS LIKE A CHARM NOW!


So the the critical bug is also gone now?
 
Back
Top