🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #23630

Re: Diablo 1.14 silently fails [FIXED]

#23630
From: Michael W Peterson
Date: Tue, 25 Nov 1997 00:00
48 lines
2311 bytes
On Mon, 24 Nov 1997 18:40:39 -0600, <underdog@flash.net> wrote:
>Dale Ghent wrote:
>> 
>> Dave Pifke wrote:
>> Per Matt's earlier ost, put the following lines in lib/verdor.h:
>> 
>> #undef USE_SPAM_SHM
>> #define USE_SPAM_SHM    1
>> 
>> Recompile, and you should be good to go. dialbo will seg fault on
>> startup without that being defined.
>> 
>>                 -Dale G.
>
>	That's the thing, though.  _Before_ you make this change, it seg
>faults.  After you make this change, it doesn't do _anything_.  At
>least not for me (and I've managed to succesfully compile every
>version so far).  
>	It doesn't core dump, it doesn't do _anything_.  It exists
>normally--almost immediately, but never actually starts.  I don't know
>what to do, but I'm having to stick with 1.13 until I can figure it
>out. :(
> 

We found what the problem was, at least on our system. (Would have happened
sooner if the test box had syslog.conf entries for news.*. *mutter*) The
shmget for the spamfilters was failing with EINVAL. Seems the 1.75 megs
diablo was trying to allocate was more than the max size for Solaris 2.5.1.
Found this in /etc/system on a different box that had ACE installed, added it
to /etc/system on the diablo test box, rebooted and life was good.

Added to /etc/system:
set shmsys:shminfo_shmmni = 100
set shmsys:shminfo_shmseg = 16
set shmsys:shminfo_shmmax = 16777216

The shmsys:shminfo_shmmax is the critical one. Figured the other two to be
a good idea.

YMMV. HTH. HAND.

-- 
Michael W Peterson                      <http://www.flash.net/~michael/>
Chief System Administrator              FlashNet Communications
Unix: more than enough rope...

Technical Details
Message-ID: <65ddhj$hv6$1@excalibur.flash.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <3479E784.25DF@slip.net> <3479EB57.59E2@digex.net> <347A1E87.C575758E@flash.net>

Show Full Headers
Complete Article Headers
Message-ID: <65ddhj$hv6$1@excalibur.flash.net>
Subject: Re: Diablo 1.14 silently fails [FIXED]
Date: Tue, 25 Nov 1997 00:00:00 +0000
From: michael@flash.net (Michael W Peterson)
References: <3479E784.25DF@slip.net> <3479EB57.59E2@digex.net> <347A1E87.C575758E@flash.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 292403611
Organization: FlashNet Communications
Newsgroups: news.software.nntp