Strange crashes?

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
elmozach
Posts: 2
Joined: Fri Dec 07, 2018 5:52 am

Strange crashes?

Post by elmozach »

Okay so I recently installed ZM 1.32.2 on XUBUNTU using the Ubuntu install guide (installing from the ppa:iconnor/zoneminder)

Once I got it up and installed correctly, I added my camera and it was working fine, recently I had to change some settings in the camera and I noticed it was sitting on red for ages, so I restarted ZM and yep it went green and was working fine again. But again recently I had to change a setting in the camera (specifically the buffer) and it just would not initialise the camera?

Note I have tried deleting the camera and adding it again (with default values and the ones I knew to work previously) and still no luck.

Here is my log, (I have omitted the user and passwords and the ip addresses).

Code: Select all

2018-12-07 05:48:07	zmdc		1002	INF	'zma -m 5' sending stop to pid 6944 at 18/12/07 05:48:07	zmdc.pl	
2018-12-07 05:48:07	zmdc		1002	INF	'zma -m 5' exited, signal 14	zmdc.pl	
2018-12-07 05:48:07	zmdc		1002	INF	'zmc -m 5' sending stop to pid 6943 at 18/12/07 05:48:07	zmdc.pl	
2018-12-07 05:48:07	zmc_m5		6943	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
2018-12-07 05:48:07	zmc_m5		6943	WAR	Monitor dimensions are 320x480 but camera is sending 640x480	zm_ffmpeg_camera.cpp	627
2018-12-07 05:48:07	zmdc		1002	INF	'zmc -m 5' exited normally	zmdc.pl	
2018-12-07 05:47:56	zmdc		1002	INF	Starting pending process, zma -m 5	zmdc.pl	
2018-12-07 05:47:56	zmdc		1002	INF	'zma -m 5' starting at 18/12/07 05:47:56, pid = 6944	zmdc.pl	
2018-12-07 05:47:56	zmdc		6944	INF	'zma -m 5' started at 18/12/07 05:47:56	zmdc.pl	
2018-12-07 05:47:55	zmfilter_1		1141	INF	Checking filter PurgeWhenFull delete returned 0 events	zmfilter.pl	
2018-12-07 05:47:55	zmfilter_2		1147	INF	Checking filter Update DiskSpace update disk space returned 0 events	zmfilter.pl	
2018-12-07 05:47:55	zmdc		1002	INF	Starting pending process, zmc -m 5	zmdc.pl	
2018-12-07 05:47:55	zmdc		1002	INF	'zmc -m 5' starting at 18/12/07 05:47:55, pid = 6943	zmdc.pl	
2018-12-07 05:47:55	zmdc		6943	INF	'zmc -m 5' started at 18/12/07 05:47:55	zmdc.pl	
2018-12-07 05:47:55	zmc_m5		6943	INF	Starting Capture version 1.32.2	zmc.cpp	223
2018-12-07 05:47:55	zmc_m5		6943	INF	Priming capture from http://:@x.x.x.x/videostream.asf?usr=&pwd=	zm_ffmpeg_camera.cpp	163
2018-12-07 05:47:55	zmc_m5		6943	WAR	Option rtsp_transport not recognized by ffmpeg	zm_ffmpeg_camera.cpp	372
2018-12-07 05:47:55	zmc_m5		6943	INF	Stream open http://:@x.x.x.x/videostream.asf?usr=&pwd=, parsing streams...	zm_ffmpeg_camera.cpp	378
2018-12-07 05:47:51	zmdc		1002	INF	Starting pending process, zma -m 5	zmdc.pl	
2018-12-07 05:47:51	zmdc		1002	INF	'zma -m 5' starting at 18/12/07 05:47:51, pid = 6940	zmdc.pl	
2018-12-07 05:47:51	zmdc		6940	INF	'zma -m 5' started at 18/12/07 05:47:51	zmdc.pl	
2018-12-07 05:47:51	zma_m5		6940	ERR	Got empty memory map file size 0, is the zmc process for this monitor running?	zm_monitor.cpp	538
2018-12-07 05:47:51	zmdc		1002	ERR	'zma -m 5' exited abnormally, exit status 255	zmdc.pl	
2018-12-07 05:47:50	zmwatch		1161	INF	Restarting capture daemon for Monitor-5, no image since startup. Startup time was 1544161660 - now 1544161670 > 5	zmwatch.pl	
2018-12-07 05:47:50	zmdc		1002	INF	'zma -m 5' sending stop to pid 6921 at 18/12/07 05:47:50	zmdc.pl	
2018-12-07 05:47:50	zmdc		1002	INF	'zma -m 5' exited, signal 14	zmdc.pl	
2018-12-07 05:47:50	zmdc		1002	INF	'zmc -m 5' sending stop to pid 6904 at 18/12/07 05:47:50	zmdc.pl	
2018-12-07 05:47:50	zmc_m5		6904	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
2018-12-07 05:47:50	zmc_m5		6904	WAR	Monitor dimensions are 320x480 but camera is sending 640x480	zm_ffmpeg_camera.cpp	627
2018-12-07 05:47:50	zmdc		1002	INF	'zmc -m 5' exited normally	zmdc.pl	
2018-12-07 05:47:50	zmdc		1002	INF	'zma -m 5' starting at 18/12/07 05:47:50, pid = 6939	zmdc.pl	
2018-12-07 05:47:50	zmdc		6939	INF	'zma -m 5' started at 18/12/07 05:47:50	zmdc.pl	
2018-12-07 05:47:50	zma_m5		6939	ERR	Got empty memory map file size 0, is the zmc process for this monitor running?	zm_monitor.cpp	538
2018-12-07 05:47:50	zmdc		1002	ERR	'zma -m 5' exited abnormally, exit status 255	zmdc.pl	
2018-12-07 05:47:49	web_php		6924	INF	Login successful for user ""	/usr/share/zoneminder/www/includes/auth.php	50
2018-12-07 05:47:49	web_php		6924	INF	Login successful for user ""	/usr/share/zoneminder/www/includes/auth.php	50
2018-12-07 05:47:42	zmdc		1002	INF	Starting pending process, zma -m 5	zmdc.pl	
2018-12-07 05:47:42	zmdc		1002	INF	'zma -m 5' starting at 18/12/07 05:47:42, pid = 6921	zmdc.pl	
2018-12-07 05:47:42	zmdc		6921	INF	'zma -m 5' started at 18/12/07 05:47:42	zmdc.pl	
2018-12-07 05:47:40	zmdc		1002	INF	'zma -m 5' starting at 18/12/07 05:47:40, pid = 6903	zmdc.pl	
2018-12-07 05:47:40	zmdc		6903	INF	'zma -m 5' started at 18/12/07 05:47:40	zmdc.pl	
2018-12-07 05:47:40	zmdc		1002	INF	Starting pending process, zmc -m 5	zmdc.pl	
2018-12-07 05:47:40	zmdc		6904	INF	'zmc -m 5' started at 18/12/07 05:47:40	zmdc.pl	
2018-12-07 05:47:40	zmdc		1002	INF	'zmc -m 5' starting at 18/12/07 05:47:40, pid = 6904	zmdc.pl	
2018-12-07 05:47:40	zma_m5		6903	ERR	Got empty memory map file size 0, is the zmc process for this monitor running?	zm_monitor.cpp	538
2018-12-07 05:47:40	zmdc		1002	ERR	'zma -m 5' exited abnormally, exit status 255	zmdc.pl	
2018-12-07 05:47:40	zmc_m5		6904	INF	Starting Capture version 1.32.2	zmc.cpp	223
2018-12-07 05:47:40	zmc_m5		6904	INF	Priming capture from http://:@x.x.x.x/videostream.asf?usr=&pwd=	zm_ffmpeg_camera.cpp	163
2018-12-07 05:47:40	zmc_m5		6904	WAR	Option rtsp_transport not recognized by ffmpeg	zm_ffmpeg_camera.cpp	372
2018-12-07 05:47:40	zmc_m5		6904	INF	Stream open http://:@x.x.x.x/videostream.asf?usr=&pwd=, parsing streams...	zm_ffmpeg_camera.cpp	378
2018-12-07 05:47:39	zmwatch		1161	INF	Restarting capture daemon for Monitor-5, no image since startup. Startup time was 1544161649 - now 1544161659 > 5	zmwatch.pl	
2018-12-07 05:47:39	zmdc		1002	INF	'zma -m 5' sending stop to pid 6771 at 18/12/07 05:47:39	zmdc.pl	
2018-12-07 05:47:39	zmdc		1002	INF	'zma -m 5' exited, signal 14	zmdc.pl	
2018-12-07 05:47:39	zmdc		1002	INF	'zmc -m 5' sending stop to pid 6768 at 18/12/07 05:47:39	zmdc.pl	
2018-12-07 05:47:39	zmc_m5		6768	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
2018-12-07 05:47:39	zmc_m5		6768	WAR	Monitor dimensions are 320x480 but camera is sending 640x480	zm_ffmpeg_camera.cpp	627
2018-12-07 05:47:39	zmdc		1002	INF	'zmc -m 5' exited normally	zmdc.pl	
2018-12-07 05:47:29	zmwatch		1161	ERR	Memory map file '/dev/shm/zm.mmap.5' should have been 1168 but was instead 0	zmwatch.pl	
2018-12-07 05:47:29	zmwatch		1161	INF	Restarting capture daemon for Monitor-5, shared data not valid	zmwatch.pl	
2018-12-07 05:47:29	zmdc		1002	INF	Command 'zma -m 5' removed from pending list at 18/12/07 05:47:29	zmdc.pl	
2018-12-07 05:47:29	zmdc		1002	WAR	Can't find process with command of 'zmc -m 5'	zmdc.pl	
2018-12-07 05:47:29	zmdc		1002	INF	'zmc -m 5' starting at 18/12/07 05:47:29, pid = 6768	zmdc.pl	
2018-12-07 05:47:29	zmdc		6768	INF	'zmc -m 5' started at 18/12/07 05:47:29	zmdc.pl	
2018-12-07 05:47:29	zmc_m5		6768	INF	Starting Capture version 1.32.2	zmc.cpp	223
2018-12-07 05:47:29	zmc_m5		6768	INF	Priming capture from http://:@x.x.x.x/videostream.asf?usr=&pwd=	zm_ffmpeg_camera.cpp	163
2018-12-07 05:47:29	zmdc		1002	INF	'zma -m 5' starting at 18/12/07 05:47:29, pid = 6771	zmdc.pl	
2018-12-07 05:47:29	zmdc		6771	INF	'zma -m 5' started at 18/12/07 05:47:29	zmdc.pl	
2018-12-07 05:47:29	zmc_m5		6768	INF	Stream open http://:@x.x.x.x/videostream.asf?usr=&pwd=, parsing streams...	zm_ffmpeg_camera.cpp	378
2018-12-07 05:47:25	zmdc		1002	INF	Starting pending process, zma -m 5	zmdc.pl	
2018-12-07 05:47:25	zmdc		1002	INF	'zma -m 5' starting at 18/12/07 05:47:25, pid = 6638	zmdc.pl	
2018-12-07 05:47:25	zmdc		6638	INF	'zma -m 5' started at 18/12/07 05:47:25	zmdc.pl	
2018-12-07 05:47:25	zma_m5		6638	ERR	Got empty memory map file size 0, is the zmc process for this monitor running?	zm_monitor.cpp	538
2018-12-07 05:47:25	zmdc		1002	ERR	'zma -m 5' exited abnormally, exit status 255	zmdc.pl	
2018-12-07 05:47:20	zmdc		1002	INF	Starting pending process, zma -m 5	zmdc.pl	
2018-12-07 05:47:20	zmdc		1002	INF	'zma -m 5' starting at 18/12/07 05:47:20, pid = 6637	zmdc.pl	
2018-12-07 05:47:20	zmdc		6637	INF	'zma -m 5' started at 18/12/07 05:47:20	zmdc.pl	
2018-12-07 05:47:20	zma_m5		6637	ERR	Got empty memory map file size 0, is the zmc process for this monitor running?	zm_monitor.cpp	538
2018-12-07 05:47:20	zmdc		1002	ERR	'zma -m 5' exited abnormally, exit status 255	zmdc.pl	
2018-12-07 05:47:19	zmdc		1002	INF	Command 'zmc -m 5' removed from pending list at 18/12/07 05:47:19	zmdc.pl	
2018-12-07 05:47:19	zmdc		1002	INF	'zma -m 5' starting at 18/12/07 05:47:19, pid = 6636	zmdc.pl	
2018-12-07 05:47:19	zmdc		6636	INF	'zma -m 5' started at 18/12/07 05:47:19	zmdc.pl	
2018-12-07 05:47:19	zma_m5		6636	ERR	Got empty memory map file size 0, is the zmc process for this monitor running?	zm_monitor.cpp	538
2018-12-07 05:47:19	zmdc		1002	ERR	'zma -m 5' exited abnormally, exit status 255	zmdc.pl	
2018-12-07 05:47:18	zmdc		1002	INF	'zmc -m 5' exited normally	zmdc.pl	
2018-12-07 05:47:18	zmwatch		1161	ERR	Memory map file '/dev/shm/zm.mmap.5' does not exist. zmc might not be running.	zmwatch.pl

I notice these happen over and over...

Code: Select all

2018-12-07 05:47:20	zma_m5		6637	ERR	Got empty memory map file size 0, is the zmc process for this monitor running?	zm_monitor.cpp	538
2018-12-07 05:47:20	zmdc		1002	ERR	'zma -m 5' exited abnormally, exit status 255	zmdc.pl	
2018-12-07 05:47:18	zmwatch		1161	ERR	Memory map file '/dev/shm/zm.mmap.5' does not exist. zmc might not be running.	
Also before you point out this warning, it has worked before saying this warning...

Code: Select all

2018-12-07 05:47:29	zmc_m5		6768	WAR	Option rtsp_transport not recognized by ffmpeg	zm_ffmpeg_camera.cpp	372
Also I am aware of the resolution thing I tried the res that worked, and the cam res still no luck, still the errors I said above about memory map, and exit status 255.


I have tried googling and searching for a few days now, and because I am new to ZM and the results were not getting anywhere I am stuck?
User avatar
iconnor
Posts: 2880
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Strange crashes?

Post by iconnor »

It might be taking too long to get an image from the camera.....

Increase WATCH_MAX_DELAY

Options -> System near the bottom
elmozach
Posts: 2
Joined: Fri Dec 07, 2018 5:52 am

Re: Strange crashes?

Post by elmozach »

That doesn't seem to have fixed it, after increasing the WATCH_MAX_DELAY to 20, shall I show more log, where is the file located?
Post Reply