Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Alternative Computing > Linux Support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Linux Support Linux - Operating Systems and Applications Support

Reply
 
LinkBack Thread Tools
Old 01-14-2008, 05:44 PM   #1 (permalink)
TSF Enthusiast
 
cryingvalor's Avatar
 
Join Date: Nov 2006
Posts: 510
OS: XP2,WIN03,UBUNTU,CentOS,Bayanihan,FEDORA 8


Using Xinetd

Hey guys i just configured xinetd in my ubuntu box which also runs a vsftpd server and i configure the ftp service in xinetd. My question is if the xinetd daemon is running then the ftp(vsftpd) daemon doesnt necessarily to be running simultaneously with xinetd, xinetd will just run and stop the ftp daemon when necessary?
cryingvalor is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 01-16-2008, 09:32 AM   #2 (permalink)
Registered User
 
Join Date: Oct 2007
Location: Littleton, Colorado USA
Posts: 470
OS: xp 64 sp2 Fedora Core 8 (vmware xp core 8 x32) Minix


Re: Using Xinetd

Yes. The xindtd daemon starts and stops the vsftpd daemon on an as-needed basis. But the xindtd must always be running for ftp to work. I think, but I'm not sure, that xindtd daemon is smart enough to start a second occurrence of ftp if a second person tries to connect.
lensman3 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 02-05-2008, 07:12 PM   #3 (permalink)
TSF Enthusiast
 
cryingvalor's Avatar
 
Join Date: Nov 2006
Posts: 510
OS: XP2,WIN03,UBUNTU,CentOS,Bayanihan,FEDORA 8


Re: Using Xinetd

hello sorry for the very late reply.... i dont know whats wrong but i cant connect to my vsftpd if xinetd is running and the vsftpd daemon is off, i can only connect if vsftpd is also running, which now i conclude that xinetd is not working but my configuration on my xinetd is good i dont see any problems... what could be wrong?
cryingvalor is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 02-05-2008, 08:13 PM   #4 (permalink)
Registered User
 
Join Date: Oct 2007
Location: Littleton, Colorado USA
Posts: 470
OS: xp 64 sp2 Fedora Core 8 (vmware xp core 8 x32) Minix


Re: Using Xinetd

I'm running Fedora Core 8 on a 64 bit machine.

Here is my ftp config file in /xinetd.d/vsftpd file in xinetd.d:
permissions are -rw-r--r-- and root-root is the owner-group

service ftp
{
socket_type = stream
wait = no
user = root
server = /usr/sbin/vsftpd
server_args = /etc/vsftpd/vsftpd.conf
nice = 10
disable = no
flags = IPv4
}


See if your stuff looks like mine.
lensman3 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 02-05-2008, 08:26 PM   #5 (permalink)
Registered User
 
Join Date: Oct 2007
Location: Littleton, Colorado USA
Posts: 470
OS: xp 64 sp2 Fedora Core 8 (vmware xp core 8 x32) Minix


Re: Using Xinetd

OK hack time. We are going to see if xinetd daemon is working.

Edit the file /etc/xinetd.d/echo-stream and change the 6th to " disable = no". Restart the xinitd daemon by "/etc/init.d/xinetd restart". This is done on the host that has the ftp daemon running.

Now the hack part, type in "telnet 127.0.0.1 7". Substitute 127.0.0.1 for the number of the host that has the ftp daemon on it. Make sure of the 7 is at the end. The previous paragraph edit opens up the rpc built-in daemon for the internet echo mirror. You might have to disable your firewall

Now type garbage at it, and it will echo exactly what you type. To exit you will have to cntrl-]-D to get back to the telnet prompt (or kill the window which has no finesse). If xinitd daemon is running you will see echo's. If not then something is wrong with it and it needs fixed.
lensman3 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 02-06-2008, 07:27 PM   #6 (permalink)
TSF Enthusiast
 
cryingvalor's Avatar
 
Join Date: Nov 2006
Posts: 510
OS: XP2,WIN03,UBUNTU,CentOS,Bayanihan,FEDORA 8


Re: Using Xinetd

ok, first i copy your configuration for your ftp, then when i try to connect using a ftp client, there is an error saying that the connection is established but could not bind listening IPv4 socket, then i was about to do your latest sugestion but i have a problem with my telnet connection "telnet 127.0.0.1: is being refused.
cryingvalor is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 02-07-2008, 08:43 AM   #7 (permalink)
Registered User
 
Join Date: Oct 2007
Location: Littleton, Colorado USA
Posts: 470
OS: xp 64 sp2 Fedora Core 8 (vmware xp core 8 x32) Minix


Re: Using Xinetd

The first message sounds like a ftp daemon is listening on ports 20 and 21. If you kill the ftp daemon that error should go away.

Instead of "telnet 127.0.0.1", try "telnet 127.0.0.1 25". This will connect to the sendmail daemon (port 25-smtp). By default, the telnet server is not started automatically for security reasons which could give the error "connection refused". You need to "telnet" onto a port that is listening and sendmail should be listening. You should get a "HELO" from the sendmail daemon. Type "HELP" to get the quit or exit command name. If all fails, stop your firewall ("/etc/init.d/iptables stop"). Don't forget to later restart it.
lensman3 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 02-07-2008, 08:56 PM   #8 (permalink)
TSF Enthusiast
 
cryingvalor's Avatar
 
Join Date: Nov 2006
Posts: 510
OS: XP2,WIN03,UBUNTU,CentOS,Bayanihan,FEDORA 8


Question Re: Using Xinetd

Quote:
The first message sounds like a ftp daemon is listening on ports 20 and 21. If you kill the ftp daemon that error should go away.
The ftp daemon is already stop when i get the error message.

Quote:
"telnet 127.0.0.1 25"
this doesn't work and i have no iptables running confused:
cryingvalor is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 08:25 AM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85