rkt logo

INN FAQ Part 5

NOTE: The maintainers of the INN FAQ stopped publishing in December 1997.
An important update to this topic is provided by Mib Software in the Usenet RKT for Subscribers.

Subject: (5.17) innd: ME cant update_active control


What does "innd: ME cant update_active control" mean?

Look at your active file. One of the fields is "99999" and has to be
incremented to "100000" but there is no space. Shut down innd
("ctlinnd shutdown x"). Edit your active file (see the "Safe way to
edit the "active" file?" question in INN FAQ part 6) to add more
leading zeroes to all the numbers. You can use the following for this:

1. ctlinnd throttle 'updating active'
2. awk '{printf "%s %.10d %.10d %s\n", $1, $2, $3, $4}' active > active.new

if your awk printf spaves instead of leading zeroes in this step,
then try the following instead of step 2:

awk '{printf "%s %010d %010d %s\n", $1, $2, $3, $4}' active > active.new

or

perl -lane 'split;printf "%s %.10d %.10d %s\n", @F' active > active.new

3. mv active.new active
4. ctlinnd reload active updated
5. ctlinnd go 'updating active'

See also INN FAQ #5.11.

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

[Source: INN FAQ Part 5 Archive-name: usenet/software/inn-faq/part5]
[Last Changed: $Date: 1997/09/16 01:25:56 $ $Revision: 2.25 $]
[Copyright: 1997 Heiko Rupp, portions by Tom Limoncelli, Rich Salz, et al.]