🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Peter A. Schwenk Tue, 07 May 1996 00:00
Expiring Problems with INN1.4unoff4
#7319
Author: Peter A. Schwenk
Date: Tue, 07 May 1996 00:00
149 lines
7259 bytes
Hello all,

I've been struggling with a problem with expire in INN1.4unoff4
for quite a while now, and I hope someone has some insite into
this problem because I'm at a loss.

I setup a FreeBSD 2.1 box with INN1.4sec (originally) and then
INN1.4unoff4.  I have yet to get expire to work okay.  I re-
compiled INN with debugging on in DBZ so I could get a better
feel for what is going wrong, but I still don't understand what
is going wrong.  Here's the error messages from expire.log:

    1.  Can't store key, No such file or directory
    2.  size 244339, sep 9, cmap C, tags 0x80/0x7f<<24, bytemap (4) 3 2 1
0
    3.  used 162893 0 0...
    4.  dbzsize: tentative size 244339
    5.  dbzsize: final size 244339
    6.  putconf status 0
    7.  size 244339, sep 9, cmap C, tags 0x80/0x7f<<24, bytemap (4) 3 2 1
0
    8.  used 0 162893 0...
    9.  mybytemap: byte 0
    10. mybytemap: byte 1
    11. mybytemap: byte 2
    12. mybytemap: byte 3
    13. crcinit: done
    14. dbminit: succeeded
    15. dbzstore: (<37132.smartin2@fox.nstn.ns.ca>)
    16. store: (<37132.smartin2@fox.nstn.ns.ca>, -272639060)
    17. store: reserved bit or overflow in 0xefbfdbac
    18. dbmclose: succeeded
    19. Expire errors: history files not updated.
    20. Article lines processed        1
    21. Articles retained              0
    22. Entries expired                0
    23. Files unlinked                 1
    24. Old entries dropped            0
    25. Old entries retained           0

With debugging off, I only saw lines (1,19-25).  Note that the
first line in my history file is the one that it is complaining
about (<37132.smartin2@fox.nstn.ns.ca>).  I believe all my file
permissions are correct:

/usr/local/news:
drwxr-xr-x  5 news  news  1536 May  6 15:51 bin
drwxr-xr-x  2 news  news   512 May  6 14:45 etc
drwxr-xr-x  2 news  news   512 May  7 11:15 innd
drwxr-xr-x  3 news  news  1024 May  7 11:05 lib
drwxr-xr-x  2 news  news   512 May  7 11:15 locks
/usr/local/news/lib:
-rw-r--r--  1 news  news    215889 May  7 11:19 active
-rw-rw-r--  1 news  news    215939 May  6 11:52 active.old
-r--r-----  1 news  news      3199 Mar 27 10:16 control.ctl
-rw-rw-r--  1 news  news        29 May  2 14:40 didexpirerun
-r--r--r--  1 news  news      2066 Mar 27 10:07 distrib.pats
-r--r-----  1 news  news       483 Mar 28 08:39 expire.ctl
-rw-rw-r--  1 news  news  14893831 May  7 11:19 history
-rw-rw-r--  1 news  news        65 May  7 11:19 history.dir
-rw-rw-r--  1 news  news    977356 May  7 11:19 history.pag
-r--r-----  1 news  news       257 Mar 28 11:02 hosts.nntp
-r--r--r--  1 news  news       909 Mar 28 08:44 inn.conf
-r--r-----  1 news  news     38101 Mar 27 08:31 innlog.awk
-r--r-----  1 news  news      3658 Apr 26 22:34 innshellvars
-r--r-----  1 news  news      2563 Mar 27 08:31 innwatch.ctl
-r--r--r--  1 news  news       334 Mar 27 08:31 moderators
-r--r--r--  1 news  news      2053 Mar 28 10:43 newsfeeds
-rw-r--r--  1 news  news    828087 May  6 11:52 newsgroups
-r--r-----  1 news  news       777 Mar 28 08:56 nnrp.access
-r--r-----  1 news  news       506 Apr  6 17:54 nntpsend.ctl
-r--r--r--  1 news  news       389 Mar 28 08:57 overview.fmt
-r-xr-x---  1 news  news      1973 Mar 27 08:30 parsecontrol
-r--r-----  1 news  news       596 Mar 27 08:31 passwd.nntp
-r-xr-x---  1 news  news      1484 Mar 27 08:30 send-ihave
-r-xr-x---  1 news  news      1609 Mar 27 08:31 send-nntp
-r-xr-x---  1 news  news      2278 Mar 27 08:31 send-uucp
/usr/local/news/bin:
-r-xr-xr-x  1 news  news  17785 May  6 15:51 archive
drwxrwxr-x  2 news  news    512 May  2 14:58 auth.dir
-r-xr-xr-x  1 news  news  18367 May  6 15:51 batcher
-r-xr-xr-x  1 news  news  18500 May  6 15:51 buffchan
drwxrwxr-x  2 news  news    512 Mar 27 08:30 control
-r-xr-xr-x  1 news  news  18533 May  6 15:51 convdate
-r-xr-xr-x  1 news  news  13541 May  6 15:51 crosspost
-r-xr-x---  1 news  news  17898 May  6 15:51 ctlinnd
-r-xr-x---  1 news  news   1330 Mar 27 08:31 ctlrun
-r-xr-xr-x  1 news  news  13421 May  6 15:51 cvtbatch
-r-xr-xr-x  1 news  news  41492 May  6 15:51 expire
-r-xr-xr-x  1 news  news  22854 May  6 15:51 expireover
-r-xr-x---  1 news  news    493 Mar 27 08:30 expirerm
-r-xr-xr-x  1 news  news  18017 May  6 15:51 fastrm
-r-xr-xr-x  1 news  news  13438 May  6 15:51 filechan
-rwxr-xr-x  1 news  news   1396 Apr 22 10:49 fixhist
-r-xr-xr-x  1 news  news  18253 May  6 15:51 getlist
-r-xr-xr-x  1 news  news  27255 May  6 15:51 grephistory
-r-xr-x---  1 news  news  24127 Mar 27 08:31 inncheck
-r-xr-xr-x  1 news  news  13219 May  6 15:51 innconfval
-r-xr-x---  1 news  news   2414 Mar 27 08:31 innstat
-r-xr-x---  1 news  news   7441 Mar 27 08:31 innwatch
-r-xr-xr-x  1 news  news  46929 May  6 15:51 innxmit
-r-xr-xr-x  1 news  news  13106 May  6 15:51 makeactive
-r-xr-x---  1 news  news   2549 Mar 27 08:30 makegroup
-r-xr-xr-x  1 news  news  46228 May  6 15:51 makehistory
-r-xr-x---  1 news  news   6516 May  6 15:59 news.daily
-r-xr-xr-x  1 news  news  32791 May  6 15:51 newsrequeue
-r-xr-xr-x  1 news  news  32260 May  6 15:51 nntpget
-r-xr-x---  1 news  news   5979 Mar 27 08:30 nntpsend
-rw-rw-rw-  1 news  news     22 Apr 25 11:59 noendtabs.awk
-r-xr-xr-x  1 news  news  13742 May  6 15:51 overchan
-r-xr-xr-x  1 news  news  27402 May  6 15:51 prunehistory
drwxrwxr-x  2 news  news    512 Apr 25 14:29 rnews
-r-xr-x---  1 news  news   9154 Mar 27 08:30 scanlogs
-r-xr-x---  1 news  news   4548 Mar 27 08:31 sendbatch
-r-xr-xr-x  1 news  news  13089 May  6 15:51 shlock
-r-xr-xr-x  1 news  news  13195 May  6 15:51 shrinkfile
-r-xr-x---  1 news  news   1423 Mar 27 08:30 tally.control
-r-xr-x---  1 news  news   1252 Mar 27 08:30 tally.unwanted
-r-xr-x---  1 news  news   1248 Mar 27 08:30 writelog

