System/Linux, unix

[centOS] vsftpd chkconfig 자동 실행 설정시 에러발생 해결

opid 2014. 1. 25. 01:39

문제

'# chkconfig vsftpd on' 하면 에러 발생


해결

1. # vi /etc/xinetd.d/vsftpd

disable = no

2. #vi /etc/vsftpd/vsftpd.conf

LISTEN=YES

3. # chkconfig vsftpd off

자동실행 멈춤

4. # chkconfig --add vsftpd

자동실행 추가

5. # /etc/rc.d/init.d/xinetd restart

xinetd 재실행