Consultor Eletrônico



Kbase 17787: Unable to create socket error 22 (788)
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/10/1998
Unable to create socket error 22 (788)

DG/UX 4.20 and Progress 8.2B (possibly all versions of Progress) may
be required to have a DG patch installed to correct the "getprotobynam
e" problem. See kbase #17496 for further details on this bug.

Upon installation and completion of this patch and determination that
this problem no longer occurs, a new error may be encountered.
the error that occurs is..
"Unable to create socket error 22 (788)".
This error occurs in a similiar fashion to the way that the getprotoby
name error occurs. That is, attempting to start a server using the -S
servicename parameter produces this error..
ex. proserve db -S service

There is a further patch available from DG/UX (dgux.aco_R4.20MUO1.p02)
that was speculated to have been related to the problem.
We have not been able to replicate the problem on what is determined
to be a V.4 DG/UX 4.20 compliant system in-house. This has been tried
with and without the patches up to this level.

WORKAROUND: probuild

NOTE: Given that the probuild has been successful in correcting this
problem, there most likely is non-compliancy with System V.4 when
this error occurs.

The following is an example of how to probuild which has proven to
resolve the problem on site:

Steps to probuild the _mprosrv module on DG:

1. For the DG probuild you need to set an environment variable called
CCNOPT. Type in the following at your UNIX prompt to set this
variable:

CCNOPT=-Xt ; export CCNOPT

Note: that the setting is a dash before capitol X, lowercase t.
To confirm that it is set properly, type in:

echo $CCNOPT

It should return -Xt. Proceed with the remaining steps.

2. mkdir tmp
3. cd tmp
4. probuild
5. Enter a carriage return on the line specifying where to install
the link script, this will then default to your current directory.
Carriage return on <Continue>.
6. Arrow down to PROGRESS DATABASE SERVER and press return
7. Enter two carriage returns to accept the defaults for the
link script name and executable name.
8. Press carriage return on <continue>
9. Press carriage return on TCP-IP NETWORK PROTOCOL so that
a ">" character appears to its left.
10. Tab to <Continue> and press return.

Your script should be created at this point. When you return to
the menu that shows you the PRODUCT LIST, press F4 until you exit
the probuild utility.

If you issue an "ls" command you should see the ldprosv script in
your directory.

Progress Software Technical Support Note # 17787