[FTP]
proftp 的scoreboard file 问题??
我按照说明正常安装了proftp并且已经使用1个多月,但是我最近发现我所设置的Max*不起作用,在网上查了很长时间,最后确定是因为scoreboard file 的问题,但是我试了很多方法都没办法解决这个问题,请教这里的高手们伴我看看有没有办法呀!很着急!!!
机器配置:IBM AIX
proftp版本:1.2.10
我使用的配置文件是安装proftp时自带的配置文件,仅在里面增加了:
ScoreboardFile /usr/local/proftpd/var/proftpd/proftpd.scoreboard
错误信息:每当用户登录时都会显示error,具体信息如下
Sep 12 14:00:49 FTP proftpd[258270] FTP_service(DCP2_G_pera[10.10.253.2]): FTP session opened.
Sep 12 14:00:49 FTP proftpd[258270] FTP_service (DCP2_G_pera[10.10.253.2]): USER lsfusr: Login successful.
Sep 12 14:00:49 FTP proftpd[258270] FTP_service (DCP2_G_pera[10.10.253.2]): error rewinding scoreboard: Invalid argument
Sep 12 14:00:49 FTP proftpd[258270] FTP_service (DCP2_G_pera[10.10.253.2]): FTP session closed.
Sep 12 14:00:49 FTP proftpd[258272] FTP_service (DCP2_G_pera[10.10.253.2]): error opening scoreboard: bad/corrupted file
Sep 12 14:00:49 FTP proftpd[258272] FTP_service (DCP2_G_pera[10.10.253.2]): notice: unable to add scoreboard entry: Invalid argument
Sep 12 14:00:49 FTP proftpd[258272] FTP_service (DCP2_G_pera[10.10.253.2]): error rewinding scoreboard: Invalid argument
Sep 12 14:00:49 FTP proftpd[258272] FTP_service (DCP2_G_pera[10.10.253.2]): FTP session opened.
S
我通过调试手段查看到的信息:
WWW (10.10.2.41[10.10.2.41]) - ROOT PRIVS at main.c:1011
WWW (10.10.2.41[10.10.2.41]) - SETUP PRIVS at main.c:1016
WWW (10.10.2.41[10.10.2.41]) - FTP session requested from unknown class
WWW (10.10.2.41[10.10.2.41]) - performing module session initializations
WWW (10.10.2.41[10.10.2.41]) - ROOT PRIVS at mod_auth.c:132
WWW (10.10.2.41[10.10.2.41]) - opening scoreboard '/usr/local/proftpd/var/proftpd/proftpd.stest'
WWW (10.10.2.41[10.10.2.41]) - RELINQUISH PRIVS at mod_auth.c:134
WWW (10.10.2.41[10.10.2.41]) - error opening scoreboard: bad/corrupted file
WWW (10.10.2.41[10.10.2.41]) - notice: unable to add scoreboard entry: Invalidargument
WWW (10.10.2.41[10.10.2.41]) - error rewinding scoreboard: Invalid argument
WWW (10.10.2.41[10.10.2.41]) - performing ident lookup
WWW (10.10.2.41[10.10.2.41]) - ident lookup returned 'UNKNOWN'
WWW (10.10.2.41[10.10.2.41]) - connected - local : 10.10.16.1:21
WWW (10.10.2.41[10.10.2.41]) - connected - remote : 10.10.2.41:2874
WWW (10.10.2.41[10.10.2.41]) - FTP session opened.
WWW - scrubbing scoreboard
WWW - ROOT PRIVS at mod_core.c:130
WWW - RELINQUISH PRIVS at mod_core.c:132
WWW - ROOT PRIVS at mod_core.c:160
WWW - scrubbing scoreboard slot for PID 3724543632
WWW - scrubbing scoreboard slot for PID 1680
WWW - RELINQUISH PRIVS at mod_core.c:189
WWW - FS: using system lstat()
WWW (10.10.2.41[10.10.2.41]) - dispatching PRE_CMD command 'USER dataweb' to mod_core
WWW (10.10.2.41[10.10.2.41]) - dispatching PRE_CMD command 'USER dataweb' to mod_core
WWW (10.10.2.41[10.10.2.41]) - dispatching PRE_CMD command 'USER dataweb' to mod_auth
WWW (10.10.2.41[10.10.2.41]) - dispatching auth request "endpwent" to module mod_sql
WWW (10.10.2.41[10.10.2.41]) - dispatching auth request "endpwent" to module mod_auth_file
WWW (10.10.2.41[10.10.2.41]) - dispatching auth request "endpwent" to module mod_auth_unix
WWW (10.10.2.41[10.10.2.41]) - dispatching auth request "endgrent" to module mod_sql
WWW (10.10.2.41[10.10.2.41]) - dispatching auth request "endgrent" to module mod_auth_file
WWW (10.10.2.41[10.10.2.41]) - dispatching auth request "endgrent" to module mod_auth_unix
WWW (10.10.2.41[10.10.2.41]) - dispatching CMD command 'USER dataweb' to mod_auth
WWW (10.10.2.41[10.10.2.41]) - dispatching auth request "getgroups" to module mod_sql
WWW (10.10.2.41[10.10.2.41]) - dispatching auth request "getgroups" to module mod_auth_file
WWW (10.10.2.41[10.10.2.41]) - dispatching auth request "getgroups" to module mod_auth_unix
WWW (10.10.2.41[10.10.2.41]) - dispatching POST_CMD command 'USER dataweb' to mod_sql
WWW (10.10.2.41[10.10.2.41]) - dispatching LOG_CMD command 'USER dataweb' to mod_sql
WWW (10.10.2.41[10.10.2.41]) - dispatching LOG_CMD command 'USER dataweb' to mod_log
WWW (10.10.2.41[10.10.2.41]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
WWW (10.10.2.41[10.10.2.41]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
WWW (10.10.2.41[10.10.2.41]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_auth
WWW (10.10.2.41[10.10.2.41]) - dispatching auth request "endpwent" to module mod_sql
WWW (10.10.2.41[10.10.2.41]) - dispatching auth request "endpwent" to module mod_auth_file
WWW (10.10.2.41[10.10.2.41]) - dispatching auth request "endpwent" to module mod_auth_unix
WWW (10.10.2.41[10.10.2.41]) - dispatching auth request "endgrent" to module mod_sql
WWW (10.10.2.41[10.10.2.41]) - dispatching auth request "endgrent" to module mod_auth_file
WWW (10.10.2.41[10.10.2.41]) - dispatching auth request "endgrent" to module mod_auth_unix
WWW (10.10.2.41[10.10.2.41]) - dispatching CMD command 'PASS (hidden)' to mod_auth
WWW (10.10.2.41[10.10.2.41]) - dispatching auth request "getgroups" to module mod_sql
WWW (10.10.2.41[10.10.2.41]) - dispatching auth request "getgroups" to module mod_auth_file
WWW (10.10.2.41[10.10.2.41]) - dispatching auth request "getgroups" to module mod_auth_unix
WWW (10.10.2.41[10.10.2.41]) - dispatching auth request "getpwnam" to module mod_sql
WWW (10.10.2.41[10.10.2.41]) - dispatching auth request "getpwnam" to module mod_auth_file
WWW (10.10.2.41[10.10.2.41]) - dispatching auth request "getpwnam" to module mod_auth_unix
WWW (10.10.2.41[10.10.2.41]) - dispatching auth request "gid_name" to module mod_sql
WWW (10.10.2.41[10.10.2.41]) - dispatching auth request "gid_name" to module mod_auth_file
WWW (10.10.2.41[10.10.2.41]) - dispatching auth request "gid_name" to module mod_auth_unix
WWW (10.10.2.41[10.10.2.41]) - dispatching auth request "auth" to module mod_sql
WWW (10.10.2.41[10.10.2.41]) - dispatching auth request "auth" to module mod_auth_pam
WWW (10.10.2.41[10.10.2.41]) - ROOT PRIVS at mod_auth_pam.c:258
WWW (10.10.2.41[10.10.2.41]) - RELINQUISH PRIVS at mod_auth_pam.c:416
WWW (10.10.2.41[10.10.2.41]) - dispatching auth request "auth" to module mod_auth_file
WWW (10.10.2.41[10.10.2.41]) - dispatching auth request "auth" to module mod_auth_unix
WWW (10.10.2.41[10.10.2.41]) - ROOT PRIVS at mod_auth_unix.c:504
WWW (10.10.2.41[10.10.2.41]) - RELINQUISH PRIVS at mod_auth_unix.c:585
WWW (10.10.2.41[10.10.2.41]) - dispatching auth request "check" to module mod_sql
WWW (10.10.2.41[10.10.2.41]) - dispatching auth request "check" to module mod_auth_file
WWW (10.10.2.41[10.10.2.41]) - dispatching auth request "check" to module mod_auth_unix
WWW (10.10.2.41[10.10.2.41]) - dispatching auth request "setgrent" to module mod_sql
WWW (10.10.2.41[10.10.2.41]) - dispatching auth request "setgrent" to module mod_auth_file
WWW (10.10.2.41[10.10.2.41]) - dispatching auth request "setgrent" to module mod_auth_unix
WWW (10.10.2.41[10.10.2.41]) - ROOT PRIVS at mod_auth.c:561
WWW (10.10.2.41[10.10.2.41]) - RELINQUISH PRIVS at mod_auth.c:563
WWW (10.10.2.41[10.10.2.41]) - USER PRIVS 218 at mod_auth.c:1122
WWW (10.10.2.41[10.10.2.41]) - RELINQUISH PRIVS at mod_auth.c:1124
WWW (10.10.2.41[10.10.2.41]) -
WWW (10.10.2.41[10.10.2.41]) - Config for ProFTPD Default Installation:
WWW (10.10.2.41[10.10.2.41]) - ~ftp/
WWW (10.10.2.41[10.10.2.41]) - Limit
WWW (10.10.2.41[10.10.2.41]) - DenyAll
WWW (10.10.2.41[10.10.2.41]) - UserName
WWW (10.10.2.41[10.10.2.41]) - GroupName
WWW (10.10.2.41[10.10.2.41]) - UserAlias
WWW (10.10.2.41[10.10.2.41]) - MaxClients
WWW (10.10.2.41[10.10.2.41]) - DisplayLogin
WWW (10.10.2.41[10.10.2.41]) - DisplayFirstChdir
WWW (10.10.2.41[10.10.2.41]) - Umask
WWW (10.10.2.41[10.10.2.41]) - AllowOverwrite
WWW (10.10.2.41[10.10.2.41]) - Limit
WWW (10.10.2.41[10.10.2.41]) - DenyAll
WWW (10.10.2.41[10.10.2.41]) - DefaultServer
WWW (10.10.2.41[10.10.2.41]) - Umask
WWW (10.10.2.41[10.10.2.41]) - UserID
WWW (10.10.2.41[10.10.2.41]) - UserName
WWW (10.10.2.41[10.10.2.41]) - GroupID
WWW (10.10.2.41[10.10.2.41]) - GroupName
WWW (10.10.2.41[10.10.2.41]) - AllowOverwrite
WWW (10.10.2.41[10.10.2.41]) - Bind
WWW (10.10.2.41[10.10.2.41]) - CURRENT-CLIENTS
WWW (10.10.2.41[10.10.2.41]) - USER
WWW (10.10.2.41[10.10.2.41]) - USER dataweb: Login successful.
WWW (10.10.2.41[10.10.2.41]) - ROOT PRIVS at mod_auth.c:1193
WWW (10.10.2.41[10.10.2.41]) - opening TransferLog '/var/log/xferlog'
WWW (10.10.2.41[10.10.2.41]) - RELINQUISH PRIVS at mod_auth.c:1222
WWW (10.10.2.41[10.10.2.41]) - ROOT PRIVS at mod_auth.c:1265
WWW (10.10.2.41[10.10.2.41]) - SETUP PRIVS at mod_auth.c:1272
WWW (10.10.2.41[10.10.2.41]) - FS: using system chdir()
WWW (10.10.2.41[10.10.2.41]) - in dir_check_full(): path = '/home/dataweb', fullpath = '/home/dataweb'.
WWW (10.10.2.41[10.10.2.41]) - FS: using system stat()
WWW (10.10.2.41[10.10.2.41]) - FS: using system stat()
WWW (10.10.2.41[10.10.2.41]) - FS: using system stat()
WWW (10.10.2.41[10.10.2.41]) - FS: using system stat()
WWW (10.10.2.41[10.10.2.41]) - FS: using system stat()
WWW (10.10.2.41[10.10.2.41]) - FS: using system stat()
WWW (10.10.2.41[10.10.2.41]) - FS: using system stat()
WWW (10.10.2.41[10.10.2.41]) - FS: using system stat()
WWW (10.10.2.41[10.10.2.41]) - dispatching POST_CMD command 'PASS (hidden)' tomod_sql
WWW (10.10.2.41[10.10.2.41]) - dispatching POST_CMD command 'PASS (hidden)' tomod_log
WWW (10.10.2.41[10.10.2.41]) - dispatching POST_CMD command 'PASS (hidden)' tomod_ls
WWW (10.10.2.41[10.10.2.41]) - dispatching POST_CMD command 'PASS (hidden)' tomod_auth
WWW (10.10.2.41[10.10.2.41]) - error rewinding scoreboard: Invalid argument
WWW (10.10.2.41[10.10.2.41]) - RELINQUISH PRIVS at mod_auth.c:1594
WWW (10.10.2.41[10.10.2.41]) - dispatching LOG_CMD command 'PASS (hidden)' to mod_sql
WWW (10.10.2.41[10.10.2.41]) - dispatching LOG_CMD command 'PASS (hidden)' to mod_log