LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-30-2011, 07:32 AM   #1
maddy_elx
LQ Newbie
 
Registered: May 2011
Posts: 2

Rep: Reputation: Disabled
Question VSFTPD Multiple FTP sites with default port '21'


Hi,

I am trying to create multiple FTP sites on one Linux server (using multiple vsftpd-sitename.conf files) with default port '21'.

Below is the sample vsftpd site configuration,

# cat vsftpd-site1.conf
listen=YES
write_enable=YES
pam_service_name=vsftpd
anon_upload_enable=YES
anon_mkdir_write_enable=YES
guest_enable=YES
chroot_local_user=YES
hide_ids=YES
anon_root=/data
anonymous_enable=YES
listen_address=192.168.169.1
listen_port=21

I am unable to create above vsftpd site with port '21'. Below is the problem,

# vsftpd vsftpd-site1.conf &
[1] 14448
500 OOPS: could not bind listening IPv4 socket

I wonder, i can able to create above FTP site with another port (example, listen_port=60001 ).

In Linux(vsftpd), can i use default ftp port '21' for multiple FTP sites? if yes, what is the possible way?

Thanks in advance.

Last edited by maddy_elx; 05-30-2011 at 07:35 AM. Reason: minor change
 
Old 05-30-2011, 08:08 AM   #2
nidhinmd
Member
 
Registered: Aug 2007
Location: Cochin, Kerala, India
Posts: 32

Rep: Reputation: 3
After saving vsftpd-site1.conf file, restart vsftpd and check.
 
Old 05-30-2011, 10:19 AM   #3
maddy_elx
LQ Newbie
 
Registered: May 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
It doesn't working. :-(

I guess, default ftp port 21 is being used by vsftpd service when it is start and running, also not allowing to share same port with new ftp sites.

Because when i stop vsftpd(service vsftpd stop), i am able to create the above ftp site with vsftpd-site1.conf file(using port 21) and when i start/restart vsftpd(service vsftpd restart), the above created ftp site is getting terminated automatically.

Must be some other solution.
 
  


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
How to change default /var/ftp/pub in ftp(vsftpd) mohd anas Linux - Networking 3 07-08-2011 02:14 PM
[SOLVED] VSFTPD - Changing FTP Port dsartain Linux - Newbie 5 08-19-2009 09:02 PM
How to chnage default FTP directory for vsftpd ? patiwat Linux - Newbie 1 08-01-2003 08:25 AM
vsftpd xinetd bbbbbbbbbbbbbChanging default port jakcap Linux - Newbie 2 07-26-2003 06:30 PM
Multiple FTP Sites on One server suomynona007 Linux - Networking 1 08-03-2002 01:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:43 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