- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- The connect function faild when linking with libxn...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2008 04:17 AM
10-26-2008 04:17 AM
Thu, 23 Oct 2008 19:12:58.0000000 [itanium:11030] (IT_ATLI2_IP:101) W -
ATLI2 failure creating connection with minor_code 1230242762 occurred in
IPPoolImpl::create_connection()
Thu, 23 Oct 2008 19:12:58.0000000 [itanium:11030] (IT_ATLI2_IP:102) W -
ATLI2 failure caused by function ::connect() failing with system error 4 ('Interrupted system call')
However when I remove the libxnet.sl form the link line the connect function working ok…?
Any explanation
Thanks in advance
Solved! Go to Solution.
- Tags:
- Connect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2008 05:21 AM
10-26-2008 05:21 AM
Solution>Any explanation
I think you have answered your question, don't use libxnet.sl. Where does this library exist? If it comes from HP-UX it would be libxnet.so. If it's in /usr/local/lib, don't use it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2008 07:51 AM
10-26-2008 07:51 AM
Re: The connect function faild when linking with libxnet.sl
library you used on Solaris. It might be
wiser to start with none, and then add what
you need.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2008 03:24 AM
10-27-2008 03:24 AM
Re: The connect function faild when linking with libxnet.sl
thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2008 04:59 AM
10-27-2008 04:59 AM
Re: The connect function faild when linking with libxnet.sl
You didn't mention the path to that shlib? If it doesn't come from HP, that could be the cause.
Looking at connect(2), there are many conflicting definitions of it, perhaps that bad shlib implements the wrong standard.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2008 05:37 AM
10-27-2008 05:37 AM
Re: The connect function faild when linking with libxnet.sl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2008 05:50 AM
10-27-2008 05:50 AM
Re: The connect function faild when linking with libxnet.sl
This directory isn't valid for Integrity. This is for PA applications only.
This old document mentions libxnet:
http://docs.hp.com/en/5964-5283/ch06s15.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2008 05:40 PM
10-27-2008 05:40 PM
Re: The connect function faild when linking with libxnet.sl
/usr/lib/hpux32/libc.so
/usr/lib/hpux32/libxnet.so
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2008 11:38 PM
10-27-2008 11:38 PM
Re: The connect function faild when linking with libxnet.sl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2008 11:55 PM
10-27-2008 11:55 PM
Re: The connect function faild when linking with libxnet.sl
We told you not to use that shlib! And to read the connect(2) carefully.
I was just listing it so everyone would know the exact path and spelling.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2008 12:29 AM
10-29-2008 12:29 AM
Re: The connect function faild when linking with libxnet.sl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2008 10:34 AM
10-29-2008 10:34 AM
Re: The connect function faild when linking with libxnet.sl
One issue with a 64 bit application, socklen_t and size_t may have different sizes. So unless you are looking and correcting warnings, they may be picking up bogus lengths.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2008 02:09 PM
11-03-2008 02:09 PM
Re: The connect function faild when linking with libxnet.sl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2008 02:55 PM
11-03-2008 02:55 PM
Re: The connect function faild when linking with libxnet.sl
First of all, do you know the differences with the -D? If this just changes the instructions, that would be hard to check. If it changes the functions, you could scan with nm(1). Of course you could have the wrong shlib, so just looking at chatr(1) may not help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2008 12:57 AM
11-12-2008 12:57 AM
Re: The connect function faild when linking with libxnet.sl
1.In prior releases, if an executable includes binary objects compiled to X/Open Sockets and binary objects compiled to BSD specification, it may result in unexpected
behavior, including abnormal termination and unexpected socket errors. This
problem can now be avoided by:
â Define _HPUX_ALT_XOPEN_SOCKET_API, in addition to either defining
_XOPEN_SOURCE=600 in UNIX03, or _XOPEN_SOURCE and
_XOPEN_SOURCE_EXTENDED in UNIX95;
â Link with C library instead of Xnet library. Xnet library should not be included
in the link line.
2.The following interfaces and system calls are impacted by UNIX 2003 Conformance:
â To conform to UNIX 2003, customers must define _XOPEN_SOURCE to 600. To
conform to UNIX 95, customers must continue to define _XOPEN_SOURCE and
_XOPEN_SOURCE_EXTENDED. Please note that applications using the X/Open
Sockets must be linked with the Xnet library for UNIX 2003 and UNIX 95 conformance.
The points are from HP-UX 11i Version 3 Release Notes
3.from man page(xopen_networking(7))
Note if the C library is also specified in the link line, the Xnetlibrary has to be specified before the C library. Otherwise, X/Open Sockets calls would have been resolved to BSD Sockets functions in the C library instead of X/Open Sockets functions in the Xnet library.
the above statement is a contradictory as both libc and xnet library are in the same directory.
I guess that was the main problem.
FINAL WORDS:
I guess HP has correct this problem in release B.11.31(current release level of the operating, uname -r)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2008 02:19 AM
11-12-2008 02:19 AM
Re: The connect function faild when linking with libxnet.sl
please accept my apologies for the above wrong statement.