🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by Jon Bell Tue, 17 Dec 2002 06:21
Problems with INN on Mac OS X Server
#62322
Author: Jon Bell
Date: Tue, 17 Dec 2002 06:21
96 lines
4944 bytes
As a diversion from writing and grading final exams, I'm trying to set up
INN 2.3.3 on Mac OS X Server (not the usual "workstation" package, which
might make a difference).  This is my first experience with INN; we've 
been using C News here, on a different machine (DG/UX).

Ran configure --with-perl, make, and make install with no apparent 
problems.  Everything is in the default locations.

Tweaked the organization and pathhost in inn.conf.

Added the following entry to storage.conf:

method tradspool {
    newsgroups: *
    class: 0
    size: 0,300000
}

Added the machine's hostname and FQDN to the auth localhost entry in
readers.conf.

Didn't touch newsfeeds or incoming.conf; my first goal is to post and read 
locally only.

Created an empty history database according to the instructions in 
INSTALL, including renaming the newly-created files to get rid of ".n.".

Set up syslog.conf and created empty log files.

Started it up by running /usr/local/news/bin/rc.news.  innd started up, 
and a bit later, so did innwatch.  Both idled along, using negligible CPU 
time.

Telnetted to port 119 on localhost, got INN's banner message, listed the 
commands with 'help', and the initial active file with 'list active', and 
quit.

Used 'ctlinnd newgroup' to create a local test group, which appeared in 
the active file.

Telnetted to port 119 again to see if the group appears in 'list active'.  
Yep.

Now things got interesting.  I tried to shut down the server by doing 
'ctlinnd throttle' and 'ctlinnd shutdown'.  After brief pauses, I got 
messages apparently confirming what I had done, but both innd and innwatch 
were still running.

Tried 'rc.news stop'.  This did stop innd, but not innwatch.

Tried to start up the server again with rc.news.  This time, instead of 
idling along, innd gobbled CPU time furiously.  Also, I couldn't telnet to 
it; telnet told me it was connected, but the INN banner didn't appear, and 
I couldn't get any response from it.

Neither 'ctlinnd shutdown' nor 'rc.news stop' had any effect, so I finally 
did a kill -9 on both innd and innwatch.

Here's what I have in news.notice:

Dec 17 00:03:41 TITANIUM innd: SERVER descriptors 256
Dec 17 00:03:41 TITANIUM innd: SERVER outgoing 243
Dec 17 00:03:41 TITANIUM innd: SERVER ccsetup control:12
Dec 17 00:03:41 TITANIUM innd: SERVER lcsetup localconn:14
Dec 17 00:03:41 TITANIUM innd: SERVER rcsetup remconn:4
Dec 17 00:03:41 TITANIUM innd: SERVER bad_newsfeeds no feeding sites
Dec 17 00:03:41 TITANIUM innd: SERVER perl filtering enabled
Dec 17 00:03:41 TITANIUM innd: SERVER starting
Dec 17 00:05:05 TITANIUM innd: localhost connected 16 streaming allowed
Dec 17 00:05:43 TITANIUM innd: localhost:16 closed seconds 38 accepted 0 
refused 0 rejected 0 duplicate 0 accepted size 0 duplicate size 0
Dec 17 00:07:38 TITANIUM innd: SERVER bad_newsfeeds no feeding sites
Dec 17 00:07:38 TITANIUM innd: SERVER newgroup titanium.test as y
Dec 17 00:13:24 TITANIUM innd: localhost connected 16 streaming allowed
Dec 17 00:13:27 TITANIUM innd: localhost:16 closed seconds 3 accepted 0 
refused 0 rejected 0 duplicate 0 accepted size 0 duplicate size 0
Dec 17 00:15:15 TITANIUM innd: SERVER shutdown rc.news stop
Dec 17 00:15:15 TITANIUM innd: control:12 closed
Dec 17 00:15:15 TITANIUM innd: localconn:14 closed
Dec 17 00:15:15 TITANIUM innd: remconn:4 closed
Dec 17 00:15:16 TITANIUM innd: SERVER perl filtering disabled
Dec 17 00:15:17 TITANIUM innd: SERVER shutdown rc.news stop
Dec 17 00:22:31 TITANIUM innd: SERVER descriptors 256
Dec 17 00:22:31 TITANIUM innd: SERVER outgoing 243
Dec 17 00:22:31 TITANIUM innd: SERVER ccsetup control:12
Dec 17 00:22:31 TITANIUM innd: SERVER lcsetup localconn:14
Dec 17 00:22:31 TITANIUM innd: SERVER rcsetup remconn:4
Dec 17 00:22:31 TITANIUM innd: SERVER bad_newsfeeds no feeding sites

Does this sound like a general INN configuration problem, or some strange
interaction with OS X Server?

-- 
Jon Bell <jtbellap8@presby.edu>                     Presbyterian College
Dept. of Physics and Computer Science        Clinton, South Carolina USA
Re: Problems with INN on Mac OS X Server
#62323
Author: Bernt Hansson
Date: Tue, 17 Dec 2002 07:47
11 lines
1554 bytes
Jon Bell =>

> Dec 17 00:22:31 TITANIUM innd: SERVER bad_newsfeeds no feeding sites

You have to configure the newsfeeds file
 
> Does this sound like a general INN configuration problem, or some strange
> interaction with OS X Server?

It's a INN conf problem.
Re: Problems with INN on Mac OS X Server
#62329
Author: Jon Bell
Date: Tue, 17 Dec 2002 13:12
20 lines
1528 bytes
In article <3DFED68F.68C11DBE@bah.dyndns.org>,
Bernt Hansson  <bernt@bah.dyndns.org> wrote:
>Jon Bell =>
>
>> Dec 17 00:22:31 TITANIUM innd: SERVER bad_newsfeeds no feeding sites
>
>You have to configure the newsfeeds file

OK, what do I need to add to the default newsfeeds file, which has only a 
ME entry:

ME:!*/!local,!collabra-internal::

There are no outgoing feeds (yet), and I still have usecontrolchan set to 
false in inn.conf, so I don't need to configure controlchan yet, right?

-- 
Jon Bell <jtbellap8@presby.edu>                     Presbyterian College
Dept. of Physics and Computer Science        Clinton, South Carolina USA
Re: Problems with INN on Mac OS X Server
#62331
Author: Russ Allbery
Date: Tue, 17 Dec 2002 18:11
22 lines
1826 bytes
Bernt Hansson <bernt@bah.dyndns.org> writes:
> Jon Bell =>

>> Dec 17 00:22:31 TITANIUM innd: SERVER bad_newsfeeds no feeding sites

> You have to configure the newsfeeds file

No, you don't; that warning is harmless and can be ignored.

Jon, I have no idea on that one; I've not seen that before.  Does MacOS X
have a truss/strace equivalent that you can run on innd when it's
consuming all of the CPU to try to figure out what it's doing?

I've not heard of ctlinnd shutdown not working before.  I know people have
gotten INN working on MacOS X before....

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Problems with INN on Mac OS X Server
#62334
Author: Kjetil Torgrim Homme
Date: Tue, 17 Dec 2002 22:28
10 lines
1382 bytes
[Russ Allbery]:
>
>   Does MacOS X have a truss/strace equivalent

ktrace(8)

-- 
Kjetil T.			|  read and make up your own mind
				|  http://www.cactus48.com/truth.html
Re: Problems with INN on Mac OS X Server
#62335
Author: Jon Bell
Date: Tue, 17 Dec 2002 23:18
16 lines
1455 bytes
In article <1rof7ki8k6.fsf@tolf.ifi.uio.no>,
Kjetil Torgrim Homme  <kjetilho@haey.ifi.uio.no> wrote:
>[Russ Allbery]:
>>
>>   Does MacOS X have a truss/strace equivalent
>
>ktrace(8)

OK, thanks!  I see /usr/bin/ktrace on my system.  No man page for some
reason, but I turned one up via Google.  I hope I have a chance to try it
before I leave town for the holidays...

-- 
Jon Bell <jtbellap8@presby.edu>                     Presbyterian College
Dept. of Physics and Computer Science        Clinton, South Carolina USA
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