Symptoms
-
Below error can be found in
/var/log/messages
:Error server proftpd[7625]: mod_ctrls/0.9.5: error: unable to bind to local socket: Address already in use
-
FTP connection via FileZilla fails with similar errors:
Connection closed by server
Could not connect to server -
psa-proftp
package is installed from Atomic repository:# rpm -qi psa-proftpd | grep Vendor
Vendor : Atomicorp
Cause
The incorrect package is installed.
Resolution
-
Login to the server via SSH
-
Exclude the
psa-proftp
package from Atomic repo/etc/yum.repos.d/asl.repo
and/or/etc/yum.repos.d/atomic.repo
by adding the line in bold:# cat /etc/yum.repos.d/asl.repo
[asl-4.0]
name=Atomicorp – – Atomic Secured Linux 4.0
mirrorlist=file:///etc/asl/asl-4.0-mirrorlist
enabled=1
gpgkey = [file:///etc/pki/rpm-gpg/RPM-GPG-KEY.atomicorp.txt](file:///etc/pki/rpm-gpg/RPM-GPG-KEY.atomicorp.txt)
gpgcheck=1
exclude=psa-proftpd -
Remove the
psa-proftp
package from the server:# rpm -e –nodeps psa-proftpd
-
Install the
psa-proftp
package from Plesk repository:# plesk installer –select-release-current –install-component proftpd
-
Restart the service:
# systemctl restart xinetd