linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Matthew Metzger <news@thinkdeeper.com>
To: linux-admin@vger.kernel.org
Subject: cron script won't run
Date: Tue, 26 Sep 2006 02:46:08 -0500	[thread overview]
Message-ID: <efalsp$3oj$1@sea.gmane.org> (raw)

Hello,

I have a script that works great when I run it from the command line, 
but doesn't work at all when added to crontab. The strange part is that 
/var/log/cron shows the job running:

Sep 26 03:39:01 cono crond[25241]: (root) CMD 
(/etc/cron.3min/mail-restart.sh)


However, the log shows some other errors that may have something to do 
with it.

PAM adding faulty module: /lib/security/pam_krb5.so
(root) CMD (/etc/cron.3min/mail-restart.sh)
PAM unable to dlopen(/lib/security/pam_krb5.so)
PAM [dlerror: /lib/security/pam_krb5.so: cannot open shared object file: 
No such file or directory]

However, other cron jobs run just fine. So I'm not sure what is the 
problem. Any help in figuring this out would be greatly appreciated.

Thanks.

-Matthew


             reply	other threads:[~2006-09-26  7:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-26  7:46 Matthew Metzger [this message]
2006-09-26  8:25 ` cron script won't run Matthew Metzger
2006-09-27 13:29   ` Matthew Metzger
2006-09-26  8:30 ` Adam T. Bowen
2006-09-26  9:05   ` Luca Ferrari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='efalsp$3oj$1@sea.gmane.org' \
    --to=news@thinkdeeper.com \
    --cc=linux-admin@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).