- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- rc=99 means what?
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
тАО07-01-2002 04:49 AM
тАО07-01-2002 04:49 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2002 05:04 AM
тАО07-01-2002 05:04 AM
Re: rc=99 means what?
Normally, it should return 0 (=good) or 1 (=failure), but all codes are possible.
To test this on your system: write a script:
#!/bin/ks
echo "testing"
exit 55
Once sheduled inside cron, it should give logging in cron/log file.
So.. for the actual meaning of 99 you have to look in the application, not in cron.
Regards,
Ceesjan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2002 05:08 AM
тАО07-01-2002 05:08 AM
Re: rc=99 means what?
The rc= field in cron logs indicates the "return code" or exit value
of a process. For example, if the cron log indicates rc=1, then the process exited with return status 1
An exit code > 128 indicates that the process has ended abnormally (see man sh-posix).
rc=0=success
rc=1=error
rc=2=N/A (skip)
Here, I think you may have to look into the application or script which is causing the problem.
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2002 05:09 AM
тАО07-01-2002 05:09 AM
SolutionIn genearal, for any program, zero (0) denotes success and non-zero) values denote a failure of some kind.
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)
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2002 05:13 AM
тАО07-01-2002 05:13 AM
Re: rc=99 means what?
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x2906a24d9abcd4118fef0090279cd0f9,00.html
Explains it well.
Something returns without setting a value then it is random.
steve steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2002 11:32 PM
тАО07-01-2002 11:32 PM
Re: rc=99 means what?
The strange part is that my simple script ends with exit 0 if it goes well and exit 1 if not. Why do cron report this in the log ? The script ran successfully.