(no subject)

Jeřábek Ladislav mixicek at seznam.cz
Sun Mar 7 01:39:28 CET 2004


Dobry den,

 

            Na FBSD 5.1 mi ProFTP behalo v pohode, ale jakmile jsem
nainstaloval systém FBSD 5.2.1 tak se mi nedari spustit ProFTP daemona. Muj
konfigurak vypada takto:

 

ServerName                      "FTP Server Mixicek"

ServerType                      standalone

DefaultServer                   on

 

# Port 21 is the standard FTP port.

Port                            21

 

# Umask 022 is a good standard umask to prevent new dirs and files

# from being group and world writable.

Umask                           022

 

MaxInstances                    30

 

User                            ftp

Group                           ftp

 

AuthAliasOnly                   no

 

AuthPAM                         off

AuthUserFile                    /usr/local/etc/ftpd.passwd

AuthGroupFile                   /usr/local/etc/ftpd.group

 

RequireValidShell               off

 

UseReverseDNS                   off

 

# Logging options

TransferLog                     /var/log/proftpd.xferlog

 

# Some logging formats

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

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

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

 

# Log file/dir access

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

 

# Record all logins

ExtendedLog                     /var/log/proftpd.auth_log      AUTH auth

 

# Paranoia logging level....

ExtendedLog                     /var/log/proftpd.paranoid_log  ALL default

 

DefaultRoot                     /mnt/ftp

DefaultChdir                    /mnt/ftp

 

<Global>

  <Limit LOGIN>

    AllowAll

  </Limit>

  <Limit WRITE>

    AllowUser albi mixicek

    DenyAll

  </Limit>

</Global>

 

<Directory /mnt/ftp/Harddisk_2/Unsort/*>

  <Limit STOR WRITE>

    AllowAll

  </Limit>

  <Limit DELE RMD RNTO>

    AllowUser  albi mixicek

    DenyAll

  </Limit>

</Directory>

 

Vsechny soubory samozrejme mam na svých mistech jak je uvedeno v tomto
souboru i ucet ftp se skupinou ftp jsou zalozeny. Ale jakmile ProFTP chci
spustit tak mi napise jen: Starting proftpd. A nakonec se nic nespusti.
Takhle vypada debug:

 

- parsing '/usr/local/etc/proftpd.conf' configuration

 - FS: using system open()

 - FS: using system read()

 - dispatching auth request "getpwnam" to module mod_auth_file

 - dispatching auth request "getpwnam" to module mod_auth_unix

 - dispatching auth request "getgrnam" to module mod_auth_file

 - dispatching auth request "getgrnam" to module mod_auth_unix

 - FS: using system read()

 - <Directory /mnt/ftp/Harddisk_2/Unsort/*>: adding section for resolved
path '/mnt/ftp/Harddisk_2/Unsort/*'

 - FS: using system read()

 - FS: using system close()

localhost -

localhost - Config for FTP Server Mixicek:

localhost - /mnt/ftp/Harddisk_2/Unsort/*

localhost -  Limit

localhost -   AllowUser

localhost -   DenyAll

localhost -  Limit

localhost -   AllowAll

localhost -  Umask

localhost -  AuthAliasOnly

localhost -  RequireValidShell

localhost -  TransferLog

localhost -  DefaultChdir

localhost - DefaultServer

localhost - Umask

localhost - UserID

localhost - UserName

localhost - GroupID

localhost - GroupName

localhost - AuthAliasOnly

localhost - AuthPAM

localhost - AuthUserFile

localhost - AuthGroupFile

localhost - RequireValidShell

localhost - TransferLog

localhost - ExtendedLog

localhost - ExtendedLog

localhost - ExtendedLog

localhost - DefaultRoot

localhost - DefaultChdir

localhost - Limit

localhost -  AllowUser

localhost -  DenyAll

localhost - Limit

localhost -  AllowAll

localhost - dispatching auth request "getgroups" to module mod_auth_file

localhost - dispatching auth request "getgroups" to module mod_auth_unix

localhost - SETUP PRIVS at main.c:2704

localhost - ROOT PRIVS at main.c:1956

localhost - RELINQUISH PRIVS at main.c:1962

 

Opravdu nevim co s tím. Budu vdecny za jakoukoliv radu. Moc dekuji. Ladislav
Jerabek




More information about the Users-l mailing list