Article View: news.software.nntp
Article #83107Re: Cron failing on Squeeze
From: John F. Morse
Date: Mon, 07 Jun 2010 15:24
Date: Mon, 07 Jun 2010 15:24
40 lines
2832 bytes
2832 bytes
Richard Kettlewell wrote:
> "John F. Morse" <john@example.invalid> writes:
>
>> This strace output looks more like a snapshot than a log "follow" so I
>> don't know if it happened at the same instant the cron was initiated.
>>
>> The -f option is to "follow" children.
>>
>> I added -tt to record the time.
>>
>>
>> Jun 6 20:10:01 n102 /USR/SBIN/CRON[3423]: (news) CMD ( [ -x
>> /usr/bin/rnews ] && rnews -U)
>> Jun 6 20:10:01 n102 /USR/SBIN/CRON[3422]: (CRON) error (grandchild
>> #3423 failed with exit status 1)
>>
>> john@n102:~$ sudo strace -ftt cron
>> 20:10:00.120219 execve("/usr/sbin/cron", ["cron"], [/* 14 vars */]) = 0
>>
> [...]
>
> You need to trace the running cron, because...
>
>> 20:10:00.124249 write(2, "cron: can't lock /var/run/crond."...,
>> 92cron: can't lock /var/run/crond.pid, otherpid may be 1026: Resource
>> temporarily unavailable
>> ) = 92
>>
>
> ...it won't run concurrently with itself.
>
How would I do this?
--
John
When a person has -- whether they knew it or not -- already rejected the Truth, by what means do they discern a lie?
Technical Details
Message-ID:
<huj2v1$h7i$1@n102.xanadu-bbs.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border1.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.neu.edu.cn!news.newsmth.net!news.byr.edu.cn!feeds.phibee-telecom.net!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!news.glorb.com!news2.glorb.com!optima2.xanadu-bbs.net!n102.xanadu-bbs.net!.POSTED!not-for-mailReferences:
<hug8eq$o17$1@n102.xanadu-bbs.net> <hugbmu$691$1@news.trigofacile.com> <hugekm$3eo$1@n102.xanadu-bbs.net> <87r5kk41pp.fsf@araminta.anjou.terraraq.org.uk> <hugfjp$3lh$2@n102.xanadu-bbs.net> <87ocfndh1i.fsf@araminta.anjou.terraraq.org.uk> <huhh22$3b4$1@n102.xanadu-bbs.net> <871vcjz2qo.fsf@araminta.anjou.terraraq.org.uk>Show Full Headers
Complete Article Headers
Message-ID: <huj2v1$h7i$1@n102.xanadu-bbs.net> Subject: Re: Cron failing on Squeeze Date: Mon, 07 Jun 2010 10:24:17 -0500 From: "John F. Morse" <john@example.invalid> References: <hug8eq$o17$1@n102.xanadu-bbs.net> <hugbmu$691$1@news.trigofacile.com> <hugekm$3eo$1@n102.xanadu-bbs.net> <87r5kk41pp.fsf@araminta.anjou.terraraq.org.uk> <hugfjp$3lh$2@n102.xanadu-bbs.net> <87ocfndh1i.fsf@araminta.anjou.terraraq.org.uk> <huhh22$3b4$1@n102.xanadu-bbs.net> <871vcjz2qo.fsf@araminta.anjou.terraraq.org.uk> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border1.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.neu.edu.cn!news.newsmth.net!news.byr.edu.cn!feeds.phibee-telecom.net!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!news.glorb.com!news2.glorb.com!optima2.xanadu-bbs.net!n102.xanadu-bbs.net!.POSTED!not-for-mail Newsgroups: news.software.nntp Organization: Xanadu BBS Lines: 40 Reply-To: dont.bother Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: n102.xanadu-bbs.net 1275924257 17650 192.168.89.210 (7 Jun 2010 X-Complaints-To: newsmaster@xanadu-bbs.net NNTP-Posting-Date: Mon, 7 Jun 2010 15:24:17 +0000 (UTC) User-Agent: Thunderbird 2.0.0.24 (X11/20100317) In-Reply-To: <871vcjz2qo.fsf@araminta.anjou.terraraq.org.uk> X-Enigmail-Version: 0.96.0 X-Original-Bytes: 2654