[v1.23.3] Ubuntu 8.10 Intrepid Permission Issue
Posted: Tue Dec 16, 2008 11:41 pm
Hello, let me start off by saying this is a great piece of software. Very useful overall, lots of features, and looks simple to use on the front end. Well, I'm having some problems installing the software. I loaded this via the synaptics package manager on ubuntu and had issues right out of the box and it is v1.23.3. I'm currently using the Logitech Quickcam Orbit and a cheap HP camera that uses the CIF Single Chip drivers (had problems overall with this seeing as its an older model camera). My camera does work on xawtv as well. I tested it and there was no problem on that end.
My log reads as follows:
The permissions for the web cams are as follows:
Here's my shared memory limits:
Thanks.
My log reads as follows:
My permissions for zm in the /usr/bin directory are as follows:== /tmp/zmpkg.log ==
12/16/2008 16:41:19.808510 zmpkg[28593].INF [Command: start]
== /tmp/zmdc.log ==
12/16/2008 16:41:23.420062 zmdc[28602].INF ['zmc -d /dev/video0' starting at 08/12/16 16:41:23, pid = 28624]
12/16/2008 16:41:23.622801 zmdc[28602].INF ['zmc -d /dev/video1' starting at 08/12/16 16:41:23, pid = 28626]
12/16/2008 16:41:23.767293 zmdc[28602].ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
12/16/2008 16:41:23.767657 zmdc[28602].INF [Starting pending process, zmc -d /dev/video0]
12/16/2008 16:41:23.771756 zmdc[28602].INF ['zmc -d /dev/video0' starting at 08/12/16 16:41:23, pid = 28632]
12/16/2008 16:41:24.033189 zmdc[28602].INF ['zmfilter.pl' starting at 08/12/16 16:41:24, pid = 28645]
12/16/2008 16:41:24.258027 zmdc[28602].ERR ['zmc -d /dev/video1' exited abnormally, exit status 255]
12/16/2008 16:41:24.258379 zmdc[28602].INF [Starting pending process, zmc -d /dev/video1]
12/16/2008 16:41:24.269322 zmdc[28602].INF ['zmc -d /dev/video1' starting at 08/12/16 16:41:24, pid = 28648]
12/16/2008 16:41:24.336449 zmdc[28602].ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
12/16/2008 16:41:24.632760 zmdc[28602].INF ['zmaudit.pl -c' starting at 08/12/16 16:41:24, pid = 28669]
12/16/2008 16:41:25.232579 zmdc[28602].INF ['zmwatch.pl' starting at 08/12/16 16:41:25, pid = 28674]
12/16/2008 16:41:25.454887 zmdc[28602].ERR ['zmc -d /dev/video1' exited abnormally, exit status 255]
== /tmp/zmfilter.log ==
12/16/2008 16:41:24.980088 zmfilter[28645].INF [Scanning for events]
==> /tmp/zmwatch.log <==
12/16/2008 16:41:25.792975 zmwatch[28674].INF [Watchdog starting]
12/16/2008 16:41:25.793580 zmwatch[28674].INF [Watchdog pausing for 30 seconds]
== /tmp/zmdc.log ==
12/16/2008 16:41:25.851687 zmdc[28602].INF ['zmupdate.pl -c' starting at 08/12/16 16:41:25, pid = 28688]
12/16/2008 16:41:29.063258 zmdc[28602].INF [Starting pending process, zmc -d /dev/video0]
12/16/2008 16:41:29.091307 zmdc[28602].INF ['zmc -d /dev/video0' starting at 08/12/16 16:41:29, pid = 28690]
12/16/2008 16:41:29.558230 zmdc[28602].ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
12/16/2008 16:41:30.055970 zmdc[28602].INF [Starting pending process, zmc -d /dev/video1]
12/16/2008 16:41:30.077383 zmdc[28602].INF ['zmc -d /dev/video1' starting at 08/12/16 16:41:30, pid = 28691]
12/16/2008 16:41:30.649217 zmdc[28602].ERR ['zmc -d /dev/video1' exited abnormally, exit status 255]
12/16/2008 16:41:39.047257 zmdc[28602].INF [Starting pending process, zmc -d /dev/video0]
12/16/2008 16:41:39.073736 zmdc[28602].INF ['zmc -d /dev/video0' starting at 08/12/16 16:41:39, pid = 28716]
12/16/2008 16:41:39.538357 zmdc[28602].ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
12/16/2008 16:41:40.035262 zmdc[28602].INF [Starting pending process, zmc -d /dev/video1]
12/16/2008 16:41:40.056084 zmdc[28602].INF ['zmc -d /dev/video1' starting at 08/12/16 16:41:40, pid = 28717]
12/16/2008 16:41:41.128153 zmdc[28602].ERR ['zmc -d /dev/video1' exited abnormally, exit status 255]
roger@roger-desktop:~$ ls -l /usr/bin/zm*
-rwxr-xr-x 1 root root 304228 2008-09-24 03:40 /usr/bin/zma
-rwxr-xr-x 1 root root 13212 2008-09-24 03:40 /usr/bin/zmaudit.pl
-rwxr-xr-x 1 root root 304292 2008-09-24 03:40 /usr/bin/zmc
-rwxr-xr-x 1 root root 6971 2008-09-24 03:40 /usr/bin/zmcontrol.pl
-rwxr-xr-x 1 root root 17313 2008-09-24 03:40 /usr/bin/zmdc.pl
-rwxr-xr-x 1 root root 312420 2008-09-24 03:40 /usr/bin/zmf
-rwxr-xr-x 1 root root 36698 2008-09-24 03:40 /usr/bin/zmfilter.pl
-rwxr-xr-x 1 root root 42760 2008-09-24 03:40 /usr/bin/zmfix
-rwxr-xr-x 1 root root 9133 2008-09-24 03:40 /usr/bin/zmpkg.pl
-rwxr-xr-x 1 root root 5265 2008-09-24 03:40 /usr/bin/zmtrack.pl
-rwxr-xr-x 1 root root 12502 2008-09-24 03:40 /usr/bin/zmtrigger.pl
-rwxr-xr-x 1 root root 316932 2008-09-24 03:40 /usr/bin/zmu
-rwxr-xr-x 1 root root 29885 2008-09-24 03:40 /usr/bin/zmupdate.pl
-rwxr-xr-x 1 root root 9651 2008-09-24 03:40 /usr/bin/zmvideo.pl
-rwxr-xr-x 1 root root 4057 2008-09-24 03:40 /usr/bin/zmwatch.pl
-rwxr-xr-x 1 root root 17220 2008-09-24 03:40 /usr/bin/zmx10.pl
The permissions for the web cams are as follows:
While typing zmfix, it comes back saying aborted. Typing 'zmc -d /dev/video0' also says aborted. Typing 'zmu -d /dev/video0 -q -v' also says aborted, however typing 'sudo zmu -d /dev/video0 -q -v' brings up the following:roger@roger-desktop:~$ ls -l /dev/video*
crw-rw----+ 1 root video 81, 0 2008-12-16 17:46 /dev/video0
crw-rw----+ 1 root video 81, 1 2008-12-16 17:46 /dev/video1
Typing 'sudo zmfix' does absolutely nothing. Does not display anything at all.Video Capabilities
Name: Logitech QuickCam Orbit
Type: 1
Can capture
Video Channels: 1
Audio Channels: 1
Maximum Width: 640
Maximum Height: 480
Minimum Width: 160
Minimum Height: 120
Window Attributes
X Offset: 0
Y Offset: 0
Width: 320
Height: 240
Picture Attributes
Palette: 15 - YUV 4:2:0 Planar
Colour Depth: 24
Brightness: 32256
Hue: 65535
Colour :32768
Contrast: 32768
Whiteness: 32768
Channel 0 Attributes
Name: Webcam
Channel: 0
Flags: 0
Type: 2 - Camera
Format: 2055 - Unknown
Here's my shared memory limits:
Here's is my configuration as well for zm:roger@roger-desktop:~$ ipcs -l
------ Shared Memory Limits --------
max number of segments = 4096
max seg size (kbytes) = 32768
max total shared memory (kbytes) = 8388608
min seg size (bytes) = 1
------ Semaphore Limits --------
max number of arrays = 128
max semaphores per array = 250
max semaphores system wide = 32000
max ops per semop call = 32
semaphore max value = 32767
------ Messages: Limits --------
max queues system wide = 1743
max size of message (bytes) = 8192
default max size of queue (bytes) = 16384
Any help would be appreciated.# ==========================================================================
#
# ZoneMinder Base Configuration, $Date: 2006-11-16 09:06:30 +0000 (Thu, 16 Nov 2006) $, $Revision: 2057 $
#
# ==========================================================================
#
# This file is generated by 'configure'. Care should be taken if manually
# editing this file as an changes may be overwritten by subsequent configuration
# or installations.
#
# Current version of ZoneMinder
ZM_VERSION=1.23.3
# Path to build directory, used mostly for finding DB upgrade scripts
ZM_PATH_BUILD=/build/buildd/zoneminder-1.23.3
# Build time, used to record when to trigger various checks
ZM_TIME_BUILD=1222245607
# Path to ZoneMinder binaries
ZM_PATH_BIN=/usr/bin
# Path to ZoneMinder libraries (none at present, for future use)
ZM_PATH_LIB=/usr/lib
# Path to ZoneMinder configuration (this file only at present)
ZM_PATH_CONF=/etc/zm
# Path to ZoneMinder web files
ZM_PATH_WEB=/usr/share/zoneminder
# Path to ZoneMinder cgi files
ZM_PATH_CGI=/usr/lib/cgi-bin
# Username and group that web daemon (httpd/apache) runs as
ZM_WEB_USER=www-data
ZM_WEB_GROUP=www-data
# ZoneMinder database hostname or ip address
ZM_DB_HOST=localhost
# ZoneMinder database name
ZM_DB_NAME=zm
# ZoneMinder database user
ZM_DB_USER=zmuser
# ZoneMinder database password
ZM_DB_PASS=zmpass
Thanks.