- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- return codes and their meanings
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
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
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
тАО02-24-2009 05:01 AM
тАО02-24-2009 05:01 AM
return codes and their meanings
rc=127
rc=26
rc=27
rc=22
rc=139
rc-21
etc,...
thanks,
Jacques
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2009 05:09 AM
тАО02-24-2009 05:09 AM
Re: return codes and their meanings
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2009 05:12 AM
тАО02-24-2009 05:12 AM
Re: return codes and their meanings
Refer this thread. James has explained here.
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=86561
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2009 05:15 AM
тАО02-24-2009 05:15 AM
Re: return codes and their meanings
How do I get the explanation for each code?
Jacques
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2009 07:33 AM
тАО02-24-2009 07:33 AM
Re: return codes and their meanings
man errno
will give you a brief description of what that defined name means.
Be aware that these are *system* error numbers which are pretty consistently returned by system calls. There's nothing anywhere that states that anything thats not a system call has to stick tyo these return codes. Applications and scripts can pretty much return whatever error number they like, and you have to check the documentation for each to know. The only standard I know of is the "de-facto" strandard that 0 = success and non-zero = failure.
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2009 08:50 AM
тАО02-24-2009 08:50 AM
Re: return codes and their meanings
Right. But 139 means the process terminated with signal 11 (139-128).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2009 08:55 AM
тАО02-24-2009 08:55 AM
Re: return codes and their meanings
grep "rc code" /usr/include/sys/errno.h such as grep 12 /usr/include/sys/errno.h
#define ENOMEM 12 /* Not enough core */
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2009 08:56 AM
тАО02-24-2009 08:56 AM
Re: return codes and their meanings
Jacques