cron script won't run

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux