Ubuntue 10.04 update broke anolog cameras remote work

Forum for questions and support relating to the 1.24.x releases only.
Locked
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Ubuntue 10.04 update broke anolog cameras remote work

Post by kingofkya »

First off spare me the shared memory sugestion its set as is the modprobe line.

xawtv can see the card fine so its working.

debug log

Code: Select all

05/14/10 12:43:17.122971 zmc_dvideo0[-1].INF-zm_debug.c/292 [New Debug Level = 5, New Debug Log = /tmp/zm_debug.log.04912]
05/14/10 12:43:17.123365 zmc_dvideo0[-1].DB1-zm_monitor.cpp/1712 [Got 1 monitors]
05/14/10 12:43:17.123428 zmc_dvideo0[-1].DB2-zm_local_camera.cpp/286 [V4L2 support enabled, using V4L2 api]
05/14/10 12:43:17.126313 zmc_dvideo0[-1].DB1-zm_monitor.cpp/338 [monitor purpose=1]
05/14/10 12:43:17.126354 zmc_dvideo0[-1].DB1-zm_monitor.cpp/345 [mem.size=36865524]
05/14/10 12:43:17.147319 zmc_dvideo0[-1].DB1-zm_zone.cpp/50 [Initialised zone 0/All - 1 - 640x480 - Rgb:ff0000, CM:3, MnAT:1$
05/14/10 12:43:17.175243 zmc_dvideo0[-1].DB1-zm_monitor.cpp/458 [Monitor Monitor-1 has function 2]
05/14/10 12:43:17.175284 zmc_dvideo0[-1].DB1-zm_monitor.cpp/459 [Monitor Monitor-1 LBF = '%N - %y/%m/%d %H:%M:%S', LBX = 0, $
05/14/10 12:43:17.175293 zmc_dvideo0[-1].DB1-zm_monitor.cpp/460 [Monitor Monitor-1 IBC = 40, WUC = 25, pEC = 10, PEC = 10, E$
05/14/10 12:43:17.175477 zmc_dvideo0[-1].DB1-zm_zone.cpp/889 [Got 1 zones for monitor Monitor-1]
05/14/10 12:43:17.175495 zmc_dvideo0[-1].DB5-zm_zone.cpp/918 [Parsing polygon 0,0 639,0 639,479 0,479]
05/14/10 12:43:17.175503 zmc_dvideo0[-1].DB3-zm_zone.cpp/758 [Parsing polygon string '0,0 639,0 639,479 0,479']
05/14/10 12:43:17.175512 zmc_dvideo0[-1].DB3-zm_zone.cpp/796 [Got coordinate 0,0 from polygon string]
05/14/10 12:43:17.175520 zmc_dvideo0[-1].DB3-zm_zone.cpp/796 [Got coordinate 639,0 from polygon string]
05/14/10 12:43:17.175527 zmc_dvideo0[-1].DB3-zm_zone.cpp/796 [Got coordinate 639,479 from polygon string]
05/14/10 12:43:17.175535 zmc_dvideo0[-1].DB3-zm_zone.cpp/796 [Got coordinate 0,479 from polygon string]
05/14/10 12:43:17.175547 zmc_dvideo0[-1].DB3-zm_zone.cpp/816 [Successfully parsed polygon string]
05/14/10 12:43:17.175558 zmc_dvideo0[-1].DB1-zm_zone.cpp/50 [Initialised zone 1/All - 1 - 640x480 - Rgb:ff0000, CM:3, MnAT:2$
05/14/10 12:43:17.199172 zmc_dvideo0[-1].DB1-zm_monitor.cpp/1814 [Loaded monitor 1(Monitor-1), 1 zones]
05/14/10 12:43:17.199216 zmc_dvideo0[-1].INF-zmc.cpp/188 [Starting Capture]
05/14/10 12:43:17.199473 zmc_dvideo0[-1].DB3-zm_local_camera.cpp/349 [Opening video device /dev/video0]
05/14/10 12:43:17.199536 zmc_dvideo0[-1].DB2-zm_local_camera.cpp/355 [V4L2 support enabled, using V4L2 api]
05/14/10 12:43:17.199546 zmc_dvideo0[-1].DB3-zm_local_camera.cpp/360 [Checking video device capabilities]
05/14/10 12:43:17.199562 zmc_dvideo0[-1].DB3-zm_local_camera.cpp/370 [Setting up video format]
05/14/10 12:43:17.199590 zmc_dvideo0[-1].FAT-zm_local_camera.cpp/386 [Failed to set video format: Invalid argument]
05/14/10 12:43:17.199721 zmc_dvideo0[-1].INF-zm_signal.cpp/64 [Got signal 6 (Aborted), exiting and forcing backtrace]
ZMDC

Code: Select all

05/14/10 12:43:27.026334 zmdc[4861].INF [Starting pending process, zmc -d /dev/video0]
05/14/10 12:43:27.027868 zmdc[4861].INF ['zmc -d /dev/video0' starting at 10/05/14 12:43:27, pid = 4913]
05/14/10 12:43:27.140016 zmdc[4861].ERR ['zmc -d /dev/video0' exited abnormally, exit status 6]
05/14/10 12:43:47.003746 zmdc[4861].INF [Starting pending process, zmc -d /dev/video0]
05/14/10 12:43:47.005292 zmdc[4861].INF ['zmc -d /dev/video0' starting at 10/05/14 12:43:47, pid = 4918]
05/14/10 12:43:47.112007 zmdc[4861].ERR ['zmc -d /dev/video0' exited abnormally, exit status 6]
05/14/10 12:44:27.041304 zmdc[4861].INF [Starting pending process, zmc -d /dev/video0]
05/14/10 12:44:27.042858 zmdc[4861].INF ['zmc -d /dev/video0' starting at 10/05/14 12:44:27, pid = 4923]
05/14/10 12:44:27.160083 zmdc[4861].ERR ['zmc -d /dev/video0' exited abnormally, exit status 6]
IDEAS
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post by kingofkya »

O k hers what the problem was to moved my events folder from /var/lib/zm to /var/cache/zoneminder

looks to be that the installer forgot to change permisions to www-data. thats why my remote camera worked it was newly created.
mbrinkho
Posts: 9
Joined: Thu Feb 25, 2010 1:39 am

Post by mbrinkho »

Can you tell me exactly what you did to fix it? I'm running 10.04 and when I first installed ZM it worked fine but it suddenly stopped working and won't autostart. If I start it manually after I log in with /etc/init.d/zoneminder start it works OK but it refuses to auto start and I can't seem to find the log files anywhere.
Locked