Quote:
Originally Posted by anomie
[*] Disable selinux altogether (to try to eliminate it as the cause) temporarily.
|
SELinux was never enabled on this machine. I double checked, and it is in fact disabled.
Quote:
Originally Posted by anomie
[*] Play around with adding the -x option to crond. You can do this in /etc/sysconfig/crond. It appears that may provide you with debug output.
|
Now, it gets even more confusing. I've dimished the delay required for my hourly task to run. It will now run every minute:
Code:
* * * * * root run-parts /etc/cron.hourly
I've also added maximum verbosity to my cron's arguments:
Code:
# cat /etc/sysconfig/crond
CRONDARGS="-x ext,sch,proc,pars,load,misc,test,bit"
And, it looks very much like my task runs:
Code:
[21827] load_database()
[21827] spool dir mtime unch, no load needed.
[21827] tick(54,14,20,6,1)
user [root:0:0:...] cmd="run-parts /etc/cron.monthly"
user [root:0:0:...] cmd="run-parts /etc/cron.weekly"
user [root:0:0:...] cmd="run-parts /etc/cron.daily"
user [root:0:0:...] cmd="run-parts /etc/cron.hourly"
user [root:0:0:...] cmd="python /usr/share/rhn/virtualization/poller.py"
[21827] do_command(run-parts /etc/cron.hourly, (*system*,0,0))
Minute-ly job. Recording time 1216666441
[21827] main process returning to work
[21827] do_command(python /usr/share/rhn/virtualization/poller.py, (*system*,0,0))
[21827] main process returning to work
[21827] Target time=1216652100, sec-to-wait=60
[22024] child_process('run-parts /etc/cron.hourly')
[22024] child continues, closing pipes
[22024] child reading output from grandchild
[22024] got EOF from grandchild
[22024] waiting for grandchild #2 to finish
[22024] grandchild #22026 finished, status=0000
[22024] waiting for grandchild #1 to finish
[22024] no more grandchildren--mail written?
[22025] child_process('python /usr/share/rhn/virtualization/poller.py')
[22024] child process done, exiting
[21827] sigchld...pid #22024 died, stat=0
[21827] sigchld...no dead kids
[22025] child continues, closing pipes
[22025] child reading output from grandchild
[22025] got EOF from grandchild
[22025] waiting for grandchild #2 to finish
[22025] grandchild #22027 finished, status=0000
[22025] waiting for grandchild #1 to finish
[22025] no more grandchildren--mail written?
[22025] child process done, exiting
[21827] sigchld...pid #22025 died, stat=0
[21827] sigchld...no children
However, I have nothing that tells me that the job ran in my /var/log/cron and nothing about cron in /var/log/messages. Syslog not running?
Code:
# service syslog status
syslogd (pid 2224) is running...
klogd (pid 2227) is running...
A bit puzzling...