Discussion:
Newbie: INN2
(too old to reply)
kjell
2008-01-28 11:10:47 UTC
Permalink
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,

***@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.


***@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
Ray Banana
2008-01-28 11:14:58 UTC
Permalink
Post by kjell
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
kjell
2008-01-28 11:39:15 UTC
Permalink
Post by Ray Banana
Post by kjell
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:

***@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:

***@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/
Klaus Alexander Seistrup
2008-01-28 13:15:37 UTC
Permalink
Post by kjell
Starting news server: done.
Please show us the output of

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

Cheers,
--
Klaus Alexander Seistrup
http://klaus.seistrup.dk/
Klaus Alexander Seistrup
2008-01-28 13:18:41 UTC
Permalink
Post by kjell
Starting news server: done.
Please show us the output of

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

Cheers,
--
Klaus Alexander Seistrup
http://klaus.seistrup.dk/
kjell
2008-01-28 17:18:57 UTC
Permalink
Den 2008-01-28 14:18:41 skrev Klaus Alexander Seistrup
Post by Klaus Alexander Seistrup
Post by kjell
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
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!
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 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/
Ray Banana
2008-01-28 17:37:30 UTC
Permalink
Post by kjell
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
Klaus Alexander Seistrup
2008-01-28 22:09:46 UTC
Permalink
Post by kjell
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/
kjell
2008-01-28 23:01:20 UTC
Permalink
Post by Ray Banana
Post by kjell
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!

***@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/
Klaus Alexander Seistrup
2008-01-28 23:58:43 UTC
Permalink
Post by kjell
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/
Thierry B.
2008-01-29 08:56:57 UTC
Permalink
--{ Klaus Alexander Seistrup a plopé ceci: }--
Post by Klaus Alexander Seistrup
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"
kjell
2008-01-29 14:54:41 UTC
Permalink
Post by Klaus Alexander Seistrup
Post by kjell
iF inn2 2.4.3+20070806 'InterNetNews' news server
^
#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:

***@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
Klaus Alexander Seistrup
2008-01-29 15:02:29 UTC
Permalink
Post by kjell
ii inn2 2.4.3+20070806 'InterNetNews' news server
^^
Looks like you made it.
Post by kjell
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/
kjell
2008-01-29 16:15:20 UTC
Permalink
Post by Klaus Alexander Seistrup
Post by kjell
ii inn2 2.4.3+20070806 'InterNetNews' news server
^^
Looks like you made it.
Post by kjell
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


***@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.
Klaus Alexander Seistrup
2008-01-29 20:59:57 UTC
Permalink
Post by kjell
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/
kjell
2008-01-29 21:16:40 UTC
Permalink
Post by Klaus Alexander Seistrup
Post by kjell
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!
kjell
2008-02-06 09:27:20 UTC
Permalink
Post by Klaus Alexander Seistrup
Post by kjell
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?

***@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
}
Klaus Alexander Seistrup
2008-02-06 10:07:21 UTC
Permalink
Post by kjell
502 You have no permission to talk. Goodbye.
Connection closed by foreign host.
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/
Kjell
2008-02-07 22:26:31 UTC
Permalink
Post by Klaus Alexander Seistrup
Post by kjell
502 You have no permission to talk. Goodbye.
Connection closed by foreign host.
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
#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.
:)
Post by Klaus Alexander Seistrup
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/
kjell
2008-02-08 10:51:12 UTC
Permalink
Post by 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?
HR
2008-02-08 11:33:27 UTC
Permalink
Post by kjell
Post by 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,
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.



***@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.
***@usenet:~$
Jeffrey M. Vinocur
2008-02-09 05:03:24 UTC
Permalink
Post by HR
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
***@litech.org
HR
2008-02-09 21:52:02 UTC
Permalink
Post by Jeffrey M. Vinocur
Post by HR
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/
Jeffrey M. Vinocur
2008-02-09 23:34:29 UTC
Permalink
Post by HR
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
***@litech.org
Russ Allbery
2008-02-09 23:40:54 UTC
Permalink
Post by Jeffrey M. Vinocur
Post by HR
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 (***@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.
Bozweb
2008-02-08 11:47:41 UTC
Permalink
Post by kjell
Post by 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,
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
Post by kjell
}
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.
kjell
2008-02-08 13:52:55 UTC
Permalink
Post by Bozweb
Post by kjell
Post by 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,
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
Post by kjell
}
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:

***@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.
***@usenet:~$

He get the 502 cocka fucka message.
There is no way to enter username and password.
HR
2008-02-08 14:40:27 UTC
Permalink
Post by kjell
He get the 502 cocka fucka message.
That was kind of joke in a.f.n "cocka fucka".
502 is permission denied.
Post by kjell
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.
kjell
2008-02-08 15:07:34 UTC
Permalink
Post by HR
Post by kjell
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!
Post by HR
Post by kjell
There is no way to enter username and password.
I see that too!
Post by HR
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!
HR
2008-02-08 15:35:07 UTC
Permalink
Post by kjell
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.
Ray Banana
2008-02-08 15:09:05 UTC
Permalink
Post by HR
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
Post by HR
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
HR
2008-02-08 15:27:26 UTC
Permalink
Post by Ray Banana
Post by HR
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
Post by HR
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.
Ray Banana
2008-02-08 17:01:29 UTC
Permalink
Post by HR
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
Sven Svenson
2008-02-09 07:26:33 UTC
Permalink
Post by 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
Bozweb
2008-02-08 15:11:18 UTC
Permalink
Post by kjell
Post by Bozweb
Post by kjell
Post by 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,
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
Post by kjell
}
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.
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.
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/
kjell
2008-02-08 16:06:58 UTC
Permalink
Post by 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
kjell
2008-02-09 07:57:56 UTC
Permalink
Post by Bozweb
Post by kjell
Post by 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,
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
Post by kjell
}
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
Bozweb
2008-02-09 08:49:07 UTC
Permalink
Post by kjell
Post by Bozweb
Post by kjell
Post by 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,
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
Post by kjell
}
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!
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/
kjell
2008-02-09 09:21:50 UTC
Permalink
Post by Bozweb
Post by kjell
I have restarted the server and now something is totaly wrong!
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?
Bozweb
2008-02-09 11:56:18 UTC
Permalink
Post by kjell
Post by Bozweb
Post by kjell
I have restarted the server and now something is totaly wrong!
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/
Jeffrey M. Vinocur
2008-02-09 17:07:17 UTC
Permalink
Post by Bozweb
Post by kjell
If I want to enable ipv6 where do I that in inn.conf?
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
***@litech.org
Ray Banana
2008-02-09 08:30:18 UTC
Permalink
Thus spake kjell <***@ipbo.se>

[readers.conf related stuff omitted]
Post by kjell
I have restarted the server and now something is totaly wrong!
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
kjell
2008-02-09 09:47:36 UTC
Permalink
Post by Ray Banana
[readers.conf related stuff omitted]
Post by kjell
I have restarted the server and now something is totaly wrong!
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"
Post by Ray Banana
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
kjell
2008-02-11 17:20:10 UTC
Permalink
I don't get any index.html file to my site
from innreport! Any clue?
--
Kjell Andersson
http://just2write2.myftp.org
Klaus Alexander Seistrup
2008-02-11 19:05:35 UTC
Permalink
Post by kjell
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/
kjell
2008-02-11 19:32:34 UTC
Permalink
Post by Klaus Alexander Seistrup
Post by kjell
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,
***@ubuntu3:/var/www/News/stats# ls -l
totalt 4
-rw-rw-r-- 1 news news 1 2008-02-05 10:14 index.html

***@ubuntu3:/var/www/News# ls -l
totalt 4
drwxr-xr-x 2 news news 4096 2008-02-05 10:15 stats
***@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:***@y.z\">***@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
Ray Banana
2008-02-11 19:44:38 UTC
Permalink
Post by kjell
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
kjell
2008-02-11 19:52:31 UTC
Permalink
Post by Ray Banana
Post by kjell
html false;
^^^^^^^^^^^^^^^^^^^^^^^
Well, ...
html true;

I think it looks different!:)
--
Kjell Andersson
http://just2write2.myftp.org
kjell
2008-02-13 07:30:59 UTC
Permalink
I have done some changes of the name of .html (innreport.html)
and directory. Now I don't get a new "Daily Usenet report"

My innreport.conf:

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 true;
graph true; # need 'html'
archive true; # use false to keep only the latest HTML report.
index "innreport.html"; # name of the HTML index file.
html_dir "/var/www/"; # 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:***@ipbo.se
\">***@ipbo.se</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.
};


drwxr-xr-x 2 root root 4096 2008-02-08 13:14 apache2-default
-rw-r--r-- 1 root root 2326 2004-11-20 21:16 apache_pb.gif
-rw-r--r-- 1 kjell kjell 3471 2008-02-08 13:17 cleanfeed.jpeg
-rwxr--r-- 1 kjell kjell 1150 2008-01-12 13:22 favicon.ico
-rwxr--r-- 1 kjell kjell 45 2008-01-10 20:42 icon.txt
-rwxrw-r-- 1 news news 3476 2008-02-12 15:57 index.html
-rw-rw-r-- 1 news news 111 2008-02-12 04:15 innreport.db
-rwxrw-r-- 1 news news 1207 2008-02-12 13:33 innreport.html
-rwxr--r-- 1 kjell kjell 356 2001-07-21 23:22 mmc.gif
-rw-rw-r-- 1 news news 20615 2008-02-12 04:15
news-notice.2008.02.11-04.15.02.html
drwxrwxr-x 2 news news 4096 2008-02-11 21:07 pics
-rwxrwxr-x 1 www-data www-data 140 2007-12-24 09:12 test.pl
--
Kjell Andersson
http://just2write2.myftp.org
Ray Banana
2008-02-13 09:42:49 UTC
Permalink
Post by kjell
I have done some changes of the name of .html (innreport.html)
and directory. Now I don't get a new "Daily Usenet report"
Run innreport as user news from the commandline and watch out
for error messages.

/usr/lib/news/bin/innreport -f /etc/news/innreport.conf \
/var/log/news/news.notice /var/log/news/news
--
Too many ingredients in the soup, no room for a spoon.
http://news.motzarella.org
kjell
2008-02-13 10:56:13 UTC
Permalink
Post by Ray Banana
Post by kjell
I have done some changes of the name of .html (innreport.html)
and directory. Now I don't get a new "Daily Usenet report"
Run innreport as user news from the commandline and watch out
for error messages.
/usr/lib/news/bin/innreport -f /etc/news/innreport.conf \
/var/log/news/news.notice /var/log/news/news
***@ubuntu3:~$ sudo su news
$ /usr/lib/news/bin/innreport -f /etc/news/innreport.conf \
/var/log/news/news.notice /var/log/news/news>
WARNING: can't make graphs as required.
Install GD.pm or disable this option.

WARNING: can't write in "/var/www/" as required by -html switch.
Option -html and -a removed. Please see the -d switch.

Daily Usenet report for just2write2.myftp.org from Feb 13 04:15:02 to
Feb 13 11:43:17
--
Kjell Andersson
http://just2write2.myftp.org
Jeffrey M. Vinocur
2008-02-13 11:05:30 UTC
Permalink
Post by kjell
WARNING: can't write in "/var/www/" as required by -html switch.
And...

Did you check the permissions on that directory?
--
Jeffrey M. Vinocur
***@litech.org
kjell
2008-02-13 11:54:43 UTC
Permalink
Post by Jeffrey M. Vinocur
Post by kjell
WARNING: can't write in "/var/www/" as required by -html switch.
And...
Did you check the permissions on that directory?
Yes, and I changed it to news news

***@ubuntu3:~$ sudo su news
$ /usr/lib/news/bin/innreport -f /etc/news/innreport.conf \
/var/log/news/news.notice /var/log/news/news>
WARNING: can't make graphs as required.
Install GD.pm or disable this option.

Now I want to install GD.pm so I can make graphs!
I have tried to install GD-2.35 with no luck :(
--
Kjell Andersson
http://just2write2.myftp.org
Klaus Alexander Seistrup
2008-02-13 11:37:53 UTC
Permalink
Post by kjell
WARNING: can't make graphs as required.
Install GD.pm or disable this option.
$ wajig install libgd-perl

Cheers,
--
Klaus Alexander Seistrup
http://klaus.seistrup.dk/
kjell
2008-02-13 12:08:28 UTC
Permalink
Post by Klaus Alexander Seistrup
Post by kjell
WARNING: can't make graphs as required.
Install GD.pm or disable this option.
$ wajig install libgd-perl
Cheers,
I have done this!Thanks for your patience;)

The same Warning:


$ /usr/lib/news/bin/innreport -f /etc/news/innreport.conf \
/var/log/news/news.notice /var/log/news/news>
WARNING: can't make graphs as required.
Install GD.pm or disable this option.
--
Kjell Andersson
http://just2write2.myftp.org
kjell
2008-02-13 12:30:58 UTC
Permalink
Post by kjell
Post by Klaus Alexander Seistrup
Post by kjell
WARNING: can't make graphs as required.
Install GD.pm or disable this option.
$ wajig install libgd-perl
Cheers,
I have done this!Thanks for your patience;)
$ /usr/lib/news/bin/innreport -f /etc/news/innreport.conf \
/var/log/news/news.notice /var/log/news/news>
WARNING: can't make graphs as required.
Install GD.pm or disable this option.
I have reinstalled and now it seems to be ok!

Thanks! Thanks.

I have noticed when I restarted the machine I get problems!
I must stop and restart the server and then it's ok.

Syslog:

Feb 13 12:17:36 ubuntu3 nnrpd[5817]: news.warnet.at no_success_auth
Feb 13 12:17:38 ubuntu3 ntpdate[5836]: step time server 91.189.94.4
offset 1.143048 sec
Feb 13 12:17:38 ubuntu3 nnrpd[5818]: news.warnet.at (80.78.230.133)
connect
Feb 13 12:17:38 ubuntu3 nnrpd[5818]: Reading access
from /etc/news/readers.conf
Feb 13 12:17:38 ubuntu3 nnrpd[5818]: Auth strategy 'localhost' does not
match client. Removing.
Feb 13 12:17:38 ubuntu3 nnrpd[5818]: news.warnet.at no_success_auth
Feb 13 12:17:38 ubuntu3 nnrpd[5817]: news.warnet.at times user 0.232
system 0.048 idle 0.000 elapsed 3.990
Feb 13 12:17:38 ubuntu3 nnrpd[5818]: news.warnet.at times user 0.272
system 0.024 idle 0.000 elapsed 4.031
Feb 13 12:17:42 ubuntu3 nnrpd[5841]: drooper.mixmin.net (88.198.22.131)
connect
Feb 13 12:17:42 ubuntu3 nnrpd[5841]: Reading access
from /etc/news/readers.conf
Feb 13 12:17:42 ubuntu3 nnrpd[5841]: Auth strategy 'localhost' does not
match client. Removing.
Feb 13 12:17:42 ubuntu3 nnrpd[5841]: drooper.mixmin.net no_success_auth
Feb 13 12:17:42 ubuntu3 nnrpd[5840]: news.netfinity.fr (88.191.71.11)
connect
Feb 13 12:17:42 ubuntu3 nnrpd[5840]: Reading access
from /etc/news/readers.conf
Feb 13 12:17:42 ubuntu3 nnrpd[5840]: Auth strategy 'localhost' does not
match client. Removing.
Feb 13 12:17:42 ubuntu3 nnrpd[5840]: news.netfinity.fr no_success_auth
Feb 13 12:17:42 ubuntu3 nnrpd[5842]: 0406ds1-arsy.0.fullrate.dk
(90.185.36.141) connect
Feb 13 12:17:42 ubuntu3 nnrpd[5842]: Reading access
from /etc/news/readers.conf
Feb 13 12:17:42 ubuntu3 nnrpd[5842]: Auth strategy 'localhost' does not
match client. Removing.
Feb 13 12:17:42 ubuntu3 nnrpd[5842]: 0406ds1-arsy.0.fullrate.dk
no_success_auth
Feb 13 12:17:42 ubuntu3 nnrpd[5841]: drooper.mixmin.net times user 0.248
system 0.036 idle 0.000 elapsed 1.527
Feb 13 12:17:42 ubuntu3 nnrpd[5842]: 0406ds1-arsy.0.fullrate.dk times
user 0.244 system 0.048 idle 0.000 elapsed 1.555
Feb 13 12:17:43 ubuntu3 nnrpd[5840]: news.netfinity.fr times user 0.256
system 0.024 idle 0.000 elapsed 2.675
Feb 13 12:17:46 ubuntu3 kernel: [ 72.841961] eth0: no IPv6 routers
present
--
Kjell Andersson
http://just2write2.myftp.org
Ray Banana
2008-02-13 13:42:57 UTC
Permalink
Post by kjell
Feb 13 12:17:36 ubuntu3 nnrpd[5817]: news.warnet.at no_success_auth
^^^^^
Post by kjell
Feb 13 12:17:42 ubuntu3 nnrpd[5841]: drooper.mixmin.net (88.198.22.131)
connect ^^^^^^
Feb 13 12:17:42 ubuntu3 nnrpd[5840]: news.netfinity.fr (88.191.71.11)
connect ^^^^^
You might want to define your peers in incoming.conf.
--
Too many ingredients in the soup, no room for a spoon.
http://news.motzarella.org
kjell
2008-02-13 19:57:40 UTC
Permalink
Post by Ray Banana
Post by kjell
Feb 13 12:17:36 ubuntu3 nnrpd[5817]: news.warnet.at no_success_auth
^^^^^
Post by kjell
Feb 13 12:17:42 ubuntu3 nnrpd[5841]: drooper.mixmin.net (88.198.22.131)
connect ^^^^^^
Feb 13 12:17:42 ubuntu3 nnrpd[5840]: news.netfinity.fr (88.191.71.11)
connect ^^^^^
You might want to define your peers in incoming.conf.
What's wrong with this?
Or something missing?

peer news.warnet.at {
hostname: "news.warnet.at"
email: "news(at)warnet.at/"
}
--
Kjell Andersson
http://just2write2.myftp.org
HR
2008-02-16 13:01:56 UTC
Permalink
kjell skrev:


http://just2write2.myftp.org/news-notice.2008.02.14-04.15.06.html#nnrpd_groups

I do not read your server, I feed it.


By the way you are having problems with parts of your server so it's
best for me to continue with DNews. I don't have enough energy to do the
heavy configuring INN takes.

