🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
8 messages
8 total messages Started by Paul Dlug Mon, 20 Mar 2000 00:00
standalone server
#45128
Author: Paul Dlug
Date: Mon, 20 Mar 2000 00:00
17 lines
1345 bytes
I'm attempting to setup a newserver on our company intranet to use for
internal discussions and general information. I setup inn 2.2.2 from the
ports collection in FreeBSD and created an active file with the
following entry:

test 00000000000000000 00000000000000000 y

Then I started the server, rc.news and innwatch are running but innd is
not, there's nothing in the log files. Can anyone point me in the right
direction as to what else I need to configure to get this running. I
don't want to uplink or downlink to any other newsservers, I'd like to
keep it standalone. 


--Paul

Re: standalone server
#45129
Author: Andrew Gierth
Date: Mon, 20 Mar 2000 00:00
24 lines
1627 bytes
>>>>> "Paul" == Paul Dlug <paul@nerdlabs.com> writes:

 Paul> I'm attempting to setup a newserver on our company intranet to
 Paul> use for internal discussions and general information. I setup
 Paul> inn 2.2.2 from the ports collection in FreeBSD and created an
 Paul> active file with the following entry:

 Paul> test 00000000000000000 00000000000000000 y

There's too many 0's there, you should normally use 10 (enough space to
represent 2^32).

But more significantly, entries for 'junk' and 'control' are mandatory
for all configurations - innd won't start if they're missing.

 Paul> Then I started the server, rc.news and innwatch are running but
 Paul> innd is not, there's nothing in the log files.

check that your logging is enabled (in syslog.conf).

-- 
Andrew.

Re: standalone server
#45132
Author: Wolfgang Szoecs
Date: Mon, 20 Mar 2000 00:00
27 lines
1629 bytes
In article <38D672B0.6F18AA27@nerdlabs.com>,
	Paul Dlug <paul@nerdlabs.com> writes:

> -rw-rw-r--  1 news  news    0 Mar 20 01:58 history
> -rw-rw-r--  1 news  news   41 Mar 20 01:58 history.n.dir
> -rw-rw-r--  1 news  news    0 Mar 20 01:58 history.n.hash
> -rw-rw-r--  1 news  news    0 Mar 20 01:58 history.n.index
> -rw-r--r--  1 news  news  254 Mar 20 01:58 newsgroups
> 
> I created the active and newsgroup files then ran 'makehistory -i' as
> was in the INSTALL file. Any further help is greatly appreciated.

it's all correct till now :-)

just rename the files:

for a in *.n.*
do
	mv $a `echo $a|cut -d\. -f1,3`
done

and start the server again. ;-)


wolfgang

Re: standalone server
#45133
Author: those who know me have no need o...
Date: Mon, 20 Mar 2000 00:00
20 lines
1456 bytes
<38D5A9E3.98258311@nerdlabs.com> divulged:
>logging is enabled and still nothing. Any other suggestions on
>how to debug this? 

what was logged, to news.notice or above?  are you saying that nothing is 
being sent to syslog?  did you remember to create the file that you 
configured?  e.g.,

# echo "news.notice^I/var/spool/news/log/news.notice" >> /etc/syslog.conf
# touch /var/spool/news/log/news.notice
# chgrp news /var/spool/news/log/news.notice
# chmod 640 /var/spool/news/log/news.notice
# kill -1 `cat /var/run/syslog.pid`

if all else fails ktrace and/or truss innd.

-- 
okay, have a sig then

Re: standalone server
#45135
Author: Paul Dlug
Date: Mon, 20 Mar 2000 00:00
36 lines
1991 bytes
I redid the active file with test, cotnrol and junk entries each with 10
zeros, logging is enabled and still nothing. Any other suggestions on
how to debug this? I have no information to work on at this point.


