🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
93 messages
93 total messages Page 2 of 2 Started by kjell Mon, 28 Jan 2008 11:10
Page 2 of 2 ‱ 93 total messages
Re: Newbie: INN2
#78716
Author: kjell
Date: Wed, 13 Feb 2008 07:30
60 lines
4218 bytes
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:hd@ipbo.se
\">hd@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

Re: Newbie: INN2
#78717
Author: Ray Banana
Date: Wed, 13 Feb 2008 09:42
14 lines
2342 bytes
Thus spake kjell <hd@ipbo.se>
 
> 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
Re: Newbie: INN2
#78718
Author: kjell
Date: Wed, 13 Feb 2008 10:56
33 lines
2709 bytes
ons 2008-02-13 klockan 10:42 +0100 skrev Ray Banana:
> Thus spake kjell <hd@ipbo.se>
>  
> > 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
> 



kjell@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

Re: Newbie: INN2
#78719
Author: Jeffrey M. Vinocur
Date: Wed, 13 Feb 2008 11:05
12 lines
1353 bytes
In article <1202900172.19690.1.camel@ubuntu3>, kjell  <hd@ipbo.se> wrote:
>
>WARNING: can't write in "/var/www/" as required by -html switch.

And...

Did you check the permissions on that directory?


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Newbie: INN2
#78720
Author: Klaus Alexander Seistrup
Date: Wed, 13 Feb 2008 11:37
12 lines
2245 bytes
Kjell skrev:

> 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/
Re: Newbie: INN2
#78721
Author: kjell
Date: Wed, 13 Feb 2008 11:54
26 lines
1971 bytes
ons 2008-02-13 klockan 11:05 +0000 skrev Jeffrey M. Vinocur:
> In article <1202900172.19690.1.camel@ubuntu3>, kjell  <hd@ipbo.se> wrote:
> >
> >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

kjell@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

Re: Newbie: INN2
#78722
Author: kjell
Date: Wed, 13 Feb 2008 12:08
26 lines
2368 bytes
ons 2008-02-13 klockan 11:37 +0000 skrev Klaus Alexander Seistrup:
> Kjell skrev:
> 
> > 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

Re: Newbie: INN2
#78723
Author: kjell
Date: Wed, 13 Feb 2008 12:30
82 lines
4852 bytes
ons 2008-02-13 klockan 13:08 +0100 skrev kjell:
> ons 2008-02-13 klockan 11:37 +0000 skrev Klaus Alexander Seistrup:
> > Kjell skrev:
> > 
> > > 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.
> 
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

Re: Newbie: INN2
#78724
Author: Ray Banana
Date: Wed, 13 Feb 2008 13:42
15 lines
2461 bytes
Thus spake kjell <hd@ipbo.se>
 

> Feb 13 12:17:36 ubuntu3 nnrpd[5817]: news.warnet.at no_success_auth
                          ^^^^^
> 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
Re: Newbie: INN2
#78726
Author: kjell
Date: Wed, 13 Feb 2008 19:57
27 lines
2509 bytes
ons 2008-02-13 klockan 14:42 +0100 skrev Ray Banana:
> Thus spake kjell <hd@ipbo.se>
>  
> 
> > Feb 13 12:17:36 ubuntu3 nnrpd[5817]: news.warnet.at no_success_auth
>                           ^^^^^
> > 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

Re: Newbie: INN2
#78733
Author: kjell
Date: Sat, 16 Feb 2008 06:39
20 lines
2337 bytes
ons 2008-02-13 klockan 10:42 +0100 skrev Ray Banana:
> Thus spake kjell <hd@ipbo.se>
>  
> > 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!


Re: Newbie: INN2
#78734
Author: Ray Banana
Date: Sat, 16 Feb 2008 08:26
11 lines
2294 bytes
Thus spake kjell <hd@ipbo.se>
 
> 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
Re: Newbie: INN2
#78735
Author: kjell
Date: Sat, 16 Feb 2008 08:58
20 lines
2377 bytes
lör 2008-02-16 klockan 09:26 +0100 skrev Ray Banana:
> Thus spake kjell <hd@ipbo.se>
>  
> > 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

Re: Newbie: INN2
#78736
Author: Ray Banana
Date: Sat, 16 Feb 2008 09:20
19 lines
2741 bytes
Thus spake kjell <hd@ipbo.se>
 
>> > 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

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
Re: Newbie: INN2
#78737
Author: kjell
Date: Sat, 16 Feb 2008 09:42
44 lines
3337 bytes
lör 2008-02-16 klockan 10:20 +0100 skrev Ray Banana:
> Thus spake kjell <hd@ipbo.se>
>  
> >> > 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
> 
> 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!

kjell@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%


