Hi, all,
After long traceing, I found my problem with the following message from /var/log/httpd/error_log. So, I don't have any pictures. What should I do?
Regards,
blacksmith
/usr/local/bin/zmu: error while loading shared libraries: libavcodec.so: cannot enable executable stack as shared object requires: Permission denied
[Wed Feb 01 20:51:19 2006] [error] [client 127.0.0.1] File does not exist: /var/www/html/zm/images/TEST_ONE-Zones.jpg, referer: http://localhost/zm/index.php?view=zone&mid=1&zid=1
No pictures with zmu loading libavcodec.so
-
- Posts: 15
- Joined: Wed Feb 01, 2006 12:53 pm
Re: No pictures with zmu loading libavcodec.so
Looks like you may have a permision problem, but I don't think this would stop you from getting video.blacksmith wrote: /usr/local/bin/zmu: error while loading shared libraries: libavcodec.so: cannot enable executable stack as shared object requires: Permission denied
[Wed Feb 01 20:51:19 2006] [error] [client 127.0.0.1] File does not exist: /var/www/html/zm/images/TEST_ONE-Zones.jpg, referer: http://localhost/zm/index.php?view=zone&mid=1&zid=1
What type of system did you set up?
What versions/distro?
What kind of camera and does it use a capture board?
Did you see any errors or warnings while building ZM?
Regards,
Corey
-
- Posts: 15
- Joined: Wed Feb 01, 2006 12:53 pm
Hi, cordel,
I googled for this and get some messages. It looks like caused by SELinux. Also, I found one suggest to use 'execstack -c' on the shared object. Then the problem was gone. I don't know the ture reason, but now I could get a still image after click the zone. I'll try to test this part later, maybe after couple days.
Another problem, about the ZM_MPEG_LIVE_FORMAT value under options>Tools is comming. The asf looks not work under Linux mozilla. The help said: "The default of 'asf' works well under Windows with Windows Media Player but I'm currently not sure what, if anything, works on a Linux platform. If you find out please let me know!" Do you have any idea?
Regards,
blacksmith
I googled for this and get some messages. It looks like caused by SELinux. Also, I found one suggest to use 'execstack -c' on the shared object. Then the problem was gone. I don't know the ture reason, but now I could get a still image after click the zone. I'll try to test this part later, maybe after couple days.
Another problem, about the ZM_MPEG_LIVE_FORMAT value under options>Tools is comming. The asf looks not work under Linux mozilla. The help said: "The default of 'asf' works well under Windows with Windows Media Player but I'm currently not sure what, if anything, works on a Linux platform. If you find out please let me know!" Do you have any idea?
Regards,
blacksmith
-
- Posts: 15
- Joined: Wed Feb 01, 2006 12:53 pm
Ha! I forgot to report my env.
OS: FC4
CPU: Inter celeron 2.2
Web cam info from zmu -d <device> -q -v:
Video Capabilities
Name: Flexcam 100 Camera
Type: 1
Can capture
Video Channels: 1
Audio Channels: 0
Maximum Width: 352
Maximum Height: 288
Minimum Width: 160
Minimum Height: 120
Window Attributes
X Offset: 0
Y Offset: 0
Width: 320
Height: 240
Picture Attributes
Palette: 4 - 24bit RGB
Colour Depth: 24
Brightness: 1920
Hue: 0
Colour :0
Contrast: 38464
Whiteness: 320
Channel 0 Attributes
Name: SPCA561
Channel: 0
Flags: 0
Type: 2 - Camera
Format: 0 - PAL
Regards,
blacksmith
OS: FC4
CPU: Inter celeron 2.2
Web cam info from zmu -d <device> -q -v:
Video Capabilities
Name: Flexcam 100 Camera
Type: 1
Can capture
Video Channels: 1
Audio Channels: 0
Maximum Width: 352
Maximum Height: 288
Minimum Width: 160
Minimum Height: 120
Window Attributes
X Offset: 0
Y Offset: 0
Width: 320
Height: 240
Picture Attributes
Palette: 4 - 24bit RGB
Colour Depth: 24
Brightness: 1920
Hue: 0
Colour :0
Contrast: 38464
Whiteness: 320
Channel 0 Attributes
Name: SPCA561
Channel: 0
Flags: 0
Type: 2 - Camera
Format: 0 - PAL
Regards,
blacksmith
SELinux errors usualy show up in the /var/log/messages and look something like :
date, time AVC <error generated>
And SELinux will break so to speak ZM.
SELinux is one of those things that keep getting pushed to the back burner.
Hopefully I'll get around to creating something for ZM soon.
Regards,
Corey
date, time AVC <error generated>
And SELinux will break so to speak ZM.
SELinux is one of those things that keep getting pushed to the back burner.
Hopefully I'll get around to creating something for ZM soon.
Regards,
Corey