Cheers,
Henry
--
Delad kultur, fri kunskap och skyddat privatliv.
http://www.piratpartiet.se/
kjell
2008-02-16 06:39:17 UTC
Permalink
Post by Ray Banana
Post by kjell
I have done some changes of the name of .html (innreport.html)
and directory. Now I don't get a new "Daily Usenet report"
Run innreport as user news from the commandline and watch out
for error messages.
/usr/lib/news/bin/innreport -f /etc/news/innreport.conf \
/var/log/news/news.notice /var/log/news/news
Once again innreport printed an incomplete report for my site.
Permissions?! But where?

I run the above command without errormessages!
Ray Banana
2008-02-16 08:26:42 UTC
Permalink
Post by kjell
Once again innreport printed an incomplete report for my site.
Permissions?! But where?
I run the above command without errormessages!
What does "incomplete" mean? Which sections are missing?
--
Too many ingredients in the soup, no room for a spoon.
http://news.motzarella.org
kjell
2008-02-16 08:58:26 UTC
Permalink
Post by Ray Banana
Post by kjell
Once again innreport printed an incomplete report for my site.
Permissions?! But where?
I run the above command without errormessages!
What does "incomplete" mean? Which sections are missing?
This may I call complete:
http://just2write2.myftp.org/news-notice.2008.02.14-04.15.06.html

And this one incomplete:
http://just2write2.myftp.org/news-notice.2008.02.16-04.15.02.html
Ray Banana
2008-02-16 09:20:32 UTC
Permalink
Post by kjell
Post by Ray Banana
Post by kjell
Once again innreport printed an incomplete report for my site.
Permissions?! But where?
I run the above command without errormessages!
What does "incomplete" mean? Which sections are missing?
http://just2write2.myftp.org/news-notice.2008.02.14-04.15.06.html
http://just2write2.myftp.org/news-notice.2008.02.16-04.15.02.html
innreport can only report what it finds in the log. Reports for short
intervals tend to be incomplete, depending on how often innd writes
statistics to the log and how often connections to and from your peers
are closed and re-opened.
--
Too many ingredients in the soup, no room for a spoon.
http://news.motzarella.org
kjell
2008-02-16 09:42:31 UTC
Permalink
Post by Ray Banana
Post by kjell
Post by Ray Banana
Post by kjell
Once again innreport printed an incomplete report for my site.
Permissions?! But where?
I run the above command without errormessages!
What does "incomplete" mean? Which sections are missing?
http://just2write2.myftp.org/news-notice.2008.02.14-04.15.06.html
http://just2write2.myftp.org/news-notice.2008.02.16-04.15.02.html
innreport can only report what it finds in the log. Reports for short
intervals tend to be incomplete, depending on how often innd writes
statistics to the log and how often connections to and from your peers
are closed and re-opened.
Do You mean that from Feb 14 to Feb 16 no logs for innd and innfeed for
example?

Look at this, missing some entries:
Inn report seems to be ok!

***@ubuntu3:~$ sudo su news
[sudo] password for kjell:
$ /usr/lib/news/bin/innreport -f /etc/news/innreport.conf \
/var/log/news/news.notice /var/log/news/news>
Daily Usenet report for just2write2.myftp.org from Feb 16 04:15:02 to
Feb 16 10:28:08


Log entries by program:
Program name Lines %Lines Size
%Size
inn 26160 100.0% 3.9 MB
100.0%

TOTAL: 1 26160 100.0% 3.9 MB
100.0%
kjell
2008-02-16 10:42:44 UTC
Permalink
Post by kjell
Post by Ray Banana
Post by kjell
Post by Ray Banana
Post by kjell
Once again innreport printed an incomplete report for my site.
Permissions?! But where?
I run the above command without errormessages!
What does "incomplete" mean? Which sections are missing?
http://just2write2.myftp.org/news-notice.2008.02.14-04.15.06.html
http://just2write2.myftp.org/news-notice.2008.02.16-04.15.02.html
innreport can only report what it finds in the log. Reports for short
intervals tend to be incomplete, depending on how often innd writes
statistics to the log and how often connections to and from your peers
are closed and re-opened.
Do You mean that from Feb 14 to Feb 16 no logs for innd and innfeed for
example?
Inn report seems to be ok!
$ /usr/lib/news/bin/innreport -f /etc/news/innreport.conf \
/var/log/news/news.notice /var/log/news/news>
Daily Usenet report for just2write2.myftp.org from Feb 16 04:15:02 to
Feb 16 10:28:08
Program name Lines %Lines Size
%Size
inn 26160 100.0% 3.9 MB
100.0%
TOTAL: 1 26160 100.0% 3.9 MB
100.0%
And this from news.notice:

Daily Usenet report for just2write2.myftp.org from Feb 16 04:15:02 to
Feb 16 11:34:21

Unknown entries from news log file:
First 1 / 1 lines (100.0%)
Feb 16 11:34:22.651


Log entries by program:
Program name Lines %Lines Size
%Size
inn 31305 100.0% 4.6 MB
100.0%

TOTAL: 1 31305 100.0% 4.6 MB
100.0%
Ray Banana
2008-02-16 11:39:04 UTC
Permalink
Post by kjell
Post by Ray Banana
innreport can only report what it finds in the log. Reports for short
intervals tend to be incomplete, depending on how often innd writes
statistics to the log and how often connections to and from your peers
are closed and re-opened.
Do You mean that from Feb 14 to Feb 16 no logs for innd and innfeed for
example?
inn logs get rotated by news.daily every night, so in the current
/var/log/news/news.notice and /var/log/news/news you will only find
entries from 4:15 today until the current time. Older logs are likely to
be found in /var/log/news/OLD/. innreport relies on particular stats
lines and summary lines in the log for some of its report sections. If
these don't get generated regularly during the day you will not get
these report sections.

What does the status: line say in your inn.conf? And what are your
settings for connection-stats, stats-period and stats-reset in
innfeed.conf?
--
Too many ingredients in the soup, no room for a spoon.
http://news.motzarella.org
kjell
2008-02-16 12:10:43 UTC
Permalink
Post by Ray Banana
Post by kjell
Post by Ray Banana
innreport can only report what it finds in the log. Reports for short
intervals tend to be incomplete, depending on how often innd writes
statistics to the log and how often connections to and from your peers
are closed and re-opened.
Do You mean that from Feb 14 to Feb 16 no logs for innd and innfeed for
example?
inn logs get rotated by news.daily every night, so in the current
/var/log/news/news.notice and /var/log/news/news you will only find
entries from 4:15 today until the current time. Older logs are likely to
be found in /var/log/news/OLD/. innreport relies on particular stats
lines and summary lines in the log for some of its report sections. If
these don't get generated regularly during the day you will not get
these report sections.
What does the status: line say in your inn.conf? And what are your
settings for connection-stats, stats-period and stats-reset in
innfeed.conf?
***@ubuntu3:/etc/news$ stat inn.conf
File: "inn.conf"
Size: 5004 Blocks: 16 IO Block: 4096 normal fil
Device: 801h/2049d Inode: 2443875 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 9/ news) Gid: ( 9/ news)
Access: 2008-02-16 12:52:02.000000000 +0100
Modify: 2008-02-10 06:29:33.000000000 +0100
Change: 2008-02-10 06:29:33.000000000 +0100

