Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Cron problem
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
Ludwig  
View profile   Translate to Translated (View Original)
 More options 13 Dec 2002, 12:05
Newsgroups: muc.lists.debian.user
From: Ludwig <lud...@superdeluxe.com>
Date: 13 Dec 2002 13:05:14 +0100
Local: Fri 13 Dec 2002 12:05
Subject: Cron problem
This only started a week or two ago:  I've been getting emails from the
cron daemon indicating a problem with /etc/crontab or cron itself.  I've
tried using crontab to regenerate /etc/crontab, and purging and
reinstalling cron, and but am still getting the following:

From: Cron Daemon <r...@suspectdevice.dyndns.org>
To: lud...@suspectdevice.dynpurging and reinstalling, and dns.org
Subject: Cron <ludwig@suspectdevice> root        test -e
/usr/sbin/anacron || run-parts --report /etc/cron.daily
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env:
<PATH=$PATH:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin>
X-Cron-Env: <HOME=/home/ludwig>
X-Cron-Env: <LOGNAME=ludwig>
[...]
/bin/sh: line 1: root: command not found
/etc/cron.daily/5snort:
find: /var/log/snort: Permission denied
/etc/cron.daily/acct:
savelog: directory /var/account is not writable
[etc, other failures due to permission denied]

/etc/crontab, which AFAICT is the default one that's been here all
along, reads as follows:

# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file.
# This file also has a username field, that none of the other crontabs
do.

SHELL=/bin/sh
PATH=$PATH:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

# m h dom mon dow user  command
25 6    * * *   root    test -e /usr/sbin/anacron || run-parts --report
/etc/cron.daily
47 6    * * 7   root    test -e /usr/sbin/anacron || run-parts --report
/etc/cron.weekly
52 6    1 * *   root    test -e /usr/sbin/anacron || run-parts --report
/etc/cron.monthly

Why is cron suddenly taking the "root" argument as a command instead of
the username to run the following commands as?  I can't think of
anything I've installed or changed recently that might have sparked this
problem.

--
Public key -- http://superdeluxe.com/~ludwig/publickey

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google