greetings.
i am using one of the 'pico2000' cards. a fresh install of ubuntu 9.10 (installed less than 3 hours ago). installed zm v1.24.2 from sources, followed a different guide this time than i did last time, but the steps were virtually identical.... in both cases i am NOT using the shared memory, it was ./configured using --enable-mmap
so, my main problem was once again, 'broken' images being loaded on the live cam view. same problem i had before that caused me to set everything up from scratch again. i can view the 'montage' view just fine because it is displaying via the java applet- but the normal live cam views usually show the 1st frame and then just show broken images.
heres the syslog:
Feb 22 23:19:23 oheyesea zmdc[1236]: INF [Starting pending process, zmc -d /dev/video0]
Feb 22 23:19:23 oheyesea zmdc[1535]: INF ['zmc -d /dev/video0' started at 10/02/22 23:19:23]
Feb 22 23:19:23 oheyesea zmdc[1236]: INF ['zmc -d /dev/video0' starting at 10/02/22 23:19:23, pid = 1535]
Feb 22 23:19:23 oheyesea zmc_dvideo0[1535]: INF [Debug Level = 0, Debug Log = <none>]
Feb 22 23:19:23 oheyesea zma_m3[1272]: WAR [Waiting for capture daemon]
Feb 22 23:19:23 oheyesea zma_m2[1265]: WAR [Waiting for capture daemon]
Feb 22 23:19:23 oheyesea zmc_dvideo0[1535]: INF [Starting Capture]
Feb 22 23:19:23 oheyesea zmc_dvideo0[1535]: FAT [Failed to open video device /dev/video0: Permission denied]
Feb 22 23:19:23 oheyesea zmdc[1236]: ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
if i
chmod 777 /dev/video0
it works!
but the permission change does not last across reboots! and thus this box would be very problematic in a production environment where i have to babysit it every time the power goes out
any help would be extremely appreciated--- even if your help is simply "install this old version of ((insert distro here)) and this old version of zm"
permissions error - fresh install ubuntu 9.10
-
- Posts: 12
- Joined: Tue Feb 16, 2010 7:38 pm
-
- Posts: 12
- Joined: Tue Feb 16, 2010 7:38 pm
i thought
i thought it was a little bit less broken than last time, but its not.
if i try to view past recorded events the images are just broken.
i get this in my apache error.log
[Mon Feb 22 23:29:59 2010] [error] [client 192.168.1.123] File does not exist: /var/www/home, referer: http://192.168.1.201:8080/index.php?vie ... 1=1&page=1
[Mon Feb 22 23:30:05 2010] [error] [client 192.168.1.123] socket_sendto( /tmp/zms-029607s.sock ) failed: No such file or directory, referer: http://192.168.1.201:8080/index.php?vie ... 1=1&page=1
[Mon Feb 22 23:30:05 2010] [error] [client 192.168.1.123] array (\n 0 => \n array (\n 'file' => '/var/www/ajax/stream.php',\n 'line' => 55,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_sendto( /tmp/zms-029607s.sock ) failed: No such file or directory',\n ),\n ),\n 1 => \n array (\n 'file' => '/var/www/index.php',\n 'line' => 119,\n 'args' => \n array (\n 0 => '/var/www/ajax/stream.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://192.168.1.201:8080/index.php?vie ... 1=1&page=1
[Mon Feb 22 23:30:08 2010] [error] [client 192.168.1.123] socket_sendto( /tmp/zms-029607s.sock ) failed: No such file or directory, referer: http://192.168.1.201:8080/index.php?vie ... 1=1&page=1
if i try to view past recorded events the images are just broken.
i get this in my apache error.log
[Mon Feb 22 23:29:59 2010] [error] [client 192.168.1.123] File does not exist: /var/www/home, referer: http://192.168.1.201:8080/index.php?vie ... 1=1&page=1
[Mon Feb 22 23:30:05 2010] [error] [client 192.168.1.123] socket_sendto( /tmp/zms-029607s.sock ) failed: No such file or directory, referer: http://192.168.1.201:8080/index.php?vie ... 1=1&page=1
[Mon Feb 22 23:30:05 2010] [error] [client 192.168.1.123] array (\n 0 => \n array (\n 'file' => '/var/www/ajax/stream.php',\n 'line' => 55,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_sendto( /tmp/zms-029607s.sock ) failed: No such file or directory',\n ),\n ),\n 1 => \n array (\n 'file' => '/var/www/index.php',\n 'line' => 119,\n 'args' => \n array (\n 0 => '/var/www/ajax/stream.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://192.168.1.201:8080/index.php?vie ... 1=1&page=1
[Mon Feb 22 23:30:08 2010] [error] [client 192.168.1.123] socket_sendto( /tmp/zms-029607s.sock ) failed: No such file or directory, referer: http://192.168.1.201:8080/index.php?vie ... 1=1&page=1
Re: permissions error - fresh install ubuntu 9.10
I know this isn't a fix for the problem you have. But if your work around of chmod works then you could just add the above chmod to your /etc/rc.local file. And then it would be set at startup during each reboot.floppyraid wrote: if i
chmod 777 /dev/video0
-
- Posts: 678
- Joined: Wed Dec 16, 2009 4:32 pm
- Location: Israel