Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
[root@NPMS-6 xinetd.d]# more vsftpd
# default: off
# description: The vsftpd FTP server serves FTP connections. It uses \
# normal, unencrypted usernames and passwords for authentication.
service ftp
{
socket_type = stream
wait = no
user = root
server = /usr/sbin/vsftpd
nice = 10
disable = no
}
but i am unable to FTP to the machine.
this is what i get when i try to connect to the machine
ok when i stopped the iptables it stopped successfuly
Code:
[root@NPMS-6 xinetd.d]# service iptables stop
Flushing all chains: [ OK ]
Removing user defined chains: [ OK ]
Resetting built-in chains to the default ACCEPT policy: [ OK ]
You have new mail in /var/spool/mail/root
but when i try to start the vsftpd service here is what i get.
Code:
[root@NPMS-6 xinetd.d]# service vsftpd start
vsftpd: unrecognized service
[root@NPMS-6 xinetd.d]# chmod 777 /etc/xinetd.d/vsftpd
[root@NPMS-6 xinetd.d]# /etc/xinetd.d/vsftpd start
ftp: unrecognized service
/etc/xinetd.d/vsftpd: line 6: socket_type: command not found
/etc/xinetd.d/vsftpd: line 7: wait: `=': not a pid or valid job spec
/etc/xinetd.d/vsftpd: line 7: wait: `no': not a pid or valid job spec
/etc/xinetd.d/vsftpd: line 8: user: command not found
/etc/xinetd.d/vsftpd: line 9: server: command not found
nice: =: No such file or directory
/etc/xinetd.d/vsftpd: line 11: disable: command not found
if you have vsftpd running under xinetd then you will not see it under /etc/init.d/vsftpd as a script. If you have already restarted xinetd then you will have to check the configuration in /etc/vsftpd.conf.
I would try to restart xientd first. "/etc/init.d/xinetd restart"
to confirm that its running type "ps -ef |grep vsftpd" if its running you will see something like this:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.