--On Thursday, July 21, 2005 9:54 AM +0200 "\"rueh hänä\"" <[EMAIL PROTECTED]>
wrote:
HI all
I received this error after reloading mon.
Jul 21 09:36:40 linuxweb21 mon[1145]: could not read state file: No such
file or directory
Jul 21 09:36:40 linuxweb21 mon[1145]: error trying to recv a trap:
Resource temporarily unavailable
Why does this error occur?
The first error means that you're reloading mon with the 'keep state' bit
set, so it trys to maintain various scheduler state bits across the reload.
But it wouldn't read the state file on reload. Perhaps the statedir you're
setting in your mon.cfg doesn't exist, or isn't writable by the user mon is
running as?
The second error means that your kernel returned an error, most likely
EAGAIN. This would appear to indicate that mon was trying to read a trap
from the UDP port when there were no traps to be read. This might be a
minor bug in Mon during reloads. Does it happen on a regular basis, or
just at a reload?
-David
David Nolan <*> [EMAIL PROTECTED]
curses: May you be forced to grep the termcap of an unclean yacc while
a herd of rogue emacs fsck your troff and vgrind your pathalias!
_______________________________________________
mon mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/mon