Thread View: news.software.nntp
8 messages
8 total messages
Started by Marc Keineke
Tue, 15 Jul 2003 09:23
No logfiles!!!
Author: Marc Keineke
Date: Tue, 15 Jul 2003 09:23
Date: Tue, 15 Jul 2003 09:23
72 lines
3684 bytes
3684 bytes
Hello everybody,
I've set up a new inn 2.3.5 on Solaris 8. Now the Problem is I wanted to
look into the log files, because the inn does not work properly, but the
logfiles are empty.
/usr/local/news/log shows following:
-rw-r--r-- 1 news news 0 Jul 15 09:51 news.crit
-rw-r--r-- 1 news news 0 Jul 15 09:51 news.err
-rw-r--r-- 1 news news 0 Jul 15 09:51 news.notice
I've also edited the /etc/syslog.conf into this form
#ident "@(#)syslog.conf 1.5 98/12/14 SMI" /* SunOS 5.0 */
#
# Copyright (c) 1991-1998 by Sun Microsystems, Inc.
# All rights reserved.
#
# syslog configuration file.
#
# This file is processed by m4 so be careful to quote (`') names
# that match m4 reserved words. Also, within ifdef's, arguments
# containing commas must be quoted.
#
*.err;kern.notice;auth.notice /dev/sysmsg
*.err;kern.debug;daemon.notice;mail.crit /var/adm/messages
*.alert;kern.err;daemon.err operator
*.alert root
*.emerg *
# if a non-loghost machine chooses to have authentication messages
# sent to the loghost machine, un-comment out the following line:
#auth.notice ifdef(`LOGHOST', /var/log/authlog, @loghost)
mail.debug ifdef(`LOGHOST', /var/log/syslog, @loghost)
#
# non-loghost machines will use the following lines to cause "user"
# log messages to be logged locally.
#
ifdef(`LOGHOST', ,
user.err /dev/sysmsg
user.err /var/adm/messages
user.alert `root, operator'
user.emerg *
)
#
# INN stuff
#
## Send critical messages to everyone who is logged in and to the console.
news.crit *
news.crit /dev/console
## Log news messages to separate files.
## Note that each level includes all of the above it.
## =()<news.crit @<_PATH_MOST_LOGS>@/news.crit>()=
news.crit /usr/local/news/log/news.crit
## =()<news.err @<_PATH_MOST_LOGS>@/news.err>()=
news.err /usr/local/news/log/news/news.err
## =()<news.notice @<_PATH_MOST_LOGS>@/news.notice>()=
news.notice /usr/local/news/log/news.notice/
Maybe anyone has an idea, about what's wrong.
kind regards
Marc
Re: No logfiles!!!
Author: Jeffrey M. Vinocur
Date: Tue, 15 Jul 2003 10:11
Date: Tue, 15 Jul 2003 10:11
13 lines
1384 bytes
1384 bytes
In article <3F13C805.3010309@fernuni-hagen.de>, Marc Keineke <Marc.Keineke@fernuni-hagen.de> wrote: > >I've set up a new inn 2.3.5 on Solaris 8. Now the Problem is I wanted to >look into the log files, because the inn does not work properly, but the >logfiles are empty. Did you HUP syslogd? -- Jeffrey M. Vinocur jeff@litech.org
Re: No logfiles!!!
Author: Marc Keineke
Date: Fri, 18 Jul 2003 08:40
Date: Fri, 18 Jul 2003 08:40
72 lines
3247 bytes
3247 bytes
Hi Jeffrey,
i've fixed the problem creating logfiles. I used the TAB-Key for the
white space. Now I've changed the storage.conf, because the server did
not get any newsgroups even I feeded them from the old server. I've
created a directory named overview and I've changed the storage.conf and
the cycbuff.conf to the following appearence.
Storage.conf
# options: FAQS
#}
method cnfs {
newsgroups: *
class: 1
options: SMALLAREA
}
#method cnfs
Cycbuff.conf
# 1. Cyclic buffers
# Format:
# "cycbuff" (literally) : symbolic buffer name : path to buffer file :
# length of symbolic buffer in kilobytes in decimal (1KB = 1024 bytes)
cycbuff:ONE:/usr/local/news/spool/cycbuffs/one:524288
#cycbuff:TWO:/export/cycbuffs/two:512000
#cycbuff:THREE:/export/cycbuffs/three:512000
# 2. Meta-cyclic buffers
# Format:
# "metacycbuff" (literally) : symbolic meta-cyclic buffer name :
# comma separated list of cyclic buffer symbolic names
#
# symbolic meta-cyclic buffer names are used in storage.conf in the
# options field
#metacycbuff:BIGAREA:ONE,TWO
metacycbuff:SMALLAREA:ONE
I did also
(a la dd if=/dev/zero of=/usr/local/news/spool/overview/one bs=512
count=524288)
and then i've got the following error messages:
Jul 18 09:41:20 testnews innd: [ID 327582 news.error] buffindexed: file
'/var/news/spool/overview/OV1' does not exist, ignoring '0'
Jul 18 09:41:20 testnews innd: [ID 545316 news.crit] SERVER cant open
overview method
what did I do wrong
Marc
Jeffrey M. Vinocur schrieb:
> In article <3F13C805.3010309@fernuni-hagen.de>,
> Marc Keineke <Marc.Keineke@fernuni-hagen.de> wrote:
>
>>I've set up a new inn 2.3.5 on Solaris 8. Now the Problem is I wanted to
>>look into the log files, because the inn does not work properly, but the
>>logfiles are empty.
>
>
> Did you HUP syslogd?
>
>
Re: No logfiles!!!
Author: Jeffrey M. Vinocur
Date: Fri, 18 Jul 2003 10:49
Date: Fri, 18 Jul 2003 10:49
19 lines
1872 bytes
1872 bytes
In article <3F17B28B.4040906@fernuni-hagen.de>, Marc Keineke <Marc.Keineke@fernuni-hagen.de> wrote: > >Jul 18 09:41:20 testnews innd: [ID 327582 news.error] buffindexed: file >'/var/news/spool/overview/OV1' does not exist, ignoring '0' Ok, I see why you're confused. You've chosen two separate things (CNFS storage method, and buffindexed overview method) that require creating fixed-sized buffers with dd. But the commands you showed intermingled the configurations for these buffers -- the file(s) you need to create in $pathoverview are the ones described in buffindexed.conf, *not* the ones described in cycbuff.conf. -- Jeffrey M. Vinocur jeff@litech.org
Re: No logfiles!!!
Author: Marc Keineke
Date: Mon, 21 Jul 2003 06:56
Date: Mon, 21 Jul 2003 06:56
32 lines
2537 bytes
2537 bytes
So I finally fixed this problem too. Jeffrey M. Vinocur schrieb: > In article <3F17B28B.4040906@fernuni-hagen.de>, > Marc Keineke <Marc.Keineke@fernuni-hagen.de> wrote: > >>Jul 18 09:41:20 testnews innd: [ID 327582 news.error] buffindexed: file >>'/var/news/spool/overview/OV1' does not exist, ignoring '0' > > > Ok, I see why you're confused. > > You've chosen two separate things (CNFS storage method, and > buffindexed overview method) that require creating fixed-sized > buffers with dd. But the commands you showed intermingled the > configurations for these buffers -- the file(s) you need to > create in $pathoverview are the ones described in > buffindexed.conf, *not* the ones described in cycbuff.conf. > I've chosen timecaf for storagemethod and rebuild the other conf files. But now I've the same Problem again, which I've had earlier. When I take OE to lot into the NG, it only says > An unknown response was recieved in response to a request for information from the news server โtestnews.fernuni-hagen.deโ. > > 502 Could not get your access name. Goodbye where do I have to search the solution for this Problem.
Re: No logfiles!!!
Author: Jeffrey M. Vinocur
Date: Mon, 21 Jul 2003 11:07
Date: Mon, 21 Jul 2003 11:07
16 lines
1684 bytes
1684 bytes
In article <3F1B8EA9.6070707@fernuni-hagen.de>, Marc Keineke <Marc.Keineke@fernuni-hagen.de> wrote: > >> 502 Could not get your access name. Goodbye > >where do I have to search the solution for this Problem. I forget exactly what this means, but probably something is wrong with your readers.conf -- can we see the uncommented portion? (You may find it helpful to enable news.debug logging in syslog.) -- Jeffrey M. Vinocur jeff@litech.org
Re: No logfiles!!!
Author: Marc Keineke
Date: Tue, 22 Jul 2003 06:28
Date: Tue, 22 Jul 2003 06:28
197 lines
4817 bytes
4817 bytes
Jeffrey M. Vinocur schrieb:
> In article <3F1B8EA9.6070707@fernuni-hagen.de>,
> Marc Keineke <Marc.Keineke@fernuni-hagen.de> wrote:
>
>>>502 Could not get your access name. Goodbye
>>
>>where do I have to search the solution for this Problem.
>
>
> I forget exactly what this means, but probably something is wrong
> with your readers.conf -- can we see the uncommented portion?
Sure, I've used your script - you remember - to convert the nnrp.acces
into readers.conf. And this is the result:
auth "*" {
hosts: "*"
key: "line31"
}
access "*" {
key: "line31"
newsgroups: "feu.*"
access: "READ POST"
}
auth "stdin" {
hosts: "stdin"
key: "line35"
}
access "stdin" {
key: "line35"
newsgroups: "*"
access: "Read Post"
}
auth "localhost" {
hosts: "localhost"
key: "line36"
}
access "localhost" {
key: "line36"
newsgroups: "*"
access: "Read Post"
}
auth "127.0.0.1" {
hosts: "127.0.0.1"
key: "line37"
}
access "127.0.0.1" {
key: "line37"
newsgroups: "*"
access: "Read Post"
}
auth "132.176.*" {
hosts: "132.176.*"
key: "line41"
}
access "132.176.*" {
key: "line41"
newsgroups: "*"
access: "READ POST"
}
auth "132.176.114.150" {
hosts: "132.176.114.150"
key: "line45"
}
access "132.176.114.150" {
key: "line45"
newsgroups: "feu.*"
access: "READ POST"
}
auth "*.gelsen-net.de" {
hosts: "*.gelsen-net.de"
key: "line49"
}
access "*.gelsen-net.de" {
key: "line49"
newsgroups: "feu.*"
access: "READ"
}
auth "*.pi.net" {
hosts: "*.pi.net"
key: "line50"
}
access "*.pi.net" {
key: "line50"
newsgroups: "feu.*"
access: "READ"
}
auth "*.wxs.nl" {
hosts: "*.wxs.nl"
key: "line51"
}
access "*.wxs.nl" {
key: "line51"
newsgroups: "feu.*"
access: "READ"
}
auth "*.onet.pl" {
hosts: "*.onet.pl"
key: "line52"
}
access "*.onet.pl" {
key: "line52"
newsgroups: "feu.*"
access: "READ"
}
auth "*.splitrock.net" {
hosts: "*.splitrock.net"
key: "line53"
}
access "*.splitrock.net" {
key: "line53"
newsgroups: "feu.*"
access: "READ"
}
auth "*.passagen.se" {
hosts: "*.passagen.se"
key: "line54"
}
access "*.passagen.se" {
key: "line54"
newsgroups: "feu.*"
access: "READ"
}
auth "*.warszawa.tpnet.pl" {
hosts: "*.warszawa.tpnet.pl"
key: "line55"
}
access "*.warszawa.tpnet.pl" {
key: "line55"
newsgroups: "feu.*"
access: "READ"
}
auth "*.biysk.ru" {
hosts: "*.biysk.ru"
key: "line56"
}
access "*.biysk.ru" {
key: "line56"
newsgroups: "feu.*"
access: "READ"
}
auth "206.151.*" {
hosts: "206.151.*"
key: "line57"
}
access "206.151.*" {
key: "line57"
newsgroups: "feu.*"
access: "READ"
}
auth "163.121.151.29" {
hosts: "163.121.151.29"
key: "line58"
}
access "163.121.151.29" {
key: "line58"
newsgroups: "feu.*"
access: "READ"
}
auth "62.156.*" {
hosts: "62.156.*"
key: "line59"
}
access "62.156.*" {
key: "line59"
newsgroups: "feu.*"
access: "READ"
}
> (You may find it helpful to enable news.debug logging in syslog.)
How do I enable news.debug, the same way i enabled news.err and the
other log-files?
Marc
Re: No logfiles!!!
Author: Jeffrey M. Vinocur
Date: Tue, 22 Jul 2003 11:15
Date: Tue, 22 Jul 2003 11:15
38 lines
2191 bytes
2191 bytes
In article <3F1CD975.3050606@fernuni-hagen.de>,
Marc Keineke <Marc.Keineke@fernuni-hagen.de> wrote:
>Jeffrey M. Vinocur schrieb:
>>
>> I forget exactly what this means, but probably something is wrong
>> with your readers.conf -- can we see the uncommented portion?
>
>Sure, I've used your script - you remember - to convert the nnrp.acces
>into readers.conf. And this is the result:
>
>auth "*" {
> hosts: "*"
> key: "line31"
>}
>access "*" {
> key: "line31"
> newsgroups: "feu.*"
> access: "READ POST"
>}
Ah ha! My fault, kinda.
In readers.conf, access: lines can only have the single-letter
parameters ("R", "RP", etc), not the "READ POST" stuff. Try
changing those and see if it helps.
>> (You may find it helpful to enable news.debug logging in syslog.)
>
>How do I enable news.debug, the same way i enabled news.err and the
>other log-files?
Yup.
--
Jeffrey M. Vinocur
jeff@litech.org
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