How to get more debugging info on zmc crash?

Forum for questions and support relating to the 1.24.x releases only.
Locked
skier
Posts: 29
Joined: Thu Dec 10, 2009 11:54 am

How to get more debugging info on zmc crash?

Post 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?
mitch
Posts: 169
Joined: Thu Apr 30, 2009 4:18 am

Post 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.
skier
Posts: 29
Joined: Thu Dec 10, 2009 11:54 am

Post 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!
Locked