Re: Newbie: INN2
#78740
Author: kjell
Date: Sat, 16 Feb 2008 10:42
65 lines
4017 bytes
lör 2008-02-16 klockan 10:42 +0100 skrev kjell:
> lör 2008-02-16 klockan 10:20 +0100 skrev Ray Banana:
> > Thus spake kjell <hd@ipbo.se>
> >  
> > >> > 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
> > 
> > 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!
> 
> kjell@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%
> 
> 

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%
> 
Re: Newbie: INN2
#78739
Author: Ray Banana
Date: Sat, 16 Feb 2008 11:39
25 lines
3061 bytes
Thus spake kjell <hd@ipbo.se>
 
>> 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
Re: Newbie: INN2
#78741
Author: kjell
Date: Sat, 16 Feb 2008 12:10
41 lines
3454 bytes
lör 2008-02-16 klockan 12:39 +0100 skrev Ray Banana:
> Thus spake kjell <hd@ipbo.se>
>  
> >> 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?
> 
> 
kjell@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



Re: Newbie: INN2
#78742
Author: Ray Banana
Date: Sat, 16 Feb 2008 12:24
25 lines
2632 bytes
Thus spake kjell <hd@ipbo.se>
 
>> 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?
> kjell@ubuntu3:/etc/news$ stat inn.conf

Sorry, I was referring to a line in inn.conf starting with

status: 

> connection-stats:		false

You might want to set this to "true".

> 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
Re: Newbie: INN2
#78743
Author: kjell
Date: Sat, 16 Feb 2008 12:34
33 lines
2707 bytes
lör 2008-02-16 klockan 13:24 +0100 skrev Ray Banana:
> Thus spake kjell <hd@ipbo.se>
>  
> >> 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?
> > kjell@ubuntu3:/etc/news$ stat inn.conf
> 
> Sorry, I was referring to a line in inn.conf starting with
> 
> status: 
> 
> > connection-stats:		false
> 
> You might want to set this to "true".
> 
> > 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!
Re: Newbie: INN2
#78744
Author: HR
Date: Sat, 16 Feb 2008 13:01
19 lines
2130 bytes
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/
Re: Newbie: INN2
#78745
Author: Ray Banana
Date: Sat, 16 Feb 2008 13:02
12 lines
2432 bytes
Thus spake kjell <hd@ipbo.se>
 
> 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
Re: Newbie: INN2
#78746
Author: kjell
Date: Sat, 16 Feb 2008 13:15
39 lines
3246 bytes
lör 2008-02-16 klockan 14:02 +0100 skrev Ray Banana:
> Thus spake kjell <hd@ipbo.se>
>  
> > 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

kjell@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%

Re: Newbie: INN2
#78747
Author: Ray Banana
Date: Sat, 16 Feb 2008 13:26
32 lines
3058 bytes
Thus spake kjell <hd@ipbo.se>
 

>  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
[...]
> 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%

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
Re: Newbie: INN2
#78803
Author: kjell
Date: Sat, 16 Feb 2008 14:00
42 lines
3238 bytes
lör 2008-02-16 klockan 14:26 +0100 skrev Ray Banana:
> Thus spake kjell <hd@ipbo.se>
>  
> 
> >  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
> [...]
> > 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%
> 
> 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.
> 
> This will confuse innreport and also mess up your new reports, as your
> log now contains HTML tags.

Suggestions please.
>  
> 
Re: Newbie: INN2
#78749
Author: HR
Date: Sat, 16 Feb 2008 14:11
22 lines
2310 bytes
kjell skrev:
> lör 2008-02-16 klockan 14:26 +0100 skrev Ray Banana:
>> Thus spake kjell <hd@ipbo.se>
>>  
>>
>> 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.
>> 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/
Re: Newbie: INN2
#78748
Author: Black Dragon
Date: Sat, 16 Feb 2008 14:14
17 lines
1822 bytes
kjell wrote:

> 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!
Re: Newbie: INN2
#78750
Author: kjell
Date: Sat, 16 Feb 2008 14:30
23 lines
2401 bytes
Black Dragon förklarade :
> kjell wrote:

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

