--===============1718639950==
Content-Type: multipart/alternative;
boundary="----=_Part_59001_18015684.1156582517839"

------=_Part_59001_18015684.1156582517839
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Our web/ftp server has to go from 1 to 8 domains.
I'm busy working the config out, but get a few warnings eroros if I try
this...
I use CentOS 4.3 as OS

I get 2 things from the logs:
Aug 26 09:11:16 web proftpd: - warning: "ftp domain2.tld" address/port (
xxx.xxx.xxx.xxx:21) already in use by "ftp.domain1.tld"
Aug 26 09:11:16 web proftpd: - warning: "ftp domain3.tld" address/port (
xxx.xxx.xxx.xxx:21) already in use by "ftp.domain1.tld"
and this goes on for all domains.

Second, I get :
Aug 26 09:12:59 web proftpd[17074]: web (192.168.200.82[192.168.200.82]) -
FTP session opened.
Aug 26 09:12:59 web proftpd[17074]: web (192.168.200.82[192.168.200.82]) -
no such user 'anonymous'
Aug 26 09:13:00 web proftpd[17074]: web (192.168.200.82[192.168.200.82]) -
FTP session closed.
If I try to access the ftp server with a browser, anonymous, I get a 'user
unknown'.

Can anyone tell me what I do wrong in my config?
a snip from my config is seen below. At the moment, all virtual hosts have
the same setup (except for the default server directive)
starting the service gives no errors.

proftpd.conf :
ServerName "web/ftp/mail server"
ServerType standalone
DeferWelcome off
Port 21
Umask 022
TimeoutLogin 120
TimeoutIdle 600
TimeoutNoTransfer 900
User ftp
Group ftp
DefaultRoot /var/ftp/pub/
UseReverseDNS off
ScoreboardFile /var/run/proftpd.score
TransferLog /var/log/proftpd/xferlog.legacy
LogFormat deault "%h %l %u %t \"%r\" %s %b"
LogFormat auth "%v [%p] %h %t \"%r\" %s"
LogFormat write "%h %l %u %t \"%r\" %s %b"

DisplayLogin welcome.msg
DisplayFirstChdir readme
AllowOverwrite yes
IdentLookups off
ExtendedLog /var/log/proftpd/access.log WRITE,READ write
ExtendedLog /var/log/proftpd/auth.log AUTH auth


DenyAll


#---------------------------------
# Virtuele servers start here
#---------------------------------

#domain1

ServerAdmin maintainer@domain1.tld
ServerName "ftp.domain1.tldl"
MaxLoginAttempts 3
RequireValidShell no
MaxClients 15
DefaultServer on
DefaultRoot /home/WWW/domain1.tld/ftp/
AllowOverwrite yes
TimeoutLogin 120
TimeoutIdle 600
TimeoutNoTransfer 900

User ftp
Group ftp
UserAlias anonymous ftp
RequireValidShell no

DenyAll




# domain2
# domain3
# domain4
# domain5
# domain6
# domain7
# domain8

------=_Part_59001_18015684.1156582517839
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Our web/ftp server has to go from 1 to 8 domains.

I'm busy working the config out, but  get a few warnings eroros if I try this...

I use CentOS 4.3 as OS



I get 2 things from the logs:

Aug 26 09:11:16 web proftpd:  - warning: "ftp domain2.tld"
address/port (xxx.xxx.xxx.xxx:21) already in use by "ftp.domain1.tld"

Aug 26 09:11:16 web proftpd:  - warning: "ftp domain3.tld"
address/port (xxx.xxx.xxx.xxx:21) already in use by "ftp.domain1.tld"

and this goes on for all domains.



Second, I get :

Aug 26 09:12:59 web proftpd[17074]: web (192.168.200.82[192.168.200.82]) - FTP session opened.

Aug 26 09:12:59 web proftpd[17074]: web (192.168.200.82[192.168.200.82]) - no such user 'anonymous'

Aug 26 09:13:00 web proftpd[17074]: web (192.168.200.82[192.168.200.82]) - FTP session closed.

If I try to access the ftp server with a browser, anonymous, I get a 'user unknown'.



Can anyone tell me what I do wrong in my config?

a snip from my config is seen below. At the moment, all virtual hosts
have the same setup (except for the default server directive)

starting the service gives no errors.



proftpd.conf :

ServerName    "web/ftp/mail server"

ServerType        standalone

DeferWelcome    off

Port         21

Umask        022

TimeoutLogin    120

TimeoutIdle    600

TimeoutNoTransfer    900

User        ftp

Group        ftp

DefaultRoot    /var/ftp/pub/

UseReverseDNS    off

ScoreboardFile    /var/run/proftpd.score

TransferLog    /var/log/proftpd/xferlog.legacy

LogFormat    deault "%h %l %u %t \"%r\" %s %b"

LogFormat    auth   "%v [%p] %h %t \"%r\" %s"

LogFormat    write  "%h %l %u %t \"%r\" %s %b"

<global>

    DisplayLogin         welcome.msg

    DisplayFirstChdir        readme

    AllowOverwrite        yes

    IdentLookups        off

    ExtendedLog        /var/log/proftpd/access.log WRITE,READ write

    ExtendedLog        /var/log/proftpd/auth.log AUTH auth

</global>

<Limit WRITE>

    DenyAll

</limit>



#---------------------------------

# Virtuele servers start here

#---------------------------------



#domain1

<VirtualHost www.dins.nl>

    ServerAdmin        maintainer@domain1.tld

    ServerName         "ftp.domain1.tldl"    

    MaxLoginAttempts    3            

    RequireValidShell    no            

    MaxClients        15            

    DefaultServer        on        

    DefaultRoot        /home/WWW/domain1.tld/ftp/

    AllowOverwrite      
 yes            

    TimeoutLogin      
 120            

    TimeoutIdle        600            

    TimeoutNoTransfer      
 900            

    <Anonymous /home/WWW/domain1.tld/ftp>

        User            ftp

        Group            ftp

        UserAlias        anonymous ftp

        RequireValidShell     no

        <limit WRITE>

            DenyAll

        </limit>

    </Anonymous>    

</VirtualHost>    



# domain2

# domain3

# domain4

# domain5

# domain6

# domain7

# domain8




------=_Part_59001_18015684.1156582517839--


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

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642
--===============1718639950==
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
--===============1718639950==--