Re: Cricket crashing on network timeout

Ed Ravin <[email protected]>
Newsgroups gmane.network.cricket.user
Message-ID <[email protected]>
On Mon, Oct 09, 2006 at 09:58:47AM +1300, Simon Allard wrote:
...
> The collector process quits competly, leaving the lock file.
> 
> I have managed to fix the problem, but still not 100% sure why my fix
> worked. What I did was disabled all logging output by a quick and dirty perl
> hack in the Log.pm file, which just returned from sub Log, rather than doing
> the logging.
> 
> My guess is I have a misconfiguration somewhere, and when a device errored
> it caused a broken pipe somewhere, I assume to a mail program?
> 
> 
> email-program       = /usr/bin/mailx
> 
> Which doesn't exist, hence the broken pipe and the crash.

I just looked through Log.pm  - it doesn't reference the email program.
It prints logging information to stderr, which is presumably
redirected somewhere.

If you can reliably reproduce the problem, change your cron entry to
invoke ktrace/truss/systrace or the like.  The output should tell
you what's going on.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.