connection-stats: false
host-queue-highwater: 200
stats-period: 600
stats-reset: 43200
Ray Banana
2008-02-16 12:24:27 UTC
Permalink
Post by kjell
Post by Ray Banana
What does the status: line say in your inn.conf? And what are your
settings for connection-stats, stats-period and stats-reset in
innfeed.conf?
Sorry, I was referring to a line in inn.conf starting with
Post by kjell
connection-stats: false
You might want to set this to "true".
Post by kjell
host-queue-highwater: 200
stats-period: 600
stats-reset: 43200
You might want to set this to stats-reset: 3600 to get hourly statistics
on your innfeed processes.
--
Too many ingredients in the soup, no room for a spoon.
http://news.motzarella.org
kjell
2008-02-16 12:34:53 UTC
Permalink
Post by Ray Banana
Post by kjell
Post by Ray Banana
What does the status: line say in your inn.conf? And what are your
settings for connection-stats, stats-period and stats-reset in
innfeed.conf?
Sorry, I was referring to a line in inn.conf starting with
Post by kjell
connection-stats: false
You might want to set this to "true".
Post by kjell
host-queue-highwater: 200
stats-period: 600
stats-reset: 43200
You might want to set this to stats-reset: 3600 to get hourly statistics
on your innfeed processes.
OK!
"status":

status: 0

And I have changes settings in inn.conf connections-stats to "true"
and stats-reset to 3600!
Ray Banana
2008-02-16 13:02:22 UTC
Permalink
Post by kjell
status: 0
Sorry for the confusion, this parameter is for the inn status file that
is not used by innreport. Please set the timer: parameter to some
reasonable time in seconds to get get performance information in your
innreport. A value of 3600 will produce hourly statistics.
--
Too many ingredients in the soup, no room for a spoon.
http://news.motzarella.org
kjell
2008-02-16 13:15:56 UTC
Permalink
Post by Ray Banana
Post by kjell
status: 0
Sorry for the confusion, this parameter is for the inn status file that
is not used by innreport. Please set the timer: parameter to some
reasonable time in seconds to get get performance information in your
innreport. A value of 3600 will produce hourly statistics.
I have done your proposal and it looks better,
but I'm not satisfied! I have restarted the machine!

Look att
his:http://just2write2.myftp.org/news-notice.2008.02.16-04.15.02.html

***@ubuntu3:~$ sudo su news
$ /usr/lib/news/bin/innreport -f /etc/news/innreport.conf \
/var/log/news/news.notice /var/log/news/news>
Daily Usenet report for just2write2.myftp.org from Feb 16 04:15:02 to
Feb 16 13:58:28

Unknown entries from news log file:
First 50 / 67 lines (74.6%)
Daily Usenet report for just2write2.myftp.org from Feb 16 04:15:02 to
Feb 16 11:34:21
Unknown entries from news log file:
First 1 / 1 lines (100.0%)
Feb 16 11:34:22.651
Log entries by program:
Program name Lines %Lines Size
%Size
inn 31305 100.0% 4.6 MB
100.0%
TOTAL: 1 31305 100.0% 4.6 MB
100.0%
Ray Banana
2008-02-16 13:26:42 UTC
Permalink
Post by kjell
I have done your proposal and it looks better,
but I'm not satisfied! I have restarted the machine!
Look att
his:http://just2write2.myftp.org/news-notice.2008.02.16-04.15.02.html
[...]
Post by kjell
First 50 / 67 lines (74.6%)
Daily Usenet report for just2write2.myftp.org from Feb 16 04:15:02 to
Feb 16 11:34:21
First 1 / 1 lines (100.0%)
Feb 16 11:34:22.651
Program name Lines %Lines Size
%Size
inn 31305 100.0% 4.6 MB
100.0%
TOTAL: 1 31305 100.0% 4.6 MB
100.0%
You seem to have managed to redirect the innreport output to
/var/log/news/news.notice.

This will confuse innreport and also mess up your new reports, as your
log now contains HTML tags.
--
Too many ingredients in the soup, no room for a spoon.
http://news.motzarella.org
kjell
2008-02-16 14:00:48 UTC
Permalink
Post by Ray Banana
Post by kjell
I have done your proposal and it looks better,
but I'm not satisfied! I have restarted the machine!
Look att
his:http://just2write2.myftp.org/news-notice.2008.02.16-04.15.02.html
[...]
Post by kjell
First 50 / 67 lines (74.6%)
Daily Usenet report for just2write2.myftp.org from Feb 16 04:15:02 to
Feb 16 11:34:21
First 1 / 1 lines (100.0%)
Feb 16 11:34:22.651
Program name Lines %Lines Size
%Size
inn 31305 100.0% 4.6 MB
100.0%
TOTAL: 1 31305 100.0% 4.6 MB
100.0%
You seem to have managed to redirect the innreport output to
/var/log/news/news.notice.
Where exactly have I done that?
Because I'm newbie on Linux and INN I have trusted in default settings
as much as possibles.
Post by Ray Banana
This will confuse innreport and also mess up your new reports, as your
log now contains HTML tags.
Suggestions please.
HR
2008-02-16 14:11:11 UTC
Permalink
Post by kjell
Post by Ray Banana
You seem to have managed to redirect the innreport output to
/var/log/news/news.notice.
Where exactly have I done that?
Because I'm newbie on Linux and INN I have trusted in default settings
as much as possibles.
Post by Ray Banana
This will confuse innreport and also mess up your new reports, as your
log now contains HTML tags.
Suggestions please.
???
Remove the unwanted lines from your log?
--
Delad kultur, fri kunskap och skyddat privatliv.
http://www.piratpartiet.se/
Black Dragon
2008-02-16 14:14:31 UTC
Permalink
Post by kjell
Because I'm newbie on Linux
...and exposing servers running on it to the Internet.

