syslog ftpd[6361]: #2 open of pid file failed的解决方法

发表于:2007-06-08来源:作者:点击数: 标签:
在syslog中不断有这样的错误: Nov220:44:10fuquanftpd[6361]:#2openofpidfilefailed:Nosuchfileordirectory 几分钟出现一次,这如何解决? CNL 回复于:2004-11-03 08:36:13 这个曾经答复过,也是SCO的FAQ. 今天加个精彩以便日后可搜索。 http://wdb1.sco.co

在syslog中不断有这样的错误:
Nov  2 20:44:10 fuquan ftpd[6361]: #2 open of pid file failed: No such file or directory

几分钟出现一次,这如何解决?

 CNL 回复于:2004-11-03 08:36:13
这个曾经答复过,也是SCO的FAQ.
今天加个精彩以便日后可搜索。
http://wdb1.sco.com/cgi-bin/showta?107639
A. Edit the file /usr/lib/cleantmp

              B. Change the /bin/find line (line 87 in OpenServer 5.0.0).
                 Note: the "^^^^" indicate the option to be added.

                   FROM:

/bin/find $i ! -type p ! -type d -atime +$days -exec /bin/rm -f {} \;

                   TO:

/bin/find $i ! -type p ! -type d ! -name ftpd -atime +$days -exec /bin/rm -f
{} \;
                                    ^^^^^^^^^^^^^

              C. Using "scoadmin software manager", select the TCP/IP Runtime
                 as:

                   SCO OpenServer Enterprise/Host System ->
                   SCO OpenServer Enterprise/Host System Connectivity ->
                   SCO TCP/IP ->
                   TCP/IP Runtime utilities and drivers

                 Then, run Software Verify, checking and fixing Broken/Missing
                 Symbolic Links.

原文转自:http://www.ltesting.net