🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
15 messages
15 total messages Started by zeffer Fri, 22 Apr 2011 17:36
inn2 setup on debian
#83986
Author: zeffer
Date: Fri, 22 Apr 2011 17:36
30 lines
2343 bytes
I have installed inn2 with the apt-get command in debian squeeze

I have configured as best I can

I am getting the following errors but I thought that when installing
inn2 all the neccessary files/directories are created if the directory
needs to be created please tell me how as the only directory as news
user is /var/spool/news
please may I have some feedback

news.err

Apr 22 09:33:09 selfless innd: innfeed! exit 1 elapsed 0 pid 2117
Apr 22 09:33:09 selfless innd: SERVER cant exec in /usr/local/news/bin/
innfeed No such file or directory
Apr 22 09:33:09 selfless innd: innfeed! exit 1 elapsed 0 pid 2118
Apr 22 09:33:09 selfless innd: SERVER cant exec in /usr/local/news/bin/
innfeed No such file or directory

news notice

Apr 22 09:33:04 selfless innd: innfeed!:22:proc:1537 closed
Apr 22 09:33:04 selfless innd: innfeed! spawned innfeed!:22:proc:1538
Apr 22 09:33:04 selfless innd: innfeed! restarted
Apr 22 09:33:04 selfless innd: SERVER cant exec in /usr/local/news/bin/
innfeed No such file or directory



martin
Re: inn2 setup on debian
#83989
Author: Bozweb
Date: Fri, 22 Apr 2011 19:39
35 lines
2306 bytes
On Fri, 22 Apr 2011 10:36:52 -0700 (PDT), zeffer <xmartin108@gmail.com>
wrote:

>I have installed inn2 with the apt-get command in debian squeeze
>
>I have configured as best I can
>
>I am getting the following errors but I thought that when installing
>inn2 all the neccessary files/directories are created if the directory
>needs to be created please tell me how as the only directory as news
>user is /var/spool/news
>please may I have some feedback
>
>news.err
>
>Apr 22 09:33:09 selfless innd: innfeed! exit 1 elapsed 0 pid 2117
>Apr 22 09:33:09 selfless innd: SERVER cant exec in /usr/local/news/bin/
>innfeed No such file or directory
>Apr 22 09:33:09 selfless innd: innfeed! exit 1 elapsed 0 pid 2118
>Apr 22 09:33:09 selfless innd: SERVER cant exec in /usr/local/news/bin/
>innfeed No such file or directory
>
>news notice
>
>Apr 22 09:33:04 selfless innd: innfeed!:22:proc:1537 closed
>Apr 22 09:33:04 selfless innd: innfeed! spawned innfeed!:22:proc:1538
>Apr 22 09:33:04 selfless innd: innfeed! restarted
>Apr 22 09:33:04 selfless innd: SERVER cant exec in /usr/local/news/bin/
>innfeed No such file or directory
>
>
>
>martin

What is the result of  /usr/local/news/bin/inncheck?
Re: inn2 setup on debian
#83987
Author: Ray Banana
Date: Fri, 22 Apr 2011 19:52
43 lines
3176 bytes
Thus spake Bozweb <Bozweb@bozweb.net>
 
> On Fri, 22 Apr 2011 10:36:52 -0700 (PDT), zeffer <xmartin108@gmail.com>
> wrote:

>>I have installed inn2 with the apt-get command in debian squeeze
>>I have configured as best I can
[...]
>>Apr 22 09:33:09 selfless innd: SERVER cant exec in /usr/local/news/bin/
>>innfeed No such file or directory
>>Apr 22 09:33:09 selfless innd: innfeed! exit 1 elapsed 0 pid 2118
>>Apr 22 09:33:09 selfless innd: SERVER cant exec in /usr/local/news/bin/
>>innfeed No such file or directory

> What is the result of  /usr/local/news/bin/inncheck?

Please note that the standard Debian inn2 package uses the following
paths (as per the default inn.conf file):

patharchive:            /var/spool/news/archive
patharticles:           /var/spool/news/articles
pathbin:                /usr/lib/news/bin
pathcontrol:            /usr/lib/news/bin/control
pathdb:                 /var/lib/news
pathetc:                /etc/news
pathfilter:             /etc/news/filter
pathhttp:               /var/www/inn
pathincoming:           /var/spool/news/incoming
pathlog:                /var/log/news
pathoutgoing:           /var/spool/news/outgoing
pathoverview:           /var/spool/news/overview
pathrun:                /var/run/news
pathspool:              /var/spool/news
pathtmp:                /var/spool/news/incoming/tmp

So, both innfeed and inncheck can most likely be found in
/usr/lib/news/bin/ rather than /usr/local/news/bin/.

hth

-- 
Time flies like an arrow, fruit flies like a Banana.
http://www.eternal-september.org
Re: inn2 setup on debian
#83988
Author: zeffer
Date: Fri, 22 Apr 2011 20:32
51 lines
2667 bytes
su: /usr/local/news/bin/inncheck: No such file or directory

it should read

/usr/lib/news/bin/inncheck

the output is below

Thanks to bozweb and Ray Banana for your posts


/etc/news/incoming.conf:0: in group news, should be root


-rw-r-----  1 root news   6160 Apr 22 17:02 incoming.conf

how do i change this please?




/etc/news/newsfeeds:48: multiple slashes in exclusions for `/
bozweb.bozweb.net
/bozweb.bozweb.net\

this is an example it does not say bozweb its the news server address
is my news server
/bozweb.bozweb.net/bozweb.bozweb.net\
:*,!control,!junk\
:Tf,Wnm:boxweb.bozweb.net

I am using bozweb as an example- it shouls be my server should it not?

maybe obey one slash?
  '
Use of uninitialized value $defsub in string ne at /usr/lib/news/bin/
inncheck line 453, <IN> line 50.
Use of uninitialized value $defsub in string ne at /usr/lib/news/bin/
inncheck line 453, <IN> line 57.
Use of uninitialized value $defsub in string ne at /usr/lib/news/bin/
inncheck line 453, <IN> line 72.

i assume these are lines in the newsfeeds file which i have now
changed to

# innfeed funnel master.
innfeed!\
:!*\
:Tc,Wnm*:/usr/lib/news/bin/innfeed -y
Re: inn2 setup on debian
#83991
Author: zeffer
Date: Fri, 22 Apr 2011 20:53
28 lines
2295 bytes
this is the news.crit message now

Apr 22 20:37:32 selfless innd: bad_newsfeeds. Must have exactly one ME
entry
Apr 22 20:37:33 selfless innd: SERVER syntax_error /etc/news/newsfeeds

the entry i have is this

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

its now this


# Empty default subscription list, reject all incoming articles
(including
# locally posted articles) with a distribution of "local" or
# "collabra-internal", accept all others.
#ME:!*/!local,!collabra-internal::

# The same as the above, but would reject all posts that have
# news.example.com in the path (posts passing through that site).
/bozweb.netbozweb.net/bozweb.net/bozweb.net\
:*,!control,!junk\
:Tf,Wnm:bozweb.bozweb.net

again its my news server bozweb is the example

Re: inn2 setup on debian
#83990
Author: yamo'
Date: Fri, 22 Apr 2011 21:44
27 lines
2287 bytes
Hi,

zeffer a tapoté, le 22/04/2011 22:53:
> # The same as the above, but would reject all posts that have
> # news.example.com in the path (posts passing through that site).
> /bozweb.netbozweb.net/bozweb.net/bozweb.net\

this should be :

bozweb.netbozweb.net/bozweb.net\


and ME :


##  The ME feed entry is special magic.
##  For the ME line (and the ME line *only*), patterns affect *outgoing*
ME:!*/!local,!collabra-internal::

-- 
Stéphane

<http://pasdenom.info/fortune/>

Le plus âne des trois n'est pas celui qu'on pense.
	-+- Jean de La fontaine,
	    Le Meunier, son Fils et l'Âne (Fables III.1) -+-
Re: inn2 setup on debian
#83993
Author: yamo'
Date: Fri, 22 Apr 2011 21:46
28 lines
2401 bytes
Hi,

zeffer a tapoté, le 22/04/2011 22:53:
> # The same as the above, but would reject all posts that have
> # news.example.com in the path (posts passing through that site).
> /bozweb.netbozweb.net/bozweb.net/bozweb.net\

this should be :

bozweb.net/bozweb.net\


and ME :


##  The ME feed entry is special magic.
##  For the ME line (and the ME line *only*), patterns affect *outgoing*
ME:!*/!local,!collabra-internal::

-- 
Stéphane

Sorry testing supersedes on Seamonkey...
<http://pasdenom.info/fortune/>

Le plus âne des trois n'est pas celui qu'on pense.
	-+- Jean de La fontaine,
	    Le Meunier, son Fils et l'Âne (Fables III.1) -+-
Re: inn2 setup on debian
#83992
Author: zeffer
Date: Sat, 23 Apr 2011 06:15
38 lines
2173 bytes
thanks to all posters

I just want to get a few points clear in newsfeeds  and other files
please

should the line three entries be


----

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


---

my.server.net/my.server.net\ <-------or should this be the server I am
peering from?
:*,!control,!junk\
:Tf,Wnm:my.server.net

-----

# innfeed funnel master.
innfeed!\
:!*\
:Tc,Wnm*:/usr/lib/news/bin/innfeed -y


In the incoming.cong


peer peername {
hostname: newsout.at.some.peer


manythanks

martin
Re: inn2 setup on debian
#83994
Author: zeffer
Date: Sat, 23 Apr 2011 12:35
63 lines
4051 bytes
I have a peer in place why is the server not posting to peer?









Apr 23 12:00:59 selfless innd: SERVER descriptors 1024
Apr 23 12:00:59 selfless innd: SERVER outgoing 1011
Apr 23 12:00:59 selfless innd: SERVER ccsetup control:12
Apr 23 12:00:59 selfless innd: SERVER lcsetup localconn:14
Apr 23 12:00:59 selfless innd: SERVER rcsetup remconn:15
Apr 23 12:00:59 selfless innd: SERVER rcsetup remconn:17
Apr 23 12:01:00 selfless innd: selfless.tophat.at opened
selfless.tophat.at:20:file
Apr 23 12:01:00 selfless innd: controlchan! spawned controlchan!:
22:proc:1453
Apr 23 12:01:00 selfless innd: innfeed! spawned innfeed!:23:proc:1454
Apr 23 12:01:00 selfless innfeed[1454]: ME starting at Sat Apr 23
12:01:00 2011  (INN 2.5.2)
Apr 23 12:01:00 selfless innfeed[1454]: loading /etc/news/innfeed.conf
Apr 23 12:01:00 selfless innd: SERVER perl filtering enabled
Apr 23 12:01:00 selfless innd: SERVER starting
Apr 23 12:01:02 selfless controlchan[1453]: starting
Apr 23 12:02:01 selfless innd: ctlinnd command s
Apr 23 12:02:01 selfless innd: ctlinnd command s
Apr 23 12:10:01 selfless innd: localhost connected 21
Apr 23 12:10:01 selfless innd: localhost:21 checkpoint seconds 0
accepted 0 refused 0 rejected 0 duplicate 0 accepted size 0 duplicate
size 0 rejected size 0
Apr 23 12:10:01 selfless innd: localhost:21 closed seconds 0 accepted
0 refused 0 rejected 0 duplicate 0 accepted size 0 duplicate size 0
rejected size 0
Apr 23 12:12:02 selfless innd: ctlinnd command s
Apr 23 12:15:23 selfless nnrpd[2082]: matrix.darkstorm.co.uk
(92.243.25.93) connect - port 119
Apr 23 12:15:23 selfless nnrpd[2082]: matrix.darkstorm.co.uk post
failed No valid newsgroups in "alt.test.test"
Apr 23 12:15:23 selfless nnrpd[2082]: matrix.darkstorm.co.uk posts
received 0 rejected 1
Apr 23 12:15:23 selfless nnrpd[2082]: matrix.darkstorm.co.uk times
user 0.000 system 0.000 idle 0.000 elapsed 0.420
Apr 23 12:15:23 selfless nnrpd[2083]: matrix.darkstorm.co.uk
(92.243.25.93) connect - port 119
Apr 23 12:15:23 selfless nnrpd[2083]: matrix.darkstorm.co.uk times
user 0.000 system 0.000 idle 0.000 elapsed 0.034



and why does

/usr/lib/news/bin/inncheck
/etc/news/incoming.conf:0: in group news, should be root?


-rw-r-----  1 root news   6160 Apr 22 17:02 incoming.conf



Re: inn2 setup on debian
#83996
Author: Alexander Bartolich
Date: Sat, 23 Apr 2011 14:08
15 lines
2114 bytes
zeffer wrote:
> I have a peer in place why is the server not posting to peer?

a) problems in innfeed.conf
b) problems in newsfeeds
c) there are no posts to forward to

> [...]
> Apr 23 12:15:23 selfless nnrpd[2082]: matrix.darkstorm.co.uk post
> failed No valid newsgroups in "alt.test.test"

It seems that you forgot to create groups.

-- 
host -t mx moderators.isc.org
Re: inn2 setup on debian
#83998
Author: newsmasterATerjeDOTnet
Date: Sat, 23 Apr 2011 18:16
10 lines
1312 bytes
Hi,

> I have installed inn2 with the apt-get command in debian squeeze

Reviewing this thread, may I suggest you to read
http://www.eyrie.org/~eagle/software/inn/docs-2.5/install.html
?

Regards,
Robert
Re: inn2 setup on debian
#84003
Author: zeffer
Date: Sun, 24 Apr 2011 14:53
58 lines
3076 bytes
thankyou robert.




here are  the 4 entries  in my newsfeeds file entry:




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


controlchan!\
        :!*,control,control.*,!control.cancel\
        :AC,Tc,Wnsm:/usr/lib/news/bin/controlchan



# innfeed funnel master.
innfeed!\
:!*\
:Tc,Wnm*:/usr/lib/news/bin/innfeed -y


newsin.alt.net/news.alt.net\
:*,!junk,!control*,!
local.*,@*.bina*,@*.bainar*,@* .pictures*,@*.dateien.*,\
!alt.dvd*,!unidata.*,!free.*,!a.*\
:Tm,<65536:innfeed!


root@selfless:~# /usr/lib/news/bin/inncheck
/etc/news/incoming.conf:0: in group news, should be root
/etc/news/newsfeeds:93: starts with whitespace
/etc/news/newsfeeds:93: ends with whitespace
/etc/news/newsfeeds:93: malformed line.

Apr 24 05:46:38 selfless innd: SERVER descriptors 1024
Apr 24 05:46:38 selfless innd: SERVER outgoing 1011
Apr 24 05:46:38 selfless innd: SERVER ccsetup control:12
Apr 24 05:46:38 selfless innd: SERVER lcsetup localconn:14
Apr 24 05:46:38 selfless innd: SERVER rcsetup remconn:15
Apr 24 05:46:38 selfless innd: SERVER rcsetup remconn:17
Apr 24 05:46:38 selfless innd: controlchan! spawned controlchan!:
21:proc:16016
Apr 24 05:46:38 selfless innd: innfeed! spawned innfeed!:22:proc:16017
Apr 24 05:46:38 selfless innd: SERVER perl filtering enabled
Apr 24 05:46:38 selfless innfeed[16017]: ME starting at Sun Apr 24
05:46:38 2011  (INN 2.5.2)
Apr 24 05:46:38 selfless innd: SERVER starting
Apr 24 05:46:38 selfless innfeed[16017]: loading /etc/news/
innfeed.conf
Apr 24 05:46:38 selfless controlchan[16016]: starting
Apr 24 05:47:03 selfless innd: ctlinnd command s


Re: inn2 setup on debian
#84004
Author: Xavier Roche
Date: Sun, 24 Apr 2011 14:56
7 lines
1717 bytes
Le 24/04/2011 16:53, zeffer a écrit :
> controlchan!\
>         :!*,control,control.*,!control.cancel\
 ^^^^^^^^^^
Are this a single tab ?

As far as I remember, using spaces here will not work.
Re: inn2 setup on debian
#84005
Author: yamo'
Date: Sun, 24 Apr 2011 16:24
47 lines
2660 bytes
Hi,

zeffer a tapoté, le 24/04/2011 16:53:
> thankyou robert.
> 
> 
> 
> 
> here are  the 4 entries  in my newsfeeds file entry:



To simplify your problem  you can remove all \ and write on one line.



> newsin.alt.net/news.alt.net\
> :*,!junk,!control*,!
> local.*,@*.bina*,@*.bainar*,@* .pictures*,@*.dateien.*,\
> !alt.dvd*,!unidata.*,!free.*,!a.*\
> :Tm,<65536:innfeed!

for example :

$altnetNOBINARY=\*,!junk,!control*,!local.*,@*.bina*,@*.bainar*,@*.pictures*,@*.dateien.*,!alt.dvd*,!unidata.*,!free.*,!a.*

newsin.alt.net/news.alt.net:$altnetNOBINARY:Tm,<65536:innfeed!


the trouble is the two lines

:*,!junk,!control*,!
local.*,@*.bina*,@*.bainar*,@* .pictures*,@*.dateien.*,\

This sould be :

:*,!junk,!control*,\
!local.*,@*.bina*,@*.bainar*,@* .pictures*,@*.dateien.*,\

-- 
Stéphane

<http://pasdenom.info/fortune/>

Plus fait douceur que violence.
	-+- Jean de La Fontaine (1621-1695),
	    Phébus et Borée (Fables VI.3) -+-
Re: inn2 setup on debian
#84006
Author: Julien ÉLIE
Date: Mon, 25 Apr 2011 08:58
27 lines
2538 bytes
> and why does
>
> /usr/lib/news/bin/inncheck
> /etc/news/incoming.conf:0: in group news, should be root?
>
> -rw-r-----  1 root news   6160 Apr 22 17:02 incoming.conf

Debian Squeeze version is 2.5.2-2~squeeze1 whereas the latest version is 
2.5.2+20110413-1, which is known to have fixed this bug in the Debian 
package.

So please do NOT do anything with this file.  The current rights are 
correct.

 From the changelog:
  inn2 (2.5.2+20110413-1) unstable; urgency=low
    * New upstream snapshot. Fixes:
      + innshellvars overriding $HOME. (Closes: #584234)
    * Switched to libdb5.1. (Closes: #612591)
    * Properly use wget for FTP to fix buildinnkeyring. (Closes: #612677)
    * Fixed the incoming.conf permissions in inncheck.
    * Switched packaging to 3.0 (quilt).

-- 
Julien ÉLIE

« Et s'il n'en reste qu'un, je serai celui-là ! » (Victor Hugo)
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