Re: Strange problem with crond

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

 



On Wed, Mar 10, 2004 at 05:06:01PM +0100, dballester@xxxxxxxxxxxxxx wrote:

> backup script of my own, and sends report mails. All runs ok but in one
> machine never runs.
> 
>       The script runs well if launched by hand as root. But if I make an
> entry in the root crontab .... never occurs.
> 
>       Taking a look to the /var/log/cron I can see this message:
> 
>       "Mar 10 15:54:00 INFOPICK crond[13011]: (tmp.12197) ORPHAN (no passwd
> entry)"

No passwd entry.
Check the pass word  files involved.

Local /etc/passwd and /etc/shadow as well as any invoked directly 
or implied in the script.

Include interaction with stuff like the  MAILTO environment variable  in crontab.
Perhaps you placed a file in /var/spool/cron for which there is no user name
in the passwd file.

        if (strcmp(fname, "*system*") && !(pw = getpwnam(uname))) {
                /* file doesn't have a user in passwd file.
                 */
                log_it(fname, getpid(), "ORPHAN", "no passwd entry");
                goto next_crontab;
        }


-- 
	T o m  M i t c h e l l 
	/dev/null the ultimate in secure storage.




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux