zmc_video : permission denied

Support and queries relating to all previous versions of ZoneMinder
Locked
mmgg
Posts: 25
Joined: Sun Feb 24, 2008 10:35 am

zmc_video : permission denied

Post by mmgg »

Dear,

After few days or weeks, the zmc_video stops to works, in the syslog I found the following:

May 21 23:56:33 TartineF zmwatch[30167]: INF [Restarting capture daemon for Garage, time since last capture 75453 seconds (1242942993-1242867540)]
May 21 23:56:34 TartineF zmdc[4567]: INF ['zmc -d /dev/video1' started at 09/05/21 23:56:34]
May 21 23:56:34 TartineF zmc_dvideo1[4567]: INF [Debug Level = 0, Debug Log = <none>]
May 21 23:56:34 TartineF zmc_dvideo1[4567]: ERR [Failed to open video device /dev/video1: Permission denied]

I found in the forum an old post about the security rights in /etc/security/console.d, checked my configuration which seems to be ok : my config : <console> 0660 <v4l> 0660 root.video

I work with Mandriva 2008.1 and ZM 1.23.3

Any idea?

Thanks for the help.
johnnytolengo
Posts: 184
Joined: Tue Oct 14, 2008 5:59 pm

fast solution

Post by johnnytolengo »

May i am late and you have it already working :)

I had similar issue last week doing some experiments :) i got the same log.

i did a small change in /etc/init.d/udev that file mount all cameras to /dev/videoXXXX

ok?

so i added at the end of this file (udev) before the exit 0 this:

chmod 777 video*

and now it works.
then just do :# shutdown now -r


J.
mmgg
Posts: 25
Joined: Sun Feb 24, 2008 10:35 am

Post by mmgg »

johnnytolengo,

Thanks for your solution.
When investigating, I think there is also another solution : apparently Mandriva has a service that monitors the security rights... and resets them if something has been abnormally changed...
I don't know at all how it works and I have to investigate further..
I will keep you posted about my investigations

MArc
Locked