HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- accept call giving EBADF
Operating System - HP-UX
1833783
Members
2326
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
02-09-2002 02:44 AM
02-09-2002 02:44 AM
accept call giving EBADF
HP-UX B.11.00 U 9000/800
accept() system call when called within a thread is giving EBADF. The same program works fine when called by a single threaded program.
Even the same threaded program is working fine on a different machine(HP-UX, same config)
Is there any patch to be applied?
accept() system call when called within a thread is giving EBADF. The same program works fine when called by a single threaded program.
Even the same threaded program is working fine on a different machine(HP-UX, same config)
Is there any patch to be applied?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2002 09:09 AM
02-09-2002 09:09 AM
Re: accept call giving EBADF
Does the thread have its own socket? Can you post a code sniplet?
live free or die
harry
live free or die
harry
Live Free or Die
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2002 09:26 AM
02-09-2002 09:26 AM
Re: accept call giving EBADF
Hello,
do you use user-level or kernel-level threads?
The former have to use "jacket-routines" to protect most system-calls (like "accept") from being not "thread-safe"...
- Have a look at your "swlist" output: are the "DCE kernel level threads" installed?
- Check your "Makefile": which include-dirs and -files and linker-options do you use?
Be careful, as there are many *flavours* of threads today, so it depends on which you want to use, for which you compile and link, and which your system actually uses!
Just my $0.02,
Wodisch
do you use user-level or kernel-level threads?
The former have to use "jacket-routines" to protect most system-calls (like "accept") from being not "thread-safe"...
- Have a look at your "swlist" output: are the "DCE kernel level threads" installed?
- Check your "Makefile": which include-dirs and -files and linker-options do you use?
Be careful, as there are many *flavours* of threads today, so it depends on which you want to use, for which you compile and link, and which your system actually uses!
Just my $0.02,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2002 09:35 PM
02-10-2002 09:35 PM
Re: accept call giving EBADF
Hi Wodisch/Harry,
Thanks for the prompt reply.
I have seen the swlist. I didn't find any "DCE kernal level threads" installed. As i had said earlier, the same program is running on a similar machine. There are many patches installed on both machines, maybe the sequence differ.
Code is attached.
Thanks
Sajeev V
Thanks for the prompt reply.
I have seen the swlist. I didn't find any "DCE kernal level threads" installed. As i had said earlier, the same program is running on a similar machine. There are many patches installed on both machines, maybe the sequence differ.
Code is attached.
Thanks
Sajeev V
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP