Article View: news.software.readers
Article #73271Re: [slrn] pull can't expire from cron
From: Michael West
Date: Thu, 08 Mar 2001 17:59
Date: Thu, 08 Mar 2001 17:59
113 lines
5681 bytes
5681 bytes
Now I am really confused. The log at 1:05 shows
---
03/08/2001 01:05:00 slrnpull started in expire mode.
03/08/2001 01:05:00 Reading /var/spool/slrnpull/slrnpull.conf
03/08/2001 01:05:00 Creating Overview file for comp.os.linux.admin...
03/08/2001 01:05:00 Creating Overview file for comp.os.linux.hardware...
03/08/2001 01:05:01 Creating Overview file for comp.os.linux.security...
03/08/2001 01:05:02 Creating Overview file for comp.os.linux.setup...
03/08/2001 01:05:03 Creating Overview file for comp.lang.perl...
03/08/2001 01:05:03 Creating Overview file for comp.mail.mutt...
03/08/2001 01:05:03 Creating Overview file for comp.mail.sendmail...
03/08/2001 01:05:04 Creating Overview file for news.software.readers...
03/08/2001 01:05:04 Creating Overview file for linux.dev.kernel...
03/08/2001 01:05:04 Creating Overview file for linux.dev.raid...
---
The timestamps on the .overview and .minmax also show this is working.
The e-mail is from a different time, and comes from cron at 4:02 every day even
though there is no cron entry. This is off topic now, but I'll finish what I
started.
Here is the Mail with Headers
---
from root Thu Mar 8 04:02:47 2001
Return-Path: <root@c138685-b.sttls1.wa.home.com>
Received: (from root@localhost)
by c138685-b.sttls1.wa.home.com (8.11.0/8.11.0) id f28C2kO32630
for root; Thu, 8 Mar 2001 04:02:46 -0800
Date: Thu, 8 Mar 2001 04:02:46 -0800
Message-Id: <200103081202.f28C2kO32630@c138685-b.sttls1.wa.home.com>
From: root@c138685-b.sttls1.wa.home.com (Cron Daemon)
To: root@c138685-b.sttls1.wa.home.com
Subject: Cron <root@c138685-b> run-parts /etc/cron.daily
X-Cron-Env: <SHELL=/bin/bash>
X-Cron-Env: <PATH=/sbin:/bin:/usr/sbin:/usr/bin>
X-Cron-Env: <MAILTO=root>
X-Cron-Env: <HOME=/>
X-Cron-Env: <LOGNAME=root>
Status: RO
Content-Length: 2987
Lines: 43
03/08/2001 04:02:46 ***Unable to open /var/spool/slrnpull/log for logging.
03/08/2001 04:02:46 slrnpull started in expire mode.
03/08/2001 04:02:46 Reading /var/spool/slrnpull/slrnpull.conf
03/08/2001 04:02:46 Creating Overview file for comp.os.linux.admin...
03/08/2001 04:02:46 ***Unable to open overview file
+/var/spool/slrnpull/news/comp/os/linux/admin/.overview.
03/08/2001 04:02:46 Creating Overview file for comp.os.linux.hardware...
03/08/2001 04:02:46 ***Unable to open overview file
+/var/spool/slrnpull/news/comp/os/linux/hardware/.overview.
03/08/2001 04:02:46 Creating Overview file for comp.os.linux.security...
03/08/2001 04:02:46 ***Unable to open overview file
+/var/spool/slrnpull/news/comp/os/linux/security/.overview.
03/08/2001 04:02:46 Creating Overview file for comp.os.linux.setup...
03/08/2001 04:02:46 ***Unable to open overview file
+/var/spool/slrnpull/news/comp/os/linux/setup/.overview.
---
and on like that
root is the only user with a crontab.
`crontab -l` shows
---
0,15,30,45 * * * * /usr/bin/slrnpull -h NEWS
5 1 * * * /usr/bin/slrnpull --expire
---
any ideas, I guess I could get procmail to > /dev/null this mail ( can you give
procmail a time range? ) but I'd rather discover the problem.
Any ideas on how I can investigate further?
Thanks,
Michael
On 7 Mar 2001 19:59:30 GMT, Thomas Schultz <tststs@gmx.de> wrote:
>* Sven Guckes [2001-03-07 13:28] :
>> * Michael West <quagly@home_nospam.com>:
>>> The crontab is just
>>> 5 1 * * * slrnpull --expire
>> 5 1 * * * /path/slrnpull --expire
>
>I don't see how this should change anything. From the output Michael
>posted, you can see that cron does find the slrnpull binary; it just
>seems to be unable to create any files under /var/spool/slrnpull.
>
>First, I thought that he does not really keep his slrnpull data in
>/var/spool/slrnpull and needs to set SLRNPULL_ROOT, but
>/var/spool/slrnpull/slrnpull.conf obviously exists on his system, so
>this cannot be the problem.
>
>Then, I would have guessed there is a problem with permissions, but he
>mentioned that he can create file in /var/spool/slrnpull from the root
>crontab, so this can't be it either.
>
>I also cannot reproduce this (on my box, slrnpull expires from root
>cron just fine), so (provided all the given information is double-
>checked) I don't have the slightest idea on this right now.
>--
>Thomas Schultz <tststs@gmx.de> * Recent news from http://slrn.sourceforge.net/
> -> [2001-01-28] First steps towards slrn 0.9.7.0
> -> [2001-01-19] Thomas Schultz new slrn maintainer
> -> [2000-12-21] slrn 0.9.6.3pl3 released
Technical Details
Message-ID:
<slrn9afhqv.2lc.quagly@c138685-b.sttls1.wa.home.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!nntp.cs.ubc.ca!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!news1.sttls1.wa.home.com.POSTED!not-for-mailReferences:
<slrn9a9sfq.9q2.quagly@c138685-b.sttls1.wa.home.com> <2001-03-07T13-27-44@guckes.net> <slrn9ad4p2.l7.tststs@starflower.tststs.ddns.org>Show Full Headers
Complete Article Headers
Message-ID: <slrn9afhqv.2lc.quagly@c138685-b.sttls1.wa.home.com> Subject: Re: [slrn] pull can't expire from cron Date: Thu, 08 Mar 2001 17:59:59 GMT From: quagly@home_nospam.com (Michael West) References: <slrn9a9sfq.9q2.quagly@c138685-b.sttls1.wa.home.com> <2001-03-07T13-27-44@guckes.net> <slrn9ad4p2.l7.tststs@starflower.tststs.ddns.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!nntp.cs.ubc.ca!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!news1.sttls1.wa.home.com.POSTED!not-for-mail Newsgroups: news.software.readers Reply-To: quagly@home_nospam.com User-Agent: slrn/0.9.6.2 (Linux) Lines: 112 NNTP-Posting-Host: 24.10.41.243 X-Complaints-To: abuse@home.net X-Trace: news1.sttls1.wa.home.com 984074399 24.10.41.243 (Thu, 08 Mar 2001 09:59:59 PST) NNTP-Posting-Date: Thu, 08 Mar 2001 09:59:59 PST Organization: Excite@Home - The Leader in Broadband http://home.com/faster