Re: Newbie: INN2
#78752
Author: HR
Date: Sat, 16 Feb 2008 14:41
70 lines
4606 bytes
kjell skrev:
> Black Dragon förklarade :
>> kjell wrote:
> 
>>> 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 [~vim@s02.vinstjakten.com] has joined #webmasternetwork
03:44 < Drphil> h4wh4wh4wh4wh4w proinet Àr pwned!
03:44 < Drphil> igen!
03:44 < Drphil> [root@web01 cgi-bin]# id
03:44 < Drphil> uid=0(root) gid=0(root) groups=32120(vinnsms)
03:45 < Drphil> [root@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 [~vim@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/
Re: Newbie: INN2
#78751
Author: kjell
Date: Sat, 16 Feb 2008 14:50
75 lines
5029 bytes
HR förklarade pÄ 2008-02-16 :
> kjell skrev:
>> Black Dragon förklarade :
>>> kjell wrote:
>> 
>>>> 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!

> This was funny reading:


> -----------------------------------------------------------

> 03:42 -!- Drphil [~vim@s02.vinstjakten.com] has joined 
> #webmasternetwork 03:44 < Drphil> h4wh4wh4wh4wh4w proinet Àr pwned!
> 03:44 < Drphil> igen!
> 03:44 < Drphil> [root@web01 cgi-bin]# id
> 03:44 < Drphil> uid=0(root) gid=0(root) groups=32120(vinnsms)
> 03:45 < Drphil> [root@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 [~vim@s02.vinstjakten.com] has quit [Quit: leaving]

> -----------------------------------------------------------


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

Newbie: INN2
#78770
Author: kjell
Date: Sat, 23 Feb 2008 08:05
11 lines
2337 bytes
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)
Re: Newbie: INN2
#78771
Author: Sven Gottwald
Date: Sat, 23 Feb 2008 09:18
12 lines
2209 bytes
* Quoting kjell <hd@ipbo.se>:
> Message-ID: <1203753956.6509.1.camel@ubuntu3>
                                       ^^^^^^^

> 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
Re: Newbie: INN2
#78772
Author: kjell
Date: Sat, 23 Feb 2008 09:35
14 lines
2634 bytes
lör 2008-02-23 klockan 10:18 +0100 skrev Sven Gottwald:
> * Quoting kjell <hd@ipbo.se>:
> > Message-ID: <1203753956.6509.1.camel@ubuntu3>
>                                        ^^^^^^^
> 
> > 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!
Re: Newbie: INN2
#78773
Author: Black Dragon
Date: Sat, 23 Feb 2008 13:02
20 lines
2214 bytes
kjell wrote:

> lör 2008-02-23 klockan 10:18 +0100 skrev 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.
Re: Newbie: INN2
#78774
Author: kjell
Date: Sat, 23 Feb 2008 14:25
46 lines
3461 bytes
lör 2008-02-23 klockan 08:02 -0500 skrev Black Dragon:
> kjell wrote:
> 
> > lör 2008-02-23 klockan 10:18 +0100 skrev 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"!

> 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!
>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


> Try 'alt.os.linux.ubuntu'.
> 
> Good luck.
> 
Re: Newbie: INN2
#78775
Author: Ray Banana
Date: Sat, 23 Feb 2008 15:27
29 lines
3157 bytes
* kjell wrote:

> lör 2008-02-23 klockan 08:02 -0500 skrev 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.

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

> And this in crontab:

> 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.
 
>> Try 'alt.os.linux.ubuntu'.

Please do so.
Re: Newbie: INN2
#78776
Author: kjell
Date: Sat, 23 Feb 2008 17:55
49 lines
3610 bytes
lör 2008-02-23 klockan 15:27 +0000 skrev Ray Banana:
> * kjell wrote:
> 
> > lör 2008-02-23 klockan 08:02 -0500 skrev 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.
> 
Yes I understand!

> >>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.
> 
> > And this in crontab:
> 
> > 0 3 * * * su -c "/usr/lib/news/bin/news.daily expireover lowmark" news
> 

I have uncomment this!

> 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?

> >> Try 'alt.os.linux.ubuntu'.
> 
> Please do so.
Re: Newbie: INN2
#78777
Author: Ray Banana
Date: Sat, 23 Feb 2008 18:12
32 lines
3152 bytes
Thus spake kjell <hd@ipbo.se>
 
> 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.

> 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
Re: Newbie: INN2
#78778
Author: kjell
Date: Sat, 23 Feb 2008 18:38
37 lines
3210 bytes
lör 2008-02-23 klockan 19:12 +0100 skrev Ray Banana:
> Thus spake kjell <hd@ipbo.se>
>  
> > 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.
> 
> > 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}"
> 
It's ok!

> 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!

> 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.
Re: Newbie: INN2
#78779
Author: kjell
Date: Sun, 24 Feb 2008 07:39
56 lines
3687 bytes
lör 2008-02-23 klockan 19:38 +0100 skrev kjell:
> lör 2008-02-23 klockan 19:12 +0100 skrev Ray Banana:
> > Thus spake kjell <hd@ipbo.se>
> >  
> > > 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.
> > 
> > > 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}"
> > 
> It's ok!
> 
> > 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!
> 
> > 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;





Re: Newbie: INN2
#78780
Author: Ray Banana
Date: Sun, 24 Feb 2008 08:00
11 lines
2327 bytes
Thus spake kjell <hd@ipbo.se>
 
> 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
Re: Newbie: INN2
#78781
Author: kjell
Date: Sun, 24 Feb 2008 11:14
18 lines
2344 bytes
sön 2008-02-24 klockan 09:00 +0100 skrev Ray Banana:
> Thus spake kjell <hd@ipbo.se>
>  
> > 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 ] 

Page 2 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