lock up reading corrupted active file

Tomasz R. Surmacz tsurmacz at ict.pwr.wroc.pl
Mon Mar 2 07:36:08 UTC 2009


Julien ÉLIE wrote on Mon, Mar 02, 2009 at 07:49:17AM +0100:
> Hi Homer,
> 
> >Running FC3, latest version of inn2.4.5, copied over active from
> >another server and innd just lockedup when started, it's there, but not
> >allowing connections.
> >
> >active file had bad lines in it, I edited them out by hand, and innd worked
> >fine.
> 
> How could its lines have become bad after a mere copy?
> Do you have an example of such bad lines?

I would guess the copy was done *while* the target server was still
running, hence it had in-memory copy of the old active file, and this
way it got corrupted.

> >Probably be good to have a line checker in the active read program,
> >to just ignore or at least warn on bad lines.
> 
> Normally, "inncheck" or "inncheck -pedantic" does that.

or for the copying, at least:

ctlinnd throttle 'whatever the reason'
-- copy the active file
ctlinnd reload active ''
ctlinnd go ''

-- 




More information about the inn-bugs mailing list