Re: Rare Error 65 (ENOPKG) occurrence on open() call

From: Bela Lubkin (belal_at_sco.com)
Date: 09/28/03

  • Next message: Bela Lubkin: "Re: linker and application libraries for 5.0.7"
    Date: 28 Sep 2003 01:46:56 -0400
    
    

    Apolon wrote:

    > Does anyone know what the meaning of errno=65 (ENOPKG) is when an
    > open() call fails on SCO Open Server 5.0.6? That error code doesn't
    > appear in the open function man pages.
    >
    > The error occurs very rarely (say once a month) in a process that runs
    > continuously closing/opening/creating/moving files around once every 2
    > hours. The open is performed directly after a system() call which
    > copies a file to another location. A system( "cp ..." ) call is being
    > used instead of the rename() function call because of the limitation
    > with not being able to rename across filesystems.

    > [...] if the error truly was related to the description provided
    > for ENOPKG then it would occur every time instead of very rarely.
    > Also, the man page for open() does not list ENOPKG as one of the
    > documented error scenarios.
    >
    > It appears that some code being called within the open()
    > implementation on Open Server can result in an error 65. I was hoping
    > someone else had experienced the problem and knows what it is, or has
    > access to source code which indicates what scenario such an error code
    > could be returned in.

    Show us the actual source code that generates this error; at the very
    least, the code that calls system(), the open() call, and the subsequent
    error checking that's turning up the ENOPKG. (And this would fit better
    on comp.unix.sco.programmer...)

    >Bela<


  • Next message: Bela Lubkin: "Re: linker and application libraries for 5.0.7"