Cron problems update

From: J. Alexander Jacocks (jjacocks@mac.com)
Date: Mon Dec 02 2002 - 11:17:19 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I still haven't gotten any cron jobs to run on this server. As per the
suggestions of many, I have checked cron.allow and cron.deny. Both are
fine. The user attempting to run this job is root, so permissions
shouldn't be an issue.

Any other ideas?

Thanks for the help so far!

J. Alexander Jacocks Senior UNIX Systems Engineer
AT&T Government Solutions jacocks@att.com

> I have an interesting/frustrating cron problem, which searching
> through the archives of this list doesn't seem to address.
> Unfortunately, this is keeping me from taking
> a new server production.
>
> Cron refuses to execute any user's crontab, replying with a "! bad
> user ()" message in /var/cron/log. I have check password
> aging, and RBAC, and can't seem to find a reason. Here's what I have:
>
> cronjob:
>
> 0-59 * * * * touch /tmp/test
>
> excerpt from /var/cron/log:
>
>> CMD: touch /tmp/test
>&! gt; root 12060 c Mon Nov 25 17:57:00 2002
>
> ! bad user (root) Mon Nov 25 17:57:00 2002
> < root 12060 c Mon Nov 25 17:57:00 2002 rc=1
>
> truss output from the process:
>
> read(3, 0x0002DF0C, 26) (sleeping...)
> Received signal #14, SIGALRM, in read() [caught]
> read(3, 0x0002DF0C, 26) Err#4 EINTR
> sigaction(SIGALRM, 0xFFBEF478, 0xFFBEF4F8) = 0
> setcontext(0xFFBEF5F8)
> time() = 1038247020
> stat64("/etc/cron.d/queuedefs", 0xFFBEFB08) = 0
> stat64("/tmp", 0xFFBEE8E8) = 0
> access("/tmp", 3) = 0
> getpid() = 11945 [1]
> lstat64("/tmp/croutBAAP4aivx", 0xFFBEE7E8) Err#2 ENOENT
> open64("/etc/.name_service_door", O_RDONLY) = 4
> fcntl(4, F_SETFD, 0x00000001) = 0
> door_info(4, 0xFF1C06D0) Err#9 EBADF
> close(4) = 0
> open("/etc/user_attr", O_RDONLY) = 4
> fstat64(4, 0xFFBEDD30) = 0
> brk(0x00037160) = 0
> brk(0x00039160) = 0
> ioctl(4, TCGETA, 0xF! FBEDCBC) Err#25 ENOTTY
> read(4, " # C o p y r i g h t ".., 8192) = 271
> llseek(4, 0, SEEK_CUR) = 271
> close(4) = 0
> open("/etc/project", O_RDONLY) = 4
> fstat64(4, 0xFFBEE508) = 0
> ioctl(4, TCGETA, 0xFFBEE494) Err#25 ENOTTY
> read(4, " s y s t e m : 0 : : : :".., 8192) = 78
> llseek(4, 0xFFFFFFFFFFFFFFCF, SEEK_CUR) = 29
> close(4) = 0
> time() = 1038247020
> time() = 1038247020
> fork() = 12060
> time() = 1038247020
> write(2, " >", 1) = 1
> write(2, " C M D : ", 7) = 7
> write(2, " t o u c h / t m p / t".., 15) = 15
> write(2, "\n", 1) = 1
> write(2, " > ", 3) = 3
> write(2, " r o o t", 4) = 4
> write(2, " ", 1) = 1
> write(2, " 1 2 0 6 0", 5) = 5
> write(2, " c ", 3) = 3
> write(2, " M o n N o v 2 5 1".., 24) = 24
> write(1, "\n", 1) = 1
> time() = 1038247020
> time() = 1038247020
> time() = 1038247020
> fstat64(3, 0xFFBEFA10)! = 0
> alarm(1) = 0
> wait() = 12060 [0x0100]
> alarm(0) = 1
> uname(0xFFBEF4A0) = 1
> time() = 1038247020
> write(2, " < ", 3) = 3
> write(2, " r o o t", 4) = 4
> write(2, " ", 1) = 1
> write(2, " 1 2 0 6 0", 5) = 5
> write(2, " c ", 3) = 3
> write(2, " M o n N o v 2 5 1".., 24) = 24
> write(2, " r c =", 4) = 4
> write(2, " 1", 1) = 1
> write(1, "\n", 1) = 1
> lstat64("/tmp/croutBAAP4aivx", 0xFFBEF408) Err#2 ENOENT
> fstat64(3, 0xFFBEF910) = 0
> time() = 1038247020
> alarm(60) = 0
> read(3, 0x0002DF0C, 26) (sleeping...)
>
> Any help would be greatly appreciated! I'll summarize to the list.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (Darwin)

iD8DBQE964eTM6BAq5XuDUwRAnIWAJ4l23R2a29Dn9tU8Y+/IIF7NDBNmQCcDSwG
c4dM83GxqUYdLW8isvIhwKc=
=2RKt
-----END PGP SIGNATURE-----
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:25:24 EDT