Article View: news.software.nntp
Article #59427innd hangs on restart
From: Jerry Stratton
Date: Tue, 02 Jul 2002 23:49
Date: Tue, 02 Jul 2002 23:49
150 lines
5363 bytes
5363 bytes
I was apparently premature in thinking I'd solved the problem; I can
start up innd once, but any subsequent times it will hang as before.
I have gotten inn 2.4.0 (CURRENT) working on OS X 10.1.5. I can post to
the local groups (if I create them), and connect and read them from
various computers on our campus.
However, if I use
ctlinnd shutdown reason
when I then restart inn with
inndstart
the log/news.notice logfile contains:
Jul 1 11:32:15 cerebus innd: SERVER shutdown for restart
Jul 1 11:33:05 cerebus innd: SERVER descriptors 256
Jul 1 11:33:05 cerebus innd: SERVER outgoing 243
Jul 1 11:33:05 cerebus innd: SERVER ccsetup control:13
Jul 1 11:33:05 cerebus innd: SERVER lcsetup localconn:15
Jul 1 11:33:05 cerebus innd: SERVER rcsetup remconn:4
and that's where it stops. It never fully starts up. I cannot shut down
with "ctlinnd shutdown reason"; I have to kill -9 pid. (kill pid does
not work).
If I remove the file spool/overview/group.index, I can then start up
innd fine with inndstart. However, none of the previously posted
messages are available.
Before it hangs, it looks at:
etc:
-rw-r----- 1 news news 5425 Jul 1 11:52 incoming.conf
-rw-r--r-- 1 news news 4885 Jul 1 11:52 inn.conf
-rw-r--r-- 1 news news 4893 Jul 1 11:52 newsfeeds
-rw-r--r-- 1 news news 340 Jul 1 11:52 overview.fmt
db:
-rw-r--r-- 1 news news 43 Jul 1 11:52 history.dir
run:
srwxrwxr-x 1 news news 0 Jul 1 11:52 control
srwxrwxr-x 1 news news 0 Jul 1 11:52 nntpin
bin:
-r-xr-x--- 1 news news 161460 Jul 1 11:52 ctlinnd
-r-xr-x--- 1 news news 1262136 Jul 1 11:52 innd
-r-sr-x--- 1 root news 151160 Jul 1 11:52 inndstart
It does *not*, (according to ls -lu and ls -l), look at or write to
spool/overview/group.index, so I'm guessing that that file is not the
problem, but that removing it triggers rewriting or ignoring the file
that is the problem.
I have tried removing all directories, and then rerunning "make install".
After that, I change only:
cd ~/db
touch history
../bin/makedbz -i
mv history.n.dir history.dir
mv history.n.hash history.hash
mv history.n.index history.index
inn.conf gets the following lines modified:
organization: Cerebus the Gopher
storeonxref: true
newsfeeds is only:
ME:*,!junk::
controlchan!\
:!*,control,control.*,!control.cancel\
:Tc,Wnsm:/usr/local/news/bin/controlchan
readers.conf is only:
auth sandiego.edu {
hosts: "*.sandiego.edu, sandiego.edu, *.acusd.edu, acusd.edu"
default: "<LOCAL>"
}
access full {
newsgroups: *
}
storage.conf is only:
method tradspool {
newsgroups: *
class: 0
}
First time running inndstart I get (in news.notice):
Jul 2 13:35:47 cerebus innd: SERVER descriptors 256
Jul 2 13:35:47 cerebus innd: SERVER outgoing 243
Jul 2 13:35:47 cerebus innd: SERVER ccsetup control:13
Jul 2 13:35:47 cerebus innd: SERVER lcsetup localconn:15
Jul 2 13:35:47 cerebus innd: SERVER rcsetup remconn:4
Jul 2 13:35:47 cerebus innd: controlchan! spawned
controlchan!:18:proc:7974
Jul 2 13:35:47 cerebus innd: tradspool:
/usr/local/news/spool/tradspool.map not found
Jul 2 13:35:47 cerebus innd: SERVER starting
355: ctlinnd mode
Server running
Allowing remote connections
Parameters c 10 i 50 (0) l 1000000 o 243 t 300 H 2 T 60 X 0 normal
specified
Not reserved
Readers separate enabled
Then, "ctlinnd shutdown reason" puts the following in news.notice:
Jul 2 13:36:49 cerebus innd: SERVER shutdown to restart
Jul 2 13:36:49 cerebus innd: controlchan! closed
Jul 2 13:36:49 cerebus innd: control:13 closed
Jul 2 13:36:49 cerebus innd: localconn:15 closed
Jul 2 13:36:49 cerebus innd: remconn:4 closed
Jul 2 13:36:57 cerebus innd: SERVER shutdown to restart
And the next time I run inndstart, I get in news.notice:
Jul 2 13:37:44 cerebus innd: SERVER descriptors 256
Jul 2 13:37:44 cerebus innd: SERVER outgoing 243
Jul 2 13:37:44 cerebus innd: SERVER ccsetup control:13
Jul 2 13:37:44 cerebus innd: SERVER lcsetup localconn:15
Jul 2 13:37:44 cerebus innd: SERVER rcsetup remconn:4
and "ctlinnd mode" hangs, as do attempts to connect to localhost on port
119, as they did in my previous postings.
Any idea what steps I'm missing or doing wrong here?
Jerry
--
http://www.hoboes.com/jerry/
Technical Details
Message-ID:
<newsw-7B7F3C.16492802072002@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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.visi.com!hermes.visi.com!cox.net!p01!news1.west.cox.net.POSTED!53ab2750!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <newsw-7B7F3C.16492802072002@news.west.cox.net> Subject: innd hangs on restart Date: Tue, 02 Jul 2002 23:49:25 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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.visi.com!hermes.visi.com!cox.net!p01!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: 149 NNTP-Posting-Host: 68.8.67.82 X-Complaints-To: abuse@cox.net X-Trace: news1.west.cox.net 1025653765 68.8.67.82 (Tue, 02 Jul 2002 19:49:25 EDT) NNTP-Posting-Date: Tue, 02 Jul 2002 19:49:25 EDT