Oh that's just peachy.

Yet another zombied machine powered by Linux is soon to be born.

Feh.
--
Black Dragon http://improve-usenet.org

And now, the Bing Crosby show, brought to you by the makers of Ex-Lax.
... a brief pause, and then Bing!
kjell
2008-02-16 14:30:09 UTC
Permalink
Post by Black Dragon
Post by kjell
Because I'm newbie on Linux
...and exposing servers running on it to the Internet.
Oh that's just peachy.
Yet another zombied machine powered by Linux is soon to be born.
Feh.
What do you exactly mean?
It would be better if you could help me with some problem.
Or it's too difficult for you?!
--
Akademiker,högutbildade,välavlönade människor högt upp i
välståndsligan har plötsligt blivit de som har det svårt i samhället
detta skall de sämst ställda nu få betala.
HR
2008-02-16 14:41:39 UTC
Permalink
Post by kjell
Post by Black Dragon
Post by kjell
Because I'm newbie on Linux
...and exposing servers running on it to the Internet.
Oh that's just peachy.
Yet another zombied machine powered by Linux is soon to be born.
Feh.
What do you exactly mean?
This was funny reading:


-----------------------------------------------------------

03:42 -!- Drphil [~***@s02.vinstjakten.com] has joined #webmasternetwork
03:44 < Drphil> h4wh4wh4wh4wh4w proinet är pwned!
03:44 < Drphil> igen!
03:44 < Drphil> [***@web01 cgi-bin]# id
03:44 < Drphil> uid=0(root) gid=0(root) groups=32120(vinnsms)
03:45 < Drphil> [***@web01 root]# -la
03:45 < Drphil> total 55524
03:45 < Drphil> drwxr-x--- 19 root root 4096 Feb 10 00:50 .
03:45 < Drphil> drwxr-xr-x 26 root root 4096 Jan 29 20:15 ..
03:45 < Drphil> -rw-r--r-- 1 root root 19303 Jan 29 20:57 1.txt
03:45 < Drphil> -rw------- 1 root root 957 Oct 4 10:54 .accesshash
03:45 < Drphil> -rw------- 1 root root 972 Oct 2 15:58 anaconda-ks.cfg
03:45 < Drphil> -rw------- 1 root root 15921 Feb 7 06:26 .bash_history
03:45 < Drphil> -rw-r--r-- 1 root root 24 Jan 6 2007 .bash_logout
03:45 < Drphil> -rw-r--r-- 1 root root 198 Jan 24 13:21 .bash_profile
03:46 < Drphil> -rw-r--r-- 1 root root 176 Jan 6 2007 .bashrc
03:46 < Drphil> -rw-r--r-- 1 root root 153759 Nov 21 02:07 bind.txt
03:46 < Drphil> drwxr-xr-x 3 root root 4096 Oct 6 19:27 cmm
03:46 < Drphil> -rw-r--r-- 1 root root 18452 Aug 2 2007 cmm.tgz
03:46 < Drphil> drwxr-xr-x 3 root root 4096 Nov 5 2006 cmq
03:46 < Drphil> -rw-r--r-- 1 root root 15763 May 14 2007 cmq.tgz
03:46 < Drphil> drwxr-xr-x 4 root root 4096 Jan 11 04:19 .cpanel
03:46 < Drphil> drwxr-xr-x 4 root root 4096 Oct 2 23:12 cpanel3-skel
03:46 < Drphil> drwx------ 5 root root 4096 Oct 2 23:19 .cpobjcache
03:46 < Drphil> drwxr-xr-x 5 root root 4096 Jun 30 2007 csf
03:46 < Drphil> -rw-r--r-- 1 root root 100 Jan 6 2007 .cshrc
03:46 < Drphil> -rw------- 1 root root 67 Oct 4 14:16 .cvspass
03:46 < Drphil> drwx------ 2 root root 4096 Oct 2 16:05 .elinks
03:46 < Drphil> -rw-r--r-- 1 root root 17 Jan 3 15:57 .forward
03:46 < Drphil> drwx------ 2 root root 4096 Oct 5 04:02 .gnupg
03:46 < Drphil> tihihi
03:46 < Drphil> jag äger ;>
03:46 < Drphil> en överaskning för proinet. vi wipat hela eran disk på web03
03:49 < Drphil> eran databas kommer sprida via flashback/tpb håll utkik ;>
03:49 < Drphil> 4k kund databaser
03:49 < Drphil> hf!
03:49 < Drphil> ok, ingen aktivtet här over and out!
03:53 -!- Drphil [~***@s02.vinstjakten.com] has quit [Quit: leaving]

-----------------------------------------------------------


