LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 08-31-2004, 05:35 AM   #1
zsoltrenyi
Member
 
Registered: May 2004
Distribution: redhat, trustix, debian
Posts: 103

Rep: Reputation: 15
vsftpd and xinetd problem


hi
i can't get vsftpd work with xinetd
it works fine as a standalone daemon, but when it is controlled by xinetd i can't connect to it and i don't know why

no error messages just : Connected to my.ip.address:21
Disconnected

any ideas?

thanks
 
Old 08-31-2004, 10:10 AM   #2
zsoltrenyi
Member
 
Registered: May 2004
Distribution: redhat, trustix, debian
Posts: 103

Original Poster
Rep: Reputation: 15
I don't need to put anything in my hosts.allow file if I have tcp_wrappers=NO in my vsftpd.conf, do I?
or xinetd uses tcpwrappers?
 
Old 08-31-2004, 11:08 AM   #3
siyeclover
Member
 
Registered: Jan 2003
Location: RaMetal
Distribution: Solaris,FC2,FreeBSD
Posts: 41

Rep: Reputation: 15
Post your vsftpd scripts of xinetd .
cat /etc/xinetd.d/vsftpd

and run this command
netstat -nat|grep 21


siyeclover
 
Old 08-31-2004, 02:41 PM   #4
zsoltrenyi
Member
 
Registered: May 2004
Distribution: redhat, trustix, debian
Posts: 103

Original Poster
Rep: Reputation: 15
ok here it is:
# default: on
# description:
# The vsftpd FTP server serves FTP connections. It uses
# normal, unencrypted usernames and passwords for authentication.
# vsftpd is designed to be secure.
service ftp
{
# port = 21
disable = no
socket_type = stream
wait = no
user = root
server = /usr/sbin/vsftpd
# server_args =
# log_on_success += DURATION USERID
# log_on_failure += USERID
nice = -5
}

and the netstat thing

[root@local root]# netstat -nat|grep 21
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN
 
Old 08-31-2004, 02:44 PM   #5
zsoltrenyi
Member
 
Registered: May 2004
Distribution: redhat, trustix, debian
Posts: 103

Original Poster
Rep: Reputation: 15
and this is what i get when i try to connect:
ftp localhost
Connected to localhost.
421 Service not available, remote server has closed connection

if i run vsftpd in standalone mode it works
 
Old 09-01-2004, 02:48 AM   #6
zsoltrenyi
Member
 
Registered: May 2004
Distribution: redhat, trustix, debian
Posts: 103

Original Poster
Rep: Reputation: 15
ok guys
thanks a lot
i had
only_from=
in my xinetd.conf
i thought if it's blank xinetd will let through everybody, but he didn't
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftpd inetd -> xinetd slackster Linux - Networking 2 06-26-2005 05:37 PM
Xinetd not starting vsftpd? simonmccourt Linux - Networking 0 02-22-2004 08:08 AM
VSFTPD problems with xinetd paintcheck200 Linux - Networking 6 09-11-2003 12:39 PM
Cannot get vsftpd and xinetd to play together SForsgren Linux - General 6 05-02-2003 01:08 AM
Xinetd to run vsftpd? tharris Linux - Newbie 3 01-30-2003 01:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration