Thread View: news.software.nntp
10 messages
10 total messages
Started by John F. Morse
Wed, 29 Jul 2009 02:58
Innreport evenRow/oddRow "Greenbar" output
Author: John F. Morse
Date: Wed, 29 Jul 2009 02:58
Date: Wed, 29 Jul 2009 02:58
25 lines
1762 bytes
1762 bytes
The inn-2.5.0.tar.gz tarball includes inside inn-2.5.0/samples the following two files: innreport.conf.in 8246 2008-12-21 21:07:28Z iulius innreport.css 8170 2008-11-17 19:14:16Z iulius I also find inn-2.5.0/scripts/innreport.in and inn-2.5.0/scripts/innreport_inn.pm in that tarball. For INN 2.4.5, could one or more of these files simply replace the single /etc/news/innreport.conf and/or /usr/lib/news/bin/innreport to allow the evenRow/oddRow colorization of the HTML output? Would any other new file from 2.5.0 also be required? If possible, I'd prefer to stick with Debian's APT version support for Lenny (INN 2.4.5), and don't want to start over with compiling. Suggestions? TIA. -- John
Re: Innreport evenRow/oddRow "Greenbar" output
Author: Alexander Bartolich
Date: Wed, 29 Jul 2009 05:21
Date: Wed, 29 Jul 2009 05:21
48 lines
3071 bytes
3071 bytes
John F. Morse wrote:
> The inn-2.5.0.tar.gz tarball includes inside inn-2.5.0/samples the
> following two files:
>
> innreport.conf.in 8246 2008-12-21 21:07:28Z iulius
>
> innreport.css 8170 2008-11-17 19:14:16Z iulius
>
> I also find inn-2.5.0/scripts/innreport.in and
> inn-2.5.0/scripts/innreport_inn.pm in that tarball.
>
> For INN 2.4.5, could one or more of these files simply replace the
> single /etc/news/innreport.conf and/or /usr/lib/news/bin/innreport to
> allow the evenRow/oddRow colorization of the HTML output? Would any
> other new file from 2.5.0 also be required?
You can use the innreport from 2.5.0 with 2.4.x. I'm using the even
more recent head revision with INN 2.4.3. However, you cannot simply
replace the files.
1. With innreport.conf you have to keep a few settings in section
"default" that covers the first 60 lines at the top of the file.
At a minimum you need to preserve the values for libpath, logpath,
and html_dir.
2. With innreport.in two changes are required.
The second line of the script looks like this:
# fixscript will replace this line with code to load INN::Config
Replace it with the original second line. On my system that's
require '/usr/lib/news/innshellvars.pl';
Also at line 100 or so innreport.in has
my $HTML_dir = $INN::Config::pathhttp;
Replace this line with
my $HTML_dir = $INN::pathhttp;
3. innreport_inn.pm can be simply replaced.
> If possible, I'd prefer to stick with Debian's APT version support for
> Lenny (INN 2.4.5), and don't want to start over with compiling.
I'm using Ubuntu 8.04.3 LTS.
--
Brüder, in die Tonne die Freiheit,
Brüder, ein Stoppschild davor.
Egal was die Schwarzen Verlangen
Rufen wir: Ja! Brav im Chor.
Re: Innreport evenRow/oddRow "Greenbar" output
Author: Julien ÉLIE
Date: Wed, 29 Jul 2009 06:28
Date: Wed, 29 Jul 2009 06:28
14 lines
1761 bytes
1761 bytes
Hi Alexander, > You can use the innreport from 2.5.0 with 2.4.x. I'm using the even > more recent head revision with INN 2.4.3. Don't you then see a few unrecognized logs reported by innreport? (that is to say lines whose syntax has changed between INN 2.4 and INN 2.5, or even accounting issues with checkpoints) -- Julien ÉLIE « Vinum nouum, amicus nouus : uesterascet, et cum suauitate bibes illud. »
Re: Innreport evenRow/oddRow "Greenbar" output
Author: Alexander Bartolich
Date: Wed, 29 Jul 2009 19:48
Date: Wed, 29 Jul 2009 19:48
23 lines
2073 bytes
2073 bytes
Julien ÉLIE schrieb: > Hi Alexander, > >> You can use the innreport from 2.5.0 with 2.4.x. I'm using the even >> more recent head revision with INN 2.4.3. > > Don't you then see a few unrecognized logs reported by innreport? Call me ignorant, but I can't tell. My section "Unknown entries" is filled up with the log messages created by "filter:", i.e. my perl_auth and perl_access scripts. > (that is to say lines whose syntax has changed between INN 2.4 and > INN 2.5, or even accounting issues with checkpoints) The only weird issue I see is that column "RejVol" of "Incoming Volume" is all 0. -- Brüder, in die Tonne die Freiheit, Brüder, ein Stoppschild davor. Egal was die Schwarzen Verlangen Rufen wir: Ja! Brav im Chor.
Re: Innreport evenRow/oddRow "Greenbar" output
Author: Julien ÉLIE
Date: Wed, 29 Jul 2009 20:51
Date: Wed, 29 Jul 2009 20:51
13 lines
1740 bytes
1740 bytes
Hi John, > the evenRow/oddRow colorization of the HTML output Incidentally, it is a nice contribution made by Alexander. Now a must-have for innreport! -- Julien ÉLIE « L'art de la médecine consiste à distraire le malade pendant que la nature le guérit. » (Voltaire)
Re: Innreport evenRow/oddRow "Greenbar" output
Author: John F. Morse
Date: Wed, 29 Jul 2009 22:57
Date: Wed, 29 Jul 2009 22:57
42 lines
2604 bytes
2604 bytes
Julien ÉLIE wrote: > Hi John, > >> the evenRow/oddRow colorization of the HTML output > > Incidentally, it is a nice contribution made by Alexander. > Now a must-have for innreport! Hi Julien, Yes, I agree. I see it on some of our brave pioneering administrator's servers. And thanks to Alexander! I'll eventually either drop those files in, or bite the bullet and upgrade to INN 2.4.5. I do have optima11 for experimental purposes, so I don't wreck the production servers due to stupidity or eyesight. ;-) There's just so much to do and so little time. Right now I'm heading into a big medical surgery episode for my wife. So my "freedom" to do what I like to do is likely to become very limited. Her care, which includes wound dressings, cooking, shopping, laundry, etc., will consume my upcoming time for days to weeks. Plus looking over the medical bills that arrive daily (we have no medical insurance, nor can I afford homeowner's insurance nor life insurance). Our total "income" is my Social Security Disability Insurance check, which ranks us somewhere around 150% below of the poverty level. That's "fuzzy math" but the telephone company uses it. I do know that in my state of Kansas, they cannot take my house. Nor can they extract blood from a turnip, nor make silk out of a sow's ear. ;-) Maybe we will survive. :-\ -- John
Re: Innreport evenRow/oddRow "Greenbar" output
Author: John F. Morse
Date: Wed, 29 Jul 2009 23:22
Date: Wed, 29 Jul 2009 23:22
66 lines
3536 bytes
3536 bytes
Alexander Bartolich wrote: > John F. Morse wrote: > >> The inn-2.5.0.tar.gz tarball includes inside inn-2.5.0/samples the >> following two files: >> >> innreport.conf.in 8246 2008-12-21 21:07:28Z iulius >> >> innreport.css 8170 2008-11-17 19:14:16Z iulius >> >> I also find inn-2.5.0/scripts/innreport.in and >> inn-2.5.0/scripts/innreport_inn.pm in that tarball. >> >> For INN 2.4.5, could one or more of these files simply replace the >> single /etc/news/innreport.conf and/or /usr/lib/news/bin/innreport to >> allow the evenRow/oddRow colorization of the HTML output? Would any >> other new file from 2.5.0 also be required? >> > > You can use the innreport from 2.5.0 with 2.4.x. I'm using the even > more recent head revision with INN 2.4.3. However, you cannot simply > replace the files. > > 1. With innreport.conf you have to keep a few settings in section > "default" that covers the first 60 lines at the top of the file. > At a minimum you need to preserve the values for libpath, logpath, > and html_dir. > > 2. With innreport.in two changes are required. > The second line of the script looks like this: > # fixscript will replace this line with code to load INN::Config > Replace it with the original second line. On my system that's > require '/usr/lib/news/innshellvars.pl'; > > Also at line 100 or so innreport.in has > my $HTML_dir = $INN::Config::pathhttp; > Replace this line with > my $HTML_dir = $INN::pathhttp; > > 3. innreport_inn.pm can be simply replaced. > > >> If possible, I'd prefer to stick with Debian's APT version support for >> Lenny (INN 2.4.5), and don't want to start over with compiling. >> > > I'm using Ubuntu 8.04.3 LTS. > Thanks, Alexander. I'll try this on my "play" server. Say, with Ubuntu 8.04 LTS, are you experiencing the failure to restart news.notice after a syslog rotation? I was using 8.04 LTS Server Edition (headless). Ray Banana, David Taylor and I were fighting this a few months ago. I finally gave up and installed Debian Lenny, after figuring out that I needed /boot up front on the servers with the old BIOS, to accommodate the larger hard drives. More here: https://bugs.launchpad.net/ubuntu/+source/inn2/+bug/374843 -- John
Re: Innreport evenRow/oddRow "Greenbar" output (Typo)
Author: John F. Morse
Date: Wed, 29 Jul 2009 23:24
Date: Wed, 29 Jul 2009 23:24
10 lines
1426 bytes
1426 bytes
John F. Morse wrote: > I'll eventually either drop those files in, or bite the bullet and > upgrade to INN 2.4.5. Should be "from" 2.4.5 -- to 2.5.0 of course. -- John
Re: Innreport evenRow/oddRow "Greenbar" output
Author: Alexander Bartolich
Date: Thu, 30 Jul 2009 05:19
Date: Thu, 30 Jul 2009 05:19
28 lines
2361 bytes
2361 bytes
John F. Morse wrote: > [...] > Say, with Ubuntu 8.04 LTS, are you experiencing the failure to restart > news.notice after a syslog rotation? I was using 8.04 LTS Server Edition > (headless). Yes, I had those problems. My guess on the cause is that the sysklogd shipped with 8.04 does not realise when a file is truncated to 0 byte. Probably INN should be redesigned to either write directly into files (like Apache and Samba) or to cooperate with logrotate (like everyone else). > Ray Banana, David Taylor and I were fighting this a few months ago. I > finally gave up and installed Debian Lenny, I solved the issue by replacing sysklogd with syslog-ng. It comes with a default configuration that is equivalent to sysklogd's default. So unless you have customized your /etc/syslog.conf the only required action is apt-get install syslog-ng -- Brüder, in die Tonne die Freiheit, Brüder, ein Stoppschild davor. Egal was die Schwarzen Verlangen Rufen wir: Ja! Brav im Chor.
Re: Innreport evenRow/oddRow "Greenbar" output
Author: Julien ÉLIE
Date: Thu, 30 Jul 2009 06:21
Date: Thu, 30 Jul 2009 06:21
9 lines
1549 bytes
1549 bytes
The best of luck for the future, John. Have a nice day, -- Julien ÉLIE « L'art de la médecine consiste à distraire le malade pendant que la nature le guérit. » (Voltaire)
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