Page 1 of 1

How to get more debugging info on zmc crash?

Posted: Mon Dec 28, 2009 5:23 pm
by skier
I have an 8-camera setup and one camera is not coming up. More
precisely, the zmc process for that camera, /dev/video3, isn't
running. (See this other thread for more details than you might
possibly want: http://www.zoneminder.com/forums/viewtopic.php?t=14982 )


In /var/log/syslog I find entries like

INF ['zmc -d /dev/video3' crashed, signal 6]

The question here is simply: where/how can I get more debugging output
about why zmc crashed? I understand that signal 6 is SIGABRT, which
should mean that zmc itself decided to abort (instead of being killed by the
kernel later) because it didn't like something---not enough resources,
whatever.

How can I get more details about the reason for the failure?

Posted: Mon Dec 28, 2009 8:07 pm
by mitch
http://www.zoneminder.com/wiki/index.ph ... leshooting
make sure to turn on enhanced debugging for each process (or atleast zmc) and set the debug level to 5 or 6.

Posted: Mon Dec 28, 2009 11:18 pm
by skier
Thanks!

So I went into zm console, options, debug, EXTRA DEBUG yes, EXTRa DEBUG TARGET _zmc, EXTRA DEBUG LEVEL 6, EXTRA DEBUG LOG /tmp/zm_debug.log+

Very useful!