Thread View: news.software.nntp
4 messages
4 total messages
Started by Dave Hutton
Tue, 27 Feb 1996 00:00
News doesn't expire
Author: Dave Hutton
Date: Tue, 27 Feb 1996 00:00
Date: Tue, 27 Feb 1996 00:00
46 lines
1822 bytes
1822 bytes
I'm running RedHat linux, and have a small newsfeed. But I am having a
problem with it removing the old messages this is the error I get when
news.daily is run.
Server status:
Server running
Allowing remote connections
Parameters c 14 i 0 (0) l 0 o 243 t 300 normal specified
Reserved Expiring process 236
Readers separate enabled
<snip>
Renumbering active file.
Reserved "Expiring process 236"
Already running
Expire messages:
expire begin Tue Feb 27 08:24:28 CST 1996: (-v1)
Can't reserve server
Article lines processed 0
Articles retained 0
Entries expired 0
Files unlinked 0
Old entries dropped 0
Old entries retained 0
expire end Tue Feb 27 08:24:28 CST 1996
I think I know what's going on but have no idea how to remedy it..
I noticed when I freshly boot the system and try to run expire by hand I
get an error something like:
newsfeeds.n permission denied. I've never seen this file, and have
searched my hard drive for it. What makes this file?
I think it's my problem because when I run news.daily it tries to expire
the news, when it gets this error it holds onto the proccess.
Maybe I'm wrong, any ideas?
Thanks very much.
Dave
Re: News doesn't expire
Author: Stefan Mink
Date: Wed, 28 Feb 1996 00:00
Date: Wed, 28 Feb 1996 00:00
48 lines
1946 bytes
1946 bytes
Dave Hutton (ttank@winternet.com) wrote: > I'm running RedHat linux, and have a small newsfeed. But I am having a > problem with it removing the old messages this is the error I get when > news.daily is run. > Server status: > Server running > Allowing remote connections > Parameters c 14 i 0 (0) l 0 o 243 t 300 normal specified > Reserved Expiring process 236 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > Readers separate enabled > > <snip> > Renumbering active file. > Reserved "Expiring process 236" > Already running ^^^^^^^^^^^^^^^^^ .. is it possible, that this process 236 is an old one, which hasn't reset the reservation? If so, the new expire-process sees this reservation and exit's thinking there's still another expire-process running....( "Already running" ) with the command 'ctlinnd reserve""' you can reset this reservation man ctlinnd : .... reserve reason The next ``pause'' or ``throttle'' command must use reason as its text. This ``reservation'' is cleared by giving an empty string for the reason. This command is used by programs like expire(8) that want to avoid running into other instances of each other. i hope this helps.. -- tschuess Stefan **** eMail : Stefan@rz.uni-karlsruhe.de ****
Re: News doesn't expire
Author: Dave Hutton
Date: Thu, 29 Feb 1996 00:00
Date: Thu, 29 Feb 1996 00:00
32 lines
1727 bytes
1727 bytes
Stefan Mink (ry85@tp70.rz.uni-karlsruhe.de) wrote: : is it possible, that this process 236 is an old one, which : hasn't reset the reservation? If so, the new expire-process : sees this reservation and exit's thinking there's still : another expire-process running....( "Already running" ) : with the command 'ctlinnd reserve""' you can reset this reservation Ok, tried that, and then expired by hand and this is what happened: [news@cybrslum bin]$ ./expire Can't reserve server [news@cybrslum bin]$ ctlinnd reserve "" Ok [news@cybrslum bin]$ ./expire Warning, can't remove history.n, Permission denied Can't open history.n in w mode, Permission denied [news@cybrslum bin]$ As you can see I tried it the first time knowing it wouldn't work and the server was reserved, same error that I was getting before but in the news.daily summery. Then I killed the proccess and tried to expire it again, I've tried a hard drive search for that file and it's no where to be found. I was under the impression that expire was suppose to create this file. Help! What do I do now? Thanks again
Re: News doesn't expire
Author: Ofer Inbar
Date: Sat, 02 Mar 1996 00:00
Date: Sat, 02 Mar 1996 00:00
29 lines
1961 bytes
1961 bytes
ttank@winternet.com (Dave Hutton) writes: >Stefan Mink (ry85@tp70.rz.uni-karlsruhe.de) wrote: >: is it possible, that this process 236 is an old one, which >: hasn't reset the reservation? If so, the new expire-process [...] >Ok, tried that, and then expired by hand and this is what happened: >[news@cybrslum bin]$ ./expire >Can't reserve server >[news@cybrslum bin]$ ctlinnd reserve "" >Ok >[news@cybrslum bin]$ ./expire >Warning, can't remove history.n, Permission denied >Can't open history.n in w mode, Permission denied >[news@cybrslum bin]$ This is most likely (as implied by the error message :) a permissions problem. More specifically, it's a fair bet that news doesn't have permissions to its home directory. Whatever user and group innd and expire run under (usually "news"), should be the owner and group of the news directory (the one where the history files are located). This is probably what caused your original expire to die ungracefully. -- Cos (Ofer Inbar) -- cos@leftbank.com cos@cs.brandeis.edu -- WBRS (100.1 FM) -- WBRS@brandeis.edu http://www.wbrs.org Join the suit against Internet censorship - http://www.cdt.org/ciec/ "When I visit Congress, I feel like Tom Paine in the Court of King George" -- John Barlow, on the Communication Decency Act
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