- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- cron issue...
Operating System - Linux
1753529
Members
5122
Online
108795
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
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
05-16-2009 04:07 PM
05-16-2009 04:07 PM
cron issue...
We have a script that runs several times a day via cron that collects sar information, processes it and ships the information off to another database server for historical reference...
Issue is, every time it runs it puts out a message in cron log:
May 16 19:56:01 cvoicch2 crond[19513]: (CRON) chdir(HOME) failed: (No such file or directory)
May 16 19:56:01 cvoicch2 crond[19515]: (adm) CMD (/opt/CVGcpu/bin/Collector.sh)
[root@cvoicch2 ~]# ps -ef |grep 19513
adm 19513 5286 0 19:56 ? 00:00:00 crond
adm 19515 19513 0 19:56 ? 00:00:00 /bin/sh -c /opt/CVGcpu/bin/Collector.sh
root 19595 19210 0 19:56 pts/2 00:00:00 grep 19513
[root@cvoicch2 ~]#
I've looked at the Collector script and there is no place in the script that tries to change directories....
Does anyone have an idea how to determine what is putting out this issue ??
Issue is, every time it runs it puts out a message in cron log:
May 16 19:56:01 cvoicch2 crond[19513]: (CRON) chdir(HOME) failed: (No such file or directory)
May 16 19:56:01 cvoicch2 crond[19515]: (adm) CMD (/opt/CVGcpu/bin/Collector.sh)
[root@cvoicch2 ~]# ps -ef |grep 19513
adm 19513 5286 0 19:56 ? 00:00:00 crond
adm 19515 19513 0 19:56 ? 00:00:00 /bin/sh -c /opt/CVGcpu/bin/Collector.sh
root 19595 19210 0 19:56 pts/2 00:00:00 grep 19513
[root@cvoicch2 ~]#
I've looked at the Collector script and there is no place in the script that tries to change directories....
Does anyone have an idea how to determine what is putting out this issue ??
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2009 04:11 PM
05-16-2009 04:11 PM
Re: cron issue...
I found the issue right after I submitted... the home directory for adm user that's running the script didn't have the home directory defined on the server..
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP