Professional Web Applications Themes

Rare Error 65 (ENOPKG) occurrence on open() call - SCO

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. Thanks for any help, ...

  1. #1

    Default Rare Error 65 (ENOPKG) occurrence on open() call

    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.

    Thanks for any help,
    Apolon.
    Apolon Guest

  2. #2

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

    Apolon typed (on Sat, Sep 27, 2003 at 03:22:35AM -0700):
    | 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.

    The Intro(S) man page describes it:

    [ENOPKG] (65) Package not installed
    This error occurs when users attempt to use a system call
    from a package which has not been installed.


    --
    JP
    Jean-Pierre Guest

  3. #3

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

    Jean-Pierre Radley <com> wrote in message news:<jpr.com>... 

    Yep, but 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
    doented 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.
    Apolon Guest

  4. #4

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

    Apolon wrote:
     
     

    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 Guest

  5. #5

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

    > Show us the actual source code that generates this error; at the very [/ref]

    Okay, will do on both counts.
    Apolon.
    Apolon Guest

Similar Threads

  1. Open Call for a Flash Multimedia Programmer
    By New-Flash-User in forum Macromedia Flash Sitedesign
    Replies: 2
    Last Post: June 6th, 01:51 AM
  2. Session Ends with Window.Open() Call
    By Justin Beckwith in forum ASP
    Replies: 1
    Last Post: October 21st, 05:55 PM
  3. Yikes! Strange Occurrence of ! in mail
    By Nicole in forum PHP Development
    Replies: 1
    Last Post: September 16th, 08:54 AM
  4. Replies: 1
    Last Post: August 20th, 11:31 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139