🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
9 messages
9 total messages Started by Frank Kloeker Sun, 02 Jun 2002 16:34
[diablo] things to do after a crash
#59081
Author: Frank Kloeker
Date: Sun, 02 Jun 2002 16:34
19 lines
1455 bytes
Hi,

after a crash I'm lost the dactive.kp and the dhistory-file. I try to
rebuild them with 'diloadfromspool -a' but the program ends with
'diload: 0/0 entries loaded (0 duplicate)'. The dspool.ctl have 5
entries like this:
spool 01
   path         P.01
   spooldirs            20
   keeptime             150d
end
How can I rebuild now the history and the active? diablo-4.1 is running
under Solaris-2.8

thx

-- 
Don't dream your life, live your dream!
Re: [diablo] things to do after a crash
#59085
Author: B'ichela
Date: Sun, 02 Jun 2002 18:55
22 lines
1730 bytes
In article <emlkfuo3hngpjg68t2ceba3obslp5btr8k@4ax.com>, Johan M Olofsson wrote:
> You would be much better off reformating your hard drive and
> installing Windows 2000 professional.  Use a real news server like
> Exchange instead of a toy like diablo.
<Fire retardant vest on>
	While I don't work with Diablo, I am familiar with Your
parochial attitude. Unix/Linux is a  excellent platform for running
Newsgroups. In fact, Unix was the originall newsgroups platform! unix
systems hardly crash, but when they do, they take alot with them. Now
Winblows does similiar and MORE often. I have a friend who was a
Windows 98/95/ME/XP junkie. On his own, he also came over to the
Linux camp.
	Now, Either you give him a helping hand or keep your yap
shut!
</Fire retardant vest on>


-- 

				B'ichela

Re: [diablo] things to do after a crash
#59086
Author: B'ichela
Date: Sun, 02 Jun 2002 19:01
18 lines
1658 bytes
In article <addhgp$ep8$1@newsread1.arcor-online.net>, Frank Kloeker wrote:
> after a crash I'm lost the dactive.kp and the dhistory-file. I try to
> rebuild them with 'diloadfromspool -a' but the program ends with
> 'diload: 0/0 entries loaded (0 duplicate)'. The dspool.ctl have 5
	I know very little about Diablo. I really wish I could give
you more than a guess, Sounds like to me that you will need to
totally rescan your base to put the history file back together. yet
you stated that you had. Possiblly something else got toasted also.
how does your message base look? Are the articles readable? (If you
are using a database then the pointers can get all muffed up.)
	What caused the crash? could it have frelled your hard drives
file allocations?

-- 

				B'ichela

Re: [diablo] things to do after a crash
#59098
Author: Frank Kloeker
Date: Mon, 03 Jun 2002 12:04
19 lines
1946 bytes
B'ichela wrote:

>         I know very little about Diablo. I really wish I could give
> you more than a guess, Sounds like to me that you will need to
> totally rescan your base to put the history file back together. yet
> you stated that you had. Possiblly something else got toasted also.
> how does your message base look? Are the articles readable? (If you
> are using a database then the pointers can get all muffed up.)
>         What caused the crash? could it have frelled your hard drives
> file allocations?

The reason for crash was a scsi-timeout on the spool-raid. After reset
and fsck the filesystem some files are missing (dhistory, dactive.kp...)
and some spool-files are corrupt. I'm looking for a tool like
makehistory oder makediablohappy. 

-- 
Don't dream your life, live your dream!
Re: [diablo] things to do after a crash
#59105
Author: B'ichela
Date: Tue, 04 Jun 2002 05:47
25 lines
1959 bytes
In article <adfm3p$rtv$1@newsread1.arcor-online.net>, Frank Kloeker wrote:
> The reason for crash was a scsi-timeout on the spool-raid. After reset
> and fsck the filesystem some files are missing (dhistory, dactive.kp...)
> and some spool-files are corrupt. I'm looking for a tool like
> makehistory oder makediablohappy. 
	OUCH! I had a similar problem with a bad Scsi host adaptor
