LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 789|回复: 1

about proftpd & ftpwho

[复制链接]
发表于 2003-11-19 21:15:06 | 显示全部楼层 |阅读模式
slackware 9.1, proftpd runs in inetd
某次用户ftp登录上传中,slackware重起后,ftpwho仍然看到两个proftpd进程,
ftpwho的输出类似于
2996 ftp  [144h20] (n/a) STOR 1.avi
1817 ftp  [145h47] (n/a) STOR 2.avi

kill -HUP inetd 后仍然能看到ftpwho的输出
ps -ef|grep proftpd 或者 ps -ef|grep `如上的pid` 却又找不到proftpd的进程
数次重启机器ftpwho保持如上的输出

请问,如何解决这问题?
 楼主| 发表于 2003-11-19 21:49:42 | 显示全部楼层
got it. it's related with /var/run/proftpd/proftpd.scoreboard

  1. Description

  2. The ScoreboardFile directive sets the path to the file where the daemon will store its run-time "scoreboard" session information. This file is necessary for MaxClients to work properly, as well as other utilities (such as ftpwho and ftpcount).

  3. This directive deprecates ScoreboardPath.
复制代码


修改Scoreboard Path配置,ftp链接一次正常退出,生成一个scoreboard,覆盖原路径的同名文件,再将Scoreboard Path改回即可。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表