- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- RC 127 Error is coming while executing a shell scr...
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
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
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-28-2013 05:37 AM
05-28-2013 05:37 AM
RC 127 Error is coming while executing a shell script in cron job scheduler
Hi,
I have created one shell script which is running fine on shell prompt. But while I am scheduling it as a cron job it is giving RC 127 error.
Please help.
- Tags:
- cron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2013 06:07 AM
05-28-2013 06:07 AM
Re: RC 127 Error is coming while executing a shell script in cron job scheduler
RC 127 is just the result code from the failing command - you cannot interpret it without first knowing which command set the result code.
The first step is to find the actual error message produced by the cron job. If the standard output and error streams of the cron job have not been redirected, the error messages will be sent by email to the user owning the cron job. If the email services on the system are in default configuration, you will usually find the cron job errors in the user's email inbox, normally located at /var/mail/<username>.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2013 11:40 AM
05-28-2013 11:40 AM
Re: RC 127 Error is coming while executing a shell script in cron job scheduler
>I have created one shell script which is running fine on shell prompt.
This typically means your shell script is depending on the sourcing of your .profile, which isn't done by cron.