Solving vsftp can't start problem

  

Newly installed system, suddenly found that the vsftp service is not started, check the log is normal, rpm package is also installed
1 2 3 4 [root@node1 ~]# service vsftpd restart Shutting down vsftpd : [FAILED] Starting vsftpd for vsftpd: [FAILED] [root@node1 ~]#


After a series of tests, it was found that port 21 is occupied
1 2 3 4 [root@node1 ~ ]# netstat -nlap | Grep .21| More tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN 32190/Xorg tcp 0 0 0.0.0.0:1521 0.0.0.0:* LISTEN 31903/tnslsnr tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 1289 /xinetd


Solution, turn off xinetd, ftp is normal
1 2 3 4 5 6 [root@node11 ~]# service xinetd stop Stopping xinetd: [ OK ] [root@node11 ~] # service vsftpd start Starting vsftpd for vsftpd: [ OK ] [root@node11 ~]# service xinetd start Starting xinetd: [ OK ]


& Ldquo; farmers uncle to learn linux & rdquo; blog, be sure to keep this source http://peasantry.blog.51cto.com/12131934/1870054

Copyright © Windows knowledge All Rights Reserved