- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- "Exit code" meaning
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
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
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
тАО05-23-2006 02:28 AM
тАО05-23-2006 02:28 AM
"Exit code" meaning
Can someone help with the list of exit code that appear in HP-UX & the meaning of the same.
Thanks & Regards
Bhavin Shah
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2006 02:33 AM
тАО05-23-2006 02:33 AM
Re: "Exit code" meaning
conform to. Most exit codes are hard-coded in source code and are not
easily available. The man page normally would explain the "return values" of a certain
function.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2006 02:33 AM
тАО05-23-2006 02:33 AM
Re: "Exit code" meaning
The meaning is different from one application to another, so you have to read the documentation / man page for it.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2006 02:34 AM
тАО05-23-2006 02:34 AM
Re: "Exit code" meaning
Convention dictates that a zero exit status indicates success whereas a non-zero exit status indicates failure.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2006 02:34 AM
тАО05-23-2006 02:34 AM
Re: "Exit code" meaning
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2006 02:36 AM
тАО05-23-2006 02:36 AM
Re: "Exit code" meaning
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2006 02:40 AM
тАО05-23-2006 02:40 AM
Re: "Exit code" meaning
Check this file has exit codes.
/usr/include/sysexits.h, this file can be view'd /cat
Chan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2006 10:51 PM
тАО05-23-2006 10:51 PM
Re: "Exit code" meaning
I actually meant that while carrying out patch installation we get exit codes.
eg. PHSS_XXXX will be excluded with "exit code 3".
I would like to know how many such exit codes exit while carrying out such activity & what does that mean.
Regards
Bhavin Shah
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2006 11:01 PM
тАО05-23-2006 11:01 PM
Re: "Exit code" meaning
This will give you really a lot of information why a patch was excluded.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2006 09:45 PM
тАО05-24-2006 09:45 PM
Re: "Exit code" meaning
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2006 10:02 PM
тАО05-24-2006 10:02 PM
Re: "Exit code" meaning
You will find more detailed information in the swagent.log file.
Here are the codes:
0 (default) No identifiers are attached to messages.
1 Adds identifiers to ERROR messages only.
2 Adds identifiers to ERROR and WARNING messages.
3 Adds identifiers to ERROR, WARNING, and NOTE
messages.
4 Adds identifiers to ERROR, WARNING, NOTE, and
certain other informational messages.
Here is an example from my log, a patch cannot be installed, because my system is too old and not compatible:
NOTE: The "checkinstall" script for "PHSS_30183" gave an "exclude"
return (exit code "3"). The script location was
"/var/tmp/BAAa16565/catalog/PHSS_30183/pfiles/checkinstall".
NOTE: This software will be excluded from further processing.
NOTE: This product will not be installed because it is incompatible with
the microprocessor (CPU) on the destination system. It requires a
processor that can execute PA-RISC version 2.0 object code.
If you need additional information about this error message, contact
your HP Country Response Center or other HP-UX software support
personnel.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2006 10:47 PM
тАО05-24-2006 10:47 PM
Re: "Exit code" meaning
like wrote by ITRC people you have to look in swagent.log file to understand the exact reason about the failure and not concentrate on the exit code. Anyway Torsten gave a good point with exit code meanings on SD-UX.
Please don't forget to assign points if you think people helped you.
If you are interested more then post the error message here.
Good luck...
Fabio