The Linux Kernel had a bug!
I have updated my machine, do you have?
--
Delad kultur, fri kunskap och skyddat privatliv.
http://www.piratpartiet.se/
kjell
2008-02-16 14:50:34 UTC
Permalink
Post by HR
Post by kjell
Post by Black Dragon
Post by kjell
Because I'm newbie on Linux
...and exposing servers running on it to the Internet.
Oh that's just peachy.
Yet another zombied machine powered by Linux is soon to be born.
Feh.
What do you exactly mean?
I want to know what Black Dragon was meaning!
Post by HR
-----------------------------------------------------------
#webmasternetwork 03:44 < Drphil> h4wh4wh4wh4wh4w proinet är pwned!
03:44 < Drphil> igen!
03:44 < Drphil> uid=0(root) gid=0(root) groups=32120(vinnsms)
03:45 < Drphil> total 55524
03:45 < Drphil> drwxr-x--- 19 root root 4096 Feb 10 00:50 .
03:45 < Drphil> drwxr-xr-x 26 root root 4096 Jan 29 20:15 ..
03:45 < Drphil> -rw-r--r-- 1 root root 19303 Jan 29 20:57 1.txt
03:45 < Drphil> -rw------- 1 root root 957 Oct 4 10:54 .accesshash
03:45 < Drphil> -rw------- 1 root root 972 Oct 2 15:58
anaconda-ks.cfg 03:45 < Drphil> -rw------- 1 root root 15921 Feb 7
06:26 .bash_history 03:45 < Drphil> -rw-r--r-- 1 root root 24 Jan 6
2007 .bash_logout 03:45 < Drphil> -rw-r--r-- 1 root root 198 Jan 24
13:21 .bash_profile 03:46 < Drphil> -rw-r--r-- 1 root root 176 Jan 6
2007 .bashrc 03:46 < Drphil> -rw-r--r-- 1 root root 153759 Nov 21
02:07 bind.txt 03:46 < Drphil> drwxr-xr-x 3 root root 4096 Oct 6
19:27 cmm 03:46 < Drphil> -rw-r--r-- 1 root root 18452 Aug 2 2007
cmm.tgz 03:46 < Drphil> drwxr-xr-x 3 root root 4096 Nov 5 2006 cmq
03:46 < Drphil> -rw-r--r-- 1 root root 15763 May 14 2007 cmq.tgz
03:46 < Drphil> drwxr-xr-x 4 root root 4096 Jan 11 04:19 .cpanel
03:46 < Drphil> drwxr-xr-x 4 root root 4096 Oct 2 23:12 cpanel3-skel
03:46 < Drphil> drwx------ 5 root root 4096 Oct 2 23:19 .cpobjcache
03:46 < Drphil> drwxr-xr-x 5 root root 4096 Jun 30 2007 csf
03:46 < Drphil> -rw-r--r-- 1 root root 100 Jan 6 2007 .cshrc
03:46 < Drphil> -rw------- 1 root root 67 Oct 4 14:16 .cvspass
03:46 < Drphil> drwx------ 2 root root 4096 Oct 2 16:05 .elinks
03:46 < Drphil> -rw-r--r-- 1 root root 17 Jan 3 15:57 .forward
03:46 < Drphil> drwx------ 2 root root 4096 Oct 5 04:02 .gnupg
03:46 < Drphil> tihihi
03:46 < Drphil> jag äger ;>
03:46 < Drphil> en överaskning för proinet. vi wipat hela eran disk
på web03 03:49 < Drphil> eran databas kommer sprida via flashback/tpb
håll utkik ;> 03:49 < Drphil> 4k kund databaser
03:49 < Drphil> hf!
03:49 < Drphil> ok, ingen aktivtet här over and out!
-----------------------------------------------------------
The Linux Kernel had a bug!
I have updated my machine, do you have?
No! ;-)
--
Akademiker,högutbildade,välavlönade människor högt upp i
välståndsligan har plötsligt blivit de som har det svårt i samhället
detta skall de sämst ställda nu få betala.
kjell
2008-02-23 08:05:57 UTC
Permalink
After this annotation in syslog, no writing to news.notice was done!
Any clue?
After restarting machine ok!



