cnfsstat can't write to syslog after restart syslogd

Russ Allbery rra at stanford.edu
Sun Jan 19 21:26:18 UTC 2003


Alexander Koch <alexander.koch at ilk.de> writes:

> after restarting syslogd cnfsstat can't write to /dev/log.

> send(4, "<61>cnfsstat[21604]: Class GROSS"..., 207, 0) = -1 ENOTCONN
> (Transport endpoint is not connected)

> I had modified cnfsstat that it open's the log before write to it and
> close it after write.

> It works for me. Perhaps it works for you too.

This is really a problem with the Perl module.  I don't think that
cnfsstat should be reopening syslog all the time to work around it.  At a
guess, this is a problem that's handled by libc if one uses the normal
openlog/syslog interface.

This may be fixed with current versions of Perl.

-- 
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 mailing list