Dear all,
I am trying to get my logitech quickcam express work on zm at my fedora core 3 box.
The quickcam is working fine under xawtv. But after defining monitors according to zm_manual, I cannot view any images from zm.
I noticed there is some errors occur in httpd log file.
Would you please help me to figure out the problem?
[Sat Oct 01 02:53:59 2005] [error] [client 127.0.0.1] Premature end of script headers: zms, referer: http://localhost/zm/index.php?view=watc ... &scale=150
[client 127.0.0.1] PHP Notice: import_request_variables(): No prefix specified - possible security hazard in /usr/lib/zm/html/zm.php on line 21, referer: http://localhost/zm/index.php?view=watchstatus&mid=2
[client 127.0.0.1] PHP Notice: import_request_variables(): No prefix specified - possible security hazard in /usr/lib/zm/html/zm.php on line 21, referer: http://localhost/zm/index.php?view=watc ... st_status=
[client 127.0.0.1] PHP Notice: import_request_variables(): No prefix specified - possible security hazard in /usr/lib/zm/html/zm.php on line 21, referer: http://localhost/zm/index.php?view=watc ... st_status=
@
Thanks and rgds,
tomlj
cann't get image using quickcam
Hi,
hav you got black screen, or no screen ??
did you run zmu -d*(* is the number shows by /dev/video*) -q -V to got the riht parameters for your webcam??
Had some pb with my quickcamPro4000, fixed by this, and try getting correct drivers. check links in the forum
http://www.zoneminder.com/forums/viewto ... php?t=4811
good luck!
hav you got black screen, or no screen ??
did you run zmu -d*(* is the number shows by /dev/video*) -q -V to got the riht parameters for your webcam??
Had some pb with my quickcamPro4000, fixed by this, and try getting correct drivers. check links in the forum
http://www.zoneminder.com/forums/viewto ... php?t=4811
good luck!
mk
I tried zmu -d /dev/video0 -q -v -U admin -P admin, and set zm according to the camera's parameters. But still cann't get the image. There is an error message from /var/log/messages ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]. Does it mean the RAM is not enough? or harddisk size is not enough?
Error messages from /var/log/messages:
Oct 1 15:51:24 localhost zmc_d0[27297]: INF [Debug Level = 0, Debug Log = <none>]Oct 1 15:51:25 localhost zmc_d0[27297]: WAR [Attempt to fetch boolean value for ZM_WATCH_CHECK_INTERVAL, actual type is integer]
Oct 1 15:51:25 localhost zmc_d0[27297]: WAR [Attempt to fetch boolean value for ZM_WATCH_MAX_DELAY, actual type is decimal]
Oct 1 15:51:25 localhost zmc_d0[27297]: WAR [Attempt to fetch boolean value for ZM_FORCED_ALARM_SCORE, actual type is integer]
Oct 1 15:51:25 localhost zmc_d0[27297]: WAR [Attempt to fetch integer value for ZM_URL, actual type is string]
Oct 1 15:51:25 localhost zmc_d0[27297]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
[root@localhost zm]# zmu -d /dev/video0 -q -v -U admin -P admin
Video Capabilities
Name: QC Express
Type: 1
Can capture
Video Channels: 1
Audio Channels: 0
Maximum Width: 352
Maximum Height: 288
Minimum Width: 176
Minimum Height: 144
Window Attributes
X Offset: 0
Y Offset: 0
Width: 320
Height: 240
Picture Attributes
Palette: 4 - 24bit RGB
Colour Depth: 24
Brightness: 32768
Hue: 0
Colour :0
Contrast: 32768
Whiteness: 0
Channel 0 Attributes
Name: TV8532
Channel: 0
Flags: 0
Type: 2 - Camera
Format: 0 - PAL
Error messages from /var/log/messages:
Oct 1 15:51:24 localhost zmc_d0[27297]: INF [Debug Level = 0, Debug Log = <none>]Oct 1 15:51:25 localhost zmc_d0[27297]: WAR [Attempt to fetch boolean value for ZM_WATCH_CHECK_INTERVAL, actual type is integer]
Oct 1 15:51:25 localhost zmc_d0[27297]: WAR [Attempt to fetch boolean value for ZM_WATCH_MAX_DELAY, actual type is decimal]
Oct 1 15:51:25 localhost zmc_d0[27297]: WAR [Attempt to fetch boolean value for ZM_FORCED_ALARM_SCORE, actual type is integer]
Oct 1 15:51:25 localhost zmc_d0[27297]: WAR [Attempt to fetch integer value for ZM_URL, actual type is string]
Oct 1 15:51:25 localhost zmc_d0[27297]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
[root@localhost zm]# zmu -d /dev/video0 -q -v -U admin -P admin
Video Capabilities
Name: QC Express
Type: 1
Can capture
Video Channels: 1
Audio Channels: 0
Maximum Width: 352
Maximum Height: 288
Minimum Width: 176
Minimum Height: 144
Window Attributes
X Offset: 0
Y Offset: 0
Width: 320
Height: 240
Picture Attributes
Palette: 4 - 24bit RGB
Colour Depth: 24
Brightness: 32768
Hue: 0
Colour :0
Contrast: 32768
Whiteness: 0
Channel 0 Attributes
Name: TV8532
Channel: 0
Flags: 0
Type: 2 - Camera
Format: 0 - PAL
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
have a look at
http://www.zoneminder.com/index.php?id= ... faq_faq=10
http://www.zoneminder.com/index.php?id= ... faq_faq=10
I modified /etc/sysctl.conf and add the following lines:
kernel.shmall = 134217728
kernel.shmmax = 134217728
Then I restarted fedora core 3.
There is still no image in zm.
There are some errors shown in /var/log/messages:
Localhost zmu[4272]:ERR [shared memory not initialized by capture daemon]
Localhost Zms[4276]]:ERR [shared memory not initialized by capture daemon]
Would you please help me to figure out the problem?
Thanks and regards,
tomlj
kernel.shmall = 134217728
kernel.shmmax = 134217728
Then I restarted fedora core 3.
There is still no image in zm.
There are some errors shown in /var/log/messages:
Localhost zmu[4272]:ERR [shared memory not initialized by capture daemon]
Localhost Zms[4276]]:ERR [shared memory not initialized by capture daemon]
Would you please help me to figure out the problem?
Thanks and regards,
tomlj
Try looking over this post and see if that helps, otherwise we'll need a bit more information.
http://www.zoneminder.com/forums/viewto ... nitialized
Regards,
Cordel
http://www.zoneminder.com/forums/viewto ... nitialized
Regards,
Cordel