Feb 23 07:36:04 ubuntu3 syslogd 1.4.1#21ubuntu3: restart.
Feb 23 07:36:04 ubuntu3 anacron[22064]: Job `cron.daily' terminated
Feb 23 07:36:04 ubuntu3 anacron[22064]: Normal exit (1 job run)
Sven Gottwald
2008-02-23 09:18:15 UTC
Permalink
^^^^^^^
Post by kjell
After this annotation in syslog, no writing to news.notice was done!
Any clue?
Switch to Windows and Hamster and forget about linux and inn.
--
The truth may be out there, but lies are inside your head.
-- Terry Pratchett
kjell
2008-02-23 09:35:27 UTC
Permalink
Post by Ray Banana
^^^^^^^
Post by kjell
After this annotation in syslog, no writing to news.notice was done!
Any clue?
Switch to Windows and Hamster and forget about linux and inn.
Sorry to say, but your advice did not answer my question!
Black Dragon
2008-02-23 13:02:51 UTC
Permalink
Post by kjell
Post by Sven Gottwald
Switch to Windows and Hamster and forget about linux and inn.
Sorry to say, but your advice did not answer my question!
Based on your recent postings, the advice is appropriate.

syslog and cron issues are not nntp software issues.

Try 'alt.os.linux.ubuntu'.

Good luck.
--
Black Dragon http://improve-usenet.org

Never sleep with anyone crazier than yourself.
kjell
2008-02-23 14:25:00 UTC
Permalink
Post by Black Dragon
Post by kjell
Post by Sven Gottwald
Switch to Windows and Hamster and forget about linux and inn.
Sorry to say, but your advice did not answer my question!
Based on your recent postings, the advice is appropriate.
I see! I may thank you for your friendly "letter"!
Post by Black Dragon
syslog and cron issues are not nntp software issues.
Yes I understand, but I have written this in syslog and
I think it is not wrong, Or!
Post by Black Dragon
From Syslog to news.notice! Or?
From news.notice innreport get information. Or?
news.crit /var/log/news/news.crit
news.err /var/log/news/news.err
news.notice /var/log/news/news.notice

And this in crontab:

17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts
--report /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts
--report /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts
--report /etc/cron.monthly )
0 3 * * * su -c "/usr/lib/news/bin/news.daily expireover lowmark" news

Or somethinh is wrong?

http://www.eyrie.org/~eagle/software/inn/docs-2.4/install.html
Post by Black Dragon
Try 'alt.os.linux.ubuntu'.
Good luck.
Ray Banana
2008-02-23 15:27:24 UTC
Permalink
Post by kjell
Post by Black Dragon
syslog and cron issues are not nntp software issues.
Yes I understand, but I have written this in syslog and
I think it is not wrong, Or!
I am afraid you do not understand:

Your syslog and daily housekeeping jobs (logrotate) have
nothing to do with news.software.nntp.
Post by kjell
Post by Black Dragon
From Syslog to news.notice! Or?
From news.notice innreport get information. Or?
Correct so far. And as news.daily will take care of the
INN related log files, you should not use logrotate to
rotate them.
Post by kjell
0 3 * * * su -c "/usr/lib/news/bin/news.daily expireover lowmark" news
Please read the man page for your cron (Vixie cron, I assume) and
in particular the paragraph about the system cron tab and its 6th field.
Post by kjell
Post by Black Dragon
Try 'alt.os.linux.ubuntu'.
Please do so.
kjell
2008-02-23 17:55:12 UTC
Permalink
Post by Ray Banana
Post by kjell
Post by Black Dragon
syslog and cron issues are not nntp software issues.
Yes I understand, but I have written this in syslog and
I think it is not wrong, Or!
Your syslog and daily housekeeping jobs (logrotate) have
nothing to do with news.software.nntp.
Yes I understand!
Post by Ray Banana
Post by kjell
Post by Black Dragon
From Syslog to news.notice! Or?
From news.notice innreport get information. Or?
Correct so far. And as news.daily will take care of the
INN related log files, you should not use logrotate to
rotate them.
Post by kjell
0 3 * * * su -c "/usr/lib/news/bin/news.daily expireover lowmark" news
I have uncomment this!
Post by Ray Banana
Please read the man page for your cron (Vixie cron, I assume) and
in particular the paragraph about the system cron tab and its 6th field.
First of all I must say have some difficulties
with the english language, especial technical!

I have found a script "inn2" in /etc/cron.d

15 4 * * * news test -x /usr/lib/news/bin/news.daily && news.daily
expireover lowmark delayrm

I believe this is about my problem. or what!
And if so, handle it all news log files?
Post by Ray Banana
Post by kjell
Post by Black Dragon
Try 'alt.os.linux.ubuntu'.
Please do so.
Ray Banana
2008-02-23 18:12:43 UTC
Permalink
Post by kjell
I have found a script "inn2" in /etc/cron.d
15 4 * * * news test -x /usr/lib/news/bin/news.daily && news.daily
expireover lowmark delayrm
This is the default entry from your distribution's package and it should
be all you need.
Post by kjell
I believe this is about my problem. or what!
And if so, handle it all news log files?
You may take a look at /usr/lib/news/bin/scanlogs. It should have
entries like these:

## If you divide your news syslog into separate files, list them here.
SYSLOG_CRIT=${MOST_LOGS}/news.crit
SYSLOG_ERR=${MOST_LOGS}/news.err
SYSLOG_NOTICE=${MOST_LOGS}/news.notice
SYSLOGS="${SYSLOG_CRIT} ${SYSLOG_ERR} ${SYSLOG_NOTICE}"

This will rotate news.crit, news.err and news.notice and place old logs
in /var/log/news/OLD/.

I think your original problem (no more log entries in news.notice) was
caused by something in cron.daily (logrotate?) messing around whith
news.notice or maybe there was a problem with syslogd itself after it
was restarted by something (logrotate?) started by cron.daily.
--
Too many ingredients in the soup, no room for a spoon.
http://news.motzarella.org
kjell
2008-02-23 18:38:38 UTC
Permalink
Post by Ray Banana
Post by kjell
I have found a script "inn2" in /etc/cron.d
15 4 * * * news test -x /usr/lib/news/bin/news.daily && news.daily
expireover lowmark delayrm
This is the default entry from your distribution's package and it should
be all you need.
Post by kjell
I believe this is about my problem. or what!
And if so, handle it all news log files?
You may take a look at /usr/lib/news/bin/scanlogs. It should have
## If you divide your news syslog into separate files, list them here.
SYSLOG_CRIT=${MOST_LOGS}/news.crit
SYSLOG_ERR=${MOST_LOGS}/news.err
SYSLOG_NOTICE=${MOST_LOGS}/news.notice
SYSLOGS="${SYSLOG_CRIT} ${SYSLOG_ERR} ${SYSLOG_NOTICE}"
It's ok!
Post by Ray Banana
This will rotate news.crit, news.err and news.notice and place old logs
in /var/log/news/OLD/.
I hope so, I will wait until tomorrow!
Post by Ray Banana
I think your original problem (no more log entries in news.notice) was
caused by something in cron.daily (logrotate?) messing around whith
news.notice or maybe there was a problem with syslogd itself after it
was restarted by something (logrotate?) started by cron.daily.
Thank you for your help, it's very much appreciated.
kjell
2008-02-24 07:39:38 UTC
Permalink
Post by kjell
Post by Ray Banana
Post by kjell
I have found a script "inn2" in /etc/cron.d
15 4 * * * news test -x /usr/lib/news/bin/news.daily && news.daily
expireover lowmark delayrm
This is the default entry from your distribution's package and it should
be all you need.
Post by kjell
I believe this is about my problem. or what!
And if so, handle it all news log files?
You may take a look at /usr/lib/news/bin/scanlogs. It should have
## If you divide your news syslog into separate files, list them here.
SYSLOG_CRIT=${MOST_LOGS}/news.crit
SYSLOG_ERR=${MOST_LOGS}/news.err
SYSLOG_NOTICE=${MOST_LOGS}/news.notice
SYSLOGS="${SYSLOG_CRIT} ${SYSLOG_ERR} ${SYSLOG_NOTICE}"
It's ok!
Post by Ray Banana
This will rotate news.crit, news.err and news.notice and place old logs
in /var/log/news/OLD/.
I hope so, I will wait until tomorrow!
Post by Ray Banana
I think your original problem (no more log entries in news.notice) was
caused by something in cron.daily (logrotate?) messing around whith
news.notice or maybe there was a problem with syslogd itself after it
was restarted by something (logrotate?) started by cron.daily.
Thank you for your help, it's very much appreciated.
I was unlucky, must restart the machine to get news.notice updatet.
I changed in /usr/sbin/syslog-listfiles

$conf = "/etc/syslog.conf";
$opt_daily = 1;
$opt_all = 0;
$opt_auth = 0;
$opt_ign_size = 0;
$opt_news = 1; #changed from 0
$opt_skip = '';
$opt_large = 1024*1024;
Ray Banana
2008-02-24 08:00:37 UTC
Permalink
Post by kjell
I was unlucky, must restart the machine to get news.notice updatet.
It should suffice to stop and start syslogd manually. This might also
give you the chance to see if syslogd issues any error or warning
messages.
--
Too many ingredients in the soup, no room for a spoon.
http://news.motzarella.org
kjell
2008-02-24 11:14:53 UTC
Permalink
Post by Ray Banana
Post by kjell
I was unlucky, must restart the machine to get news.notice updatet.
It should suffice to stop and start syslogd manually. This might also
give you the chance to see if syslogd issues any error or warning
messages.
I have tested with this command:

$ sudo /etc/init.d/sysklogd restart
* Restarting system log daemon...
[ OK ]

kjell
2008-02-11 17:21:13 UTC
Permalink
I don't get any index.html file to my site
from innreport! Any clue?
--
Kjell Andersson
http://just2write2.myftp.org
Jeffrey M. Vinocur
2008-01-28 12:39:39 UTC
Permalink
Post by kjell
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.
Post by kjell
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
***@litech.org
Klaus Alexander Seistrup
2008-01-28 13:18:12 UTC
Permalink
Post by kjell
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/
Loading...