[CLUE-Tech] Problem starting vsftp through xinetd
Chris Greene
r0x0rman at yahoo.com
Sat Jan 10 16:18:43 MST 2004
When I try to connect to my vsftp server I get the following:
[root at linux chris]# ftp localhost
Connected to localhost (127.0.0.1).
500 OOPS: could not bind listening IPv4 socket
My vsftp file in xinetd.d is listed as:
service ftp
{
socket_type = stream
wait = no
user = root
server = /usr/local/src/vsftpd-1.2.1/vsftpd
# server_args =
# log_on_success += DURATION USERID
# log_on_failure += USERID
nice = 10
disable = no
}
I change disabled to "yes", restarted xinetd and ran:
[root at linux chris]# netstat -pa |grep ftp
returns nothing. So at this point it looks like no other ftp server is
running.
If I run "/usr/local/src/vsftpd-1.2.1/vsftpd &", the server starts and I'm
able to login.
[root at linux chris]# /usr/local/src/vsftpd-1.2.1/vsftpd &
[1] 1076
[root at linux chris]# netstat -pa |grep ftp
tcp 0 0 *:ftp *:* LISTEN
1076/vsftpd
If I try to start the server again I get:
[root at linux chris]# /usr/local/src/vsftpd-1.2.1/vsftpd &
[2] 1079
500 OOPS: could not bind listening IPv4 socket
************************
Any ideas? From the error it seems like xinetd.d is trying to start the
server again when I try to connect.
More information about the clue-tech
mailing list