What does this entry in syslog tell you - SCO

This is a discussion on What does this entry in syslog tell you - SCO ; ftpd[23454]: sleeping: fcntl lock of pid file failed: Permission denied System: INSTALLED currently on unix.xxxx.com -------------------------------------------------------------------- oss656b oss656b - OpenServer Supplement oss656b oss667b oss667b - OpenServer Supplement oss667b rs507d Maintenance Pack 5 for OSR5.0.7 -------------------------------------------------------------------- -- Steve Fabac S.M. Fabac ...

+ Reply to Thread
Results 1 to 5 of 5

Thread: What does this entry in syslog tell you

  1. What does this entry in syslog tell you

    ftpd[23454]: sleeping: fcntl lock of pid file failed: Permission denied

    System:
    INSTALLED currently on unix.xxxx.com
    --------------------------------------------------------------------
    oss656b oss656b - OpenServer Supplement oss656b
    oss667b oss667b - OpenServer Supplement oss667b
    rs507d Maintenance Pack 5 for OSR5.0.7
    --------------------------------------------------------------------
    --

    Steve Fabac
    S.M. Fabac & Associates
    816/765-1670

  2. Re: What does this entry in syslog tell you

    Steve M. Fabac, Jr. typed (on Mon, Aug 18, 2008 at 02:18:47PM -0500):
    | ftpd[23454]: sleeping: fcntl lock of pid file failed: Permission denied
    |
    | System:
    | INSTALLED currently on unix.xxxx.com

    Busy server, or so I understand from reading some of the 5000+ hits
    turned up by typing "fcntl lock of pid file failed" in Google.


    --
    JP

  3. Re: What does this entry in syslog tell you

    Jean-Pierre Radley wrote:
    > Steve M. Fabac, Jr. typed (on Mon, Aug 18, 2008 at 02:18:47PM -0500):
    > | ftpd[23454]: sleeping: fcntl lock of pid file failed: Permission denied
    > |
    > | System:
    > | INSTALLED currently on unix.xxxx.com
    >
    > Busy server, or so I understand from reading some of the 5000+ hits
    > turned up by typing "fcntl lock of pid file failed" in Google.


    That does not explain it. This is a Quad core Xeon 2.1GHZ on a 1GHZ LAN
    loafing along hosting a compiled RM COBOL sales/warehouse/shipping
    application that was running (with the same problem) on a 1.4GHz PIII.

    The COBOL application writes tab delimited files in /tmp and the client
    has written an Excel macro that grabs the files and imports them into
    Excel. The "grabs the files" is via using IE to connect via ftp://192.168.x.x
    (SCO server local LAN IP)

    More info from /usr/adm/syslog:

    Aug 20 16:55:08 unix ftpd[2508]: lost connection to 192.168.160.134 [192.168.160.134]
    Aug 20 17:22:50 unix ftpd[4137]: sleeping: fcntl lock of pid file failed: Permission denied
    Aug 20 17:38:16 unix ftpd[6773]: FTP LOGIN REFUSED (ftp not in /etc/passwd) FROM 192.168.160.140 [192.168.160.140], anonymous
    Aug 20 20:16:58 unix ftpd[11175]: FTP LOGIN REFUSED (ftp not in /etc/passwd) FROM 192.168.160.141 [192.168.160.141], anonymous
    Aug 20 20:16:58 unix ftpd[11175]: lost connection to 192.168.160.141 [192.168.160.141]
    Aug 20 20:18:30 unix ftpd[11172]: lost connection to 192.168.160.141 [192.168.160.141]
    Aug 20 20:18:31 unix ftpd[11173]: lost connection to 192.168.160.141 [192.168.160.141]
    Aug 20 21:48:09 unix ftpd[13480]: lost connection to 192.168.160.141 [192.168.160.141]
    Aug 20 21:48:09 unix ftpd[13473]: lost connection to 192.168.160.141 [192.168.160.141]
    Aug 20 22:20:56 unix ftpd[14384]: FTP LOGIN REFUSED (ftp not in /etc/passwd) FROM 192.168.160.140 [192.168.160.140], anonymous
    Aug 20 22:31:13 unix ftpd[14381]: lost connection to 192.168.160.140 [192.168.160.140]

  4. Re: What does this entry in syslog tell you

    On Thu, Aug 21, 2008, Steve M. Fabac, Jr. wrote:
    >Jean-Pierre Radley wrote:
    >> Steve M. Fabac, Jr. typed (on Mon, Aug 18, 2008 at 02:18:47PM -0500):
    >> | ftpd[23454]: sleeping: fcntl lock of pid file failed: Permission denied
    >> |
    >> | System:
    >> | INSTALLED currently on unix.xxxx.com
    >>
    >> Busy server, or so I understand from reading some of the 5000+ hits
    >> turned up by typing "fcntl lock of pid file failed" in Google.

    >
    >That does not explain it. This is a Quad core Xeon 2.1GHZ on a 1GHZ LAN
    >loafing along hosting a compiled RM COBOL sales/warehouse/shipping
    >application that was running (with the same problem) on a 1.4GHz PIII.
    >
    >The COBOL application writes tab delimited files in /tmp and the client
    >has written an Excel macro that grabs the files and imports them into
    >Excel. The "grabs the files" is via using IE to connect via ftp://192.168.x.x
    >(SCO server local LAN IP)


    The logs below lead me to believe that you don't have anonymous
    ftp configured on the system. What ftp daemon are you using?

    >More info from /usr/adm/syslog:
    >
    >Aug 20 16:55:08 unix ftpd[2508]: lost connection to 192.168.160.134 [192.168.160.134]
    >Aug 20 17:22:50 unix ftpd[4137]: sleeping: fcntl lock of pid file failed: Permission denied
    >Aug 20 17:38:16 unix ftpd[6773]: FTP LOGIN REFUSED (ftp not in /etc/passwd) FROM 192.168.160.140 [192.168.160.140], anonymous
    >Aug 20 20:16:58 unix ftpd[11175]: FTP LOGIN REFUSED (ftp not in /etc/passwd) FROM 192.168.160.141 [192.168.160.141], anonymous
    >Aug 20 20:16:58 unix ftpd[11175]: lost connection to 192.168.160.141 [192.168.160.141]
    >Aug 20 20:18:30 unix ftpd[11172]: lost connection to 192.168.160.141 [192.168.160.141]
    >Aug 20 20:18:31 unix ftpd[11173]: lost connection to 192.168.160.141 [192.168.160.141]
    >Aug 20 21:48:09 unix ftpd[13480]: lost connection to 192.168.160.141 [192.168.160.141]
    >Aug 20 21:48:09 unix ftpd[13473]: lost connection to 192.168.160.141 [192.168.160.141]
    >Aug 20 22:20:56 unix ftpd[14384]: FTP LOGIN REFUSED (ftp not in /etc/passwd) FROM 192.168.160.140 [192.168.160.140], anonymous
    >Aug 20 22:31:13 unix ftpd[14381]: lost connection to 192.168.160.140 [192.168.160.140]
    >


    --
    Bill
    --
    INTERNET: bill@celestial.com Bill Campbell; Celestial Software LLC
    URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
    Voice: (206) 236-1676 Mercer Island, WA 98040-0820
    Fax: (206) 232-9186

    When a place gets crowded enough to require ID's, social collapse is
    not far away. It is time to go elsewhere. The best thing about space
    travel is that it made it possible to go elsewhere. -- Robert Heinlein

  5. Re: What does this entry in syslog tell you

    Bill Campbell wrote:
    > On Thu, Aug 21, 2008, Steve M. Fabac, Jr. wrote:
    >> Jean-Pierre Radley wrote:
    >>> Steve M. Fabac, Jr. typed (on Mon, Aug 18, 2008 at 02:18:47PM -0500):
    >>> | ftpd[23454]: sleeping: fcntl lock of pid file failed: Permission denied
    >>> |
    >>> | System:
    >>> | INSTALLED currently on unix.xxxx.com
    >>>
    >>> Busy server, or so I understand from reading some of the 5000+ hits
    >>> turned up by typing "fcntl lock of pid file failed" in Google.

    >> That does not explain it. This is a Quad core Xeon 2.1GHZ on a 1GHZ LAN
    >> loafing along hosting a compiled RM COBOL sales/warehouse/shipping
    >> application that was running (with the same problem) on a 1.4GHz PIII.
    >>
    >> The COBOL application writes tab delimited files in /tmp and the client
    >> has written an Excel macro that grabs the files and imports them into
    >> Excel. The "grabs the files" is via using IE to connect via ftp://192.168.x.x
    >> (SCO server local LAN IP)

    >
    > The logs below lead me to believe that you don't have anonymous
    > ftp configured on the system. What ftp daemon are you using?


    That's right, ftp has not been configured and is "out of the box" default
    using the SCO ftp service.

    The client whipped this up himself, did not ask me how to do it. He did set
    up an account named fetch with a password and home directory of /tmp.

    His Excel macro works and retrieves the needed data. Just throws a lot of
    these messages into /usr/adm/syslog.

    I had suggested that I push the reports from /tmp to a Windows file server
    and he modify his macro(s) to get the data from the Windows server. He was
    cool (ambivalent, not interested) to that idea. I think that is just inertia
    in not wanting to modify something that is working and is deployed on multiple
    user's desktop computers.

    I did have him experiment with VisionFS shares on the old 5.0.5 system but
    he kept using the ftp transfer anyway. I've loaded SAMBA on the 5.0.7 but
    have not configured it as he still prefers the ftp transfer.

    Since he plans to keep using ftp, I'd like to get it configured
    properly to prevent the problems identified with ftp by the syslog entries.

    >
    >> More info from /usr/adm/syslog:
    >>
    >> Aug 20 16:55:08 unix ftpd[2508]: lost connection to 192.168.160.134 [192.168.160.134]
    >> Aug 20 17:22:50 unix ftpd[4137]: sleeping: fcntl lock of pid file failed: Permission denied
    >> Aug 20 17:38:16 unix ftpd[6773]: FTP LOGIN REFUSED (ftp not in /etc/passwd) FROM 192.168.160.140 [192.168.160.140], anonymous
    >> Aug 20 20:16:58 unix ftpd[11175]: FTP LOGIN REFUSED (ftp not in /etc/passwd) FROM 192.168.160.141 [192.168.160.141], anonymous
    >> Aug 20 20:16:58 unix ftpd[11175]: lost connection to 192.168.160.141 [192.168.160.141]
    >> Aug 20 20:18:30 unix ftpd[11172]: lost connection to 192.168.160.141 [192.168.160.141]
    >> Aug 20 20:18:31 unix ftpd[11173]: lost connection to 192.168.160.141 [192.168.160.141]
    >> Aug 20 21:48:09 unix ftpd[13480]: lost connection to 192.168.160.141 [192.168.160.141]
    >> Aug 20 21:48:09 unix ftpd[13473]: lost connection to 192.168.160.141 [192.168.160.141]
    >> Aug 20 22:20:56 unix ftpd[14384]: FTP LOGIN REFUSED (ftp not in /etc/passwd) FROM 192.168.160.140 [192.168.160.140], anonymous
    >> Aug 20 22:31:13 unix ftpd[14381]: lost connection to 192.168.160.140 [192.168.160.140]
    >>

    >


    --
    Steve Fabac
    S.M. Fabac & Associates
    816/765-1670

+ Reply to Thread