- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- rc codes in /var/adm/cron/log
Operating System - HP-UX
1819796
Members
3120
Online
109607
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
Discussions
Discussions
Discussions
Forums
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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-12-2001 05:42 AM
тАО02-12-2001 05:42 AM
Is there a list of the rc codes and their definitions? If so, where could I find them?
example: rc=1
example: rc=1
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-12-2001 05:57 AM
тАО02-12-2001 05:57 AM
Solution
Hi Rebecca,
File /usr/include/sys/errno.h lists standard C library error codes, although nothing prevents a program to use its own values.
Quite a lot of programs follow the following rule:
rc=0 >> OK
rc=1 >> fault
rc=2 >> Warning
Best regards,
Dan
File /usr/include/sys/errno.h lists standard C library error codes, although nothing prevents a program to use its own values.
Quite a lot of programs follow the following rule:
rc=0 >> OK
rc=1 >> fault
rc=2 >> Warning
Best regards,
Dan
Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-12-2001 05:58 AM
тАО02-12-2001 05:58 AM
Re: rc codes in /var/adm/cron/log
Do you mean exit codes ?
AFAIK:
0=success
1=error
2=N/A (skip)
Is this what you are looking for.
AFAIK:
0=success
1=error
2=N/A (skip)
Is this what you are looking for.
In a world without fences - who needs Gates ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-12-2001 05:58 AM
тАО02-12-2001 05:58 AM
Re: rc codes in /var/adm/cron/log
Rebecca:
In genearal, for any program, zero (0) denotes success and non-zero) values denote a failure of some kind.
Specifically, for cron, from document #HPUXKBRC00001849:
This list is not all inclusive but are generally some of the more common return codes.
rc=101 no at command file
rc=102 (stat(at_cmdfile,&buf)) was true, so stat(2) returned an error
rc=103 if set uid bit off, original owner has given file to someone else
rc=104 bad job open
rc=105 no audit id
rc=106 couldn't set group /user ids, exiting
rc=107 couldn't open stdin
rc=108 no stdin
rc=109 couldn't open tmp as stdin to sh
rc=110 couldn't open output file or /dev/null
rc=111 testing
rc=112 can't exec sh
rc=113 file locking problem
rc=127 can't fork (this might also be return code from the shell)
...JRF...
In genearal, for any program, zero (0) denotes success and non-zero) values denote a failure of some kind.
Specifically, for cron, from document #HPUXKBRC00001849:
This list is not all inclusive but are generally some of the more common return codes.
rc=101 no at command file
rc=102 (stat(at_cmdfile,&buf)) was true, so stat(2) returned an error
rc=103 if set uid bit off, original owner has given file to someone else
rc=104 bad job open
rc=105 no audit id
rc=106 couldn't set group /user ids, exiting
rc=107 couldn't open stdin
rc=108 no stdin
rc=109 couldn't open tmp as stdin to sh
rc=110 couldn't open output file or /dev/null
rc=111 testing
rc=112 can't exec sh
rc=113 file locking problem
rc=127 can't fork (this might also be return code from the shell)
...JRF...
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
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP