🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Frank Slootweg Fri, 14 Jun 2002 12:03
Re: "cant dbzinit" error
#59180
Author: Frank Slootweg
Date: Fri, 14 Jun 2002 12:03
30 lines
2362 bytes
davidc <davidc@hotpop[d.o.t]com> wrote:
> I'm getting this error:
> 
> "Jun 14 11:00:24 server innd: SERVER cant dbzinit /var/lib/news/history No
> such file or directory"
> 
> Yet the output of "ls -la" in "/var/lib/news" produces this:
> 
> total 20
> drwxr-xr-x    2 news     news         4096 Jun 14 11:00 .
> drwxr-xr-x   19 root     root         4096 Jun 14 10:55 ..
> -rw-r--r--    1 news     news          225 May 23 22:30 active
> -rw-r--r--    1 news     news            0 Jun 14 10:56 active.times
> -rw-rw-r--    1 news     news            0 Jun 14 10:59 history
> -rw-r--r--    1 news     news           41 Jun 14 11:00 history.n.dir
> -rw-r--r--    1 news     news            0 Jun 14 11:00 history.n.hash
> -rw-r--r--    1 news     news            0 Jun 14 11:00 history.n.index
> -rw-r--r--    1 news     news          333 May 23 22:30 newsgroups
> 
> I've logged in as "news" and tried "touch history" and "makedbz -i" but
> neither seem to have done any good.  Why am I getting this error if the file
> is there?

  AFAIK, this refers to the 'history database', not, as the error
message implies, the history *file*. The history database consists of
the *files* history, history.dir, history.hash and history.pag. However
you have history.n.* (note extra ".n" part). I don't know (exactly) how
you got those (see expire(8) "-t" flag), but perhaps the solution is as
simple as just renaming (mv(1)) these files to not have the ".n" part.
Re: "cant dbzinit" error
#59183
Author: Jeffrey M. Vinocur
Date: Fri, 14 Jun 2002 15:24
21 lines
1645 bytes
In article <aecm1v$7on$1@support.neth.hp.com>,
Frank Slootweg  <franks@support.neth.hp.com> wrote:
>
>  AFAIK, this refers to the 'history database', not, as the error
>message implies, the history *file*. The history database consists of
>the *files* history, history.dir, history.hash and history.pag. However
>you have history.n.* (note extra ".n" part). I don't know (exactly) how
>you got those (see expire(8) "-t" flag),

makedbz creates them by default with the odd names.


>but perhaps the solution is as
>simple as just renaming (mv(1)) these files to not have the ".n" part.

Indeed, it is.

-- 
Jeffrey M. Vinocur
jeff@litech.org
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