Thread View: news.software.readers
15 messages
15 total messages
Started by Mike Graham
Sat, 26 Jul 2003 21:28
Trouble with leafnode
Author: Mike Graham
Date: Sat, 26 Jul 2003 21:28
Date: Sat, 26 Jul 2003 21:28
16 lines
1842 bytes
1842 bytes
After a long period of perfectly acceptable functioning, suddenly
fetchnews in leafnode 1.9.24-3 has started downloading ALL of the group
listings every time I try to download my usenet groups. Never did this
before. It takes ages on my dial-up line, and I'd like it to stop. I tried
doing a fetchnews -f to rebuild the database, but it's still doing it. Any
thoughts?
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Mike Graham | Metalworker, rustic, part-time zealot.
mike@metalmangler.com | Sporadically WOEful.
<http://www.metalmangler.com>| First run on low-carb: 320lbs to 210lbs.
Restarted June 01/2003 - 245/226/not sure.
DENIQUE DIAETAM EFFICACEM INVENI
Re: Trouble with leafnode
Author: SINNER
Date: Sat, 26 Jul 2003 23:39
Date: Sat, 26 Jul 2003 23:39
16 lines
2067 bytes
2067 bytes
Mike Graham Wrote in news.software.readers, on Sat, 26 Jul 2003 17:28:11 -0400: > After a long period of perfectly acceptable functioning, suddenly > fetchnews in leafnode 1.9.24-3 has started downloading ALL of the group > listings every time I try to download my usenet groups. Never did this > before. It takes ages on my dial-up line, and I'd like it to stop. I tried > doing a fetchnews -f to rebuild the database, but it's still doing it. Any > thoughts? What do you mean by 'ALL of the group listings' ? All the messages in the group or all the newsgroup names? Have you changed the /etc/leafnode/config file in any way? -- David ... or were you driving the PONTIAC that HONKED at me in MIAMI last Tuesday?
Re: Trouble with leafnode
Author: Mike Graham
Date: Sun, 27 Jul 2003 00:22
Date: Sun, 27 Jul 2003 00:22
25 lines
1968 bytes
1968 bytes
In article <t1gbv-4ph.ln1@news.gates_of_hell.INVALID>, SINNER wrote: > What do you mean by 'ALL of the group listings' ? All the messages in > the group or all the newsgroup names? All of the newsgroup names. It's a pain in the ass. 1.9.24.rel: verbosity level is 2 Trying to connect to news.sprint.ca:nntp ... connected. news.sprint.ca: 2 articles posted Getting all newsgroups from news.sprint.ca Every bloody time. > Have you changed the > /etc/leafnode/config file in any way? No. The config file hasn't been modified in almost two months. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Mike Graham | Metalworker, rustic, part-time zealot. mike@metalmangler.com | <http://www.metalmangler.com>| Caledon, Ontario, Canada
Re: Trouble with leafnode
Author: SINNER
Date: Sun, 27 Jul 2003 02:19
Date: Sun, 27 Jul 2003 02:19
38 lines
2809 bytes
2809 bytes
Mike Graham Wrote in news.software.readers, on Sat, 26 Jul 2003 20:22:43 -0400: > In article <t1gbv-4ph.ln1@news.gates_of_hell.INVALID>, SINNER wrote: >> What do you mean by 'ALL of the group listings' ? All the messages in >> the group or all the newsgroup names? > All of the newsgroup names. It's a pain in the ass. > 1.9.24.rel: verbosity level is 2 > Trying to connect to news.sprint.ca:nntp ... connected. > news.sprint.ca: 2 articles posted > Getting all newsgroups from news.sprint.ca > Every bloody time. >> Have you changed the >> /etc/leafnode/config file in any way? > No. The config file hasn't been modified in almost two months. How do you run fetchnews? I use a cron job (run by root). Maybe permissions in /var/spool/news/leaf.node/ have changed? Only root and news have permissions to those folders/files. [root@gates_of_hell leaf.node]# ll drwxr-xr-x 2 root root 4096 Jun 20 19:30 backup/ -rw-rw-r-- 1 news news 3036838 Jul 26 21:11 groupinfo -rw-rw-r-- 1 news news 700 Jul 26 21:11 netnews.comcast.net -rw-rw-r-- 1 news news 693 Jul 26 21:11 news.cis.dfn.de -rw-rw-r-- 1 news news 709 Jul 26 21:11 news.easynews.com Have these files been getting updated? -- David Yow! Now we can become alcoholics!
Re: Trouble with leafnode
Author: Martin Brunzel
Date: Sun, 27 Jul 2003 06:56
Date: Sun, 27 Jul 2003 06:56
38 lines
2457 bytes
2457 bytes
* Mike Graham schrieb: > In article <t1gbv-4ph.ln1@news.gates_of_hell.INVALID>, SINNER wrote: > >> What do you mean by 'ALL of the group listings' ? All the messages in >> the group or all the newsgroup names? > > All of the newsgroup names. It's a pain in the ass. leafnode works as it is supposed to: |timeout_active = 90 | By default, active files from the upstream servers are re-read | every 90 days. This interval can be changed by setting time- | out_active to a different value. Be aware that reading an active | file transfers about one MB of information if the server that | you are using carries a reasonable number of groups (i.e. around | 20,000). >> Have you changed the >> /etc/leafnode/config file in any way? Wrong direction. Let leafnode load the group, since this way it can reassure, your serverlists are correct. Two other possibilities would be: 1) Readjust timeout_active. If leafnode did not screw something up, it should work for some more days without rereading the whole active files. 2) Simulating the reread of the files. Since I don't know where to change things, I can't give you some hint where to touch files or change information. Martin
Re: Trouble with leafnode
Author: Mike Graham
Date: Sun, 27 Jul 2003 11:01
Date: Sun, 27 Jul 2003 11:01
65 lines
4232 bytes
4232 bytes
In article <l7pbv-1rn.ln1@news.gates_of_hell.INVALID>, SINNER wrote: > How do you run fetchnews? I use a cron job (run by root). Maybe > permissions in /var/spool/news/leaf.node/ have changed? I use sudo. Specifically I have a shell script: #!/bin/bash /home/mike/bin/addscore sudo /usr/sbin/fetchnews -vv Like so. It hasn't been altered in yonks. > Only root and news have permissions to those folders/files. > > [root@gates_of_hell leaf.node]# ll > drwxr-xr-x 2 root root 4096 Jun 20 19:30 backup/ > -rw-rw-r-- 1 news news 3036838 Jul 26 21:11 groupinfo > -rw-rw-r-- 1 news news 700 Jul 26 21:11 netnews.comcast.net > -rw-rw-r-- 1 news news 693 Jul 26 21:11 news.cis.dfn.de > -rw-rw-r-- 1 news news 709 Jul 26 21:11 news.easynews.com > > Have these files been getting updated? [mike@zippy /home/mike]$ cd /var/spool/news [mike@zippy news]$ ls -al total 56 drwxr-xr-x 12 news news 4096 Jul 26 17:48 ./ drwxr-xr-x 11 root root 4096 Jan 2 2003 ../ -rw-rw-r-- 1 news news 0 Apr 26 22:49 active.read drwxrwxr-x 5 news news 4096 Jul 27 04:07 alt/ drwxr-xr-x 2 news news 4096 Aug 5 2002 failed.postings/ drwxr-xr-x 2 news news 4096 Jul 26 17:42 interesting.groups/ drwxr-xr-x 2 news news 4096 Jul 27 06:22 leaf.node/ drwxr-xr-x 1002 news news 12288 Aug 5 2002 message.id/ drwxrwxr-x 3 news news 4096 Jul 26 17:48 news/ drwsr-xr-x 2 news news 4096 Jul 27 06:54 out.going/ drwxrwxr-x 5 news news 4096 Feb 1 07:16 rec/ drwxrwxr-x 3 news news 4096 Jul 30 2002 sci/ drwxr-xr-x 2 news news 4096 Feb 1 07:16 temp.files/ [mike@zippy news]$ cd leaf.node [mike@zippy leaf.node]$ ls -al total 1540 drwxr-xr-x 2 news news 4096 Jul 27 06:22 ./ drwxr-xr-x 12 news news 4096 Jul 26 17:48 ../ -rw-rw-r-- 1 news news 1553983 Jul 27 06:22 groupinfo -rw-rw-r-- 1 news news 146 Jul 27 06:22 news.sprint.ca -rw-rw-r-- 1 news news 138 Jul 25 06:53 nntp.uunet.ca They seem to be getting updated, and the ownerships don't seem to be wrong. One thing that happened when I downloaded today, which was odd, is that three of my groups had incorrect message markers, so slrn was offering up every message that I have on file (tens of thousands) in each group. The other two groups were just fine. Very odd. I have run fetchnews -f a few times, hoping it would help. No dice. Thanks for the help thus far... any other ideas? I've got an e-mail in to the leafnode bug guy, but I haven't gotten a reply yet. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Mike Graham | Metalworker, rustic, part-time zealot. mike@metalmangler.com | <http://www.metalmangler.com>| Caledon, Ontario, Canada
Re: Trouble with leafnode
Author: Mike Graham
Date: Sun, 27 Jul 2003 11:10
Date: Sun, 27 Jul 2003 11:10
25 lines
2420 bytes
2420 bytes
In article <83tvfb.87.ln@mis.configured-host.de>, Martin Brunzel wrote: > leafnode works as it is supposed to: > >|timeout_active = 90 >| By default, active files from the upstream servers are re-read >| every 90 days. This interval can be changed by setting time- >| out_active to a different value. Be aware that reading an active >| file transfers about one MB of information if the server that >| you are using carries a reasonable number of groups (i.e. around >| 20,000). Sonofagun. I removed the comment so that 'timeout_active' was set to 365 rather than defaulting to 90, and that fixed it. The question now is this: why did leafnode download the entire group list five times per day for an entire week? When it does download the whole group list doesn't it update the 'wait 90 days' flag? I ran fetchnews -f several times... shouldn't *that* update it? -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Mike Graham | Metalworker, rustic, part-time zealot. mike@metalmangler.com | <http://www.metalmangler.com>| Caledon, Ontario, Canada
Re: Trouble with leafnode
Author: Martin Brunzel
Date: Sun, 27 Jul 2003 11:43
Date: Sun, 27 Jul 2003 11:43
67 lines
3766 bytes
3766 bytes
* Mike Graham schrieb: > In article <83tvfb.87.ln@mis.configured-host.de>, Martin Brunzel wrote: > >> leafnode works as it is supposed to: >> >>|timeout_active = 90 >>| By default, active files from the upstream servers are re-read >>| every 90 days. This interval can be changed by setting time- >>| out_active to a different value. Be aware that reading an active >>| file transfers about one MB of information if the server that >>| you are using carries a reasonable number of groups (i.e. around >>| 20,000). > > Sonofagun. What does that mean? > I removed the comment so that 'timeout_active' was set to 365 > rather than defaulting to 90, and that fixed it. The question now is this: > why did leafnode download the entire group list five times per day for an > entire week? Didn't you write that you interrupted fetchnews all the time? Or have I misunderstood you? > When it does download the whole group list doesn't it update > the 'wait 90 days' flag? I ran fetchnews -f several times... shouldn't > *that* update it? My *guess* is, that it has something to do with following line you posted just now: |-rw-rw-r-- 1 news news 0 Apr 26 22:49 active.read As I know, leafnode recognizes "active" groups by watching interesting.groups/. Every time you read a group, the corresponding entry in interesting.groups seems to be touched. While using dates there, I'd guess that the date of "active.read" is the date, leafnode knows to have read the active-files last. Since this entry is 93 days or so in the past, it *could* be the reason. One questions remains: Why did leafnode download the lists multiple times? Well, I could imagine some solutions: 1) Bug. Since there's no other indication for this, we better don't follow this point. ;-) 2) Disk space. leafnode tried to write the grouplists, but could not find enough disk space. Recognizing this, it aborted, but waited for the server to close the connection. The server felt the urge to sent the whole grouplist before closing... 3) Problem with rights. leafnode downloaded the grouplist and everything worked fine. For some reason it could not replace the old active with the new ones... 4) Interruption. leafnode tried to load all the lists, but before it could replace the old files, it just got interrupted. So next time it was invoked, it did not remeber anything... Martin
Re: Trouble with leafnode
Author: Mike Graham
Date: Sun, 27 Jul 2003 13:02
Date: Sun, 27 Jul 2003 13:02
78 lines
4186 bytes
4186 bytes
In article <ksd0gb.66.ln@mis.configured-host.de>, Martin Brunzel wrote: >> Sonofagun. > > What does that mean? It's "son of a gun" ellided into one word, the way it usually comes out when spoken. It's an exclaimation of surprise. > Didn't you write that you interrupted fetchnews all the time? > Or have I misunderstood you? No. I have interrupted it before, but it was allowed to run to completion many times in the last few days. > As I know, leafnode recognizes "active" groups by watching > interesting.groups/. Every time you read a group, the > corresponding entry in interesting.groups seems to be touched. > While using dates there, I'd guess that the date of > "active.read" is the date, leafnode knows to have read the > active-files last. Since this entry is 93 days or so in the > past, it *could* be the reason. Yes, that would seem sensible. > One questions remains: Why did leafnode download the lists > multiple times? > > Well, I could imagine some solutions: > > 1) Bug. Since there's no other indication for this, we better > don't follow this point. ;-) Fair enough... > 2) Disk space. leafnode tried to write the grouplists, but > could not find enough disk space. Recognizing this, it > aborted, but waited for the server to close the connection. > The server felt the urge to sent the whole grouplist before > closing... [mike@zippy mike]$ df Filesystem Size Used Avail Use% Mounted on /dev/hdb5 3.2G 1.5G 1.5G 50% / /dev/hdb1 241M 7.6M 221M 4% /boot none 253M 0 253M 0% /dev/shm /dev/hdb8 24G 3.0G 21G 13% /home /dev/hda1 49G 17G 33G 34% /mnt/windows /dev/hda5 63G 63G 843M 99% /mnt/media /dev/hdb7 9.9G 2.6G 6.9G 27% /usr Doesn't look like it should be a problem. 1.5 gigabytes free on that particular partition. > 3) Problem with rights. leafnode downloaded the grouplist and > everything worked fine. For some reason it could not replace > the old active with the new ones... It actually writes it to disk every time. The date on the groupinfo file is -rw-rw-r-- 1 news news 1553984 Jul 27 08:26 groupinfo Apparently it doesn't use the date of the groupinfo file to decide when to download new group info. > 4) Interruption. leafnode tried to load all the lists, but > before it could replace the old files, it just got > interrupted. So next time it was invoked, it did not remeber > anything... You would expect running fetchnews -f to sort those problems out, though. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Mike Graham | Metalworker, rustic, part-time zealot. mike@metalmangler.com | <http://www.metalmangler.com>| Caledon, Ontario, Canada
Re: Trouble with leafnode
Author: Whiskers
Date: Sun, 27 Jul 2003 17:09
Date: Sun, 27 Jul 2003 17:09
35 lines
2927 bytes
2927 bytes
In news.software.readers on Saturday 26 Jul 2003 10:28 pm, Mike Graham <mike@metalmangler.com> wrote: > After a long period of perfectly acceptable functioning, suddenly > fetchnews in leafnode 1.9.24-3 has started downloading ALL of the group > listings every time I try to download my usenet groups. Never did this > before. It takes ages on my dial-up line, and I'd like it to stop. I > tried doing a fetchnews -f to rebuild the database, but it's still doing > it. Any thoughts? > Is your file /var/spool/news/leaf.node/groupinfo empty, missing, or corrupt? (I think it's meant to be a list of all available groups on your upstream server(s)). Are the ownership and permissions correct? Mine has user name news, group name news, and permissions -rw-r--r-- I notice when I run fetchnews -vv that leafnode tries to download new group names from the upstream server; I think it's a long shot, but could it be that your server has a lot of 'new groups' to download, or even has all of its groups listed as "new"? The -v switch can have up to four letters v to give different levels of 'verbosity'; there might be a clue about what's happening in amongst the verbosity somewhere. "man fetchnews" gives a simple outline description of what fetchnews is supposed to do. I'm a newbie to Linux, let alone leafnode, so that's about as far as my knowledge goes. My leafnode is 1.9.32-1mdk, installed from a Mandrake RPM and running on Mandrake 9.1 -- -- ^^^^^^^^^^ Interested in Citroens? -- Whiskers <http://www.aacit.net> -- ~~~~~~~~~~ <news:alt.autos.citroen>
Re: Trouble with leafnode
Author: Martin Brunzel
Date: Mon, 28 Jul 2003 04:56
Date: Mon, 28 Jul 2003 04:56
61 lines
3529 bytes
3529 bytes
* Mike Graham schrieb: > In article <ksd0gb.66.ln@mis.configured-host.de>, Martin Brunzel wrote: > >>> Sonofagun. >> >> What does that mean? > > It's "son of a gun" ellided into one word, the way it usually comes out > when spoken. It's an exclaimation of surprise. Thanks for explanation. >> While using dates there, I'd guess that the date of >> "active.read" is the date, leafnode knows to have read the >> active-files last. Since this entry is 93 days or so in the >> past, it *could* be the reason. > > Yes, that would seem sensible. > >> 2) Disk space. leafnode tried to write the grouplists, but >> could not find enough disk space. Recognizing this, it >> aborted, but waited for the server to close the connection. >> The server felt the urge to sent the whole grouplist before >> closing... > > [mike@zippy mike]$ df > Filesystem Size Used Avail Use% Mounted on > /dev/hdb5 3.2G 1.5G 1.5G 50% / Just to be sure: You're not using a server with about 80.000 groups? It *could* be, that the file grows larger in that case. > Doesn't look like it should be a problem. 1.5 gigabytes free on that > particular partition. Well, I don't think so, either. If you want to check, just do a second login and 'df' while fetching the groups. ;-) >> 3) Problem with rights. leafnode downloaded the grouplist and >> everything worked fine. For some reason it could not replace >> the old active with the new ones... > > It actually writes it to disk every time. The date on the groupinfo file > is > -rw-rw-r-- 1 news news 1553984 Jul 27 08:26 groupinfo > > Apparently it doesn't use the date of the groupinfo file to decide when to > download new group info. Are you sure, that groupinfo is the file containing the groups of the "internet" news servers? I'd think, groupinfo only contains the local groups and administrative information. Right now I only have access to a leafnode2. If I remember correctly, my old and dusty HD contains some leafnode1. Since I wanted to revive this computer anyway, I'll look after it these days... Martin
Re: Trouble with leafnode
Author: Mike Graham
Date: Mon, 28 Jul 2003 11:39
Date: Mon, 28 Jul 2003 11:39
90 lines
5846 bytes
5846 bytes
In article <7da2gb.26.ln@mis.configured-host.de>, Martin Brunzel wrote: > Just to be sure: You're not using a server with about 80.000 > groups? It *could* be, that the file grows larger in that > case. No, I've got about five groups. 8-) Just me. Desktop system. > Well, I don't think so, either. If you want to check, just do > a second login and 'df' while fetching the groups. ;-) Filesystem Size Used Avail Use% Mounted on /dev/hdb5 3.2G 1.5G 1.5G 50% / /dev/hdb1 241M 7.6M 221M 4% /boot none 253M 0 253M 0% /dev/shm /dev/hdb8 24G 3.1G 21G 14% /home /dev/hda1 49G 39G 11G 80% /mnt/windows /dev/hda5 63G 63G 844M 99% /mnt/media /dev/hdb7 9.9G 2.6G 6.9G 27% /usr /dev/hdd5 30G 16K 30G 1% /mnt/storage /dev/hdd6 30G 1.9G 28G 7% /mnt/backup /dev/hdd7 30G 16K 30G 1% /mnt/other /dev/hdd8 24G 16K 24G 1% /mnt/crud [mike@zippy mike]$ Plenty of free space. Somewhere around 200 gigabytes free on the system, and still 1.5 gigabyte free on the root partition. > Are you sure, that groupinfo is the file containing the groups > of the "internet" news servers? I'd think, groupinfo only > contains the local groups and administrative information. I don't have any local groups. I understand that the next major revision from the one that I have will *allow* local groups, but to my knowledge the version that I run can't handle it. Or maybe it's SLRN that can't handle it yet... I'm not positive, but I think it's leafnode that can't handle it with the version that I'm running. The groupinfo file gets touched along with the file for whichever news server I'm using. Right now the directory looks like: [mike@zippy leaf.node]$ ls -al total 1540 drwxr-xr-x 2 news news 4096 Jul 28 07:21 ./ drwxr-xr-x 12 news news 4096 Jul 26 17:48 ../ -rw-rw-r-- 1 news news 1554075 Jul 28 07:21 groupinfo -rw-rw-r-- 1 news news 173 Jul 28 07:21 news.sprint.ca -rw-rw-r-- 1 news news 173 Jul 27 10:54 nntp.uunet.ca [mike@zippy leaf.node]$ And you can see that when I ran the fetch a couple of minutes ago to do that 'df' during the download, it touched groupinfo and news.sprint.ca, and that's it. The groupinfo file *does* seem to have all of the internet groups in it. Here's a small, but somewhat relevant section: news.software.nn 1 1 1059265647 Discussion about the "nn" news reader package. news.software.nntp 1 1 1059265647 The Network News Transfer Protocol. news.software.readers 203 3 1059265647 Discussion of software used to read network news. The groupinfo file gets touched every time, but it was being touched while I still had the problem, so it would appear that it's not being touched for date-code reasons but simply because it gets updated every time I download. This is starting to make more sense. Remember how I had set the active timeout to 365 days at your suggestion, and that fixed the problem? Well now that I think about it that little file 'active.read' must exist to be the dete that the active file (group listings) was last read. I touched the active.read file and changed the timeout back to 90 days and it didn't reread the active file, so by all experimentatal indications active.read is the one and only thing that leafnode checks to see when the active file was last read. So, the actual *problem* is that the active.read file isn't being touched when I download the active file. Is there anything wrong with the permissions that I have on it? [mike@zippy news]$ ls -al /var/spool/news total 56 drwxr-xr-x 12 news news 4096 Jul 26 17:48 ./ drwxr-xr-x 11 root root 4096 Jan 2 2003 ../ -rw-rw-r-- 1 news news 0 Jul 27 09:07 active.read That date that is on it is the time when I touched it myself as root. Running leafnode -f *should*, one would think, touch the file, but it doesn't. Perhaps the ultimate cause of the problem is that I use 'sudo' to run leafnode? I don't run it as root. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Mike Graham | Metalworker, rustic, part-time zealot. mike@metalmangler.com | <http://www.metalmangler.com>| Caledon, Ontario, Canada
Re: Trouble with leafnode
Author: Martin Brunzel
Date: Mon, 28 Jul 2003 15:42
Date: Mon, 28 Jul 2003 15:42
64 lines
4075 bytes
4075 bytes
* Mike Graham schrieb: > In article <7da2gb.26.ln@mis.configured-host.de>, Martin Brunzel wrote: > >> Just to be sure: You're not using a server with about 80.000 >> groups? It *could* be, that the file grows larger in that >> case. > > No, I've got about five groups. 8-) Just me. Desktop system. Well, I thought about news.sprint.ca or nntp.uunet.ca having 80.000 groups. ;-) >> Are you sure, that groupinfo is the file containing the groups >> of the "internet" news servers? I'd think, groupinfo only >> contains the local groups and administrative information. With "local groups" the groups known to leafnode were meant. (These groups are carried by news.sprint.ca and nntp.uunet.ca) > I don't have any local groups. I understand that the next major revision > from the one that I have will *allow* local groups, but to my knowledge the > version that I run can't handle it. Local groups you mean are only handled by leafnode2, running here... ;-) > And you can see that when I ran the fetch a couple of minutes ago to do > that 'df' during the download, it touched groupinfo and news.sprint.ca, and > that's it. The groupinfo file *does* seem to have all of the internet > groups in it. Here's a small, but somewhat relevant section: > > news.software.nn 1 1 1059265647 Discussion about the "nn" news reader package. > news.software.nntp 1 1 1059265647 The Network News Transfer Protocol. > news.software.readers 203 3 1059265647 Discussion of software used to read network news. There's still one thing left, I don't understand: Does leafnode get the groups only carried by one server by trial and error or does it get them by knowledge. If it gets them by knowledge, as I suppose, where is *this* information stored? > The groupinfo file gets touched every time, but it was being touched > while I still had the problem, so it would appear that it's not being > touched for date-code reasons but simply because it gets updated every time > I download. Since the groupinfo stores how much articles are available in these groups locally, I wouldn't expect anything other. ;-) > Is there anything wrong with the permissions that I have on it? > > -rw-rw-r-- 1 news news 0 Jul 27 09:07 active.read > > That date that is on it is the time when I touched it myself as root. > Running leafnode -f *should*, one would think, touch the file, but it > doesn't. Perhaps the ultimate cause of the problem is that I use 'sudo' to > run leafnode? I don't run it as root. touch should work, if you sudo your fetchnews to "news" (I suppose you don't use "nobody" or something like this. ;-) Martin
Re: Trouble with leafnode
Author: Mike Graham
Date: Mon, 28 Jul 2003 17:39
Date: Mon, 28 Jul 2003 17:39
53 lines
3675 bytes
3675 bytes
In article <59g3gb.06.ln@mis.configured-host.de>, Martin Brunzel wrote: > Well, I thought about news.sprint.ca or nntp.uunet.ca having > 80.000 groups. ;-) Oh, I see. Well, even if they had a million groups, and 128 character names plus 128 characters of descriptions for every one of those groups, I could still fit the file in. > Does leafnode get the groups only carried by one server by > trial and error or does it get them by knowledge. If it gets > them by knowledge, as I suppose, where is *this* information > stored? In the /var/spool/news/leaf.node directory where the groupinfo file is, there is also to be found a file for each news server. This file specifies which groups of the ones that I am subscribed to are available on that server, and the last message downloaded. For instance: [mike@zippy leaf.node]$ cat news.sprint.ca rec.autos.tech 460439 sci.engr.joining.welding 53339 rec.crafts.metalworking 461452 news.software.readers 166086 So it knows which groups are available, and which messages to check. If I download from one server and then download from the other it checks every message to see if it is a duplicate. > Since the groupinfo stores how much articles are available in > these groups locally, I wouldn't expect anything other. ;-) The groupinfo file does seem to have that information, but I don't know why, quite frankly. The file above has the *pertinant* information. The /var/spool/news/interesting.groups directory is a bit odd, too... I mean, why does it need that, anyway? > touch should work, if you sudo your fetchnews to "news" (I > suppose you don't use "nobody" or something like this. ;-) There's a thought. I don't know if my sudo uses 'news' as the ID or not. Okay, just checked and no, it doesn't. You'd think that 'root' would be good enough, but I'll try adding -u news and see if it touches /var/spool/news/active.read when I run a fetchnews -f. Thanks for the help. 8-) -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Mike Graham | Metalworker, rustic, part-time zealot. mike@metalmangler.com | <http://www.metalmangler.com>| Caledon, Ontario, Canada
Re: Trouble with leafnode
Author: Mike Graham
Date: Tue, 29 Jul 2003 12:39
Date: Tue, 29 Jul 2003 12:39
21 lines
2434 bytes
2434 bytes
In article <59g3gb.06.ln@mis.configured-host.de>, Martin Brunzel wrote: > touch should work, if you sudo your fetchnews to "news" (I > suppose you don't use "nobody" or something like this. ;-) I tried this. I checked the active.read file to make sure it had an old date. It did. I ran sudo -u news /usr/sbin/fetchnews -f -vv and re-checked the active.read file. It still has an old date. So the problem is still there, but since I've already manually touched it and the symptoms of the problem won't crop up for another three months, I'm not going to get all excited about it. So I'm going to call this 'problem resolved'. Thanks for all of your help, Martin. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Mike Graham | Metalworker, rustic, part-time zealot. mike@metalmangler.com | <http://www.metalmangler.com>| Caledon, Ontario, Canada
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads