🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Mireille Tansens Mon, 04 May 1998 00:00
Diablo-1.14 segfaulting on solaris
#27972
Author: Mireille Tansens
Date: Mon, 04 May 1998 00:00
45 lines
2187 bytes
I'm trying to get diablo-1.14 to run on a solaris 2.6 machine 
(with gcc-2.7.2.3) When starting the server I get the following error

 [root@karmeliet /news]#  dbin/diablo -d -p /news/spool/news server
 Reloading dnewsfeeds file hlabel=?
 Segmentation Fault

'Truss'ing the process gives 

open("/news/dnewsfeeds", O_RDONLY)              = 7
...
read(7, 0x0003B1C4, 8192)                       = 0
llseek(7, 0, SEEK_CUR)                          = 8955
close(7)                                        = 0
time()                                          = 894275864
mkdir("/news/spool/news/D.00e36d0e", 0755)      = 0
    Incurred fault #6, FLTBOUNDS  %pc = 0x0001E4F0
      siginfo: SIGSEGV SEGV_MAPERR addr=0x00000004
    Received signal #11, SIGSEGV [default]
      siginfo: SIGSEGV SEGV_MAPERR addr=0x00000004
        *** process killed ***


The permissions on the spool dir look OK to me

# ls -la /news/spool/news
total 34
drwxr-xr-x  10 news     news         512 May  4 12:30 .
drwxr-xr-x   3 news     news         512 Apr 29 14:31 ..
drwxr-xr-x   2 news     news         512 Apr 29 16:55 D.00e3521a
drwxr-xr-x   2 news     news         512 Apr 29 17:00 D.00e35224
drwxr-xr-x   2 news     news         512 Apr 29 17:11 D.00e3522e
drwxr-xr-x   2 news     news         512 May  4 11:25 D.00e36cf0
drwxr-xr-x   2 news     news         512 May  4 11:48 D.00e36d04
drwxr-xr-x   2 news     news         512 May  4 11:57 D.00e36d0e
drwxr-xr-x   2 news     news         512 May  4 12:30 D.00e36d36
drwx------   2 news     news        8192 Apr 29 14:00 lost+found


Mireille,
-- 
Mireille Tansen   (Mireille.Tansens@rug.ac.be)

Re: Diablo-1.14 segfaulting on solaris
#27974
Author: Andrew
Date: Mon, 04 May 1998 00:00
23 lines
1516 bytes
Mireille Tansens <mtansen@allserv.rug.ac.be> wrote:
> I'm trying to get diablo-1.14 to run on a solaris 2.6 machine 
> (with gcc-2.7.2.3) When starting the server I get the following error

>  [root@karmeliet /news]#  dbin/diablo -d -p /news/spool/news server
>  Reloading dnewsfeeds file hlabel=?
>  Segmentation Fault

Diablo versions >= 1.14 require that your Solaris machine be able to
mmap more than the default largest memory segment.  Adding these three
lines to your /etc/system (and rebooting) will solve the problem:

set shmsys:shminfo_shmmni = 100
set shmsys:shminfo_shmseg = 16
set shmsys:shminfo_shmmax = 16777216

-- 
Andrew O. Smith - <aos@insync.net> | "Please allow me to present
Sysadmin, Insync Internet Services |  you with a clue."
Houston, Texas, USA                |          --The Afghan Whigs

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