Thread View: news.software.nntp
23 messages
23 total messages
Started by John F. Morse
Sat, 10 Jun 2006 20:12
Canceling c.cancel
Author: John F. Morse
Date: Sat, 10 Jun 2006 20:12
Date: Sat, 10 Jun 2006 20:12
18 lines
1835 bytes
1835 bytes
Now that the ctlinnd cancel problem is resolved, how can I shut off the ability of users to cancel messages? I don't imply their ability to not read the control.cancel group, which I've already taken care of in readers.conf (...,!control,!control.*, ...) but stopping the action entirely. I have two INN servers that peer between themselves only. There is no peering/sucking/pulling from the WAN. I do not need nor want these servers canceling articles from user commands, or even cancel messages between themselves. I've looked through inn.conf(5) and expire.ctl(5) and cannot find anything that sounds like what I need. Perhaps I've overlooked something, or I am looking in the wrong place? -- John
Re: Canceling c.cancel
Author: Iulius
Date: Sat, 10 Jun 2006 21:54
Date: Sat, 10 Jun 2006 21:54
18 lines
1580 bytes
1580 bytes
En réponse à John F. Morse : > Now that the ctlinnd cancel problem is resolved, how can I shut off the > ability of users to cancel messages? With « cleanfeed » : block_user_cancels => 1 > I don't imply their ability to not read the control.cancel group, which > I've already taken care of in readers.conf (...,!control,!control.*, > ....) but stopping the action entirely. I think « !control* » is enough. -- Iulius « Ils ont refusé une offre de Normand ?!? » (Astérix)
Re: Canceling c.cancel
Author: Jeffrey M. Vinocur
Date: Mon, 12 Jun 2006 12:38
Date: Mon, 12 Jun 2006 12:38
16 lines
1609 bytes
1609 bytes
In article <sIFig.162909$Fs1.92381@bgtnsc05-news.ops.worldnet.att.net>, John F. Morse <xanadu.bbs@invalid.net> wrote: >Now that the ctlinnd cancel problem is resolved, how can I shut off the >ability of users to cancel messages? [...] > >I've looked through inn.conf(5) and expire.ctl(5) and cannot find >anything that sounds like what I need. Perhaps I've overlooked >something, or I am looking in the wrong place? You probably mean the -C flag in innd(8). You can add it to inndflags (in inn.conf) for convenience. -- Jeffrey M. Vinocur jeff@litech.org
Re: Canceling c.cancel
Author: John F. Morse
Date: Mon, 12 Jun 2006 14:56
Date: Mon, 12 Jun 2006 14:56
58 lines
3508 bytes
3508 bytes
Jeffrey M. Vinocur wrote: >In article <sIFig.162909$Fs1.92381@bgtnsc05-news.ops.worldnet.att.net>, >John F. Morse <xanadu.bbs@invalid.net> wrote: > > >>Now that the ctlinnd cancel problem is resolved, how can I shut off the >>ability of users to cancel messages? [...] >> >>I've looked through inn.conf(5) and expire.ctl(5) and cannot find >>anything that sounds like what I need. Perhaps I've overlooked >>something, or I am looking in the wrong place? >> >> > >You probably mean the -C flag in innd(8). You can add it to >inndflags (in inn.conf) for convenience. > Thanks, Jeff. That should do the trick. However, after several different tests, it isn't working. Let me tell you what I've tried.... I removed the # in front of inndflags and added -C to that line in inn.conf. I've tried the -C with and without quotes. Then I throttled the server with ctlinnd throttle test. Then I stopped and started INN with rc.news. (Is this your suggested method to get inn.conf reloaded?) However, when I cancel an article (there are a bunch of old ones in my local.test group that come in handy for this), it is canceled, and without any warnings. The article disappears from the message list pane using Mozilla. The test messages are still in the spool directory though. I presume they will remain there until the nightly housekeeping expires and deletes them? When I check the control.cancel group on my slave server, I see the cancel message has propagated to that server, and the test message has been canceled. This server does not have the -C option. I've also made these checks from an iMac, running Thunderbird, which is on an "outside line" (different WAN). Can I test this -C option simply by entering innd -C in a terminal? IOW, will it add the -C option without changing any other options that may be running? I'd like to verify that it isn't a problem with the inn.conf parsing, etc., before we go to the trouble of examining innd for a bug. Have you ever successfully used the inndflags, specifically the -C option? I can e-mail you any config files for your examination, or can give you access to the server should you desire to test this. -- John
Re: Canceling c.cancel
Author: Russ Allbery
Date: Mon, 12 Jun 2006 14:59
Date: Mon, 12 Jun 2006 14:59
32 lines
2369 bytes
2369 bytes
John F Morse <xanadu.bbs@invalid.net> writes:
> Then I throttled the server with ctlinnd throttle test. Then I stopped
> and started INN with rc.news. (Is this your suggested method to get
> inn.conf reloaded?)
Yeah, that's correct. If you look with ps, is innd running with the -C
flag? That's the first thing to be sure of.
> When I check the control.cancel group on my slave server, I see the
> cancel message has propagated to that server, and the test message has
> been canceled. This server does not have the -C option.
innd will continue to propagate cancel messages even when running with -C.
-C just says not to act on them.
> Can I test this -C option simply by entering innd -C in a terminal?
Starting innd from the command line rather than via rc.news is generally
not recommended, although it can be done.
> IOW, will it add the -C option without changing any other options that
> may be running?
No, you have to stop and restart innd with the full set of correct
options.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Canceling c.cancel
Author: John F. Morse
Date: Mon, 12 Jun 2006 15:40
Date: Mon, 12 Jun 2006 15:40
94 lines
4099 bytes
4099 bytes
Russ Allbery wrote: >John F Morse <xanadu.bbs@invalid.net> writes: > > > >>Then I throttled the server with ctlinnd throttle test. Then I stopped >>and started INN with rc.news. (Is this your suggested method to get >>inn.conf reloaded?) >> >> > >Yeah, that's correct. If you look with ps, is innd running with the -C >flag? That's the first thing to be sure of. > > With ps aux I see my command option(s): news 12537 0.0 3.2 7916 4160 ? Ss 09:10 0:00 /usr/lib/news/bin/innd -p 3 -C But why is it still canceling? >>When I check the control.cancel group on my slave server, I see the >>cancel message has propagated to that server, and the test message has >>been canceled. This server does not have the -C option. >> >> > >innd will continue to propagate cancel messages even when running with -C. >-C just says not to act on them. > > Well, the cancel propagation to the slave server is acted upon, and that is expected. However the cancellation on the main server should not be happening though. I need a method to cancel myself (er, cancel *messages* by myself <g>), so I left the slave server running normally. However if -C really worked on the main server, then it wouldn't cancel propagated cancel messages from the slave anyway. I hope ctlinnd cancel <Message-ID> would still work (if the -C option starts working) so that I will have some method to cancel an article should the need arise. >>Can I test this -C option simply by entering innd -C in a terminal? >> >> > >Starting innd from the command line rather than via rc.news is generally >not recommended, although it can be done. > > What I was implying was with innd already running, what would happen if I entered innd -C (thinking it would add on the -C if it wasn't read from innd.conf). But the ps aux shows it was -- at least -- the option part of the command which started the process. But it doesn't show if it really is running -- only part of the command. If innd failed to act upon it, which it seems to have failed because cancels are still happening, then it is something internal to innd. I know of no other way to test it than cancel an article, and then look and see if it didn't cancel the article. Ideas? >>IOW, will it add the -C option without changing any other options that >>may be running? >> >> > >No, you have to stop and restart innd with the full set of correct >options. > I take this to mean innd cannot have an option changed (added or toggled) while it is running. It only receives options when starting up, either from the terminal or from inn.conf. -- John
Re: Canceling c.cancel
Author: Jeffrey M. Vinocur
Date: Mon, 12 Jun 2006 20:40
Date: Mon, 12 Jun 2006 20:40
80 lines
3962 bytes
3962 bytes
In article <_Vfjg.173401$Fs1.135369@bgtnsc05-news.ops.worldnet.att.net>, John F. Morse <xanadu.bbs@invalid.net> wrote: >Russ Allbery wrote: > >>If you look with ps, is innd running with the -C flag? > >news 12537 0.0 3.2 7916 4160 ? Ss 09:10 0:00 >/usr/lib/news/bin/innd -p 3 -C > >But why is it still canceling? That's very strange, and I don't have an explanation. >I need a method to cancel myself (er, cancel *messages* by myself <g>), >so I left the slave server running normally. However if -C really worked >on the main server, then it wouldn't cancel propagated cancel messages >from the slave anyway. Correct. >I hope ctlinnd cancel <Message-ID> would still work (if the -C option >starts working) so that I will have some method to cancel an article >should the need arise. Yes, you can still cancel messages through ctlinnd. >What I was implying was with innd already running, what would happen if >I entered innd -C (thinking it would add on the -C if it wasn't read >from innd.conf). Nope. I don't know any program that works in this way. >But the ps aux shows it was -- at least -- the option >part of the command which started the process. > >But it doesn't show if it really is running -- only part of the command. I don't understand these comments. >If innd failed to act upon it, which it seems to have failed because >cancels are still happening, then it is something internal to innd. I >know of no other way to test it than cancel an article, and then look >and see if it didn't cancel the article. I agree...ho hum. Not quite sure how to debug this. I mean, I just took a look at the code, and it's extremely unambiguous. I don't see any way that a cancel message could be processed when -C has been given. (Are you running Cleanfeed? If so, that might be a way to dodge the issue entirely.) >>No, you have to stop and restart innd with the full set of correct >>options. > >I take this to mean innd cannot have an option changed (added or >toggled) while it is running. It only receives options when starting up, >either from the terminal or from inn.conf. Right... I mean, INN is very configurable, and most of its options can be changed while it is running. However, the commandline options, and the contents of inn.conf, are deemed to be things that no one would want to change / would be difficult or meaningless to change while INN is running. Probably a lot of the restrictions could be lifted, but it would be a lot of effort for small gains, and we're not exactly overflowing with spare programmer cycles for the INN project. -- Jeffrey M. Vinocur jeff@litech.org
Re: Canceling c.cancel
Author: John F. Morse
Date: Tue, 13 Jun 2006 00:37
Date: Tue, 13 Jun 2006 00:37
152 lines
6183 bytes
6183 bytes
Jeffrey M. Vinocur wrote: >In article <_Vfjg.173401$Fs1.135369@bgtnsc05-news.ops.worldnet.att.net>, >John F. Morse <xanadu.bbs@invalid.net> wrote: > > >>Russ Allbery wrote: >> >> >> >>>If you look with ps, is innd running with the -C flag? >>> >>> >>news 12537 0.0 3.2 7916 4160 ? Ss 09:10 0:00 >>/usr/lib/news/bin/innd -p 3 -C >> >>But why is it still canceling? >> >> > >That's very strange, and I don't have an explanation. > > > >>I hope ctlinnd cancel <Message-ID> would still work (if the -C option >>starts working) so that I will have some method to cancel an article >>should the need arise. >> >> > >Yes, you can still cancel messages through ctlinnd. > > That is good to hear. >>But the ps aux shows it was -- at least -- the option >>part of the command which started the process. >> >>But it doesn't show if it really is running -- only part of the command. >> >> > >I don't understand these comments. > > From what I've read, ps aux will show all processes, and the commands that started them. I took this to mean that ps aux doesn't show whether a specific command option was acted upon. IOW, this particular line (output of ps aux): news 12537 0.0 3.2 7916 4160 ? Ss 09:10 0:01 /usr/lib/news/bin/innd -p 3 -C Indicates innd was started with the -p 3 -C options, but not necessarily that they did anything. Usually an error message or code is given when something fails to work as specified in a command. >>If innd failed to act upon it, which it seems to have failed because >>cancels are still happening, then it is something internal to innd. I >>know of no other way to test it than cancel an article, and then look >>and see if it didn't cancel the article. >> >> > >I agree...ho hum. Not quite sure how to debug this. I mean, I >just took a look at the code, and it's extremely unambiguous. I >don't see any way that a cancel message could be processed when >-C has been given. > >(Are you running Cleanfeed? If so, that might be a way to dodge >the issue entirely.) > > No Cleanfeed. It is a standard, stock binary INN installation, using apt-get under Debian Sarge. It's been running flawlessly since last September. As of this moment: news@optima5:/var/log/news$ uptime 19:18:03 up 203 days, 17:01, 3 users, load average: 0.00, 0.00, 0.00 (203 days ago I shut down the computer to physically move it to a different server rack.) I would certainly prefer INN handle this control.cancel blocking, than using an outboard application which is still beta after several years. We need to isolate the trouble first so we will have an idea where to look. If you (or anyone else) can verify that -C is broken in INN 2.4.3, then the objective would be to fix it, which is beyond my capabilities. However, if it works for other people, then it is something wrong with my installation or build, and I need to try and find the cause. I have several spare computers with various Linux distros, and can certainly try something on those computers. It only costs me some time to install and configure INN, which I can prioritize away from such things a mowing the grass, .... >>>No, you have to stop and restart innd with the full set of correct >>>options. >>> >>> >>I take this to mean innd cannot have an option changed (added or >>toggled) while it is running. It only receives options when starting up, >>either from the terminal or from inn.conf. >> >> > >Right... > >I mean, INN is very configurable, and most of its options can be >changed while it is running. However, the commandline options, >and the contents of inn.conf, are deemed to be things that no one >would want to change / would be difficult or meaningless to >change while INN is running. Probably a lot of the restrictions >could be lifted, but it would be a lot of effort for small gains, >and we're not exactly overflowing with spare programmer cycles >for the INN project. > Understood and agree. I was just checking with those who are blessed with more experience. ;-) I was thinking on the lines of running processes, like top(1), which can be modified dynamically. However, after thinking about this, toggling -C on-the-fly might not be meaningless if needed when some jerk is observed canceling everything. At least the cancel operations could be halted without disallowing everybody else access to the server. In an ideal situation, entering something like his IP to block his access would be a dream. But I guess that's why there are software firewalls. ;-) -- John
Re: Canceling c.cancel
Author: John F. Morse
Date: Tue, 13 Jun 2006 04:38
Date: Tue, 13 Jun 2006 04:38
359 lines
19157 bytes
19157 bytes
Russ, Jeff, .... Ran some more tests this evening.... I just changed my slave server's innd inndflags by adding -C in vi (also removing the comment mark "number sign"). Then: ctlinnd throttle test rc.news stop rc.news start news@news2:/var/log/news$ ctlinnd mode Server running Allowing remote connections Parameters c 0 i 50 (0) l 1000000 o 1011 t 300 H 2 T 60 X 0 normal specified Not reserved Readers follow enabled Perl filtering enabled news@news2:/var/log/news$ innstat Server status: Server running Allowing remote connections Parameters c 0 i 50 (0) l 1000000 o 1011 t 300 H 2 T 60 X 0 normal specified Not reserved Readers follow enabled Perl filtering enabled Disk usage: /etc/news 1666300 Kbytes available (41.5%) /var/lib/news 1666300 Kbytes available (41.5%) /var/log/news 1666300 Kbytes available (41.5%) /var/spool/news/articles 1666300 Kbytes available (41.5%) /var/spool/news/incoming 1666300 Kbytes available (41.5%) /var/spool/news/outgoing 1666300 Kbytes available (41.5%) /var/spool/news/overview 1666300 Kbytes available (41.5%) Batch file sizes: Log file sizes: 0 errlog 4 expire.log 0 innfeed.log 4 news 0 news.crit 0 news.err 44 news.notice 0 unwanted.log Lock files: LOCK.innwatch Server connections: TOTAL: 0 0 Checking the process snapshot: news@news2:/var/log/news$ ps aux USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.3 1492 472 ? S Jun03 0:02 init [2] root 2 0.0 0.0 0 0 ? S Jun03 0:00 [keventd] root 3 0.0 0.0 0 0 ? SN Jun03 0:00 [ksoftirqd_CPU0] root 4 0.0 0.0 0 0 ? S Jun03 0:17 [kswapd] root 5 0.0 0.0 0 0 ? S Jun03 0:00 [bdflush] root 6 0.0 0.0 0 0 ? S Jun03 0:07 [kupdated] root 96 0.0 0.0 0 0 ? S Jun03 0:00 [kreiserfsd] root 338 0.0 0.3 1476 384 ? S<s Jun03 0:00 udevd root 543 0.0 0.0 0 0 ? S Jun03 0:00 [khubd] daemon 606 0.0 0.3 1608 436 ? Ss Jun03 0:00 /sbin/portmap root 776 0.0 0.6 2244 824 ? Ss Jun03 0:12 /sbin/syslogd root 779 0.0 1.0 2220 1360 ? Ss Jun03 0:01 /sbin/klogd message 792 0.0 0.4 2084 540 ? Ss Jun03 0:00 /usr/bin/dbus-daemon-1 --system Debian- 841 0.0 1.0 5128 1388 ? Ss Jun03 0:00 /usr/sbin/exim4 -bd -q30m root 846 0.0 0.2 2220 264 ? Ss Jun03 0:00 /usr/sbin/inetd root 882 0.0 0.3 2504 420 ? Ss Jun03 0:00 /usr/sbin/lisa root 893 0.0 1.0 5760 1332 ? Ss Jun03 0:13 /usr/sbin/nmbd -D root 895 0.0 1.1 8088 1516 ? Ss Jun03 0:00 /usr/sbin/smbd -D root 900 0.0 1.0 8084 1316 ? S Jun03 0:00 /usr/sbin/smbd -D root 902 0.0 0.5 3648 696 ? Ss Jun03 0:00 /usr/sbin/sshd root 906 0.0 1.1 6712 1488 ? Ss Jun03 0:00 /usr/sbin/winbindd root 910 0.0 0.5 6540 756 ? S Jun03 0:00 /usr/sbin/winbindd root 911 0.0 0.4 2728 556 ? Ss Jun03 0:00 /usr/sbin/famd -T 0 root 915 0.0 0.6 2368 788 ? Ss Jun03 0:00 /sbin/rpc.statd root 918 0.0 3.0 3860 3860 ? SLs Jun03 0:00 /usr/sbin/ntpd -p /var/run/ntpd.pid daemon 921 0.0 0.4 1672 576 ? Ss Jun03 0:00 /usr/sbin/atd root 925 0.0 0.5 1756 724 ? Ss Jun03 0:00 /usr/sbin/cron root 931 0.0 0.4 8964 580 ? Ss Jun03 0:00 /usr/bin/gdm root 936 0.0 0.5 9296 656 ? S Jun03 0:00 /usr/bin/gdm root 938 0.0 0.3 1484 416 tty1 Ss+ Jun03 0:00 /sbin/getty 38400 tty1 root 939 0.0 0.3 1484 416 tty2 Ss+ Jun03 0:00 /sbin/getty 38400 tty2 root 940 0.0 0.3 1484 416 tty3 Ss+ Jun03 0:00 /sbin/getty 38400 tty3 root 941 0.0 0.3 1484 416 tty4 Ss+ Jun03 0:00 /sbin/getty 38400 tty4 root 942 0.0 0.3 1484 416 tty5 Ss+ Jun03 0:00 /sbin/getty 38400 tty5 root 943 0.0 0.3 1484 416 tty6 Ss+ Jun03 0:00 /sbin/getty 38400 tty6 root 944 0.0 0.9 11860 1152 ? S< Jun03 0:05 /usr/X11R6/bin/X :0 -audit 0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7 root 946 0.0 0.0 0 0 ? S< Jun03 0:00 [kapmd] gdm 954 0.0 2.1 10820 2800 ? Ss Jun03 0:02 /usr/bin/gdmlogin root 1117 0.0 0.8 7104 1088 ? Ss Jun03 0:00 sshd: john [priv] root 1119 0.0 0.8 7104 1088 ? S Jun03 0:00 sshd: john [priv] john 1121 0.0 0.7 7112 1008 ? S Jun03 0:13 sshd: john@notty news 1130 0.0 1.0 3812 1356 ? S Jun03 2:30 fetchmail -d 600 -N --invisible root 6926 0.0 0.7 2832 940 ? Ss Jun11 0:00 /usr/bin/dirmngr --daemon --sh lp 7325 0.0 0.6 2452 872 ? Ss Jun11 0:00 /usr/sbin/lpd -s root 27619 0.0 1.5 5804 2012 ? Ss 06:26 0:00 /usr/sbin/cupsd -F news 8895 0.0 3.2 7956 4084 ? Ss 22:40 0:00 /usr/lib/news/bin/innd -p 3 -C news 8896 0.0 1.1 2904 1496 ? S 22:40 0:00 /bin/sh /usr/lib/news/bin/rc.news start news 8899 0.0 2.3 4680 2944 ? SN 22:40 0:00 /usr/bin/perl -w /usr/lib/news/bin/controlchan news 8900 0.0 0.8 2816 1108 ? SN 22:40 0:00 /usr/lib/news/bin/innfeed -y news 8927 0.0 1.2 2948 1552 ? S 22:41 0:00 /bin/sh /usr/lib/news/bin/innwatch root 9117 0.0 1.6 7104 2056 ? Ss 22:46 0:00 sshd: news [priv] root 9119 0.0 1.6 7104 2056 ? S 22:46 0:00 sshd: news [priv] news 9121 0.0 1.6 7112 2156 ? R 22:46 0:00 sshd: news@pts/2 news 9122 0.0 1.2 2992 1644 pts/2 Ss 22:46 0:00 -sh news 9127 0.0 1.0 4920 1364 ? SN 22:49 0:00 - nnrpd: green18 GROUP news 9129 0.0 1.0 4920 1340 ? SN 22:49 0:00 - nnrpd: green18 GROUP news 9268 0.0 0.4 2304 552 ? S 22:52 0:00 sleep 600 news 9298 0.0 0.6 2480 860 pts/2 R+ 22:59 0:00 ps aux PID 8895 above is the innd process, and verifies that -C was provided to this process. Then I posted a test article on "news2" from "green18" using Mozilla Then I canceled it, using Mozilla from green18. Here is the header (with domain stuff munged) of the cancel message read from news2 using Mozilla on green18: Path: news2.my.net!not-for-mail From: me@my.net Newsgroups: local.test Subject: cancel <dieljj$vmc$1@news5.my.net> Control: cancel <dieljj$vmc$1@news5.my.net> Date: Tue, 13 Jun 2006 03:46:03 +0000 (UTC) Organization: Xanadu BBS Lines: 1 Message-ID: <e6lcdp$8sn$1@news2.my.net> References: <dieljj$vmc$1@news5.my.net> NNTP-Posting-Host: green18.my.net X-Trace: news2.my.net 1150170363 9111 192.168.1.18 (13 Jun 2006 03:46:03 GMT) X-Complaints-To: newsmaster@my.net NNTP-Posting-Date: Tue, 13 Jun 2006 03:46:03 +0000 (UTC) Xref: news2.my.net control.cancel:102 This message was cancelled from within Mozilla. Some news.notice stuff for this period: Jun 12 22:39:24 localhost innd: SERVER throttled jfm Jun 12 22:39:56 localhost innd: SERVER shutdown rc.news stop Jun 12 22:39:56 localhost innd: controlchan! closed Jun 12 22:39:56 localhost innd: innfeed! closed Jun 12 22:39:56 localhost innd: control:13 closed Jun 12 22:39:56 localhost innd: localconn:15 closed Jun 12 22:39:56 localhost innd: remconn:3 closed Jun 12 22:39:57 localhost innd: SERVER perl filtering disabled Jun 12 22:39:57 localhost innfeed[881]: ME source lost . Exiting Jun 12 22:39:57 localhost innfeed[881]: news5.my.net global seconds 854867 offered 0 accepted 0 refused 0 rejected 0 missing 0 accsize 0 rejsize 0 spooled 0 unspooled 0 Jun 12 22:39:57 localhost innfeed[881]: ME global seconds 854869 offered 0 accepted 0 refused 0 rejected 0 missing 0 accsize 0 rejsize 0 spooled 0 unspooled 0 Jun 12 22:39:57 localhost innfeed[881]: ME finishing at Mon Jun 12 22:39:57 2006 Jun 12 22:39:59 localhost innd: SERVER shutdown rc.news stop Jun 12 22:40:59 localhost innd: SERVER descriptors 1024 Jun 12 22:40:59 localhost innd: SERVER outgoing 1011 Jun 12 22:40:59 localhost innd: SERVER ccsetup control:13 Jun 12 22:40:59 localhost innd: SERVER lcsetup localconn:15 Jun 12 22:40:59 localhost innd: SERVER rcsetup remconn:3 Jun 12 22:40:59 localhost innd: controlchan! spawned controlchan!:18:proc:8899 Jun 12 22:40:59 localhost innd: innfeed! spawned innfeed!:19:proc:8900 Jun 12 22:40:59 localhost innfeed[8900]: ME starting innfeed 2.4.3 (20050407 prerelease) at Mon Jun 12 22:40:59 2006 Jun 12 22:40:59 localhost innfeed[8900]: loading /etc/news/innfeed.conf Jun 12 22:41:00 localhost innd: SERVER perl filtering enabled Jun 12 22:41:00 localhost innd: SERVER starting Jun 12 22:41:01 localhost controlchan[8899]: starting Jun 12 22:41:02 localhost innfeed[8900]: news5.my.net:0 connected Jun 12 22:41:02 localhost innfeed[8900]: news5.my.net remote MODE STREAM Jun 12 22:43:33 localhost nnrpd[9103]: green18.my.net (192.168.1.18) connect Jun 12 22:43:33 localhost nnrpd[9103]: green18.my.net user john Jun 12 22:43:33 localhost nnrpd[9103]: green18.my.net group brisbee 0 Jun 12 22:43:33 localhost nnrpd[9103]: green18.my.net group computers 0 Jun 12 22:43:33 localhost nnrpd[9103]: green18.my.net group petchat 0 Jun 12 22:43:33 localhost nnrpd[9103]: green18.my.net group soapbox 0 Jun 12 22:43:33 localhost nnrpd[9103]: green18.my.net group control.cancel 0 Jun 12 22:43:33 localhost nnrpd[9103]: green18.my.net group local.announce 0 Jun 12 22:43:36 localhost nnrpd[9103]: green18.my.net group local.test 0 Jun 12 22:43:36 localhost nnrpd[9105]: green18.my.net (192.168.1.18) connect Jun 12 22:43:36 localhost nnrpd[9105]: green18.my.net user john Jun 12 22:43:36 localhost nnrpd[9105]: green18.my.net group local.test 0 Jun 12 22:43:36 localhost nnrpd[9105]: green18.my.net times user 0.010 system 0.040 idle 0.018 elapsed 0.235 Jun 12 22:43:36 localhost nnrpd[9105]: green18.my.net time 238 idle 184(6) readart 1(1) nntpwrite 1(13) Jun 12 22:43:41 localhost nnrpd[9103]: green18.my.net group local.test 0 Jun 12 22:43:41 localhost nnrpd[9103]: green18.my.net times user 0.050 system 0.010 idle 0.012 elapsed 8.406 Jun 12 22:43:41 localhost nnrpd[9103]: green18.my.net time 8409 idle 8145(14) readart 121(1) nntpwrite 2(29) Jun 12 22:43:43 localhost nnrpd[9107]: green18.my.net (192.168.1.18) connect Jun 12 22:43:43 localhost nnrpd[9107]: green18.my.net user john Jun 12 22:43:43 localhost nnrpd[9107]: green18.my.net group local.test 0 Jun 12 22:43:43 localhost nnrpd[9107]: green18.my.net times user 0.030 system 0.020 idle 0.018 elapsed 0.181 Jun 12 22:43:43 localhost nnrpd[9107]: green18.my.net time 184 idle 133(6) readart 0(1) nntpwrite 2(13) Jun 12 22:43:44 localhost nnrpd[9109]: green18.my.net (192.168.1.18) connect Jun 12 22:43:44 localhost nnrpd[9109]: green18.my.net user john Jun 12 22:43:44 localhost nnrpd[9109]: green18.my.net group local.test 0 Jun 12 22:43:44 localhost nnrpd[9109]: green18.my.net times user 0.040 system 0.020 idle 0.013 elapsed 0.086 Jun 12 22:43:44 localhost nnrpd[9109]: green18.my.net time 89 idle 38(6) readart 1(1) nntpwrite 2(13) Jun 12 22:43:49 localhost nnrpd[9111]: green18.my.net (192.168.1.18) connect Jun 12 22:43:50 localhost nnrpd[9111]: green18.my.net user john Jun 12 22:43:50 localhost nnrpd[9113]: green18.my.net (192.168.1.18) connect Jun 12 22:43:50 localhost nnrpd[9114]: green18.my.net (192.168.1.18) connect Jun 12 22:43:51 localhost nnrpd[9113]: green18.my.net user john Jun 12 22:43:51 localhost nnrpd[9114]: green18.my.net user john Jun 12 22:43:51 localhost nnrpd[9114]: green18.my.net group brisbee 0 Jun 12 22:43:51 localhost nnrpd[9114]: green18.my.net group computers 0 Jun 12 22:43:51 localhost nnrpd[9114]: green18.my.net group petchat 0 Jun 12 22:43:51 localhost nnrpd[9114]: green18.my.net group soapbox 0 Jun 12 22:43:51 localhost nnrpd[9114]: green18.my.net group control.cancel 0 Jun 12 22:43:51 localhost nnrpd[9114]: green18.my.net group local.announce 0 Jun 12 22:43:53 localhost nnrpd[9111]: green18.my.net group local.test 0 Jun 12 22:45:06 localhost nnrpd[9111]: green18.my.net group local.test 1 Jun 12 22:45:33 localhost nnrpd[9111]: green18.my.net group local.test 0 Jun 12 22:45:39 localhost innfeed[8900]: news5.my.net:0 periodic close Jun 12 22:45:39 localhost innfeed[8900]: news5.my.net:0 final seconds 277 offered 0 accepted 0 refused 0 rejected 0 accsize 0 rejsize 0 Jun 12 22:45:39 localhost innfeed[8900]: news5.my.net final seconds 277 offered 0 accepted 0 refused 0 rejected 0 missing 0 accsize 0 rejsize 0 spooled 0 on_close 0 unspooled 0 deferred 0/0.0 requeued 0 queue 0.0/200:100,0,0,0,0,0 Jun 12 22:46:03 localhost nnrpd[9111]: SERVER perl filtering enabled Jun 12 22:46:03 localhost innd: localhost connected 17 Jun 12 22:46:03 localhost innd: localhost:17 closed seconds 0 accepted 1 refused 0 rejected 0 duplicate 0 accepted size 711 duplicate size 0 Jun 12 22:46:03 localhost innfeed[8900]: news5.my.net:0 connected Jun 12 22:46:03 localhost innfeed[8900]: news5.my.net remote MODE STREAM Jun 12 22:46:03 localhost nnrpd[9111]: green18.my.net post ok <e6lcdp$8sn$1@news2.my.net> Jun 12 22:46:12 localhost nnrpd[9111]: green18.my.net group local.test 1 Jun 12 22:46:12 localhost nnrpd[9111]: green18.my.net group brisbee 0 Jun 12 22:46:12 localhost nnrpd[9111]: green18.my.net group computers 0 Jun 12 22:46:12 localhost nnrpd[9111]: green18.my.net group petchat 0 Jun 12 22:46:12 localhost nnrpd[9111]: green18.my.net group soapbox 0 Jun 12 22:46:12 localhost nnrpd[9111]: green18.my.net group control.cancel 0 Jun 12 22:46:12 localhost nnrpd[9111]: green18.my.net group local.announce 0 Jun 12 22:46:14 localhost nnrpd[9111]: green18.my.net group local.test 0 Jun 12 22:49:53 localhost nnrpd[9111]: green18.my.net group control.cancel 1 Jun 12 22:49:53 localhost nnrpd[9111]: green18.my.net exit articles 3 groups 13 Jun 12 22:49:53 localhost nnrpd[9111]: green18.my.net posts received 1 rejected 0 Jun 12 22:49:53 localhost nnrpd[9111]: green18.my.net times user 0.070 system 0.060 idle 0.019 elapsed 364.186 Jun 12 22:49:53 localhost nnrpd[9111]: green18.my.net artstats get 3 time 0 size 4549 Jun 12 22:49:53 localhost nnrpd[9111]: green18.my.net time 364234 hisgrep 41(1) idle 363795(23) readart 18(3) nntpwrite 3(90) Jun 12 22:49:53 localhost nnrpd[9127]: green18.my.net (192.168.1.18) connect Jun 12 22:49:53 localhost nnrpd[9127]: green18.my.net user john Jun 12 22:49:53 localhost nnrpd[9127]: green18.my.net group brisbee 0 Jun 12 22:49:53 localhost nnrpd[9127]: green18.my.net group computers 0 Jun 12 22:49:53 localhost nnrpd[9127]: green18.my.net group petchat 0 Jun 12 22:49:53 localhost nnrpd[9127]: green18.my.net group soapbox 0 Jun 12 22:49:53 localhost nnrpd[9127]: green18.my.net group control.cancel 0 Jun 12 22:49:53 localhost nnrpd[9127]: green18.my.net group local.announce 0 Jun 12 22:49:56 localhost nnrpd[9113]: green18.my.net group local.test 1 Jun 12 22:49:56 localhost nnrpd[9113]: green18.my.net exit articles 1 groups 1 Jun 12 22:49:56 localhost nnrpd[9113]: green18.my.net times user 0.030 system 0.010 idle 0.023 elapsed 365.537 Jun 12 22:49:56 localhost nnrpd[9113]: green18.my.net artstats get 1 time 0 size 24002 Jun 12 22:49:56 localhost nnrpd[9113]: green18.my.net time 365583 idle 365411(6) readart 30(1) nntpwrite 8(15) Jun 12 22:49:56 localhost nnrpd[9129]: green18.my.net (192.168.1.18) connect Jun 12 22:49:56 localhost nnrpd[9129]: green18.my.net user john Jun 12 22:49:56 localhost nnrpd[9114]: green18.my.net group local.test 0 Jun 12 22:49:56 localhost nnrpd[9114]: green18.my.net times user 0.040 system 0.020 idle 0.024 elapsed 365.898 Jun 12 22:49:56 localhost nnrpd[9114]: green18.my.net time 365941 idle 365826(12) nntpwrite 2(25) Jun 12 22:49:56 localhost nnrpd[9131]: green18.my.net (192.168.1.18) connect Jun 12 22:50:06 localhost nnrpd[9131]: green18.my.net timeout short Jun 12 22:50:06 localhost nnrpd[9131]: green18.my.net times user 0.020 system 0.020 idle 0.000 elapsed 10.012 Jun 12 22:50:06 localhost nnrpd[9131]: green18.my.net time 10013 idle 9988(1) nntpwrite 1(2) Jun 12 22:50:40 localhost innfeed[8900]: news5.my.net:0 periodic close Jun 12 22:50:40 localhost innfeed[8900]: news5.my.net:0 final seconds 277 offered 1 accepted 1 refused 0 rejected 0 accsize 730 rejsize 0 Jun 12 22:50:40 localhost innfeed[8900]: news5.my.net final seconds 277 offered 1 accepted 1 refused 0 rejected 0 missing 0 accsize 730 rejsize 0 spooled 0 on_close 0 unspooled 0 deferred 0/0.0 requeued 0 queue 0.0/200:100,0,0,0,0,0 Jun 12 22:56:03 localhost innfeed[8900]: ME articles active 0 bytes 0 Jun 12 22:56:03 localhost innfeed[8900]: ME articles total 1 bytes 0 I don't see anything abnormal. I'm wondering if the ability to stop cancels in INN is broken, or if maybe the Debian build is at fault. Or my eyes. ;-) -- John
Re: Canceling c.cancel
Author: Russ Allbery
Date: Tue, 13 Jun 2006 13:17
Date: Tue, 13 Jun 2006 13:17
15 lines
1883 bytes
1883 bytes
John F Morse <xanadu.bbs@invalid.net> writes:
> Some news.notice stuff for this period:
The log that tells you what's going on for sure would be the news log,
which will include a Cancelling line if it's acting on the cancel.
Like Jeff, I can't find anything wrong in the code, but I don't use -C
myself.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Canceling c.cancel
Author: John F. Morse
Date: Tue, 13 Jun 2006 19:30
Date: Tue, 13 Jun 2006 19:30
47 lines
3208 bytes
3208 bytes
Russ Allbery wrote:
>John F Morse <xanadu.bbs@invalid.net> writes:
>
>
>
>>Some news.notice stuff for this period:
>>
>>
>
>The log that tells you what's going on for sure would be the news log,
>which will include a Cancelling line if it's acting on the cancel.
>
>Like Jeff, I can't find anything wrong in the code, but I don't use -C
>myself.
>
The news log on news2 (.../OLD/news.1.gz which I gunzip-ped to "news.1")
shows some of the earlier cancels from yesterday. However I didn't see
any news log of the test cancel I made last night at 2246.
(Is there a better method to view OLD gzip logs? If they are gunzip-ped,
do they need to be re- gzip-ped before the nightly housekeeping?)
I also don't see any news log entries for two post and cancels I just
made, and the files are still in the spool. This is on the slave server,
"news2...."
I tried this twice (post then cancel) using the main server ("news....")
and again do not find any entry in the news log (except for the cancel
messages themselves as they propagated back and forth). The message
files are also still in the spool (probably would be until nightly
housekeeping anyway).
From what I can tell, there is no longer a problem. You probably think
I was drunk yesterday, but I don't drink. <g>
I don't know what happened unless the nightly housekeeping fixed
something. I wouldn't have a clue how that could be any different than
stopping and restarting INN like I did yesterday.
Whatever you and Jeff did remotely must have fixed it. ;-)
Many thanks for your assistance.
--
John
Re: Canceling c.cancel
Author: Dr.Ruud
Date: Tue, 13 Jun 2006 22:43
Date: Tue, 13 Jun 2006 22:43
14 lines
1809 bytes
1809 bytes
John F. Morse schreef: > (Is there a better method to view OLD gzip logs? If they are > gunzip-ped, do they need to be re- gzip-ped before the nightly > housekeeping?) gunzip -c logfile | less -- Affijn, Ruud "Gewoon is een tijger."
Re: Canceling c.cancel
Author: John F. Morse
Date: Wed, 14 Jun 2006 00:04
Date: Wed, 14 Jun 2006 00:04
29 lines
2183 bytes
2183 bytes
Dr.Ruud wrote: >John F. Morse schreef: > > > >>(Is there a better method to view OLD gzip logs? If they are >>gunzip-ped, do they need to be re- gzip-ped before the nightly >>housekeeping?) >> >> > > gunzip -c logfile | less > Yes! The manual page for gunzip -c is where I should have looked. It worked perfectly. Thank you very much, Dr. Ruud. Ja! De handpagina voor gunzip - c is waar ik zou moeten gekeken hebben. Het werkte volkomen. Dank u zeer, Dr. Ruud. -- John
Re: Canceling c.cancel
Author: Black Dragon
Date: Wed, 14 Jun 2006 00:39
Date: Wed, 14 Jun 2006 00:39
20 lines
1888 bytes
1888 bytes
Dr.Ruud wrote: > John F. Morse schreef: >> (Is there a better method to view OLD gzip logs? If they are >> gunzip-ped, do they need to be re- gzip-ped before the nightly >> housekeeping?) > gunzip -c logfile | less I prefer; 'zcat logfile | less' -- Black Dragon Calvin Coolidge looks as if he had been weaned on a pickle. -- Alice Roosevelt Longworth
Re: Canceling c.cancel
Author: John F. Morse
Date: Wed, 14 Jun 2006 02:09
Date: Wed, 14 Jun 2006 02:09
36 lines
2160 bytes
2160 bytes
Black Dragon wrote: >Dr.Ruud wrote: > > > >>John F. Morse schreef: >> >> > > > >>>(Is there a better method to view OLD gzip logs? If they are >>>gunzip-ped, do they need to be re- gzip-ped before the nightly >>>housekeeping?) >>> >>> > > > >> gunzip -c logfile | less >> >> > >I prefer; > >'zcat logfile | less' > That works great too. Even shorter, and probably easier to remember. Thanks. -- John
Re: Canceling c.cancel
Author: Black Dragon
Date: Wed, 14 Jun 2006 11:39
Date: Wed, 14 Jun 2006 11:39
39 lines
2809 bytes
2809 bytes
John F. Morse wrote: > Black Dragon wrote: >>Dr.Ruud wrote: >>>John F. Morse schreef: >>>>(Is there a better method to view OLD gzip logs? If they are >>>>gunzip-ped, do they need to be re- gzip-ped before the nightly >>>>housekeeping?) >>> gunzip -c logfile | less >>I prefer; >>'zcat logfile | less' > That works great too. Even shorter, and probably easier to remember. If you happen across bzip compressed files (.bz or .bz2) such as the rotated syslogs on FreeBSD systems for example, there's also 'bzcat'. About your canceling problem. I'm far from an INN expert so I have no advise other than to suggest building it from source yourself from the tarball at isc.org. I suspect there's something wrong with the Debian build you're using. When I first started using INN a number of years ago I installed it from an RPM on a Red Hat Linux machine, and after an entire weekend of banging my head up against a wall trying to get it to work correctly, I never did. The following weekend I installed from source and was up and running without any problems in a matter of hours. -- Black Dragon A figure with curves always offers a lot of interesting angles.
Re: Canceling c.cancel
Author: Dr.Ruud
Date: Wed, 14 Jun 2006 12:23
Date: Wed, 14 Jun 2006 12:23
30 lines
2051 bytes
2051 bytes
Black Dragon schreef:
> Dr.Ruud:
>> John F. Morse:
>>> (Is there a better method to view OLD gzip logs? If they are
>>> gunzip-ped, do they need to be re- gzip-ped before the nightly
>>> housekeeping?)
>>
>> gunzip -c logfile | less
>
> I prefer;
>
> 'zcat logfile | less'
zless() {
if [ $# = '0' ]; then
echo ' gz-pager, usage: zless file[.gz]'
else
zcat $* |less -F
fi
}
;)
--
Affijn, Ruud
"Gewoon is een tijger."
Re: Canceling c.cancel
Author: Black Dragon
Date: Wed, 14 Jun 2006 13:12
Date: Wed, 14 Jun 2006 13:12
37 lines
2236 bytes
2236 bytes
Dr.Ruud wrote:
> Black Dragon schreef:
>> Dr.Ruud:
>>> John F. Morse:
>>>> (Is there a better method to view OLD gzip logs? If they are
>>>> gunzip-ped, do they need to be re- gzip-ped before the nightly
>>>> housekeeping?)
>>> gunzip -c logfile | less
>> I prefer;
>> 'zcat logfile | less'
> zless() {
> if [ $# = '0' ]; then
> echo ' gz-pager, usage: zless file[.gz]'
> else
> zcat $* |less -F
> fi
> }
> ;)
Well I'll be darned, I learn something new almost every day. Thanks!
blkdrgn@thor> locate zless
/usr/bin/bzless
/usr/bin/zless
blkdrgn@thor> uname -sr
FreeBSD 6.1-STABLE
--
Black Dragon
Re: Canceling c.cancel
Author: Chronos
Date: Wed, 14 Jun 2006 14:40
Date: Wed, 14 Jun 2006 14:40
12 lines
2075 bytes
2075 bytes
After replacing Black Dragon with a small shell script on Wednesday 14 Jun 2006 01:39, the following appeared on stdout: > I prefer; > > 'zcat logfile | less' Try "most logfile". Most is in the ports and can handle compressed files as well as flat text. -- Chronos
Re: Canceling c.cancel
Author: John F. Morse
Date: Wed, 14 Jun 2006 16:57
Date: Wed, 14 Jun 2006 16:57
84 lines
3590 bytes
3590 bytes
Black Dragon wrote: >John F. Morse wrote: > > > >>Black Dragon wrote: >> >> > > > >>>Dr.Ruud wrote: >>> >>> > > > >>>>John F. Morse schreef: >>>> >>>> > > > >>>>>(Is there a better method to view OLD gzip logs? If they are >>>>>gunzip-ped, do they need to be re- gzip-ped before the nightly >>>>>housekeeping?) >>>>> >>>>> > > > >>>> gunzip -c logfile | less >>>> >>>> > > > >>>I prefer; >>> >>> > > > >>>'zcat logfile | less' >>> >>> > > > >>That works great too. Even shorter, and probably easier to remember. >> >> > >If you happen across bzip compressed files (.bz or .bz2) such as the >rotated syslogs on FreeBSD systems for example, there's also 'bzcat'. > >About your canceling problem. I'm far from an INN expert so I have no >advise other than to suggest building it from source yourself from the >tarball at isc.org. I suspect there's something wrong with the Debian >build you're using. > >When I first started using INN a number of years ago I installed it >from an RPM on a Red Hat Linux machine, and after an entire weekend of >banging my head up against a wall trying to get it to work correctly, I >never did. The following weekend I installed from source and was up and >running without any problems in a matter of hours. > Thank you. Last night I downloaded a pdf manual for a printer which was in a rar archive. Not wanting to fire up a Windows machine, I downloaded and installed unrar. I guess Epson never thought someone other than a Windows user would buy their printers. ;-) Funny, I bought mine second-hand, and it was with a Macintosh. -- John
Re: Canceling c.cancel
Author: Dr.Ruud
Date: Wed, 14 Jun 2006 22:42
Date: Wed, 14 Jun 2006 22:42
32 lines
2274 bytes
2274 bytes
Black Dragon schreef:
> Dr.Ruud:
>> zless() {
>> if [ $# = '0' ]; then
>> echo ' gz-pager, usage: zless file[.gz]'
>> else
>> zcat $* |less -F
>> fi
>> }
>
>> ;)
>
> Well I'll be darned, I learn something new almost every day. Thanks!
>
> blkdrgn@thor> locate zless
> /usr/bin/bzless
> /usr/bin/zless
> blkdrgn@thor> uname -sr
> FreeBSD 6.1-STABLE
Heheh, me too: I didn't know about zless before, I created it in
response to your message. I have such functions in my "~/.bashrc".
No bzless here: FreeBSD 4.10-RELEASE-p2
--
Affijn, Ruud
"Gewoon is een tijger."
Re: Canceling c.cancel
Author: Iulius
Date: Fri, 16 Jun 2006 19:42
Date: Fri, 16 Jun 2006 19:42
28 lines
2312 bytes
2312 bytes
En réponse à John F. Morse : > However, when I cancel an article (there are a bunch of old ones in my > local.test group that come in handy for this), it is canceled, and > without any warnings. The article disappears from the message list pane > using Mozilla. Wouldn't it be the normal behaviour of Mozilla ? I think it deletes the article before having a response from the server (or perhaps INN doesn't complain but silently accept the cancel without taking it into consideration). In fact, if Mozilla thinks you are allowed to cancel the article, it deletes it in your news reader, no matter if INN deletes it in its spool. > The test messages are still in the spool directory though. That is normal if the behaviour is what I guess. > I presume they will remain there until the nightly housekeeping > expires and deletes them? I do not think so. Did it happen ? -- Iulius « Ordinateur : moyen conçu pour accélérer et automatiser les erreurs. »
Re: Canceling c.cancel
Author: John F. Morse
Date: Sat, 17 Jun 2006 03:21
Date: Sat, 17 Jun 2006 03:21
55 lines
3122 bytes
3122 bytes
Iulius wrote: > En réponse à John F. Morse : > >> However, when I cancel an article (there are a bunch of old ones in >> my local.test group that come in handy for this), it is canceled, and >> without any warnings. The article disappears from the message list >> pane using Mozilla. > > > Wouldn't it be the normal behaviour of Mozilla ? > I think it deletes the article before having a response from the server > (or perhaps INN doesn't complain but silently accept the cancel without > taking it into consideration). In fact, if Mozilla thinks you are allowed > to cancel the article, it deletes it in your news reader, no matter if > INN deletes it in its spool. Yes, you are correct. Both Mozilla and Thunderbird seem to act immediately. I can delete the newsgroup and resubscribe (or pitch the newsgroup.msf and newsgroup.dat files, which is faster), and then the messages will again download. There is no server response displayed in Moz/T-Bird. I'll need to try this in some other news readers to see if INN actually gives a message about cancels being not allowed. Additionally I tried Pan, KNews and Knode, which also found the messages reported by Mozilla to be"canceled." I have never cared a lot about Netscape/Mozilla, on the Mac and Windows, but it sure beat Outlook Express! I like Pan, but it has no speel chucker. <sigh> >> The test messages are still in the spool directory though. > > > That is normal if the behaviour is what I guess. > > >> I presume they will remain there until the nightly housekeeping >> expires and deletes them? > > > I do not think so. Did it happen ? No. They remained because the -C option was actually doing what it is designed to do. -- John
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