Thread View: news.software.nntp
10 messages
10 total messages
Started by Chris Kwan
Tue, 27 Apr 2004 07:36
expire.ctl Problem
Author: Chris Kwan
Date: Tue, 27 Apr 2004 07:36
Date: Tue, 27 Apr 2004 07:36
14 lines
1245 bytes
1245 bytes
Anyone can help me to solve me problem My expire.ctl ======== [root@mini news]# cat expire.ctl /remember/:7 *.private:A:7:30:60 inncheck result ========= [root@mini root]# inncheck /etc/news/expire.ctl:1: malformed line. /etc/news/expire.ctl:3: malformed line.
Re: expire.ctl Problem
Author: Jeffrey M. Vinocur
Date: Tue, 27 Apr 2004 14:56
Date: Tue, 27 Apr 2004 14:56
19 lines
1346 bytes
1346 bytes
In article <11b2f0f2.0404262336.4d61f847@posting.google.com>, Chris Kwan <chkwan@skybird.ws> wrote: > >/remember/:7 > >*.private:A:7:30:60 >[root@mini root]# inncheck >/etc/news/expire.ctl:1: malformed line. >/etc/news/expire.ctl:3: malformed line. I wonder if your expire.ctl has DOS format newlines instead of Unix ones. -- Jeffrey M. Vinocur jeff@litech.org
Re: expire.ctl Problem
Author: Geoff Brozny
Date: Tue, 27 Apr 2004 19:44
Date: Tue, 27 Apr 2004 19:44
26 lines
1810 bytes
1810 bytes
"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message news:c6lsac$v1c$1@puck.litech.org... > In article <11b2f0f2.0404262336.4d61f847@posting.google.com>, > Chris Kwan <chkwan@skybird.ws> wrote: > > > >/remember/:7 > > > >*.private:A:7:30:60 > > >[root@mini root]# inncheck > >/etc/news/expire.ctl:1: malformed line. > >/etc/news/expire.ctl:3: malformed line. > > I wonder if your expire.ctl has DOS format newlines instead of > Unix ones. > the strange thing is, I get the same thing on my ipv6 feed box, but not on my main feed box, and the config files are the exact same, copied over from the feed box. geoff
Re: expire.ctl Problem
Author: Jeffrey M. Vinocur
Date: Tue, 27 Apr 2004 20:10
Date: Tue, 27 Apr 2004 20:10
23 lines
1850 bytes
1850 bytes
In article <c6mcek$dur$1@ratbert.glorb.com>, Geoff Brozny <gbrozny@glorb.columbus.oh.us> wrote: > >"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message >news:c6lsac$v1c$1@puck.litech.org... > >> I wonder if your expire.ctl has DOS format newlines instead of >> Unix ones. > >the strange thing is, I get the same thing on my ipv6 feed box, but not on >my main feed box, and the config files are the exact same, copied over from >the feed box. Copied over how...just for kicks, does `ls -l` show the same filesizes for both? (I mean, if groupbaseexpiry is different on the two machines you can get those errors, but not on the /remember/ line.) -- Jeffrey M. Vinocur jeff@litech.org
Re: expire.ctl Problem
Author: Geoff Brozny
Date: Tue, 27 Apr 2004 20:31
Date: Tue, 27 Apr 2004 20:31
74 lines
3878 bytes
3878 bytes
"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message news:c6meo1$cvh$1@puck.litech.org... > > Copied over how...just for kicks, does `ls -l` show the same > filesizes for both? put all the config from the main feed box in a tarball, copied over ftp to the ipv6 feed box, removed all the default INN config files, so there is nothing in the /etc directory, then extracted the stuff from the tarball. The only thing different on the ipv6 feed box is the path name, and the size of the cnfs buffer. main feed box: [geoff@news etc]$ ls -l expire.ctl -rw-r--r-- 1 news news 1424 Apr 13 18:03 expire.ctl ipv6 feed box: [geoff@homer etc]$ ls -l expire.ctl -rw-r--r-- 1 news news 1424 Apr 21 18:51 expire.ctl this is the complete contents of both files: ## $Revision: 1.4 $ ## expire.ctl - expire control file ## Format: ## /remember/:<keep> ## <class>:<keep>:<default>:<purge> ## <wildmat>:<flag>:<keep>:<default>:<purge> ## First line gives history retention; second line specifies expiration ## for classes; third line specifies expiration for group if groupbaseexpiry ## is true ## <class> class specified in storage.conf ## <wildmat> wildmat-style patterns for the newsgroups ## <keep> Mininum number of days to keep article ## <default> Default number of days to keep the article ## <purge> Flush article after this many days ## <keep>, <default>, and <purge> can be floating-point numbers or the ## word "never." Times are based on when received unless -p is used; ## see expire.8 ## If article expires before 10 days, we still remember it for 10 days in ## case we get offered it again. Depending on what you use for the innd ## -c flag and how paranoid you are about old news, you might want to ## make this 28, 30, etc, but it's probably safe to reduce it to 7 in most ## cases if you want to keep your history file smaller. /remember/:7 ## Keep for 1-10 days, allow Expires headers to work. This entry uses ## the syntax appropriate when groupbaseexpiry is true in inn.conf. #*:A:1:10:never ## Keep for 1-10 days, allow Expires headers to work. This is an entry ## based on storage class, used when groupbaseexpiry is false. #0:1:10:never > > (I mean, if groupbaseexpiry is different on the two machines you > can get those errors, but not on the /remember/ line.) thats set the same on both boxes, only difference in the inn.conf file is the path name, thats it, and both machines were compiled with the same options, both on the same OS as well. geoff
Re: expire.ctl Problem
Author: Geoff Brozny
Date: Tue, 27 Apr 2004 20:45
Date: Tue, 27 Apr 2004 20:45
10 lines
1470 bytes
1470 bytes
I jsut went and looked at my reader box as well, it's the box all my config files are based on, as it was the first news server, same problem: /usr/local/news/etc/expire.ctl:24: malformed line. line 24 is this: /remember/:45 geoff
Re: expire.ctl Problem
Author: Jeffrey M. Vinocur
Date: Tue, 27 Apr 2004 22:28
Date: Tue, 27 Apr 2004 22:28
27 lines
1951 bytes
1951 bytes
In article <c6mf79$ej3$1@ratbert.glorb.com>, Geoff Brozny <gbrozny@glorb.columbus.oh.us> wrote: > >[geoff@news etc]$ ls -l expire.ctl >-rw-r--r-- 1 news news 1424 Apr 13 18:03 expire.ctl > >this is the complete contents of both files: [...] Ok, I'm getting pretty silly here, but I was still caught up in this DOS newline idea, so I saved the expire.ctl from your article to disk, and got 1498 bytes. Trying to trick me, eh? (*grin*) >thats set the same on both boxes, only difference in the inn.conf file is >the path name, thats it, and both machines were compiled with the same >options, both on the same OS as well. Forgot to ask-- is the machine refusing to work, or just that inncheck gives this error? -- Jeffrey M. Vinocur jeff@litech.org
Re: expire.ctl Problem
Author: Geoff Brozny
Date: Tue, 27 Apr 2004 22:38
Date: Tue, 27 Apr 2004 22:38
35 lines
2494 bytes
2494 bytes
"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message news:c6mmpj$hs5$1@puck.litech.org... > > Ok, I'm getting pretty silly here, but I was still caught up in > this DOS newline idea, so I saved the expire.ctl from your > article to disk, and got 1498 bytes. Trying to trick me, eh? > > (*grin*) > yea, I added some extra padding in what I pasted just for you..... strange thing is, if I copy it from my post as well, and paste it into a new file, it came out as 1499 bytes.. > > >thats set the same on both boxes, only difference in the inn.conf file is > >the path name, thats it, and both machines were compiled with the same > >options, both on the same OS as well. > > Forgot to ask-- is the machine refusing to work, or just that > inncheck gives this error? this systmes work fine, just inncheck gives that error, thats why I never said anything before, I figured it was my system that was the problem, but I never ran inncheck on all 3 of my systems, mainly because I was just copying a working config, and everything worked the first time. inncheck also gives an error if you do not have a blank line at the end of the newsfeed file, but INN will start and work fine as well. geoff
Re: expire.ctl Problem
Author: Jeffrey M. Vinocur
Date: Wed, 28 Apr 2004 09:58
Date: Wed, 28 Apr 2004 09:58
32 lines
2257 bytes
2257 bytes
In article <c6mml4$gf1$1@ratbert.glorb.com>, Geoff Brozny <gbrozny@glorb.columbus.oh.us> wrote: > >"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message >news:c6mmpj$hs5$1@puck.litech.org... > >> Ok, I'm getting pretty silly here, but I was still caught up in >> this DOS newline idea, so I saved the expire.ctl from your >> article to disk, and got 1498 bytes. Trying to trick me, eh? > >yea, I added some extra padding in what I pasted just for you..... strange >thing is, if I copy it from my post as well, and paste it into a new file, >it came out as 1499 bytes.. Did you catch the word-wrapped line 8+9? I assumed that was a single line in the original. >this systmes work fine, just inncheck gives that error, Huh. Not sure exactly why that is, but oh well. >inncheck also gives an error if you do not have a blank line at the end of >the newsfeed file, but INN will start and work fine as well. inncheck is a little paranoid about the wrong things some times. -- Jeffrey M. Vinocur jeff@litech.org
Re: expire.ctl Problem
Author: Geoff Brozny
Date: Wed, 28 Apr 2004 14:31
Date: Wed, 28 Apr 2004 14:31
23 lines
1708 bytes
1708 bytes
"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message news:c6nv8s$ah1$2@puck.litech.org... > > Did you catch the word-wrapped line 8+9? I assumed that was a > single line in the original. yea, but not the first time I saved it,, and yea, it's suppose to be a single line.. > > > >this systmes work fine, just inncheck gives that error, > > Huh. Not sure exactly why that is, but oh well. perhaps it is haunted. geoff
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