🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #59374

innd hangs on startup on Mac OS X?

#59374
From: Jerry Stratton
Date: Sat, 29 Jun 2002 00:55
81 lines
3585 bytes
I've compiled inn 2.3.3 on Mac OS X 10.1.5; it appears to start fine
with rc.news and with inndstart. The following is in the log
"~news/log/news.notice" for each startup:

Jun 28 13:10:11 cerebus innd: SERVER descriptors 256
Jun 28 13:10:11 cerebus innd: SERVER outgoing 243
Jun 28 13:10:11 cerebus innd: SERVER ccsetup control:12
Jun 28 13:10:11 cerebus innd: SERVER lcsetup localconn:14
Jun 28 13:10:11 cerebus innd: SERVER rcsetup remconn:4


ps -axe | grep innd shows innd running:

  759  ??  Rs     4:01.98 /usr/local/news/bin/innd -p4 
PATH=/usr/local/news/bin

If I attempt to connect via telnet to port 119, I can connect, but do
not receive any response from innd:

telnet cerebus 119
Trying 199.106.12.16...
Connected to cerebus.sandiego.edu.
Escape character is '^]'.


At this point, nothing happens; it appears to hang, and the only way
out is to use that escape character (CTRL-C, CTRL-D, CTRL-X do not
work.) If I kill the innd process, telnetting to port 119 results in
a refused connection, indicating that there is nothing else
attempting to use that port.

Note that I get this same response whether I am connecting from an
allowed client or from a disallowed client. I have the following in
readers.conf:

auth "sandiego.edu" {
     hosts: "*.sandiego.edu, sandiego.edu"
     default: "<user>"
     default-domain: "sandiego.edu"
}���

access "all" {�
    users: "*@sandiego.edu"
    newsgroups: "*"
    access: "Read Post"
}

None of the log files show any new entries after trying to connect.
The 'netstat' command appears to indicate that attempts to connect
hang around after I've given up and canceled the telnet:

tcp  0  0  cerebus.nntp       pwa.acusd.edu.54062    CLOSE_WAIT
tcp  0  0  localhost.nntp     localhost.49163        CLOSE_WAIT


Attempting to check status with "ctlinnd mode" also appears to hang, I 
suspect while talking to innd.

[cerebus:~/log] news% ps -axe | grep innd
  824  ??  Rs     6:10.79 /usr/local/news/bin/innd -p4 
PATH=/usr/local/news/bin
  916 std  R+     0:00.00 grep innd USER=news LOGNAME=news 
HOME=/usr/local/news
  912  p5  S+     0:00.00 ctlinnd mode USER=news LOGNAME=news 
HOME=/usr/local/n


I have no articles in the database (tradspool) yet.

I have tried removing the db/history.* files and recreating them with
makedbz -i in case they were somehow the problem.

history.hash expands from 0 to 60,000,000 bytes immediately after
starting up innd. Is it supposed to?

Any ideas on what might I might have done wrong to cause innd to (appear 
to) hang like this?

-- 
http://www.hoboes.com/jerry/
Technical Details
Message-ID: <newsw-D506B8.17554228062002@news.west.cox.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed.berkeley.edu!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!ihug.co.nz!cox.net!p02!news1.west.cox.net.POSTED!53ab2750!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <newsw-D506B8.17554228062002@news.west.cox.net>
Subject: innd hangs on startup on Mac OS X?
Date: Sat, 29 Jun 2002 00:55:41 GMT
From: Jerry Stratton <newsw@hoboes.com>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed.berkeley.edu!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!ihug.co.nz!cox.net!p02!news1.west.cox.net.POSTED!53ab2750!not-for-mail
Newsgroups: news.software.nntp
Organization: Negative Space
User-Agent: MT-NewsWatcher/3.2 (PPC Mac OS X)
Lines: 80
NNTP-Posting-Host: 68.8.67.82
X-Complaints-To: abuse@cox.net
X-Trace: news1.west.cox.net 1025312141 68.8.67.82 (Fri, 28 Jun 2002 20:55:41 EDT)
NNTP-Posting-Date: Fri, 28 Jun 2002 20:55:41 EDT