h***@haydentech.com
2006-09-12 20:45:35 UTC
I have an obscure problem happening in our code. We have a product
that acts as a gateway between network clients and our command-line
application. This gateway is called from inetd, and serves to
multiplex data between the network client and our program. This
program compiles and runs on Linux, HP-UX, UnixWare, without issue.
99% of the time, it works fine on OpenServer too. One possibly very
important note: for the OpenServer binary, we compile on UnixWare using
the UDK and deploy with the BCM.
On a very small percentage of OpenServer machines (2 out of thousands)
on which this is deployed, the multiplexer does not work. An ENOPKG
error is returned from the call to read( ) the pty. The man page for
read(2) does not list ENOPKG as a possible error. The packages
installed on machines that work versus the machines that do not work
are identical.
The very little I was able to find online about the ENOPKG error did
not help at all. This link was the only similar problem I found, and
no solution was listed: http://aplawrence.com/Bofcusm/2342.html
What can cause read( ) to return ENOPKG?
Thanks,
Bill Hayden
that acts as a gateway between network clients and our command-line
application. This gateway is called from inetd, and serves to
multiplex data between the network client and our program. This
program compiles and runs on Linux, HP-UX, UnixWare, without issue.
99% of the time, it works fine on OpenServer too. One possibly very
important note: for the OpenServer binary, we compile on UnixWare using
the UDK and deploy with the BCM.
On a very small percentage of OpenServer machines (2 out of thousands)
on which this is deployed, the multiplexer does not work. An ENOPKG
error is returned from the call to read( ) the pty. The man page for
read(2) does not list ENOPKG as a possible error. The packages
installed on machines that work versus the machines that do not work
are identical.
The very little I was able to find online about the ENOPKG error did
not help at all. This link was the only similar problem I found, and
no solution was listed: http://aplawrence.com/Bofcusm/2342.html
What can cause read( ) to return ENOPKG?
Thanks,
Bill Hayden