Dies ist eine mehrteilige Nachricht im MIME-Format.
--===============1106194402==
Content-Type: multipart/alternative;
boundary="=_alternative 0052EEBCC125740C_="

Dies ist eine mehrteilige Nachricht im MIME-Format.
--=_alternative 0052EEBCC125740C_=
Content-Type: text/plain; charset="US-ASCII"

Hello ProFTP users,

i've tried to start 2 instances of proftp on one physical host.
I thought that the combination of the VirtualHost ,SocketBindTight and
Port directives ist the right way.
But when I tried this, only one server starts and it's not only bound to
port 2121, also to the default port 21.
Both Ip's are functional.

Here's my actual config (ftp2), ftp1 ist the same only the port ist 2221
and the directorys are changed to /ftp1:
I start the server with proftpd -c /ftp2/conf/ftp2.conf and proftpd -c
/ftp1/conf/ftp1.conf

Could anyone help me?

Greets,
Simon

#
# /etc/proftpd/proftpd.conf -- This is a basic ProFTPD configuration file.
# To really apply changes reload proftpd after modifications.
#




# Includes DSO modules
Include /ftp1/conf/modules.conf
ServerType standalone
MultilineRFC2228 on
MaxInstances 30
PidFile /ftp2/run/ftp2.pid
SystemLog /ftp2/logs/systemlog
UseIPv6 off
UseReverseDNS off
SocketBindTight on


ServerName "ftp2.domain.com"
DeferWelcome off


DefaultServer on
ShowSymlinks on

TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200

DisplayLogin welcome.msg
DisplayFirstChdir .message
ListOptions "-l"

DenyFilter \*.*/

# Port 21 is the standard FTP port.
Port 2121



# Set the user and group that the server normally runs at.
User proftpd
Group nogroup



AllowOverwrite on

TransferLog /ftp2/logs/xferlog
SyslogLevel warn


#Einstellungen SiSo
RootLogin off

AuthUserFile /ftp2/conf/ftp2.passwd
CreateHome on dirmode 755
DefaultRoot ~
DeleteAbortedStores on
ExtendedLog /ftp2/logs/xferlog
IdentLookups off

MaxClientsPerHost 5
MaxLoginAttempts 5
RequireValidShell off
RootRevoke off




TLSEngine on
TLSLog /ftp2/logs/tls.log
TLSProtocol SSLv23
TLSOptions NoCertRequest
TLSRSACertificateFile /ftp2/conf/ftp2.cert.pem
TLSRSACertificateKeyFile /ftp2/conf/ftp2.key.pem
TLSVerifyClient off



QuotaEngine on



Ratios on




DelayEngine off



ControlsEngine on
ControlsMaxClients 2
ControlsLog /ftp2/logs/controls.log
ControlsInterval 5
ControlsSocket /ftp2/run/ftp2.sock



AdminControlsEngine on



--=_alternative 0052EEBCC125740C_=
Content-Type: text/html; charset="US-ASCII"



Hello ProFTP users,



i've tried to start 2 instances of proftp
on one physical host.


I thought that the combination of the
VirtualHost ,SocketBindTight and Port directives ist the right way.


But when I tried this, only one server
starts and it's not only bound to port 2121, also to the default port 21.


Both Ip's are functional.



Here's my actual config (ftp2), ftp1
ist the same only the port ist 2221 and the directorys are changed to /ftp1:


I start the server with proftpd  -c
/ftp2/conf/ftp2.conf and proftpd  -c /ftp1/conf/ftp1.conf




Could anyone help me?



Greets,

Simon



#

# /etc/proftpd/proftpd.conf -- This
is a basic ProFTPD configuration file.


# To really apply changes reload proftpd
after modifications.


#









# Includes DSO modules

Include /ftp1/conf/modules.conf

ServerType        
               standalone


MultilineRFC2228      
         on


MaxInstances        
               30


PidFile        
               /ftp2/run/ftp2.pid


SystemLog        
               
  /ftp2/logs/systemlog


UseIPv6        
               off


UseReverseDNS      
               
 off


SocketBindTight      
          on




<VirtualHost 192.168.0.1>

ServerName        
               "ftp2.domain.com"


DeferWelcome        
               off






DefaultServer      
               
 on


ShowSymlinks        
               on




TimeoutNoTransfer      
         600


TimeoutStalled      
               
 600


TimeoutIdle        
               1200




DisplayLogin        
           welcome.msg


DisplayFirstChdir      
        .message


ListOptions        
               "-l"




DenyFilter        
               \*.*/




# Port 21 is the standard FTP port.

Port        
               
       2121








# Set the user and group that the server
normally runs at.


User        
               
       proftpd


Group        
               
       nogroup








AllowOverwrite      
               
 on




TransferLog        
               
/ftp2/logs/xferlog


SyslogLevel        
               warn






#Einstellungen SiSo

RootLogin        
               
off




AuthUserFile        
               
/ftp2/conf/ftp2.passwd


CreateHome        
               on
dirmode 755


DefaultRoot        
               
~


DeleteAbortedStores      
          on


ExtendedLog        
               /ftp2/logs/xferlog


IdentLookups        
               off




MaxClientsPerHost      
         5


MaxLoginAttempts      
         5


RequireValidShell      
         off


RootRevoke        
               off




</VirtualHost>



<IfModule mod_tls.c>

TLSEngine        
               
       on


TLSLog        
               
        /ftp2/logs/tls.log


TLSProtocol        
               
       SSLv23


TLSOptions        
               
       NoCertRequest


TLSRSACertificateFile    
           /ftp2/conf/ftp2.cert.pem


TLSRSACertificateKeyFile    
           /ftp2/conf/ftp2.key.pem


TLSVerifyClient      
               
 off


</IfModule>



<IfModule mod_quota.c>

QuotaEngine on

</IfModule>



<IfModule mod_ratio.c>

Ratios on

</IfModule>





<IfModule mod_delay.c>

DelayEngine off

</IfModule>



<IfModule mod_ctrls.c>

ControlsEngine      
 on


ControlsMaxClients    2

ControlsLog        
  /ftp2/logs/controls.log


ControlsInterval      5

ControlsSocket      
 /ftp2/run/ftp2.sock


</IfModule>



<IfModule mod_ctrls_admin.c>

AdminControlsEngine on

</IfModule>




--=_alternative 0052EEBCC125740C_=--


--===============1106194402==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--===============1106194402==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ProFTPD Users List
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
--===============1106194402==--