| View previous topic :: View next topic |
| Author |
Message |
bvinsonj
Joined: 16 Dec 2008 Posts: 1
|
Posted: Tue Dec 16, 2008 9:30 pm Post subject: Erro can not access video devices |
|
|
Hello I need some help.
I have installed zone minder but can not access the video feed. The below is the output of the log. I am running this on unbuntu 8.10.
Thank you for you help
Dec 16 16:25:16 FRCCDVR01 zmwatch[4896]: INF [Restarting capture daemon for PCIroom, shared memory not valid]
Dec 16 16:25:16 FRCCDVR01 zmdc[4863]: INF ['zmc -d /dev/video1' starting at 08/12/16 16:25:16, pid = 6961]
Dec 16 16:25:16 FRCCDVR01 zmwatch[4896]: INF ['zmc -d /dev/video1' starting at 08/12/16 16:25:16, pid = 6961]
Dec 16 16:25:16 FRCCDVR01 zmdc[6961]: INF ['zmc -d /dev/video1' started at 08/12/16 16:25:16]
Dec 16 16:25:16 FRCCDVR01 zmc_dvideo1[6961]: INF [Debug Level = 0, Debug Log = <none>]
Dec 16 16:25:16 FRCCDVR01 zmc_dvideo1[6961]: ERR [Failed to open video device /dev/video1: Permission denied]
Dec 16 16:25:16 FRCCDVR01 zmdc[4863]: ERR ['zmc -d /dev/video1' exited abnormally, exit status 255] |
|
| Back to top |
|
 |
|
|
curtishall
Joined: 25 Sep 2004 Posts: 422 Location: Fulton, MO
|
Posted: Tue Dec 16, 2008 11:11 pm Post subject: Re: Erro can not access video devices |
|
|
| bvinsonj wrote: | Hello I need some help.
I have installed zone minder but can not access the video feed. The below is the output of the log. I am running this on unbuntu 8.10.
Thank you for you help
Dec 16 16:25:16 FRCCDVR01 zmwatch[4896]: INF [Restarting capture daemon for PCIroom, shared memory not valid]
Dec 16 16:25:16 FRCCDVR01 zmdc[4863]: INF ['zmc -d /dev/video1' starting at 08/12/16 16:25:16, pid = 6961]
Dec 16 16:25:16 FRCCDVR01 zmwatch[4896]: INF ['zmc -d /dev/video1' starting at 08/12/16 16:25:16, pid = 6961]
Dec 16 16:25:16 FRCCDVR01 zmdc[6961]: INF ['zmc -d /dev/video1' started at 08/12/16 16:25:16]
Dec 16 16:25:16 FRCCDVR01 zmc_dvideo1[6961]: INF [Debug Level = 0, Debug Log = <none>]
Dec 16 16:25:16 FRCCDVR01 zmc_dvideo1[6961]: ERR [Failed to open video device /dev/video1: Permission denied]
Dec 16 16:25:16 FRCCDVR01 zmdc[4863]: ERR ['zmc -d /dev/video1' exited abnormally, exit status 255] |
You have two problems...the biggest: Failed to open video device /dev/video1: Permission denied
Fix:
chmod 777 /dev/video1 and / or zmfix -a
Second...you need to look at the WIKI for shared memory and how to fix the error. _________________ --
Curtis Hall
Bluecherry
www.bluecherrydvr.com
store.bluecherry.net |
|
| Back to top |
|
 |
