nnrpd fails when cycbuff.conf is updated
rra at stanford.edu
Mon Aug 26 15:50:03 UTC 2002
Matus \"fantomas\" Uhlar <uhlar at fantomas.sk> writes:
> I just updated cycbuff.conf - added one cycbuff to one metacycbuff to
> increase its size. I found out that nnrpd rejects connections with 503
> (NNTP server unavailable). The logs say:
> Aug 26 10:46:38 virtual nnrpd: CNFS-sm: No magic cookie found for cycbuff FOUR, initializing
> Aug 26 10:46:38 virtual nnrpd: CNFS-sm: CNFSflushhead: write failed (-1 bytes): Bad file descriptor
> Aug 26 10:46:38 virtual nnrpd: SM storage method 'cnfs' failed initialization
> Aug 26 10:46:38 virtual nnrpd: SM one or more storage methods failed initialization
> Aug 26 10:46:38 virtual nnrpd: cant initialize storage method, one or more storage methods failed initialization
> Anybody has an idea how to fix this?
> Of course, i know starting innd will properly initialize the cycbuff
> (maybe reloading storage.conf too?). But I would like to avoid server
> being unavailable at such time.
Basically, don't add a new cycbuff until such time as you can restart innd
to initialize it, because otherwise other CNFS clients will have the
problem that you describe. nnrpd opens the storage manager read-only and
therefore can't initialize itself.
The downtime hit isn't too bad; all you have to do is a:
ctlinnd xexec innd
(Unfortunately, storage.conf isn't a configuration file that can be
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
Please send questions to the list rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
More information about the inn-workers