WingFTP service auto-start fails in CentOS/Fedora/RHEL
Posted: Thu Jun 25, 2020 7:14 am
SELinux is used in enforcing mode under CentOS/Fedora/RHEL, it prevents starting up wftpserver.service when WingFTP is installed under user directory.
So you may install WingFTP under the directory "/opt", then SELinux won't prevent wftpserver.service auto-start:
Another method is disabling SELinux, you can take the following commands:
sudo vi /etc/sysconfig/selinux
Replace the line:
SELINUX=enforcing
into:
SELINUX=disabled
sudo reboot
So you may install WingFTP under the directory "/opt", then SELinux won't prevent wftpserver.service auto-start:
Code: Select all
cd /opt
wget https://www.wftpserver.com/download/wftpserver-linux-64bit.tar.gz
tar xzvf wftpserver-linux-64bit.tar.gz
cd wftpserver
sudo ./setup.shAnother method is disabling SELinux, you can take the following commands:
sudo vi /etc/sysconfig/selinux
Replace the line:
SELINUX=enforcing
into:
SELINUX=disabled
sudo reboot