liviab
Joined: 15 Oct 2008 Posts: 87 Location: Brazil [MG]
|
Posted: Wed Dec 17, 2008 3:21 pm Post subject: |
|
|
I am having problem with this too, but I'm getting a different error.
I have two monitors configured: one local and other remote (id 2 - http://64.122.208.241:8000/axis-cgi/mjpg/video.cgi?camera=&resol). Configuration of the remote monitor:
Remote Protocol: HTTP
Remote Method: Simple
Remote Host Name: 64.122.208.241
Remote Host Port: 8080
Remote Host Path: http://64.122.208.241:8000/axis-cgi/mjpg/video.cgi?camera=&resol
Remote Host Subpath: --
Remote Image Colours: 24 bit colour
Capture Width: 320
Capture Height: 240
zmdc.log
12/17/2008 14:39:33.016891 zmdc[11761].INF [Starting pending process, zmc -d /dev/video0]
12/17/2008 14:39:33.019591 zmdc[11761].INF ['zmc -d /dev/video0' starting at 08/12/17 14:39:33, pid = 11969]
12/17/2008 14:39:33.910150 zmdc[11761].ERR ['zmc -d /dev/video0' exited abnormally, exit status 11]
12/17/2008 14:40:35.166656 zmdc[11761].INF ['zmc -m 2' exited normally]
12/17/2008 14:40:40.066907 zmdc[11761].INF [Starting pending process, zmc -m 2]
12/17/2008 14:40:40.072490 zmdc[11761].INF ['zmc -m 2' starting at 08/12/17 14:40:40, pid = 12000]
12/17/2008 14:43:49.111939 zmdc[11761].INF ['zmc -m 2' exited normally]
zmwatch.log
12/17/2008 15:04:58.446515 zmwatch[11806].ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
12/17/2008 15:05:08.448638 zmwatch[11806].ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
12/17/2008 15:05:18.450464 zmwatch[11806].ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
12/17/2008 15:05:28.452404 zmwatch[11806].ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
12/17/2008 15:05:38.454073 zmwatch[11806].ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
12/17/2008 15:05:48.455588 zmwatch[11806].ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
12/17/2008 15:05:58.457446 zmwatch[11806].ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
12/17/2008 15:06:08.459607 zmwatch[11806].ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
12/17/2008 15:06:18.461697 zmwatch[11806].ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
/var/log/messages
Dec 17 15:44:53 liviab zmdc[11761]: INF [Starting pending process, zmc -d /dev/video0]
Dec 17 15:44:53 liviab zmdc[11761]: INF ['zmc -d /dev/video0' starting at 08/12/17 15:44:53, pid = 12537]
Dec 17 15:44:53 liviab zmdc[12537]: INF ['zmc -d /dev/video0' started at 08/12/17 15:44:53]
Dec 17 15:44:53 liviab zmc_dvideo0[12537]: INF [Debug Level = 0, Debug Log = <none>]
Dec 17 15:44:53 liviab zmc_dvideo0[12537]: INF [Starting Capture]
Dec 17 15:44:53 liviab zmc_dvideo0[12537]: INF [Got signal 11 (Segmentation fault), crashing]
Dec 17 15:44:53 liviab zmc_dvideo0[12537]: ERR [Signal address is 0xb7f9f002, from 0x806319e]
Dec 17 15:44:53 liviab zmc_dvideo0[12537]: ERR [Backtrace: /usr/local/bin/zmc [0x806319e]]
Dec 17 15:44:53 liviab zmc_dvideo0[12537]: ERR [Backtrace: /usr/local/bin/zmc [0x806319e]]
Dec 17 15:44:53 liviab zmc_dvideo0[12537]: ERR [Backtrace: /usr/local/bin/zmc [0x806b6ca]]
Dec 17 15:44:53 liviab zmc_dvideo0[12537]: ERR [Backtrace: /usr/local/bin/zmc [0x804cc10]]
Dec 17 15:44:53 liviab zmc_dvideo0[12537]: ERR [Backtrace: /lib/libc.so.6(__libc_start_main+0xe6) [0x2e05d6]]
Dec 17 15:44:53 liviab zmc_dvideo0[12537]: ERR [Backtrace: /usr/local/bin/zmc(__gxx_personality_v0+0x3a5) [0x804c401]]
Dec 17 15:44:53 liviab zmc_dvideo0[12537]: INF [Backtrace complete]
Dec 17 15:44:53 liviab zmdc[11761]: ERR ['zmc -d /dev/video0' exited abnormally, exit status 11]
Dec 17 15:44:58 liviab zmwatch[11806]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 17 15:45:08 liviab zmwatch[11806]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 17 15:45:18 liviab zmwatch[11806]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
What means 'exit status 11'?
And, although the message "'zmc -m 2' exited normally", the ZM is not showing any image. It is completly black.  |
|
| Back to top |
|
 |
cordel

Joined: 05 Mar 2004 Posts: 5147 Location: /USA/Washington/Seattle
|
Posted: Wed Dec 17, 2008 7:19 pm Post subject: |
|
|
@liviab
Your host path is wrong. Remove the http://IP_Address:Port
Change to:
Port: 8000
Remote Host Path: /axis-cgi/mjpg/video.cgi?camera=&resol |
|
| Back to top |
|
 |
liviab
Joined: 15 Oct 2008 Posts: 87 Location: Brazil [MG]
|
Posted: Thu Dec 18, 2008 2:44 pm Post subject: Problem with video devices |
|
|
Cordel, thanks for your reply!!
But, it didn't work...
I think it is a problem about shared memory but I don't know what I can do to fix it.
Now the ZM has only the remote monitor. See what the file /var/log/messages says:
Dec 18 12:19:22 liviab zmdc[3303]: INF [Starting pending process, zmc -m 2]
Dec 18 12:19:22 liviab zmdc[3303]: INF ['zmc -m 2' starting at 08/12/18 12:19:22, pid = 3598]
Dec 18 12:19:22 liviab zmdc[3598]: INF ['zmc -m 2' started at 08/12/18 12:19:22]
Dec 18 12:19:22 liviab zmc_m2[3598]: INF [Debug Level = 0, Debug Log = <none>]
Dec 18 12:19:22 liviab zmc_m2[3598]: INF [Starting Capture]
Dec 18 12:22:31 liviab zmc_m2[3598]: ERR [Can't connect to remote camera: Connection timed out]
Dec 18 12:22:31 liviab zmc_m2[3598]: ERR [Unable to connect to camera]
Dec 18 12:22:31 liviab zmc_m2[3598]: ERR [Failed to pre-capture monitor 0]
Dec 18 12:22:31 liviab zmdc[3303]: INF ['zmc -m 2' exited normally]
Dec 18 12:22:36 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:22:46 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:22:56 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:23:06 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:23:16 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:23:26 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:23:36 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:23:46 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:23:56 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:24:06 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:24:16 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:24:26 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:24:36 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:24:46 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:24:56 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:25:06 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:25:16 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:25:26 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:25:36 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:25:46 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:25:56 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:26:06 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:26:16 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:26:26 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:26:36 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:26:46 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:26:56 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:27:06 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:27:16 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:27:26 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:27:36 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:27:46 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:27:56 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:28:06 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:28:16 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:28:26 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:28:36 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:28:46 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:28:56 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:29:06 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:29:16 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:29:26 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:29:36 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:29:46 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:29:56 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:30:06 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:30:16 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:30:26 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:30:36 liviab zmwatch[3340]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Dec 18 12:30:36 liviab zms[3634]: INF [Debug Level = 0, Debug Log = <none>]
Dec 18 12:30:36 liviab zms[3634]: WAR [Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results]
Dec 18 12:30:36 liviab zms[3634]: WAR [Unable to store frame as shared memory invalid]
Dec 18 12:30:49 liviab zms[3645]: INF [Debug Level = 0, Debug Log = <none>]
Dec 18 12:30:49 liviab zms[3645]: WAR [Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results]
Dec 18 12:30:49 liviab zms[3645]: WAR [Unable to store frame as shared memory invalid]
Do you know something about this problem?
 |
|
| Back to top |
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|