long ago, Believe me, a Trantor T130B 8 bit card in a 486/66mhz
machine with apparently a flaky IRQ 5! A grand way to lose hair!
Using that card was like playing Russian Roulette with your data!
	You mean to tell me that Diablo does not have a makehistory
or similar? That is very unthoughtful of the team to not consider the
need to rebuild the database.
	If you would like to try cnews instead I can guarantee that
we do have the tools for our system.
	You can find it at
<ftp://metalab.unc.edu/pub/Linux/system/news/transport/cnews-cr.h.tar.gz>



-- 

			The New Cnews maintainer
				B'ichela

Re: [diablo] things to do after a crash
#59118
Author: Steinar Haug
Date: Wed, 05 Jun 2002 15:33
21 lines
1932 bytes
[B'ichela]

|   	You mean to tell me that Diablo does not have a makehistory
|   or similar? That is very unthoughtful of the team to not consider the
|   need to rebuild the database.

From my (very old) diablo-1.28 installation:

 * DILOADFROMSPOOL.C    
 *
 *      Scan the specified spool directory or spool file, extract the
 *      Message-ID, offset, and article size, and create the appropriate
 *      entry in the dhistory file.  This command is typically used if 
 *      you have lost your history file entirely and need to regenerate it
 *      from the existing spool or to do a partial recovery from backup
 *      and regeneration the lost portion from the existing spool.

So it was certainly thought of, long ago...

Steinar Haug, Nethelp consulting, sthaug@nethelp.no
Re: [diablo] things to do after a crash
#59120
Author: Andrew Gierth
Date: Wed, 05 Jun 2002 19:57
14 lines
1527 bytes
>>>>> "B'ichela" == B'ichela  <mdalene@pinkrose.local.net> writes:

 B'ichela> 	If you would like to try cnews instead

a little clue for you: Diablo is designed to carry huge volumes of
news relatively efficiently; it copes extremely well with volumes
that would turn a C news system into a pile of slag.

That said, I don't know of any easy way to recover the active file
on diablo.

-- 
Andrew.
Re: [diablo] things to do after a crash
#59130
Author: Frank Kloeker
Date: Thu, 06 Jun 2002 12:31
34 lines
2332 bytes
Steinar Haug wrote:

> From my (very old) diablo-1.28 installation:
> 
>  * DILOADFROMSPOOL.C
>  *
>  *      Scan the specified spool directory or spool file, extract the
>  *      Message-ID, offset, and article size, and create the appropriate
>  *      entry in the dhistory file.  This command is typically used if
>  *      you have lost your history file entirely and need to regenerate it
>  *      from the existing spool or to do a partial recovery from backup
>  *      and regeneration the lost portion from the existing spool.

Great. But diloadfromspool scans only the D-directories in the news
spool and ignores any in dspool.ctl configured subdirectories. For
example on a staging system:

spool 00
    minfree     6g
end
#
spool 01
    maxsize    2g
    keeptime   30d
    path       nonbin
end

Any articles in /news/spool/news/D.* owned by spool 00 was loaded from
diloadfromspool but spool 01 with the path "nonbin" was ignored. Is it a
bug or a feature? Don't know...

-- 
Don't dream your life, live your dream!
Re: [diablo] things to do after a crash
#59142
Author: Eusa Hues
Date: Fri, 07 Jun 2002 14:29
17 lines
1605 bytes
On Sun, 02 Jun 2002 18:34:14 +0200, Frank Kloeker <eumel@gno.de>
wrote:

<snip>

>How can I rebuild now the history and the active? diablo-4.1 is running
>under Solaris-2.8

I would suggest that most people running diablo on a "serious" system,
are subscribed to the mailing lists.

http://www.openusenet.org/diablo/ and following the links.

Oh, and you are pretty unlikely to get an answer like "install
Exchange" on the diablo list ;-)

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