Thread View: news.software.nntp
1 messages
1 total messages
Started by Jerry Stratton
Tue, 02 Jul 2002 23:49
innd hangs on restart
Author: 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/
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