I installed VSFTPD on CentOS but when I try to start the service it fails. What can I do?
Asked
Active
Viewed 2,712 times
0
-
1Did you configure /etc/vsftpd/vsftpd.conf? Did you configure tcp_wrappers (vsftpd uses them!) Did you add ip_conntrack_ftp and ip_nat_ftp to IPTABLES for connection tracking? Did you add appropriate rules to IPTABLES? – fpmurphy Jun 09 '11 at 15:08
-
I opend the port 21 and 20 for vsftpd in iptables – AmirModiri Jun 09 '11 at 15:22
-
It fails? Doesn't it show you the reason? Did you check the log files? – Hameedullah Khan Jun 09 '11 at 15:27
-
which log file you mean ? – AmirModiri Jun 09 '11 at 15:37
-
/var/log/vsftpd.log is the default log unless you changed it in /etc/vsftpd.conf – fpmurphy Jun 09 '11 at 15:43
-
i do not have this file . – AmirModiri Jun 09 '11 at 15:46
2 Answers
0
Check the log files (/var/log). Consult the CentOS manual if you don't know where/how.

pauska
- 19,620
- 5
- 57
- 75
-
there is no log file over ther i make some change in vsftpd.conf for syslog_enable=yes and so on but there is no result for log file – AmirModiri Jun 09 '11 at 16:03