LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 10-29-2005, 08:55 PM   #1
Sjonnie48
Member
 
Registered: Jun 2005
Location: Earth
Distribution: Ubuntu10.04
Posts: 308

Rep: Reputation: 43
Mdk10.1 official: vsftpd and IPv4


Hi Folks,

After installing and configuring vsftpd I wanted to run the program.
When I started it with 'vsftpd &' I got this message:

#vsftpd &
[1] 18595
#500 OOPS: could not bind listening IPv4 socket

[1]+ Exit 1 vsftpd

I've never seen this before.
I have worked with vsftpd before on the same mdk10.1 and had no difficulties at all.
This week I had to reinstall my system completely, and some things seem to have changed.
Who knows what to do?

Thanks,

Sjonnie
 
Old 10-30-2005, 01:48 PM   #2
nistelrooy
Member
 
Registered: Oct 2003
Location: Singapore
Distribution: debian
Posts: 162

Rep: Reputation: 30
I guess you might want to check netstat to see if any applications are occupying port 22. Ports below <1024 require root access. So, run it with root if you want to find out with app is holding on to that port.

Just my guess.
 
Old 10-30-2005, 03:49 PM   #3
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 49
ftp is port 21 not 22 Its quite normal that port 22 is used if you've got sshd running.

To see what programs are listening on each port run (as root)
Code:
netstat -nlp
 
Old 10-31-2005, 02:43 AM   #4
Sjonnie48
Member
 
Registered: Jun 2005
Location: Earth
Distribution: Ubuntu10.04
Posts: 308

Original Poster
Rep: Reputation: 43
Hi Folks,

Thanks for your interest, but I have found the reason: xinetd was listening on port 21.
After disabling xinetd starting vsftpd went fine. Removing xinetd seems impossible, because Mandrake has made half of the system depending on xinetd. But disabling it causes no problems so far.

Sjonnie
 
Old 10-31-2005, 04:18 AM   #5
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 49
You shouldn't remove xinetd. If xinetd is listening on port 21 that probably means that there is another FTP server installed that happens to use xinetd. The most likely culprit is proftpd which seems to be installed by default - just remove the proftpd package, restart the xinetd service and the port 21 problem will go away, and you can still keep xinetd running in case something else needs it.
 
Old 10-31-2005, 08:18 AM   #6
Sjonnie48
Member
 
Registered: Jun 2005
Location: Earth
Distribution: Ubuntu10.04
Posts: 308

Original Poster
Rep: Reputation: 43
There is an alternative for xinetd, terribly reliable and very secure: daemontools.
See cr.yp.to for more information.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
trying to compile X11R6.8.1 on mdk10.1 official quatsch Mandriva 3 12-12-2004 08:08 PM
Serious Problem with MDK10 Official and java dabump Mandriva 10 10-08-2004 03:38 AM
What the difference between MDK10 Official and MDK10??? unixfreak Mandriva 1 08-18-2004 02:35 PM
ATI Drivers in MDK10 Official Borka Mandriva 3 07-19-2004 01:39 PM
Geforce 4 and MDK10 official Warmaster Mandriva 18 05-24-2004 03:10 AM


All times are GMT -5. The time now is 08:11 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration