Toon posts:

[newsserver] INN & Newsx --> Nieuwsgroepen niet zichtbaar

Pagina: 1
Acties:
  • 197 views sinds 30-01-2008
  • Reageer

Verwijderd

Topicstarter
Hallo allemaal,

Ik probeer al enkele weken een newsserver aan de praat te krijgen. De situatie is als volgt. Het is niet wenselijk (ivm met dataverkeer) dat iedereen in het pand rechtstreeks toegang heeft tot de newsserver van de profider. Daarom is dit ook middels de firewall geblokkeerd.

Omdat het vanuit vaktechnisch oogpunt toch wenselijk is om bepaalde newsgroepen te te raadplegen, heb ik ervoor gekozen om lokaal een newsserver op te zetten, met een newsfeeder welke uitsluitend bepaalde newsgroups van de isp download en lokaal beschikbaar maakt.

Echter zijn er enkele problemen. Na veel configuren en rechten instellen etc etc kunnen clients verbinden naar de newsserver. Echter op het moment dat deze over NNTP het LIST commando stuurd, krijgen zij geen newsgroepen terug.

Als newsserver maak ik gebruik van INN, en als newsfeeder van newsx. Voor de rest werkt alles in principe goed. Ik kan dus verbinden naar de server. Ik heb een jobje draaien die alle artikelen download van de newsserver van de isp. dus dat gebeurt allemaal. maar bij het verbinden met de client krijg ik dus geen newsgroepen te zien.

Dat er iets mis is zeker. Verder verschijnt er in /etc/inn.conf het volgende:
organization: "A poorly-installed InterNetNews site", maar dit heb ik er nooit in gezet
Ik ben er tot op heden nog niet uit wat het probleem is. iemand enig idee / tips?

Dit verschijnt in de logs:

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
 ################### Logwatch 7.3 (03/24/06) ####################
        Processing Initiated: Wed Sep  5 12:52:18 2007
        Date Range Processed: yesterday
                              ( 2007-Sep-04 )
                              Period is day.
      Detail Level of Output: 0
              Type of Output: unformatted
           Logfiles for Host: localhost.localdomain
  ##################################################################

 --------------------- Automount Begin ------------------------

 **Unmatched Entries**
 lookup_read_master: lookup(nisplus): couldn't locat nis+ table auto.master: 3 Time(s)

 ---------------------- Automount End -------------------------


 --------------------- pam_unix Begin ------------------------

 login:
    Authentication Failures:
       root (): 1 Time(s)

 runuser-l:
    Unknown Entries:
       session closed for user news: 6 Time(s)
       session opened for user news by root(uid=0): 6 Time(s)

 sshd:
    Authentication Failures:
       news (): 1 Time(s)


 ---------------------- pam_unix End -------------------------


 --------------------- Connections (secure-log) Begin ------------------------


 Failed logins:
    User root:
       (null): 1 Time(s)

 Root logins on tty's: 1 Time(s).

 **Unmatched Entries**
 runuser: pam_keyinit(runuser-l:session): Unable to change GID to 13 temporarily
 runuser: pam_keyinit(runuser-l:session): Unable to change GID to 13 temporarily
 runuser: pam_keyinit(runuser-l:session): Unable to change GID to 13 temporarily
 runuser: pam_keyinit(runuser-l:session): Unable to change GID to 13 temporarily
 runuser: pam_keyinit(runuser-l:session): Unable to change GID to 13 temporarily
 runuser: pam_keyinit(runuser-l:session): Unable to change GID to 13 temporarily

 ---------------------- Connections (secure-log) End -------------------------


 --------------------- sendmail Begin ------------------------



 **Unmatched Entries**
    warning: /etc/hosts.allow, line 10: missing ":" separator: 4 Time(s)
    warning: /etc/hosts.allow, line 8: missing ":" separator: 4 Time(s)
    warning: /etc/hosts.allow, line 6: missing ":" separator: 4 Time(s)
    warning: /etc/hosts.allow, line 9: missing ":" separator: 4 Time(s)
    warning: /etc/hosts.allow, line 7: missing ":" separator: 4 Time(s)
 ---------------------- sendmail End -------------------------


 --------------------- SSHD Begin ------------------------


 SSHD Killed: 1 Time(s)

 SSHD Started: 3 Time(s)

 Failed logins from:
    10.0.0.1: 2 times

 Users logging in through sshd:
    root:
       10.0.0.1: 3 times
       10.0.0.210: 1 time
       10.0.0.235: 1 time

 **Unmatched Entries**
 warning: /etc/hosts.allow, line 10: missing ":" separator : 6 time(s)
 warning: /etc/hosts.allow, line 8: missing ":" separator : 6 time(s)
 warning: /etc/hosts.allow, line 6: missing ":" separator : 6 time(s)
 warning: /etc/hosts.allow, line 9: missing ":" separator : 6 time(s)
 warning: /etc/hosts.allow, line 7: missing ":" separator : 6 time(s)

 ---------------------- SSHD End -------------------------


 --------------------- Disk Space Begin ------------------------

 Filesystem            Size  Used Avail Use% Mounted on
 /dev/mapper/VolGroup00-LogVol00
                       7.1G  2.6G  4.2G  38% /
 /dev/hda1              99M   11M   84M  12% /boot


 ---------------------- Disk Space End -------------------------


 ###################### Logwatch End #########################


/var/log/news
code:
1
2
overchan: overchan is running while innd is creating overview data (you can ignore this message if you are running makehistory -F)
overchan: timings 0 arts 0 of 396070 ms


/var/log/news/expire.log
code:
1
2
3
4
expireover: can't expire control.checkgroups
expireover: tradindexed: cannot open /var/spool/news/overview/c/n/control.newgroup.IDX: Permission denied
expireover: can't expire control.newgroup
expireover: tradindexed: cannot open /var/spool/news/overview/c/r/control.rmgroup.IDX: Permission denied


/var/log/news/news
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Sep  4 14:47:44.362 - news.xs4all.nl <46b87613@newsgroups.borland.com> 437 Too old -- "7 Aug 2007 06:39:31 -0700"
Sep  4 14:47:44.373 - news.xs4all.nl <46b87676@newsgroups.borland.com> 437 Too old -- "Tue, 7 Aug 2007 14:41:11 +0100"
Sep  4 14:47:44.385 - news.xs4all.nl <46b87721@newsgroups.borland.com> 437 Too old -- "7 Aug 2007 06:44:01 -0700"
Sep  4 14:47:44.396 - news.xs4all.nl <46b877fd$1@newsgroups.borland.com> 437 Too old -- "Tue, 07 Aug 2007 09:47:47 -0400"
Sep  4 14:47:44.420 - news.xs4all.nl <46b87a17$1@newsgroups.borland.com> 437 Too old -- "Tue, 7 Aug 2007 09:56:32 -0400"
Sep  4 14:55:44.086 + news.xs4all.nl <46de99db@newsgroups.borland.com> 1001
Sep  4 14:55:44.116 + news.xs4all.nl <46de99e0$1@newsgroups.borland.com> 1574
Sep  4 14:55:44.165 + news.xs4all.nl <46de9b06@newsgroups.borland.com> 983
Sep  4 14:55:44.171 + news.xs4all.nl <46de9b8b$1@newsgroups.borland.com> 1447
Sep  4 14:55:44.226 + news.xs4all.nl <46de9987@newsgroups.borland.com> 1244
Sep  4 14:55:44.228 + news.xs4all.nl <46de9bf2@newsgroups.borland.com> 1891
Sep  4 14:55:44.248 + news.xs4all.nl <46de9e90@newsgroups.borland.com> 991
Sep  4 14:55:44.283 + news.xs4all.nl <mn.29bf7d79217b185c.74069@remove.nul> 2209
Sep  4 14:55:44.306 + news.xs4all.nl <46de9f5f$1@newsgroups.borland.com> 1906
Sep  4 14:55:44.310 + news.xs4all.nl <46de9fcc$1@newsgroups.borland.com> 1432
Sep  4 14:55:44.329 + news.xs4all.nl <mn.29c57d79d3f55b05.74069@remove.nul> 5413
Sep  4 14:55:44.357 + news.xs4all.nl <46dea28a@newsgroups.borland.com> 1765


/var/log/news/news.crit Deze fout is volgens mij niet van belang, dit heeft te maken met IPv6
code:
1
Sep  4 15:01:02 localhost innd: SERVER cant listen RCreader Address already in use


/var/log/news/news.crit
code:
1
Sep  4 15:01:02 localhost innd: SERVER perl filter not defined


/var/log/news/news.notice
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Sep  4 14:56:05 localhost innd: news.xs4all.nl closed
Sep  4 14:56:05 localhost innd: controlchan! closed
Sep  4 14:56:05 localhost innd: overview closed
Sep  4 14:56:05 localhost innd: control:14 closed
Sep  4 14:56:05 localhost innd: localconn:16 closed
Sep  4 14:56:05 localhost innd: remconn:3 closed
Sep  4 14:56:06 localhost innd: SERVER shutdown received signal 15
Sep  4 14:56:15 localhost innd: SERVER descriptors 1024
Sep  4 14:56:15 localhost innd: SERVER outgoing 1011
Sep  4 14:56:15 localhost innd: SERVER ccsetup control:14
Sep  4 14:56:15 localhost innd: SERVER lcsetup localconn:16
Sep  4 14:56:15 localhost innd: SERVER rcsetup remconn:3
Sep  4 14:56:15 localhost innd: SERVER cant listen RCreader Address already in use
Sep  4 14:56:15 localhost innd: news.xs4all.nl opened news.xs4all.nl:18:file
Sep  4 14:56:15 localhost innd: controlchan! spawned controlchan!:20:proc:8496
Sep  4 14:56:15 localhost innd: overview spawned overview:21:proc:8497
Sep  4 14:56:16 localhost innd: SERVER perl filter not defined
Sep  4 14:56:16 localhost innd: SERVER starting
Sep  4 14:56:16 localhost controlchan[8496]: starting
Sep  4 14:57:41 localhost innd: news.xs4all.nl flush
Sep  4 14:57:41 localhost innd: news.xs4all.nl opened news.xs4all.nl:19:file
Sep  4 14:57:41 localhost innd: news.xs4all.nl closed
Sep  4 15:00:56 localhost innd: news.xs4all.nl closed
Sep  4 15:00:56 localhost innd: controlchan! closed
Sep  4 15:00:56 localhost innd: overview closed
Sep  4 15:00:56 localhost innd: control:14 closed
Sep  4 15:00:56 localhost innd: localconn:16 closed
Sep  4 15:00:56 localhost innd: remconn:3 closed
Sep  4 15:00:56 localhost innd: SERVER shutdown received signal 15
Sep  4 15:01:02 localhost innd: SERVER descriptors 1024
Sep  4 15:01:02 localhost innd: SERVER outgoing 1011
Sep  4 15:01:02 localhost innd: SERVER ccsetup control:14
Sep  4 15:01:02 localhost innd: SERVER lcsetup localconn:16
Sep  4 15:01:02 localhost innd: SERVER rcsetup remconn:3
Sep  4 15:01:02 localhost innd: SERVER cant listen RCreader Address already in use
Sep  4 15:01:02 localhost innd: news.xs4all.nl opened news.xs4all.nl:18:file
Sep  4 15:01:02 localhost innd: controlchan! spawned controlchan!:20:proc:8588
Sep  4 15:01:02 localhost innd: overview spawned overview:21:proc:8589
Sep  4 15:01:02 localhost innd: SERVER perl filter not defined
Sep  4 15:01:02 localhost innd: SERVER starting
Sep  4 15:01:02 localhost controlchan[8588]: starting
Sep  4 15:01:20 localhost innd: news.xs4all.nl flush
Sep  4 15:01:20 localhost innd: news.xs4all.nl opened news.xs4all.nl:19:file
Sep  4 15:01:20 localhost innd: news.xs4all.nl closed
Sep  4 15:01:35 localhost innd: localhost connected 18
Sep  4 15:01:35 localhost innd: localhost:18 closed seconds 0 accepted 0 refused 0 rejected 0 duplicate 0 accepted size 0 duplicate size 0
Sep  4 15:03:34 localhost innd: 10.0.0.1 connected 18 streaming allowed
Sep  4 15:03:34 localhost innd: 10.0.0.1:18 closed seconds 0 accepted 0 refused 0 rejected 0 duplicate 0 accepted size 0 duplicate size 0
Sep  4 15:03:34 localhost nnrpd[8600]:  (10.0.0.1) connect
Sep  4 15:07:08 localhost innd: SERVER throttled shutting down
Sep  4 15:07:09 localhost nnrpd[8396]:  times user 0.000 system 0.208 idle 0.000 elapsed 1106.593
Sep  4 15:07:09 localhost nnrpd[8600]:  times user 0.004 system 0.092 idle 0.000 elapsed 215.020
Sep  4 15:07:38 localhost innd: SERVER shutdown shutting down
Sep  4 15:07:38 localhost innd: news.xs4all.nl closed
Sep  4 15:07:38 localhost innd: controlchan! closed
Sep  4 15:07:38 localhost innd: overview closed
Sep  4 15:07:38 localhost innd: control:14 closed
Sep  4 15:07:38 localhost innd: localconn:16 closed
Sep  4 15:07:38 localhost innd: remconn:3 closed
Sep  4 15:07:38 localhost innd: SERVER shutdown shutting down

  • Equator
  • Registratie: April 2001
  • Laatst online: 09-02 07:08

Equator

Crew Council

#whisky #barista

Verder verschijnt er in /etc/inn.conf het volgende:
organization: "A poorly-installed InterNetNews site", maar dit heb ik er nooit in gezet
Dat is een geintje van de maker.. Je moet deze gewoon aanpassen naar je eigen wensen.

Ik ken het product verder niet, maar hier zou ik eens naar kijken:
expireover: tradindexed: cannot open /var/spool/news/overview/c/n/control.newgroup.IDX: Permission denied

Verwijderd

Topicstarter
Equator schreef op donderdag 06 september 2007 @ 13:55:
[...]

Dat is een geintje van de maker.. Je moet deze gewoon aanpassen naar je eigen wensen.

Ik ken het product verder niet, maar hier zou ik eens naar kijken:

[...]
oh oke... dat geintje is duidelijk dan.

Maar dat met die permissies heb ik me een slag in de ronte over gezocht.. maar kan er weinig over vinden. wel heb ik voor de zekeheid de rechten op de betreffende bestanden aangepast
chown news *
chgrp news *
cmod 664 *

  • Punica-
  • Registratie: September 2003
  • Laatst online: 27-11-2023
Verwijderd schreef op donderdag 06 september 2007 @ 14:10:
[...]

oh oke... dat geintje is duidelijk dan.

Maar dat met die permissies heb ik me een slag in de ronte over gezocht.. maar kan er weinig over vinden. wel heb ik voor de zekeheid de rechten op de betreffende bestanden aangepast
chown news *
chgrp news *
cmod 664 *
Ik zou INN niet gebruiken, het is een hell om te configgen en er is weinig goede documentatie te vinden.

Verder ben je aan het expiren en feeden tegelijk, dat kan niet, als je machien aan het expiren is word je history file gelocked en kan je feed niet aangevult worden.

Wat ik je persoonlijk aanraad is om diablo te proberen, is veel makkelijker en beter gedocumenteerd:

http://www.openusenet.org/

Dit gebruiken veel professionele USP's ook.