I've already tried yanking out the first line of the history
file and re-running makehistory, but that didn't work.

The really weird thing is... I wiped my spool area clean, re-
compiled a clean (no modifications by me) setup of INN1.4unoff4,
and started 'er up.  For a few days, it worked fine.  News.-
daily ran great!  Then, all of the sudden, one day I look at
the log file, and I'm screwed again.

From lines 16-17 it appears that the problem lies with
the store() call, but I know nothing about what it is sup-
posed to be doing, so I'm hitting a wall.

Does anyone have any ideas for a fix.  I'm dying here.  I
appreciate any help.


--
- Peter Schwenk, Academic Computing, West Chester University of
Pennsylvania
- pschwenk@wcupa.edu
--
- Peter Schwenk, Academic Computing, West Chester University of
Pennsylvania
- pschwenk@wcupa.edu


Re: Expiring Problems with INN1.4unoff4
#7350
Author: Supak Lailert
Date: Tue, 07 May 1996 00:00
17 lines
1195 bytes
Peter A. Schwenk wrote:

> I setup a FreeBSD 2.1 box with INN1.4sec (originally) and then
> INN1.4unoff4.  I have yet to get expire to work okay.  I re-
> compiled INN with debugging on in DBZ so I could get a better
> feel for what is going wrong, but I still don't understand what
> is going wrong.  Here's the error messages from expire.log:
> 
>     1.  Can't store key, No such file or directory

Well, your history file may be corrupted. Try to get "fixhist" script from
Dave Barr's INN page and run it.

Supak

Re: Expiring Problems with INN1.4unoff4
#7428
Author: Jon Holdsworth
Date: Thu, 09 May 1996 00:00
34 lines
1626 bytes
Supak Lailert (lailert@slip.net) wrote:
: Peter A. Schwenk wrote:

: > I setup a FreeBSD 2.1 box with INN1.4sec (originally) and then
: > INN1.4unoff4.  I have yet to get expire to work okay.  I re-
: > compiled INN with debugging on in DBZ so I could get a better
: > feel for what is going wrong, but I still don't understand what
: > is going wrong.  Here's the error messages from expire.log:
: > 
: >     1.  Can't store key, No such file or directory

: Well, your history file may be corrupted. Try to get "fixhist" script from
: Dave Barr's INN page and run it.

: Supak

Or do a 

makehistory -o

which reconstructs the whole history database, fixing any errors.
Do a 'man news-recovery' to find out about this option, and beware
that:
1) INN should not be running.
2) This operation is thorough, and takes ages (up to an hour or longer).
3) It can be taxing on your /tmp directory, there is an option to
   change the location of its temporary data.


Jon


Re: Expiring Problems with INN1.4unoff4
#7439
Author: Dave Barr
Date: Thu, 09 May 1996 00:00
23 lines
1358 bytes
In article <4ms9sr$rr2@news.alexia.net.au>,
Jon Holdsworth <jon@melb.alexia.net.au> wrote:
>makehistory -o
>
>which reconstructs the whole history database, fixing any errors.
>Do a 'man news-recovery' to find out about this option, and beware
>that:
>1) INN should not be running.
>2) This operation is thorough, and takes ages (up to an hour or longer).
>3) It can be taxing on your /tmp directory, there is an option to
>   change the location of its temporary data.

4) remembered history entries are thrown away, leaving you open
   to old duplicate articles.

and
2) is not accurate -- it takes quite a big longer than an hour.
   A _day_ is not uncommon.

--Dave

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