Problem with recording

Forum for questions and support relating to the 1.24.x releases only.
Locked
Nunak
Posts: 1
Joined: Sun Feb 07, 2010 9:09 pm

Problem with recording

Post by Nunak »

Hi,
i have installed ZoneMinder-1.24.2 on debian lenny x64 (amd64). When set camera as record in /var/log/messages is always. I see camera OK, but no recording :(

Code: Select all

Feb  7 22:11:58 nuni zmwatch[11250]: INF ['zma -m 1' starting at 10/02/07 22:11:58, pid = 26729]
Feb  7 22:11:58 nuni zma_m1[26729]: INF [Debug Level = 0, Debug Log = <none>]
Feb  7 22:11:58 nuni zma_m1[26729]: INF [In mode 4/1, warming up]
Feb  7 22:12:01 nuni zma_m1[26729]: INF [Got signal 11 (Segmentation fault), crashing]
Feb  7 22:12:01 nuni zma_m1[26729]: INF [Backtrace complete, please execute the following command for more information]
Feb  7 22:12:01 nuni zma_m1[26729]: INF [addr2line -e /usr/local/bin/zma(cos+0x109) 0x7f19b0af5a80 0x4211fc 0x428038 0x4070cd 0x7f19af9df1a6 0x406dc9]
Feb  7 22:12:08 nuni zmdc[11214]: INF ['zma -m 1' starting at 10/02/07 22:12:08, pid = 26834]
Feb  7 22:12:08 nuni zmdc[26834]: INF ['zma -m 1' started at 10/02/07 22:12:08]
Feb  7 22:12:08 nuni zmwatch[11250]: INF ['zma -m 1' starting at 10/02/07 22:12:08, pid = 26834]
Feb  7 22:12:08 nuni zma_m1[26834]: INF [Debug Level = 0, Debug Log = <none>]
Feb  7 22:12:08 nuni zma_m1[26834]: INF [In mode 4/1, warming up]
Feb  7 22:12:12 nuni zma_m1[26834]: INF [Got signal 11 (Segmentation fault), crashing]
Feb  7 22:12:12 nuni zma_m1[26834]: INF [Backtrace complete, please execute the following command for more information]
Feb  7 22:12:12 nuni zma_m1[26834]: INF [addr2line -e /usr/local/bin/zma(cos+0x109) 0x7f4626e1ca80 0x4211fc 0x428038 0x4070cd 0x7f4625d061a6 0x406dc9]
Feb  7 22:12:18 nuni zmdc[11214]: INF ['zma -m 1' starting at 10/02/07 22:12:18, pid = 26893]
Feb  7 22:12:18 nuni zmdc[26893]: INF ['zma -m 1' started at 10/02/07 22:12:18]
Feb  7 22:12:18 nuni zmwatch[11250]: INF ['zma -m 1' starting at 10/02/07 22:12:18, pid = 26893]
Feb  7 22:12:18 nuni zma_m1[26893]: INF [Debug Level = 0, Debug Log = <none>]
Feb  7 22:12:18 nuni zma_m1[26893]: INF [In mode 4/1, warming up]
Feb  7 22:12:22 nuni zma_m1[26893]: INF [Got signal 11 (Segmentation fault), crashing]
Feb  7 22:12:22 nuni zma_m1[26893]: INF [Backtrace complete, please execute the following command for more information]
Feb  7 22:12:22 nuni zma_m1[26893]: INF [addr2line -e /usr/local/bin/zma(cos+0x109) 0x7f3bbb642a80 0x4211fc 0x428038 0x4070cd 0x7f3bba52c1a6 0x406dc9]
when i run addr2line -e /usr/local/bin/zma cos+0x109 0x7f3bbb642a80 0x4211fc 0x428038 0x4070cd 0x7f3bba52c1a6 0x406dc9

Code: Select all

??:0
??:0
/usr/local/src/ZoneMinder-1.24.2/src/zm_monitor.cpp:225
/usr/local/src/ZoneMinder-1.24.2/src/zm_monitor.cpp:1218
/usr/local/src/ZoneMinder-1.24.2/src/zma.cpp:119
??:0
??:0
zmdc.log

Code: Select all

7.2.2010 22:26:50.330674 zmdc[11214].INF ['zma -m 1' starting at 10/02/07 22:26:50, pid = 31900]
7.2.2010 22:26:53.693826 zmdc[11214].ERR ['zma -m 1' exited abnormally, exit status 11]
7.2.2010 22:27:00.451712 zmdc[11214].INF ['zma -m 1' starting at 10/02/07 22:27:00, pid = 31960]
7.2.2010 22:27:04.013170 zmdc[11214].ERR ['zma -m 1' exited abnormally, exit status 11]
7.2.2010 22:27:10.577653 zmdc[11214].INF ['zma -m 1' starting at 10/02/07 22:27:10, pid = 32043]
7.2.2010 22:27:13.872826 zmdc[11214].ERR ['zma -m 1' exited abnormally, exit status 11]
7.2.2010 22:27:20.694208 zmdc[11214].INF ['zma -m 1' starting at 10/02/07 22:27:20, pid = 32103]
7.2.2010 22:27:23.964001 zmdc[11214].ERR ['zma -m 1' exited abnormally, exit status 11]
7.2.2010 22:27:30.819538 zmdc[11214].INF ['zma -m 1' starting at 10/02/07 22:27:30, pid = 32201]
7.2.2010 22:27:34.479345 zmdc[11214].ERR ['zma -m 1' exited abnormally, exit status 11]
7.2.2010 22:27:40.980275 zmdc[11214].INF ['zma -m 1' starting at 10/02/07 22:27:40, pid = 32246]
7.2.2010 22:27:44.374185 zmdc[11214].ERR ['zma -m 1' exited abnormally, exit status 11]
I have camera Airlive OD-325HD
settings :
Remote Protocol: HTTP
Remote Method: Simpe
Adress : admin:airlive@192.168.1.53
Port: 80
Path : /mjpg/video.mjpg?resolution=vga

Please help

Thanks

Karel Peran - Nunak
jrinalb
Posts: 5
Joined: Tue Dec 28, 2010 3:27 am

Post by jrinalb »

did you ever get your camera working with zoneminder? I have the same camera and i'm having a hard time connecting the two..
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Post by mastertheknife »

Are you using linked monitors? Please try unlinking all your monitors and see if the problem goes away.

mastertheknife
jrinalb
Posts: 5
Joined: Tue Dec 28, 2010 3:27 am

Post by jrinalb »

i currently have only have one camera set up. i can't seem to find the option to unlink or ling the camera. I'm assuming its only utilized when two more cameras are used??
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Post by mastertheknife »

The linked monitors option shows up in each monitor's options page, even if you have only one monitor.

If you have phpmyadmin, try setting the LinkedMonitors field in the Monitors table to empty.

The backtrace you provided shows the problem coming when attempting to access a linked monitor which probably doesn't exist.
jrinalb
Posts: 5
Joined: Tue Dec 28, 2010 3:27 am

Post by jrinalb »

I found the link option under the Source/genera tab but i don't see where i can link it or its greyed out. i toggle between tabs and i sometimes see my monitor linked and sometimes i don't.. i think i have other issues.. i don't think zoneminder is finding my ip camera..
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Post by mastertheknife »

Can you enable extra debugging (level 9) (it will put debug files in /tmp/ folder) and then upload the log file or upload the results of "cat thefile | grep -i link"
ZM thinks you have linked monitors for some reason, and it seems you aren't the only person with this problem, i found another one, this is why im curious about this issue and interested in creating a patch to fix it.
http://www.zoneminder.com/forums/viewtopic.php?t=16980
jrinalb
Posts: 5
Joined: Tue Dec 28, 2010 3:27 am

Post by jrinalb »

i have increase the level to nine and this two of the log files..
zm debug file
01/01/11 14:23:27.023155 zmu[5850].INF-zm_debug.c/292 [New Debug Level = 9, New Debug Log = /tmp/zm_debug.log.05850]
01/01/11 14:23:27.024305 zmu[5850].DB1-zm_monitor.cpp/2262 [Got 1 monitors]
01/01/11 14:23:27.025205 zmu[5850].DB1-zm_monitor.cpp/338 [monitor purpose=0]
01/01/11 14:23:27.025249 zmu[5850].DB1-zm_monitor.cpp/345 [mem.size=9217192]
01/01/11 14:23:27.028072 zmu[5850].ERR-zm_monitor.cpp/378 [Can't shmget, probably not enough shared memory space free: Permission denied]

from zm watch

01/01/2011 22:51:46.047778 zmwatch[17260].ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory]
01/01/2011 22:51:46.048510 zmwatch[17260].ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory]

i also got this one from another one, which i went in an adjusted but still nothing.

01/01/11 15:17:41.614598 zmc_m1[6955].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
01/01/11 15:17:41.614650 zmc_m1[6955].DB3-zm_remote_camera_http.cpp/171 [Expecting 9566 bytes]
01/01/11 15:17:41.614715 zmc_m1[6955].DB3-zm_remote_camera_http.cpp/196 [Read 9566 bytes]
01/01/11 15:17:41.614754 zmc_m1[6955].DB3-zm_remote_camera_http.cpp/937 [Got end of image by length, content-length = 68680]
01/01/11 15:17:41.614778 zmc_m1[6955].DB3-zm_remote_camera_http.cpp/1004 [Returning 68680 (68680) bytes of captured content]
01/01/11 15:17:41.627170 zmc_m1[6955].ERR-zm_monitor.cpp/2503 [Captured image does not match expected size, check width, height and colour depth]
01/01/11 15:17:41.627452 zmc_m1[6955].ERR-zmc.cpp/260 [Failed to capture image from monitor 1 (0/1)]

thanks for your help
01/01/2011 22:51:56.050151 zmwatch[17260].ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory]
01/01/2011 22:51:56.050707 zmwatch[17260].ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory]
Locked