Thread View: news.software.nntp
2 messages
2 total messages
Started by Paul D. Smith
Sat, 18 Jul 1998 00:00
INN 2.0: customizations?
Author: Paul D. Smith
Date: Sat, 18 Jul 1998 00:00
Date: Sat, 18 Jul 1998 00:00
41 lines
2169 bytes
2169 bytes
So, the new automatic configure is cool. When it works.
But there's a serious lack of documentation about how to customize
things when they _don't_ work.
For example, I'm on a Solaris system and innwatch is using /bin/df to
find free space. Unfortunately, the device name where the spool is
stored is so large, it causes the awk script to get the wrong value as
the free blocks.
The default innwatch.ctl query for free disk is:
/bin/df . | awk 'NR == 2 { print $4 }'
This works fine for most partitions; df gives something like:
/ (/dev/dsk/c0t3d0s0 ): 213720 blocks 68116 files
so field 4 is the free blocks. But, on my spool disk I see:
/usr/spool/news (/dev/vx/dsk/rootdg/vspoolnews):10480988 blocks 1310121 files
You can see that everything is run together, and that awk script no
longer works.
What I wanted to do was change the DF command to be "/bin/df -k", which
behaves more correctly. So I went to inn-2.0/site and modified
innshellvars. I couldn't see any other way to do it.
But, when I type make in the top level or in the site subdirectory,
innwatch.ctl was not recreated! When does this happen? Do I have to do
something special?
--
-------------------------------------------------------------------------------
Paul D. Smith <psmith@baynetworks.com> Network Management Development
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
These are my opinions--Bay Networks takes no responsibility for them.
Re: INN 2.0: customizations?
Author: Forrest J. Cavalier III
Date: Sat, 18 Jul 1998 00:00
Date: Sat, 18 Jul 1998 00:00
28 lines
1652 bytes
1652 bytes
posted and emailed In article <p5r9zju2y4.fsf@baynetworks.com>, psmith@baynetworks.com wrote... > >So, the new automatic configure is cool. When it works. > >But there's a serious lack of documentation about how to customize >things when they _don't_ work. In the old INN, you would be able to edit config.data. It was decided not to provide this functionality in INN 2.0. (That's about when I stopped working on configure.) In general, you can "pre-load" values into config.site, which is run during the start of configure. If you do this, you must remember to rm config.cache first. That's very important. For your particular example of innwatch.ctl, I believe that is still done with config/config.data. The configure method is only partially converted.... Forrest J. Cavalier III, Mib Software, INN customization and consulting 'Pay-as-you-go' commercial support for INN: Only $64/hour! Searchable hypertext INN docs, FAQ, RFCs, etc: 650+ pages: Free access! http://www.mibsoftware.com/innsup.htm
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