🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Justin M. Streiner Thu, 12 Feb 1998 00:00
diablo 1.13 -> 1.14 - apparently reads diablo.config and dies?
#26172
Author: Justin M. Streiner
Date: Thu, 12 Feb 1998 00:00
47 lines
1818 bytes
In trying to upgrade from diablo 1.13 to 1.14 on my Solaris 2.6 feeder it 
seems to exit immediately after being started.  Nothing is written to the 
logs, but a truss of the diablo process seems to suggest this after a quick 
glance:

[---snip---]
open("/news/diablo.config", O_RDONLY)		= 3
fstat64(3, 0xEFFFFAA0)				= 0
brk(0x00038FB8)					= 0
brk(0x0003CFB8)					= 0
ioctl(3, TCGETA, 0xEFFFFA2C)			Err#25 ENOTTY
read(3, " #   D I A B L O . C O N".., 8192)	= 3686
read(3, 0x00038FC4, 8192)			= 0
llseek(3, 0, SEEK_CUR)				= 3686
close(3)					= 0
uname(0xEFFFF808)				= 1
sigfillset(0xEF628820)				= 0
sigaction(SIGPIPE, 0xEFFFFC60, 0x00000000)	= 0
time()						= 887297020
getpid()					= 418 [417]
chdir("/news/spool/news")			= 0
fork()						= 419
llseek(0, 0, SEEK_CUR)				= 13569
_exit(0)

USE_SYSV_SHM and USR_LARGE_HASH are defined in vendor.h.

diablo.config looks correct, afaict:

version	1.14
expire	feeder		
hash	crc/prime
hsize	4m
active	off
slave	off
maxconnect	15
remember 3

The permissions on the configuration files and /news/spool/news are correct
(owner and group is "news")

I have a nagging feeling I'm missing something stupid.

jms

Re: diablo 1.13 -> 1.14 - apparently reads diablo.config and dies?
#26168
Author: Matt Dillon
Date: Thu, 12 Feb 1998 00:00
22 lines
1647 bytes
:In article <gHGE.59$b%5.90058@ptah.visi.com>,
:Mike Horwath <drechsau@yuck.net> wrote:
:>Justin M. Streiner <streiner@remove-to-mail-me.sgi.net> wrote:
:>: In trying to upgrade from diablo 1.13 to 1.14 on my Solaris 2.6 feeder it 
:>: seems to exit immediately after being started.  Nothing is written to the 
:>: logs, but a truss of the diablo process seems to suggest this after a quick 
:>: glance:

    Make sure Solaris is configured with a sufficiently large maximum
    shared-memory segment size (make it 16MB, the solaris default is too
    low) and set USE_SPAM_SHM to 1 in lib/vendor.h, then 'xmake clean; xmake'
    to recompile.

					-Matt
-- 
    Matthew Dillon   Engineering, BEST Internet Communications, Inc.
    <dillon@best.net>, include original article w/ any response.
    do not under any circumstances send email to joeblow@bigspender.idiom.com
    and, for gods sake, don't email bucktram@popserver.idiom.com

Re: diablo 1.13 -> 1.14 - apparently reads diablo.config and dies?
#26189
Author: Jeff Garzik
Date: Thu, 12 Feb 1998 00:00
62 lines
2534 bytes
(posted and mailed)

Unfortunately the truss report won't tell you much, the fork()/exit()
calls near the end are Diablo entering daemon mode.

I ran into this problem a while back going from 1.12 to 1.13 (I think).

My recollection of the problem is that is *was* something stupid, like...
are you running /news/rc.news as root?  Did you try a

	chown -R news /news

to make sure permissions are all correct.

Is Diablo already running on port 119?

Does syslog output anything?

Run a "diff" of your 1.13 config files against the 1.14 ones.  Do you see
any misspellings or missing entries?

Do all your hosts in diablo.hosts have matching labels in dnewsfeeds?

Trying the shotgun approach to problem solving here, since I can't for the
life of me remember how I solved this.... ;)

	Jeff



Justin M. Streiner (streiner@remove-to-mail-me.sgi.net) wrote:
: In trying to upgrade from diablo 1.13 to 1.14 on my Solaris 2.6 feeder it 
: seems to exit immediately after being started.  Nothing is written to the 
: logs, but a truss of the diablo process seems to suggest this after a quick 
: glance:

: [---snip---]
: open("/news/diablo.config", O_RDONLY)		= 3
: fstat64(3, 0xEFFFFAA0)				= 0
: brk(0x00038FB8)					= 0
: brk(0x0003CFB8)					= 0
: ioctl(3, TCGETA, 0xEFFFFA2C)			Err#25 ENOTTY
: read(3, " #   D I A B L O . C O N".., 8192)	= 3686
: read(3, 0x00038FC4, 8192)			= 0
: llseek(3, 0, SEEK_CUR)				= 3686
: close(3)					= 0
: uname(0xEFFFF808)				= 1
: sigfillset(0xEF628820)				= 0
: sigaction(SIGPIPE, 0xEFFFFC60, 0x00000000)	= 0
: time()						= 887297020
: getpid()					= 418 [417]
: chdir("/news/spool/news")			= 0
: fork()						= 419
: llseek(0, 0, SEEK_CUR)				= 13569
: _exit(0)

--
Jeff Garzik			    Typhoon, Cyclone, Diablo, and INN
http://www.spinne.com/usenet/	           News tuning and consulting

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