Andrew Gierth wrote:
> 
> >>>>> "Paul" == Paul Dlug <paul@nerdlabs.com> writes:
> 
>  Paul> I'm attempting to setup a newserver on our company intranet to
>  Paul> use for internal discussions and general information. I setup
>  Paul> inn 2.2.2 from the ports collection in FreeBSD and created an
>  Paul> active file with the following entry:
> 
>  Paul> test 00000000000000000 00000000000000000 y
> 
> There's too many 0's there, you should normally use 10 (enough space to
> represent 2^32).
> 
> But more significantly, entries for 'junk' and 'control' are mandatory
> for all configurations - innd won't start if they're missing.
> 
>  Paul> Then I started the server, rc.news and innwatch are running but
>  Paul> innd is not, there's nothing in the log files.
> 
> check that your logging is enabled (in syslog.conf).
> 
> --
> Andrew.

-- 
Paul Dlug
Unix Systems Programmer
Web Architecture Consultant

Re: standalone server
#45136
Author: Paul Dlug
Date: Mon, 20 Mar 2000 00:00
28 lines
1780 bytes
I got logging to work and this is what I'm now getting:

SERVER cant dbzinit /usr/local/news/db/history No such file or directory

As suggested here's my active file:
test 0000000000 0000000000 y
control 0000000000 0000000000 y
control.cancel 0000000000 0000000000 y
junk 0000000000 0000000000 y
to 0000000000 0000000000 y

and an ls -l of the directory that it's all in:
total 3
-rw-r--r--  1 news  news  160 Mar 20 01:56 active
-rw-rw-r--  1 news  news    0 Mar 20 01:58 history
-rw-rw-r--  1 news  news   41 Mar 20 01:58 history.n.dir
-rw-rw-r--  1 news  news    0 Mar 20 01:58 history.n.hash
-rw-rw-r--  1 news  news    0 Mar 20 01:58 history.n.index
-rw-r--r--  1 news  news  254 Mar 20 01:58 newsgroups


I created the active and newsgroup files then ran 'makehistory -i' as
was in the INSTALL file. Any further help is greatly appreciated.


--Paul

Re: standalone server
#45137
Author: Ronald Hello
Date: Mon, 20 Mar 2000 00:00
19 lines
1444 bytes
In article <38D5A9E3.98258311@nerdlabs.com>,
	Paul Dlug <paul@nerdlabs.com> writes:
> I redid the active file with test, cotnrol and junk entries each with 10
> zeros, logging is enabled and still nothing. Any other suggestions on
> how to debug this? I have no information to work on at this point.
> 

Do you have a `to' group (active entry)? (only needed when you
have mergetogroups: true I think ...)

Ronald.

-- 
// Ronald Hello  (Ronald.Hello@cs.utwente.nl)
// University of Twente
// Department of Computer Science
// The Netherlands

Re: standalone server
#45152
Author: Paul Dlug
Date: Tue, 21 Mar 2000 00:00
31 lines
1858 bytes
Thanks that was the exact problem, it's all running perfectly now.
Thanks to everyone for their help.

Wolfgang Szoecs wrote:
> 
> In article <38D672B0.6F18AA27@nerdlabs.com>,
>         Paul Dlug <paul@nerdlabs.com> writes:
> 
> > -rw-rw-r--  1 news  news    0 Mar 20 01:58 history
> > -rw-rw-r--  1 news  news   41 Mar 20 01:58 history.n.dir
> > -rw-rw-r--  1 news  news    0 Mar 20 01:58 history.n.hash
> > -rw-rw-r--  1 news  news    0 Mar 20 01:58 history.n.index
> > -rw-r--r--  1 news  news  254 Mar 20 01:58 newsgroups
> >
> > I created the active and newsgroup files then ran 'makehistory -i' as
> > was in the INSTALL file. Any further help is greatly appreciated.
> 
> it's all correct till now :-)
> 
> just rename the files:
> 
> for a in *.n.*
> do
>         mv $a `echo $a|cut -d\. -f1,3`
> done
> 
> and start the server again. ;-)
> 
> wolfgang

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