🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
93 messages
93 total messages Page 1 of 2 Started by kjell Mon, 28 Jan 2008 11:10
Page 1 of 2 • 93 total messages
Newbie: INN2
#78597
Author: kjell
Date: Mon, 28 Jan 2008 11:10
26 lines
1537 bytes
I am newbie running an Intel w Ubuntu 7.10

First, I install INN2 on my local machine (I had been running DNEWS,
but needed other functionality. Installing from Synaptic!
Look great, except this: E: inn2: underprocess post-installation script  
gav felkod 1!

Then I execute rc.news,

root@ubuntu:/usr/lib/news/bin# ./rc.news
Starting innd.
inndstart: must be run by user news (9), not 0
Scheduled start of /usr/lib/news/bin/innwatch.


root@ubuntu:/usr/lib/news/bin# sudo su news
$ ./inndstart
sh: ./inndstart: Permission denied

$ ls -l inndstart
-r-sr-x--- 1 root news 35220 2007-08-10 14:11 inndstart

WhatĹ› wrong?
-- 
kjell
Re: Newbie: INN2
#78598
Author: Ray Banana
Date: Mon, 28 Jan 2008 11:14
17 lines
1825 bytes
Thus spake kjell <hd@ipbo.se>
 
> I am newbie running an Intel w Ubuntu 7.10
> First, I install INN2 on my local machine (I had been running DNEWS,
> but needed other functionality. Installing from Synaptic!
> Look great, except this: E: inn2: underprocess post-installation
> script gav felkod 1!
> Then I execute rc.news,
        
As root, run /etc/init.d/inn2 start to start INN and
/etc/init.d/inn2 stop to shut it down.

hth

-- 
Too many ingredients in the soup, no room for a spoon.
http://news.motzarella.org
Re: Newbie: INN2
#78599
Author: kjell
Date: Mon, 28 Jan 2008 11:39
42 lines
2212 bytes
Den 2008-01-28 12:14:58 skrev Ray Banana <rayban@banana.shacknet.nu>:

> Thus spake kjell <hd@ipbo.se>
>
>> I am newbie running an Intel w Ubuntu 7.10
>> First, I install INN2 on my local machine (I had been running DNEWS,
>> but needed other functionality. Installing from Synaptic!
>> Look great, except this: E: inn2: underprocess post-installation
>> script gav felkod 1!
>> Then I execute rc.news,
> As root, run /etc/init.d/inn2 start to start INN and
> /etc/init.d/inn2 stop to shut it down.
>
> hth
>

Sorry server do not start:

root@ubuntu:~# /etc/init.d/inn2 start
Starting news server: done.

 from log rc.news i got this:

Starting innd.
eval: 1: /usr/lib/news/bin/inndstart: Permission denied
Scheduled start of /usr/lib/news/bin/innwatch.

when I execute this:

root@ubuntu:/usr/lib/news/bin# sudo su news
$ ./innd

I get this from syslog:

Jan 28 12:36:32 ubuntu innd: SERVER descriptors 1024
Jan 28 12:36:32 ubuntu innd: SERVER outgoing 1011
Jan 28 12:36:32 ubuntu innd: SERVER ccsetup control:12
Jan 28 12:36:32 ubuntu innd: SERVER lcsetup localconn:14
Jan 28 12:36:32 ubuntu innd: SERVER innd MUST be started with inndstart

-- 
Använder Operas banbrytande e-postklient: http://www.opera.com/mail/
Re: Newbie: INN2
#78600
Author: Jeffrey M. Vinocur
Date: Mon, 28 Jan 2008 12:39
23 lines
1506 bytes
In article <op.t5mzz9vb54ozbm@ubuntu>, kjell  <hd@ipbo.se> wrote:
>
>Look great, except this: E: inn2: underprocess post-installation script  
>gav felkod 1!

I have no idea what this means.  This must be specific to your
distribution.


>root@ubuntu:/usr/lib/news/bin# ./rc.news
>Starting innd.
>inndstart: must be run by user news (9), not 0

You were right to try using rc.news (not innd or inndstart directly).

Try:

    su - news -c bin/rc.news


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Newbie: INN2
#78601
Author: Klaus Alexander Seistrup
Date: Mon, 28 Jan 2008 13:15
16 lines
1660 bytes
Kjell skrev:

> root@ubuntu:~# /etc/init.d/inn2 start
> Starting news server: done.

Please show us the output of

#v+
	ps aux | grep ^news
#v-

Cheers,

-- 
Klaus Alexander Seistrup
http://klaus.seistrup.dk/
Re: Newbie: INN2
#78602
Author: Klaus Alexander Seistrup
Date: Mon, 28 Jan 2008 13:18
18 lines
1677 bytes
Kjell skrev:

> E: inn2: underprocess post-installation script  
> gav felkod 1!

That's an APT error showing that the installation didn't complete.

Perhaps you could try

#v+
	$ sudo apt-get --reinstall install inn2
#v-

Cheers,

-- 
Klaus Alexander Seistrup
http://klaus.seistrup.dk/
Re: Newbie: INN2
#78603
Author: Klaus Alexander Seistrup
Date: Mon, 28 Jan 2008 13:18
16 lines
1700 bytes
Kjell skrev:

> root@ubuntu:~# /etc/init.d/inn2 start
> Starting news server: done.

Please show us the output of

#v+
	$ ps aux | grep ^news
#v-

Cheers,

-- 
Klaus Alexander Seistrup
http://klaus.seistrup.dk/
Re: Newbie: INN2
#78604
Author: kjell
Date: Mon, 28 Jan 2008 17:18
69 lines
2936 bytes
Den 2008-01-28 17:55:27 skrev :

> Den 2008-01-28 17:40:53 skrev :
>
>> Den 2008-01-28 14:18:41 skrev Klaus Alexander Seistrup  
>> <klaus@seistrup.dk>:
>>
>>> Kjell skrev:
>>>
>>>> root@ubuntu:~# /etc/init.d/inn2 start
>>>> Starting news server: done.
>>>
>>> Please show us the output of
>>>
>>> #v+
>>> 	$ ps aux | grep ^news
>>> #v-
>>>
>>> Cheers,
>>>
>> I have changed my groups news in /etc/passw to
>> news:x:9:9:news:/var/spool/news:/bin/sh
>>
>> kjell@ubuntu:/usr/lib/news/bin$ ps aux | grep news
>> news      6689  0.0  0.7  11412  3812 ?        Ss   16:10   0:00  
>> /usr/lib/news/bin/innd -p 3,4
>> news      6690  0.0  0.1   1760   576 pts/0    S    16:10   0:00  
>> /bin/sh /usr/lib/news/bin/innwatch
>> news      6694  0.0  0.6   4908  3232 ?        SN   16:10   0:00  
>> /usr/bin/perl -w /usr/lib/news/bin/controlchan
>> news      8167  0.0  0.1   2896   616 pts/0    S    17:31   0:00 sleep  
>> 600
>> kjell     8174  0.0  0.1   2988   764 pts/0    R+   17:36   0:00 grep  
>> news
>>
>>
>>
>
> I looks better!
>
> My syslog:
>
> Jan 28 17:53:48 ubuntu innd: SERVER descriptors 1024
> Jan 28 17:53:48 ubuntu innd: SERVER outgoing 1011
> Jan 28 17:53:48 ubuntu innd: SERVER ccsetup control:14
> Jan 28 17:53:48 ubuntu innd: SERVER lcsetup localconn:16
> Jan 28 17:53:48 ubuntu innd: SERVER rcsetup remconn:3
> Jan 28 17:53:48 ubuntu innd: SERVER rcsetup remconn:4
> Jan 28 17:53:48 ubuntu innd: controlchan! spawned  
> controlchan!:19:proc:8574
> Jan 28 17:53:48 ubuntu innd: SERVER perl filtering enabled
> Jan 28 17:53:48 ubuntu innd: SERVER starting
> Jan 28 17:53:48 ubuntu controlchan[8574]: starting
> Jan 28 17:54:49 ubuntu innd: s
>
> But:
>
>
>

But I must start it "by hand"! Why?

I have this in /etc/init.d/bootmisc.sh
su - news -c /usr/lib/news/bin/rc.news



-- 
Använder Operas banbrytande e-postklient: http://www.opera.com/mail/
Re: Newbie: INN2
#78605
Author: Ray Banana
Date: Mon, 28 Jan 2008 17:37
23 lines
2058 bytes
Thus spake kjell <hd@ipbo.se>
 
> But I must start it "by hand"! Why?
> I have this in /etc/init.d/bootmisc.sh
> su - news -c /usr/lib/news/bin/rc.news

Have you done an apt-get install --reinstall inn2 and did it complete
without an error message? After a complete install there should be a
start script named /etc/init.d/inn2 and these symlinks:

/etc/rc0.d/K20inn2
/etc/rc1.d/K20inn2
/etc/rc2.d/S20inn2
/etc/rc3.d/S20inn2
/etc/rc4.d/S20inn2
/etc/rc5.d/S20inn2
/etc/rc6.d/K20inn2

Also, please check the output from "dpkg -l inn2".

-- 
Too many ingredients in the soup, no room for a spoon.
http://news.motzarella.org
Re: Newbie: INN2
#78606
Author: Klaus Alexander Seistrup
Date: Mon, 28 Jan 2008 22:09
16 lines
1919 bytes
Kjell skrev:

> But I must start it "by hand"! Why?
> 
> I have this in /etc/init.d/bootmisc.sh
> su - news -c /usr/lib/news/bin/rc.news

How come?  INN should be started and stopped by init scripts at each 
runlevel -- in your case probably by /etc/rc2.d/S20inn2 that invokes 
INN by executing '/etc/init.d/inn2 start' as root.

Cheers,

-- 
Klaus Alexander Seistrup
http://klaus.seistrup.dk/
Re: Newbie: INN2
#78607
Author: kjell
Date: Mon, 28 Jan 2008 23:01
34 lines
2076 bytes
Den 2008-01-28 12:14:58 skrev Ray Banana <rayban@banana.shacknet.nu>:

> Thus spake kjell <hd@ipbo.se>
>
>> I am newbie running an Intel w Ubuntu 7.10
>> First, I install INN2 on my local machine (I had been running DNEWS,
>> but needed other functionality. Installing from Synaptic!
>> Look great, except this: E: inn2: underprocess post-installation
>> script gav felkod 1!
>> Then I execute rc.news,
> As root, run /etc/init.d/inn2 start to start INN and
> /etc/init.d/inn2 stop to shut it down.
>
> hth
>

I have done new installation!
The same error!

kjell@ubuntu:~$ dpkg -l inn2
Desired=Unknown/Install/Remove/Purge/Hold
|  
Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:  
uppercase=bad)
||/ Namn           Version        Beskrivning
+++-==============-==============-============================================
iF  inn2           2.4.3+20070806 'InterNetNews' news server


There is start script /etc/init.d/inn2 but no symlinks!

-- 
Använder Operas banbrytande e-postklient: http://www.opera.com/mail/
Re: Newbie: INN2
#78608
Author: Klaus Alexander Seistrup
Date: Mon, 28 Jan 2008 23:58
21 lines
1882 bytes
Kjell skrev:

> iF  inn2           2.4.3+20070806 'InterNetNews' news server
   ^
The 'F' shows that the installation failed.  Try this sequence:

#v+
	$ sudo apt-get --purge remove inn2
	$ sudo apt-get clean
	$ sudo apt-get update
	$ sudo apt-get install inn2
#v-

If the post-installation script still fails, find out why and try 
to remedy the situation.

Cheers,

-- 
Klaus Alexander Seistrup
http://klaus.seistrup.dk/
Re: Newbie: INN2
#78609
Author: Thierry B.
Date: Tue, 29 Jan 2008 08:56
16 lines
1728 bytes
--{ Klaus Alexander Seistrup a plopé ceci: }--

>
> If the post-installation script still fails, find out why and try 
> to remedy the situation.
>
  I've got the same failure at postinstall on Ubuntu with inn2.
  If I remember, there was a problem with the hostname (or maybe
  domain, or reverse lookup ?). You van search in this area, and
  you can unpack the .deb, and eyegrep the postinstall script...

tTh.

-- 
"on se coné po bocou mé jte trouve super s1po é mimi surtou jte fé de
gro bisou é osi laché lui pli1 de piti com bizza tt lmonde"
Re: Newbie: INN2
#78610
Author: kjell
Date: Tue, 29 Jan 2008 14:54
49 lines
2721 bytes
mĂĄn 2008-01-28 klockan 23:58 +0000 skrev Klaus Alexander Seistrup:
> Kjell skrev:
> 
> > iF  inn2           2.4.3+20070806 'InterNetNews' news server
>    ^
> The 'F' shows that the installation failed.  Try this sequence:
> 
> #v+
> 	$ sudo apt-get --purge remove inn2
> 	$ sudo apt-get clean
> 	$ sudo apt-get update
> 	$ sudo apt-get install inn2
> #v-
> 
> If the post-installation script still fails, find out why and try 
> to remedy the situation.
> 
> Cheers,
> 

I did the post-installation and now it look like this:

kjell@ubuntu:~$ dpkg -l inn2
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Namn           Version        Beskrivning
+++-==============-==============-============================================
ii  inn2           2.4.3+20070806 'InterNetNews' news server


Startscript /etc/init.d/inn2    OK!
Symlinks: OK!

/etc/rc0.d/K20inn2
/etc/rc1.d/K20inn2
/etc/rc2.d/S20inn2
/etc/rc3.d/S20inn2
/etc/rc4.d/S20inn2
/etc/rc5.d/S20inn2
/etc/rc6.d/K20inn2

Re: Newbie: INN2
#78611
Author: Klaus Alexander Seistrup
Date: Tue, 29 Jan 2008 15:02
21 lines
1828 bytes
Kjell skrev:

> ii  inn2           2.4.3+20070806 'InterNetNews' news server
  ^^
Looks like you made it.

> Startscript /etc/init.d/inn2    OK!

Now, what happens when you execute

#v+
	$ sudo /etc/init.d/inn2 start
#v-

?

Cheers,

-- 
Klaus Alexander Seistrup
http://klaus.seistrup.dk/
Re: Newbie: INN2
#78613
Author: kjell
Date: Tue, 29 Jan 2008 16:15
65 lines
3617 bytes
tis 2008-01-29 klockan 15:02 +0000 skrev Klaus Alexander Seistrup:
> Kjell skrev:
> 
> > ii  inn2           2.4.3+20070806 'InterNetNews' news server
>   ^^
> Looks like you made it.
> 
> > Startscript /etc/init.d/inn2    OK!
> 
> Now, what happens when you execute
> 
> #v+
> 	$ sudo /etc/init.d/inn2 start
> #v-
> 
> ?
> 
> Cheers,
> 
First I must say that I have no connection to internet,
because I have another server running (DNews)

My syslog:
Jan 29 17:03:57 ubuntu innd: SERVER descriptors 1024
Jan 29 17:03:57 ubuntu innd: SERVER outgoing 1011
Jan 29 17:03:57 ubuntu innd: SERVER ccsetup control:14
Jan 29 17:03:57 ubuntu innd: SERVER lcsetup localconn:16
Jan 29 17:03:57 ubuntu innd: SERVER rcsetup remconn:3
Jan 29 17:03:57 ubuntu innd: SERVER rcsetup remconn:4
Jan 29 17:03:57 ubuntu innd: controlchan! spawned
controlchan!:19:proc:7356
Jan 29 17:03:57 ubuntu innd: SERVER perl filtering enabled
Jan 29 17:03:57 ubuntu innd: SERVER starting
Jan 29 17:03:57 ubuntu controlchan[7356]: starting 
Jan 29 17:04:58 ubuntu innd: s
Jan 29 17:05:01 ubuntu /USR/SBIN/CRON[7519]: (news) CMD (test
-f /usr/lib/news/maint/newswatch && /usr/lib/news/maint/newswatch 3000
300 100)
Jan 29 17:09:01 ubuntu /USR/SBIN/CRON[7542]: (root) CMD (
[ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin
+$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm)
Jan 29 17:10:01 ubuntu /USR/SBIN/CRON[7553]: (news) CMD
([ -x /usr/bin/rnews ] && rnews -U)
Jan 29 17:10:01 ubuntu innd: localhost connected 18
Jan 29 17:10:01 ubuntu innd: localhost:18 closed seconds 0 accepted 0
refused 0 rejected 0 duplicate 0 accepted size 0 duplicate size 0


kjell@ubuntu:~$ ps aux | grep news
news      7351  0.0  0.7  11412  3776 ?        Ss   17:03
0:00 /usr/lib/news/bin/innd -p 3,4
news      7353  0.0  0.1   1756   568 pts/0    S    17:03
0:00 /bin/sh /usr/lib/news/bin/innwatch
news      7356  0.0  0.6   4908  3228 ?        SN   17:03
0:00 /usr/bin/perl -w /usr/lib/news/bin/controlchan
news      7515  0.0  0.1   2900   620 pts/0    S    17:04   0:00 sleep
600
kjell     7551  0.0  0.1   2988   764 pts/0    R+   17:09   0:00 grep
news

My rc.news log:
Starting innd.
Scheduled start of /usr/lib/news/bin/innwatch.
Re: Newbie: INN2
#78614
Author: Klaus Alexander Seistrup
Date: Tue, 29 Jan 2008 20:59
22 lines
2310 bytes
Kjell skrev:

> My syslog:
> Jan 29 17:03:57 ubuntu innd: SERVER descriptors 1024
> Jan 29 17:03:57 ubuntu innd: SERVER outgoing 1011
> Jan 29 17:03:57 ubuntu innd: SERVER ccsetup control:14
> Jan 29 17:03:57 ubuntu innd: SERVER lcsetup localconn:16
> Jan 29 17:03:57 ubuntu innd: SERVER rcsetup remconn:3
> Jan 29 17:03:57 ubuntu innd: SERVER rcsetup remconn:4
> Jan 29 17:03:57 ubuntu innd: controlchan! spawned controlchan!:19:proc:7356
> Jan 29 17:03:57 ubuntu innd: SERVER perl filtering enabled
> Jan 29 17:03:57 ubuntu innd: SERVER starting
> Jan 29 17:03:57 ubuntu controlchan[7356]: starting 
> Jan 29 17:04:58 ubuntu innd: s

That looks ok, doesn't it?

Cheers,

-- 
Klaus Alexander Seistrup
http://klaus.seistrup.dk/
Re: Newbie: INN2
#78615
Author: kjell
Date: Tue, 29 Jan 2008 21:16
23 lines
2237 bytes
tis 2008-01-29 klockan 20:59 +0000 skrev Klaus Alexander Seistrup:
> Kjell skrev:
> 
> > My syslog:
> > Jan 29 17:03:57 ubuntu innd: SERVER descriptors 1024
> > Jan 29 17:03:57 ubuntu innd: SERVER outgoing 1011
> > Jan 29 17:03:57 ubuntu innd: SERVER ccsetup control:14
> > Jan 29 17:03:57 ubuntu innd: SERVER lcsetup localconn:16
> > Jan 29 17:03:57 ubuntu innd: SERVER rcsetup remconn:3
> > Jan 29 17:03:57 ubuntu innd: SERVER rcsetup remconn:4
> > Jan 29 17:03:57 ubuntu innd: controlchan! spawned controlchan!:19:proc:7356
> > Jan 29 17:03:57 ubuntu innd: SERVER perl filtering enabled
> > Jan 29 17:03:57 ubuntu innd: SERVER starting
> > Jan 29 17:03:57 ubuntu controlchan[7356]: starting 
> > Jan 29 17:04:58 ubuntu innd: s
> 
> That looks ok, doesn't it?
> 
> Cheers,
> 
I think so! Thanks!
Re: Newbie: INN2
#78655
Author: kjell
Date: Wed, 06 Feb 2008 09:27
55 lines
2763 bytes
tis 2008-01-29 klockan 20:59 +0000 skrev Klaus Alexander Seistrup:
> Kjell skrev:
> 
> > My syslog:
> > Jan 29 17:03:57 ubuntu innd: SERVER descriptors 1024
> > Jan 29 17:03:57 ubuntu innd: SERVER outgoing 1011
> > Jan 29 17:03:57 ubuntu innd: SERVER ccsetup control:14
> > Jan 29 17:03:57 ubuntu innd: SERVER lcsetup localconn:16
> > Jan 29 17:03:57 ubuntu innd: SERVER rcsetup remconn:3
> > Jan 29 17:03:57 ubuntu innd: SERVER rcsetup remconn:4
> > Jan 29 17:03:57 ubuntu innd: controlchan! spawned controlchan!:19:proc:7356
> > Jan 29 17:03:57 ubuntu innd: SERVER perl filtering enabled
> > Jan 29 17:03:57 ubuntu innd: SERVER starting
> > Jan 29 17:03:57 ubuntu controlchan[7356]: starting 
> > Jan 29 17:04:58 ubuntu innd: s
> 
> That looks ok, doesn't it?
> 
> Cheers,
> 

I have tested my server some times!
What to do about this?

kjell@ubuntu3:~$ telnet xxx.xxx.x.xxx 119
Trying xxx.xxx.x.xxx...
Connected to xxx.xxx.x.xxx.
Escape character is '^]'.
502 You have no permission to talk.  Goodbye.
Connection closed by foreign host.

My readers.conf look like this:

auth "localhost" {
    hosts: "localhost, 127.0.0.1, stdin"
    default: " "
}

# Grant that specific identity access to read and post to any newsgroup
# and allow it to post articles with Approved: headers to moderated
# groups.

access "all" {
    users: " " 
    newsgroups: "*"
    access: RPA
}






Re: Newbie: INN2
#78657
Author: Klaus Alexander Seistrup
Date: Wed, 06 Feb 2008 10:07
53 lines
2799 bytes
Kjell skrev:

> 502 You have no permission to talk.  Goodbye.
> Connection closed by foreign host.
>
> My readers.conf look like this:
>
> auth "localhost" {
>     hosts: "localhost, 127.0.0.1, stdin"
>     default: " "
> }
>
> # Grant that specific identity access to read and post to any
> # newsgroup and allow it to post articles with Approved: headers
> # to moderated groups.
>
> access "all" {
>     users: " " 
>     newsgroups: "*"
>     access: RPA
> }

You should have both an auth block and an access block for each group 
of users that you want to service.  The blocks for localhost could look 
like these:

#v+

auth "localhost" {
  hosts: "localhost, ip6-localhost, 127.0.0.1, ::1, stdin"
  default: "<localhost>"
}

access "localhost" {
  users: "<localhost>"
  newsgroups: "*"
  access: RPA
}

#v-

I will leave the configuration for the "all" group as an exercise for
your.

Did you read the manual page for readers.conf ("man readers.conf")?
It seems to me that you still have to discover that INN is very well
documented.

Cheers,

-- 
Klaus Alexander Seistrup
http://klaus.seistrup.dk/
Re: Newbie: INN2
#78665
Author: Kjell
Date: Thu, 07 Feb 2008 22:26
61 lines
2599 bytes
Den 2008-02-06 11:07:21 skrev Klaus Alexander Seistrup <klaus@seistrup.dk>:

> Kjell skrev:
>
>> 502 You have no permission to talk.  Goodbye.
>> Connection closed by foreign host.
>>
>> My readers.conf look like this:
>>
>> auth "localhost" {
>>     hosts: "localhost, 127.0.0.1, stdin"
>>     default: " "
>> }
>>
>> # Grant that specific identity access to read and post to any
>> # newsgroup and allow it to post articles with Approved: headers
>> # to moderated groups.
>>
>> access "all" {
>>     users: " "
>>     newsgroups: "*"
>>     access: RPA
>> }
>
> You should have both an auth block and an access block for each group
> of users that you want to service.  The blocks for localhost could look
> like these:
>
> #v+
>
> auth "localhost" {
>   hosts: "localhost, ip6-localhost, 127.0.0.1, ::1, stdin"
>   default: "<localhost>"
> }
>
> access "localhost" {
>   users: "<localhost>"
>   newsgroups: "*"
>   access: RPA
> }
>
> #v-
>
> I will leave the configuration for the "all" group as an exercise for
> your.

  :)

> Did you read the manual page for readers.conf ("man readers.conf")?
> It seems to me that you still have to discover that INN is very well
> documented.
>
> Cheers,

It? rather difficult to understand!
I leave it for some time.



-- 
Använder Operas banbrytande e-postklient: http://www.opera.com/mail/
Re: Newbie: INN2
#78671
Author: kjell
Date: Fri, 08 Feb 2008 10:51
41 lines
2199 bytes
ons 2008-02-06 klockan 10:07 +0000 skrev Klaus Alexander Seistrup:

> 
> I will leave the configuration for the "all" group as an exercise for
> your.
> 
> Did you read the manual page for readers.conf ("man readers.conf")?
> It seems to me that you still have to discover that INN is very well
> documented.
> 
> Cheers,
> 

Now my readers.conf look like this:

auth "localhost" {
   hosts: "localhost, ip6-localhost, 127.0.0.1, ::1, stdin"
   default: "<localhost>"
}

access "localhost" {
  users: "<localhost>"
  newsgroups: "*"
  access: RPA
}

auth "passwords" {
hosts: "*"
key: "pwd"
auth: "ckpasswd -f /usr/lib/news/bin/auth/passwd/.htpasswd"
}

access "passwords" {
key: "pwd"
newsgroups: "*,!control*,!junk"
access: RPA
}

I hope I have done my lesson? Or?
Re: Newbie: INN2
#78673
Author: HR
Date: Fri, 08 Feb 2008 11:33
60 lines
2536 bytes
kjell skrev:
> ons 2008-02-06 klockan 10:07 +0000 skrev Klaus Alexander Seistrup:
> 
>> I will leave the configuration for the "all" group as an exercise for
>> your.
>>
>> Did you read the manual page for readers.conf ("man readers.conf")?
>> It seems to me that you still have to discover that INN is very well
>> documented.
>>
>> Cheers,
>>
> 
> Now my readers.conf look like this:
> 
> auth "localhost" {
>    hosts: "localhost, ip6-localhost, 127.0.0.1, ::1, stdin"
>    default: "<localhost>"
> }
> 
> access "localhost" {
>   users: "<localhost>"
>   newsgroups: "*"
>   access: RPA
> }
> 
> auth "passwords" {
> hosts: "*"
> key: "pwd"
> auth: "ckpasswd -f /usr/lib/news/bin/auth/passwd/.htpasswd"
> }
> 
> access "passwords" {
> key: "pwd"
> newsgroups: "*,!control*,!junk"
> access: RPA
> }
> 
> I hope I have done my lesson? Or?
> 


I get the 502 cocka fucka message.
There is no way to enter username and password.



henry@usenet:~$ telnet just2write2.myftp.org 119
Trying 83.209.44.82...
Connected to just2write2.myftp.org.
Escape character is '^]'.
200 just2write2.myftp.org InterNetNews server INN 2.4.4 (20070806
snapshot) ready
post
502 Permission denied
quit
205 .
Connection closed by foreign host.
henry@usenet:~$
Re: Newbie: INN2
#78674
Author: Bozweb
Date: Fri, 08 Feb 2008 11:47
68 lines
2926 bytes
On Fri, 08 Feb 2008 11:51:12 +0100, kjell <hd@ipbo.se> wrote:

>
>ons 2008-02-06 klockan 10:07 +0000 skrev Klaus Alexander Seistrup:
>
>> 
>> I will leave the configuration for the "all" group as an exercise for
>> your.
>> 
>> Did you read the manual page for readers.conf ("man readers.conf")?
>> It seems to me that you still have to discover that INN is very well
>> documented.
>> 
>> Cheers,
>> 
>
>Now my readers.conf look like this:
>
>auth "localhost" {
>   hosts: "localhost, ip6-localhost, 127.0.0.1, ::1, stdin"
>   default: "<localhost>"
>}
>
>access "localhost" {
>  users: "<localhost>"
>  newsgroups: "*"
>  access: RPA

Remove A, is for Approved

>}
>
>auth "passwords" {
>hosts: "*"
>key: "pwd"
>auth: "ckpasswd -f /usr/lib/news/bin/auth/passwd/.htpasswd"
>}
>
>access "passwords" {
>key: "pwd"
>newsgroups: "*,!control*,!junk"
>access: RPA
>}
>
>I hope I have done my lesson? Or?

No, you have to make a file in ../etc, IE: nntpusers.
In readers.conf you type this: auth: "ckpasswd -f
/usr/local/news/etc/nntpusers"
and then: htpasswd nntpusers whatevername
and fillin the password twice.
The file nntpusers can whatever each name.

auth "whatever" {
        hosts: "*"
        auth: "ckpasswd -f /usr/local/news/etc/nntpusers"
}
access "ok" {
        users: "*"
        newsgroups: *,!junk,!control,!control.*
        access: RP
}
access "ok" {
        users: "me"
        newsgroups: *,!junk,!control,control.*
        access: RPA
}
Only i can approved messages.
Re: Newbie: INN2
#78676
Author: kjell
Date: Fri, 08 Feb 2008 13:52
92 lines
3789 bytes
fre 2008-02-08 klockan 12:47 +0100 skrev Bozweb:
> On Fri, 08 Feb 2008 11:51:12 +0100, kjell <hd@ipbo.se> wrote:
> 
> >
> >ons 2008-02-06 klockan 10:07 +0000 skrev Klaus Alexander Seistrup:
> >
> >> 
> >> I will leave the configuration for the "all" group as an exercise for
> >> your.
> >> 
> >> Did you read the manual page for readers.conf ("man readers.conf")?
> >> It seems to me that you still have to discover that INN is very well
> >> documented.
> >> 
> >> Cheers,
> >> 
> >
> >Now my readers.conf look like this:
> >
> >auth "localhost" {
> >   hosts: "localhost, ip6-localhost, 127.0.0.1, ::1, stdin"
> >   default: "<localhost>"
> >}
> >
> >access "localhost" {
> >  users: "<localhost>"
> >  newsgroups: "*"
> >  access: RPA
> 
> Remove A, is for Approved
> 
> >}
> >
> >auth "passwords" {
> >hosts: "*"
> >key: "pwd"
> >auth: "ckpasswd -f /usr/lib/news/bin/auth/passwd/.htpasswd"
> >}
> >
> >access "passwords" {
> >key: "pwd"
> >newsgroups: "*,!control*,!junk"
> >access: RPA
> >}
> >
> >I hope I have done my lesson? Or?
> 
> No, you have to make a file in ../etc, IE: nntpusers.
> In readers.conf you type this: auth: "ckpasswd -f
> /usr/local/news/etc/nntpusers"
> and then: htpasswd nntpusers whatevername
> and fillin the password twice.
> The file nntpusers can whatever each name.
> 
> auth "whatever" {
>         hosts: "*"
>         auth: "ckpasswd -f /usr/local/news/etc/nntpusers"
> }
> access "ok" {
>         users: "*"
>         newsgroups: *,!junk,!control,!control.*
>         access: RP
> }
> access "ok" {
>         users: "me"
>         newsgroups: *,!junk,!control,control.*
>         access: RPA
> }
> Only i can approved messages.

I have done this and it is ok for me to log in to my newsreader
with my username and password.
But it seems to me there is another problem:

henry@usenet:~$ telnet just2write2.myftp.org 119
Trying 83.209.44.82...
Connected to just2write2.myftp.org.
Escape character is '^]'.
200 just2write2.myftp.org InterNetNews server INN 2.4.4 (20070806
snapshot) ready
post
502 Permission denied
quit
205 .
Connection closed by foreign host.
henry@usenet:~$

He get the 502 cocka fucka message.
There is no way to enter username and password.

Re: Newbie: INN2
#78678
Author: HR
Date: Fri, 08 Feb 2008 14:40
16 lines
1926 bytes
kjell skrev:
> 
> He get the 502 cocka fucka message.

That was kind of joke in a.f.n "cocka fucka".
502 is permission denied.

> There is no way to enter username and password.

If you want to invite others to use your server, you should have correct
configuration and perhaps use a database (MYSQL?) if you plan to have
thousands of users! (You do have a high speed connection?)

I added users manually in a textfile, users.dat on my Dnews, when I did
the mistake and added users from all around the globe. Some users in
swnet.* wanted the zapto-server to be more private.
Re: Newbie: INN2
#78679
Author: kjell
Date: Fri, 08 Feb 2008 15:07
26 lines
2150 bytes
fre 2008-02-08 klockan 15:40 +0100 skrev HR:
> kjell skrev:
> > 
> > He get the 502 cocka fucka message.
> 
> That was kind of joke in a.f.n "cocka fucka".
> 502 is permission denied.
> 
Oh yes I can read!

> > There is no way to enter username and password.

I see that too!

> 
> If you want to invite others to use your server, you should have correct
> configuration and perhaps use a database (MYSQL?) if you plan to have
> thousands of users! (You do have a high speed connection?)
> 
Why are you asking?
You know very well Henry!
I can send you username and password if you want to
use my server!!?? That was another kind of joke!

Re: Newbie: INN2
#78680
Author: Ray Banana
Date: Fri, 08 Feb 2008 15:09
32 lines
2543 bytes
Thus spake kjell <hd@ipbo.se>
 
> henry@usenet:~$ telnet just2write2.myftp.org 119
> Trying 83.209.44.82...
> Connected to just2write2.myftp.org.
> Escape character is '^]'.
> 200 just2write2.myftp.org InterNetNews server INN 2.4.4 (20070806
> snapshot) ready
> post
  ^^^^ You have to authenticate first
> 502 Permission denied
> quit
> 205 .
> Connection closed by foreign host.

$  telnet just2write2.myftp.org 119
Trying 83.209.44.82...
Connected to just2write2.myftp.org.
Escape character is '^]'.
200 just2write2.myftp.org InterNetNews NNRP server INN 2.4.4 (20070806
snapshot) ready (posting ok). 
AUTHINFO USER henry
381 PASS required
AUTHINFO PASS henry
502 Authentication error
Connection closed by foreign host.

See the difference?

-- 
Too many ingredients in the soup, no room for a spoon.
http://news.motzarella.org
Re: Newbie: INN2
#78681
Author: Bozweb
Date: Fri, 08 Feb 2008 15:11
103 lines
4052 bytes
On Fri, 08 Feb 2008 14:52:55 +0100, kjell <hd@ipbo.se> wrote:

>
>fre 2008-02-08 klockan 12:47 +0100 skrev Bozweb:
>> On Fri, 08 Feb 2008 11:51:12 +0100, kjell <hd@ipbo.se> wrote:
>> 
>> >
>> >ons 2008-02-06 klockan 10:07 +0000 skrev Klaus Alexander Seistrup:
>> >
>> >> 
>> >> I will leave the configuration for the "all" group as an exercise for
>> >> your.
>> >> 
>> >> Did you read the manual page for readers.conf ("man readers.conf")?
>> >> It seems to me that you still have to discover that INN is very well
>> >> documented.
>> >> 
>> >> Cheers,
>> >> 
>> >
>> >Now my readers.conf look like this:
>> >
>> >auth "localhost" {
>> >   hosts: "localhost, ip6-localhost, 127.0.0.1, ::1, stdin"
>> >   default: "<localhost>"
>> >}
>> >
>> >access "localhost" {
>> >  users: "<localhost>"
>> >  newsgroups: "*"
>> >  access: RPA
>> 
>> Remove A, is for Approved
>> 
>> >}
>> >
>> >auth "passwords" {
>> >hosts: "*"
>> >key: "pwd"
>> >auth: "ckpasswd -f /usr/lib/news/bin/auth/passwd/.htpasswd"
>> >}
>> >
>> >access "passwords" {
>> >key: "pwd"
>> >newsgroups: "*,!control*,!junk"
>> >access: RPA
>> >}
>> >
>> >I hope I have done my lesson? Or?
>> 
>> No, you have to make a file in ../etc, IE: nntpusers.
>> In readers.conf you type this: auth: "ckpasswd -f
>> /usr/local/news/etc/nntpusers"
>> and then: htpasswd nntpusers whatevername
>> and fillin the password twice.
>> The file nntpusers can whatever each name.
>> 
>> auth "whatever" {
>>         hosts: "*"
>>         auth: "ckpasswd -f /usr/local/news/etc/nntpusers"
>> }
>> access "ok" {
>>         users: "*"
>>         newsgroups: *,!junk,!control,!control.*
>>         access: RP
>> }
>> access "ok" {
>>         users: "me"
>>         newsgroups: *,!junk,!control,control.*
>>         access: RPA
>> }
>> Only i can approved messages.
>
>I have done this and it is ok for me to log in to my newsreader
>with my username and password.
>But it seems to me there is another problem:
>
>henry@usenet:~$ telnet just2write2.myftp.org 119
>Trying 83.209.44.82...
>Connected to just2write2.myftp.org.
>Escape character is '^]'.
>200 just2write2.myftp.org InterNetNews server INN 2.4.4 (20070806
>snapshot) ready
>post
>502 Permission denied
>quit
>205 .
>Connection closed by foreign host.
>henry@usenet:~$
>
>He get the 502 cocka fucka message.
>There is no way to enter username and password.
>

Hm, I get 200 just2write2.myftp.org InterNetNews NNRP server INN 2.4.4
(20070806 snapshot) ready (posting ok).

:-)
-- 
Ik heb niks te verbergen Award:
http://www.bigbrotherawards.nl/
Website:
http://www.bozweb.net/
Re: Newbie: INN2
#78682
Author: HR
Date: Fri, 08 Feb 2008 15:27
33 lines
2287 bytes
Ray Banana skrev:
> Thus spake kjell <hd@ipbo.se>
>  
>> henry@usenet:~$ telnet just2write2.myftp.org 119
>> Trying 83.209.44.82...
>> Connected to just2write2.myftp.org.
>> Escape character is '^]'.
>> 200 just2write2.myftp.org InterNetNews server INN 2.4.4 (20070806
>> snapshot) ready
>> post
>   ^^^^ You have to authenticate first
>> 502 Permission denied
>> quit
>> 205 .
>> Connection closed by foreign host.
> 
> $  telnet just2write2.myftp.org 119
> Trying 83.209.44.82...
> Connected to just2write2.myftp.org.
> Escape character is '^]'.
> 200 just2write2.myftp.org InterNetNews NNRP server INN 2.4.4 (20070806
> snapshot) ready (posting ok). 
> AUTHINFO USER henry
> 381 PASS required
> AUTHINFO PASS henry
> 502 Authentication error
> Connection closed by foreign host.
> 
> See the difference?
> 

Yeah, but some sites do ask for user/pass when trying to post or
selecting a group. I think Dnews does so.
Re: Newbie: INN2
#78683
Author: HR
Date: Fri, 08 Feb 2008 15:35
7 lines
1592 bytes
kjell skrev:
> 
> You know very well Henry!
> I can send you username and password if you want to
> use my server!!?? That was another kind of joke!

Then please encrypt your headers because I'm a pirate... privacy aswell.
Re: Newbie: INN2
#78684
Author: kjell
Date: Fri, 08 Feb 2008 16:06
14 lines
1740 bytes
fre 2008-02-08 klockan 16:11 +0100 skrev Bozweb:

> 
> Hm, I get 200 just2write2.myftp.org InterNetNews NNRP server INN 2.4.4
> (20070806 snapshot) ready (posting ok).
> 
> :-)

I am grateful for your help!

Kjell

Re: Newbie: INN2
#78685
Author: Ray Banana
Date: Fri, 08 Feb 2008 17:01
23 lines
2495 bytes
Thus spake HR <henry@usenet.zapto.org>
 
> Yeah, but some sites do ask for user/pass when trying to post or
> selecting a group. I think Dnews does so.

telnet just2write2.myftp.org 119
Trying 83.209.44.82...
Connected to just2write2.myftp.org.
Escape character is '^]'.
200 just2write2.myftp.org InterNetNews NNRP server INN 2.4.4 (20070806 snapshot) ready (posting ok).
list
480 Authentication required for command
AUTHINFO USER henry
381 PASS required
AUTHINFO PASS henry
502 Authentication error
Connection closed by foreign host.

Remember that you have to speak plain NNTP on a telnet session.

-- 
Too many ingredients in the soup, no room for a spoon.
http://news.motzarella.org
Re: Newbie: INN2
#78688
Author: Jeffrey M. Vinocur
Date: Sat, 09 Feb 2008 05:03
19 lines
1715 bytes
In article <47ac3e07$1@usenet.zapto.org>, HR  <henry@usenet.zapto.org> wrote:
>
>200 just2write2.myftp.org InterNetNews server INN 2.4.4 (20070806
>snapshot) ready
>post
>502 Permission denied

Your first problem is that you did not send MODE READER first.
(Right now your server is treating you like a peer.  In order to
be treated like a client, you have to either send MODE READER, or
come from an IP address that is not listed in incoming.conf.)

If you do that, and try to POST without sufficient permission,
the server should tell you 480 (authentication required).


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Newbie: INN2
#78694
Author: Sven Svenson
Date: Sat, 09 Feb 2008 07:26
8 lines
1796 bytes
HR:

> Yeah, but some sites do ask for user/pass when trying to post or
> selecting a group. I think Dnews does so.

No. No newsserver ask for user/pass. The only answer you get is

480
Re: Newbie: INN2
#78696
Author: kjell
Date: Sat, 09 Feb 2008 07:57
81 lines
3609 bytes
fre 2008-02-08 klockan 12:47 +0100 skrev Bozweb:
> On Fri, 08 Feb 2008 11:51:12 +0100, kjell <hd@ipbo.se> wrote:
> 
> >
> >ons 2008-02-06 klockan 10:07 +0000 skrev Klaus Alexander Seistrup:
> >
> >> 
> >> I will leave the configuration for the "all" group as an exercise for
> >> your.
> >> 
> >> Did you read the manual page for readers.conf ("man readers.conf")?
> >> It seems to me that you still have to discover that INN is very well
> >> documented.
> >> 
> >> Cheers,
> >> 
> >
> >Now my readers.conf look like this:
> >
> >auth "localhost" {
> >   hosts: "localhost, ip6-localhost, 127.0.0.1, ::1, stdin"
> >   default: "<localhost>"
> >}
> >
> >access "localhost" {
> >  users: "<localhost>"
> >  newsgroups: "*"
> >  access: RPA
> 
> Remove A, is for Approved
> 
> >}
> >
> >auth "passwords" {
> >hosts: "*"
> >key: "pwd"
> >auth: "ckpasswd -f /usr/lib/news/bin/auth/passwd/.htpasswd"
> >}
> >
> >access "passwords" {
> >key: "pwd"
> >newsgroups: "*,!control*,!junk"
> >access: RPA
> >}
> >
> >I hope I have done my lesson? Or?
> 
> No, you have to make a file in ../etc, IE: nntpusers.
> In readers.conf you type this: auth: "ckpasswd -f
> /usr/local/news/etc/nntpusers"
> and then: htpasswd nntpusers whatevername
> and fillin the password twice.
> The file nntpusers can whatever each name.
> 
> auth "whatever" {
>         hosts: "*"
>         auth: "ckpasswd -f /usr/local/news/etc/nntpusers"
> }
> access "ok" {
>         users: "*"
>         newsgroups: *,!junk,!control,!control.*
>         access: RP
> }
> access "ok" {
>         users: "me"
>         newsgroups: *,!junk,!control,control.*
>         access: RPA
> }
> Only i can approved messages.

I have restarted the server and now something is totaly wrong!
I get this in news.err:

Feb  9 08:08:18 ubuntu3 innd: SERVER cant getaddrinfo xxxx.xxxxx.net
Name or service not known
Feb  9 08:08:18 ubuntu3 innd: SERVER cant getaddrinfo xxxx.xxxxxxxx.fr
Name or service not known
Feb  9 08:08:18 ubuntu3 innd: SERVER cant getaddrinfo xxxx.xxxxxx.at
Name or service not known
Re: Newbie: INN2
#78695
Author: Ray Banana
Date: Sat, 09 Feb 2008 08:30
26 lines
2567 bytes
Thus spake kjell <hd@ipbo.se>

[readers.conf related stuff omitted]

> I have restarted the server and now something is totaly wrong!
> I get this in news.err:

> Feb  9 08:08:18 ubuntu3 innd: SERVER cant getaddrinfo xxxx.xxxxx.net
> Name or service not known
> Feb  9 08:08:18 ubuntu3 innd: SERVER cant getaddrinfo xxxx.xxxxxxxx.fr
> Name or service not known
> Feb  9 08:08:18 ubuntu3 innd: SERVER cant getaddrinfo xxxx.xxxxxx.at
> Name or service not known

This error is in no way related to your access problem. Please check
your incoming.conf for invalid host names and make sure INN is able
to do name resolution through a DNS server.

Also, please do not include a full quote of the article you are
replying to, just quote the passages your follow-up refers to.

TIA

-- 
Too many ingredients in the soup, no room for a spoon.
http://news.motzarella.org
Re: Newbie: INN2
#78697
Author: Bozweb
Date: Sat, 09 Feb 2008 08:49
91 lines
3843 bytes
On Sat, 09 Feb 2008 08:57:56 +0100, kjell <hd@ipbo.se> wrote:

>
>fre 2008-02-08 klockan 12:47 +0100 skrev Bozweb:
>> On Fri, 08 Feb 2008 11:51:12 +0100, kjell <hd@ipbo.se> wrote:
>> 
>> >
>> >ons 2008-02-06 klockan 10:07 +0000 skrev Klaus Alexander Seistrup:
>> >
>> >> 
>> >> I will leave the configuration for the "all" group as an exercise for
>> >> your.
>> >> 
>> >> Did you read the manual page for readers.conf ("man readers.conf")?
>> >> It seems to me that you still have to discover that INN is very well
>> >> documented.
>> >> 
>> >> Cheers,
>> >> 
>> >
>> >Now my readers.conf look like this:
>> >
>> >auth "localhost" {
>> >   hosts: "localhost, ip6-localhost, 127.0.0.1, ::1, stdin"
>> >   default: "<localhost>"
>> >}
>> >
>> >access "localhost" {
>> >  users: "<localhost>"
>> >  newsgroups: "*"
>> >  access: RPA
>> 
>> Remove A, is for Approved
>> 
>> >}
>> >
>> >auth "passwords" {
>> >hosts: "*"
>> >key: "pwd"
>> >auth: "ckpasswd -f /usr/lib/news/bin/auth/passwd/.htpasswd"
>> >}
>> >
>> >access "passwords" {
>> >key: "pwd"
>> >newsgroups: "*,!control*,!junk"
>> >access: RPA
>> >}
>> >
>> >I hope I have done my lesson? Or?
>> 
>> No, you have to make a file in ../etc, IE: nntpusers.
>> In readers.conf you type this: auth: "ckpasswd -f
>> /usr/local/news/etc/nntpusers"
>> and then: htpasswd nntpusers whatevername
>> and fillin the password twice.
>> The file nntpusers can whatever each name.
>> 
>> auth "whatever" {
>>         hosts: "*"
>>         auth: "ckpasswd -f /usr/local/news/etc/nntpusers"
>> }
>> access "ok" {
>>         users: "*"
>>         newsgroups: *,!junk,!control,!control.*
>>         access: RP
>> }
>> access "ok" {
>>         users: "me"
>>         newsgroups: *,!junk,!control,control.*
>>         access: RPA
>> }
>> Only i can approved messages.
>
>I have restarted the server and now something is totaly wrong!
>I get this in news.err:
>
>Feb  9 08:08:18 ubuntu3 innd: SERVER cant getaddrinfo xxxx.xxxxx.net
>Name or service not known
>Feb  9 08:08:18 ubuntu3 innd: SERVER cant getaddrinfo xxxx.xxxxxxxx.fr
>Name or service not known
>Feb  9 08:08:18 ubuntu3 innd: SERVER cant getaddrinfo xxxx.xxxxxx.at
>Name or service not known

You have ipv6 enabled?
http://linux.die.net/man/5/inn.conf

-- 
Ik heb niks te verbergen Award:
http://www.bigbrotherawards.nl/
Website:
http://www.bozweb.net/
Re: Newbie: INN2
#78698
Author: kjell
Date: Sat, 09 Feb 2008 09:21
28 lines
2461 bytes
lör 2008-02-09 klockan 09:49 +0100 skrev Bozweb:

> >
> >I have restarted the server and now something is totaly wrong!
> >I get this in news.err:
> >
> >Feb  9 08:08:18 ubuntu3 innd: SERVER cant getaddrinfo xxxx.xxxxx.net
> >Name or service not known
> >Feb  9 08:08:18 ubuntu3 innd: SERVER cant getaddrinfo xxxx.xxxxxxxx.fr
> >Name or service not known
> >Feb  9 08:08:18 ubuntu3 innd: SERVER cant getaddrinfo xxxx.xxxxxx.at
> >Name or service not known
> 
> You have ipv6 enabled?
> http://linux.die.net/man/5/inn.conf
> 

I tested without ipv6 in my readers conf and then restarted my server
and it looks good!

old:hosts: "localhost, ip6-localhost, 127.0.0.1, ::1, stdin"
new:hosts: "localhost, 127.0.0.1, ::1, stdin"

If I want to enable ipv6 where do I that in inn.conf?
Uncomment this line "#bindaddress6:"?
And what to put in?
Re: Newbie: INN2
#78699
Author: kjell
Date: Sat, 09 Feb 2008 09:47
30 lines
2531 bytes
lör 2008-02-09 klockan 09:30 +0100 skrev Ray Banana:
> Thus spake kjell <hd@ipbo.se>
> 
> [readers.conf related stuff omitted]
> 
> > I have restarted the server and now something is totaly wrong!
> > I get this in news.err:
> 
> > Feb  9 08:08:18 ubuntu3 innd: SERVER cant getaddrinfo xxxx.xxxxx.net
> > Name or service not known
> > Feb  9 08:08:18 ubuntu3 innd: SERVER cant getaddrinfo xxxx.xxxxxxxx.fr
> > Name or service not known
> > Feb  9 08:08:18 ubuntu3 innd: SERVER cant getaddrinfo xxxx.xxxxxx.at
> > Name or service not known
> 
> This error is in no way related to your access problem. Please check
> your incoming.conf for invalid host names and make sure INN is able
> to do name resolution through a DNS server.

Please read my answer to "Bosweb"

> Also, please do not include a full quote of the article you are
> replying to, just quote the passages your follow-up refers to.
> 
> TIA
> 


Re: Newbie: INN2
#78700
Author: Bozweb
Date: Sat, 09 Feb 2008 11:56
37 lines
2554 bytes
On Sat, 09 Feb 2008 10:21:50 +0100, kjell <hd@ipbo.se> wrote:

>
>lör 2008-02-09 klockan 09:49 +0100 skrev Bozweb:
>
>> >
>> >I have restarted the server and now something is totaly wrong!
>> >I get this in news.err:
>> >
>> >Feb  9 08:08:18 ubuntu3 innd: SERVER cant getaddrinfo xxxx.xxxxx.net
>> >Name or service not known
>> >Feb  9 08:08:18 ubuntu3 innd: SERVER cant getaddrinfo xxxx.xxxxxxxx.fr
>> >Name or service not known
>> >Feb  9 08:08:18 ubuntu3 innd: SERVER cant getaddrinfo xxxx.xxxxxx.at
>> >Name or service not known
>> 
>> You have ipv6 enabled?
>> http://linux.die.net/man/5/inn.conf
>> 
>
>I tested without ipv6 in my readers conf and then restarted my server
>and it looks good!
>
>old:hosts: "localhost, ip6-localhost, 127.0.0.1, ::1, stdin"
>new:hosts: "localhost, 127.0.0.1, ::1, stdin"
>
>If I want to enable ipv6 where do I that in inn.conf?
>Uncomment this line "#bindaddress6:"?
>And what to put in?

You need a patch:
http://www.v6.north.ad.jp/netnews/inn-e.html
-- 
Ik heb niks te verbergen Award:
http://www.bigbrotherawards.nl/
Website:
http://www.bozweb.net/
Re: Newbie: INN2
#78701
Author: Jeffrey M. Vinocur
Date: Sat, 09 Feb 2008 17:07
18 lines
1631 bytes
In article <47ad94e2$0$85789$e4fe514c@news.xs4all.nl>,
Bozweb  <bozweb@bozweb.net> wrote:
>On Sat, 09 Feb 2008 10:21:50 +0100, kjell <hd@ipbo.se> wrote:
>
>>If I want to enable ipv6 where do I that in inn.conf?
>
>You need a patch:
>http://www.v6.north.ad.jp/netnews/inn-e.html

No, you do not need a patch.

In recent releases of INN, IPv6 is builtin.  You simply need to
apply the appropriate options in ./configure before compiling.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Newbie: INN2
#78702
Author: HR
Date: Sat, 09 Feb 2008 21:52
29 lines
2087 bytes
Jeffrey M. Vinocur skrev:
> In article <47ac3e07$1@usenet.zapto.org>, HR  <henry@usenet.zapto.org> wrote:
>> 200 just2write2.myftp.org InterNetNews server INN 2.4.4 (20070806
>> snapshot) ready
>> post
>> 502 Permission denied
> 
> Your first problem is that you did not send MODE READER first.
> (Right now your server is treating you like a peer.  In order to
> be treated like a client, you have to either send MODE READER, or
> come from an IP address that is not listed in incoming.conf.)
> 
> If you do that, and try to POST without sufficient permission,
> the server should tell you 480 (authentication required).

I got " (posting ok)." after welcome message and 480 after post!


200 just2write2.myftp.org InterNetNews server INN 2.4.4 (20070806
snapshot) ready
mode reader
200 just2write2.myftp.org InterNetNews NNRP server INN 2.4.4 (20070806
snapshot) ready (posting ok).
post
480 Authentication required for command

-- 
Delad kultur, fri kunskap och skyddat privatliv.
http://www.piratpartiet.se/
Re: Newbie: INN2
#78703
Author: Jeffrey M. Vinocur
Date: Sat, 09 Feb 2008 23:34
14 lines
1529 bytes
In article <47ae2082$1@usenet.zapto.org>, HR  <henry@usenet.zapto.org> wrote:
>
>I got " (posting ok)." after welcome message and 480 after post!

Yes.  This is a workaround for bugs in some clients, I believe.

I'm not sure why you're fixated on the subtlties of the behavior
occurring over telnet.  I suspect if you used a newsreader, you
would find everything working to your satisfaction.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Newbie: INN2
#78704
Author: Russ Allbery
Date: Sat, 09 Feb 2008 23:40
17 lines
1850 bytes
jeff@litech.org (Jeffrey M. Vinocur) writes:
> In article <47ae2082$1@usenet.zapto.org>, HR  <henry@usenet.zapto.org> wrote:

>>I got " (posting ok)." after welcome message and 480 after post!
>
> Yes.  This is a workaround for bugs in some clients, I believe.

Correct.  If there is any possibility that one might be able to post after
some authentication, one has to greet the user with the status code for
posting okay, since otherwise some news readers will never attempt to
authenticate.

-- 
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.
Newbie: INN2
#78707
Author: kjell
Date: Mon, 11 Feb 2008 17:20
7 lines
1660 bytes
I don't get any index.html file to my site
from innreport! Any clue?
-- 
Kjell Andersson
http://just2write2.myftp.org
Newbie: INN2
#78708
Author: kjell
Date: Mon, 11 Feb 2008 17:21
8 lines
1620 bytes

I don't get any index.html file to my site
from innreport! Any clue?
-- 
Kjell Andersson
http://just2write2.myftp.org
Re: Newbie: INN2
#78710
Author: Klaus Alexander Seistrup
Date: Mon, 11 Feb 2008 19:05
12 lines
2046 bytes
Kjell skrev:

> I don't get any index.html file to my site
> from innreport! Any clue?

Does the news user have write access to the directory in question?

Cheers,

-- 
Klaus Alexander Seistrup
http://klaus.seistrup.dk/
Re: Newbie: INN2
#78711
Author: kjell
Date: Mon, 11 Feb 2008 19:32
65 lines
3706 bytes
mĂĄn 2008-02-11 klockan 19:05 +0000 skrev Klaus Alexander Seistrup:
> Kjell skrev:
> 
> > I don't get any index.html file to my site
> > from innreport! Any clue?
> 
> Does the news user have write access to the directory in question?
> 
> Cheers,
> 

root@ubuntu3:/var/www/News/stats# ls -l
totalt 4
-rw-rw-r-- 1 news news 1 2008-02-05 10:14 index.html

root@ubuntu3:/var/www/News# ls -l
totalt 4
drwxr-xr-x 2 news news 4096 2008-02-05 10:15 stats
root@ubuntu3:/var/www/News# 





innreport.config:

section default {
	libpath         "/usr/lib/news";
	logpath		"/var/log/news/path";
	unknown		true;        # want unknown entries.
	max_unknown     50;          # max unknown entries to display.
	casesensitive   true;
	module		"innreport_inn";  # ${libpath}/${module}.pm
	unwanted_log	"unwanted.log";   # ${logpath}/${unwanted_log}
	text            true;
	html            false;
	graph           true;        # need 'html'
	archive		true;  # use false to keep only the latest HTML report.
	index		"index.html"; # name of the HTML index file.
        html_dir     "/var/www/News/stats"; # default to pathhttp in
inn.conf
	img_dir         "pics";      # images will go to ${html_dir}/${img_dir}
	cycle		none;        # use a number or 'none'.
        separator       ".";         # use a valid filename character.
	title		"Daily Usenet report";
        title	     "Daily Usenet report for <A HREF=
\"/News/stats/\">just2write2.myftp.org</A>";
        footer		"Local contact: <A HREF=\"mailto:x@y.z\">x@y.z</A>";
        html_body	"BGCOLOR=\"#FFFFFF\" TEXT=\"#000000\"";
        html_header_file "header.html";  #
${html_dir}/${html_header_file}
        html_footer_file "footer.html";  #
${html_dir}/${html_footer_file}
        graph_width	550;         # graph width (in pixels)
        transparent	true;        # graph background transparent ?
        graph_fg        "#000000";   # graph foreground color.
        graph_bg        "#FFFFFF";   # graph background color.
};

-- 
Kjell Andersson
http://just2write2.myftp.org

Re: Newbie: INN2
#78712
Author: Ray Banana
Date: Mon, 11 Feb 2008 19:44
20 lines
2376 bytes
Thus spake kjell <hd@ipbo.se>
 
> innreport.config:
> section default {
> 	libpath         "/usr/lib/news";
> 	logpath		"/var/log/news/path";
> 	unknown		true;        # want unknown entries.
> 	max_unknown     50;          # max unknown entries to display.
> 	casesensitive   true;
> 	module		"innreport_inn";  # ${libpath}/${module}.pm
> 	unwanted_log	"unwanted.log";   # ${logpath}/${unwanted_log}
> 	text            true;
> 	html            false;
        ^^^^^^^^^^^^^^^^^^^^^^^

Well, ...

-- 
Too many ingredients in the soup, no room for a spoon.
http://news.motzarella.org
Re: Newbie: INN2
#78714
Author: kjell
Date: Mon, 11 Feb 2008 19:52
20 lines
1979 bytes
mĂĄn 2008-02-11 klockan 20:44 +0100 skrev Ray Banana:
> Thus spake kjell <hd@ipbo.se>
>  

> > 	html            false;
>         ^^^^^^^^^^^^^^^^^^^^^^^
> 
> Well, ...
> 

html            true;

I think it looks different!:)

-- 
Kjell Andersson
http://just2write2.myftp.org

Page 1 of 2 • 93 total messages
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