LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-03-2012, 05:30 AM   #1
super user
LQ Newbie
 
Registered: Mar 2012
Posts: 5

Rep: Reputation: Disabled
running two vsFTPd in the same server


hi everybody
I am trying to run two copies of vsFTPd daemon on the same server, and both are listening to IPv4 socket (IPv6 is kept away), is that possible ?
 
Old 05-03-2012, 06:17 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
Originally Posted by super user View Post
hi everybody
I am trying to run two copies of vsFTPd daemon on the same server, and both are listening to IPv4 socket (IPv6 is kept away), is that possible ?
It is, if both instances are listening on different ports, or different interfaces. See the "listen_port" and "listen_address" directives of vsftpd.conf

Regards
 
Old 05-03-2012, 06:35 AM   #3
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

Do be careful when installing 2 or more instances: Not only do you need to make sure the port/interface is unique, you also need to make sure that each instance has its own pid file (in Debian that would be /var/run/vsftpd/vsftpd.pid), this to make sure they can be started and stopped using the init files. This is done in the init scripts.

It might also be a good idea to separate the created log files (done in the vsftpd.conf file).

Hope this helps.
 
  


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
running two vsFTPd in the same server mohdayadd Linux - Server 10 01-19-2011 11:40 PM
[SOLVED] vsftpd not running sheelavantar Linux - Networking 7 09-09-2010 02:56 AM
Can't connect to FTP server running vsftpd eswafford Linux - Software 1 07-19-2007 08:56 AM
Unable to login as local user with vsftpd running on the server kairamr Linux - Newbie 1 06-09-2004 02:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:21 AM.

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