ftp failure - IPv4 listening
Trying to ftp a Suse linux machine , I got the following error
Connecting to: 18.104.22.168 port: 21.
500 OOPS: could not bind listening IPv4 socket
inside /etc/vsftpd.conf, i checked the following:
I tried to start the daemon vsftpd , I got the error
clerity-demo:~ # /etc/xinetd.d/vsftpd restart
service: no such service ftp
/etc/xinetd.d/vsftpd: line 8: socket_type: command not found
/etc/xinetd.d/vsftpd: line 9: wait: `=': not a pid or valid job spec
/etc/xinetd.d/vsftpd: line 9: wait: `no': not a pid or valid job spec
/etc/xinetd.d/vsftpd: line 10: user: command not found
/etc/xinetd.d/vsftpd: line 11: server: command not found
nice: =: No such file or directory
disable: Operation failed: client-error-not-found
I don't understand the reason of this command failure
Here is the content of /etc/xinetd.d/vsftpd, I modified it at all:
clerity-demo:~ # cat /etc/xinetd.d/vsftpd
# default: on
# The vsftpd FTP server serves FTP connections. It uses
# normal, unencrypted usernames and passwords for authentication.
# vsftpd is designed to be secure.
socket_type = stream
wait = no
user = root
server = /usr/local/sbin/vsftpd
# server_args =
# log_on_success += DURATION USERID
# log_on_failure += USERID
nice = 10
disable = no
Please advise ..
If you are trying to initiate vsftpd trough xinetd you have to change listen=YES to listen=NO on vsftpd.conf.
Also if you are trying to use vsftpd trough xinetd then "/etc/xinetd.d/vsftpd restart" does not make sense. Restart the xinetd service instead.
Also add this line to /etc/xinetd.d/vsftpd
PS: in the last scenario also restart the xinetd service.
Thanks a lot for your Reply
both ftp and sftp are working well now
But it workrd with and without adding the line
server_args = /etc/vsftpd.conf #The location of vsftpd.conf
was is added just to ensure reading the vsftpd.conf file
Your reply was vey useful to me anyway
I'm glad It worked.
|All times are GMT -5. The time now is 08:59 PM.|