G-day,
I need help fixing the permission problems logged in zmpkg.log and apache's error_log. Any further explanation is appreciated.
Thanks for your help!
Here is what I did to get ffmpeg and zm built
- I deleted the shared libraries in /usr/local/lib
- ./configure ffmpeg 0.4.8
- put /usr/local/lib in /etc/ld.so.conf
- ran ldconfig
- make
- make install
I pointed foxfire browser at
http://localhost/zm:
- unauthentiicated console came up Stopped state
- ZM remained in Stopped state as I attempted to change the state to Start by using the drop down and typing Start in the text box.
What follows are the results of:
- zmpkg.log
- zmu -q -d /dev/video0 -v
- apache's error_log:
***********************************************************************
[root@aitsurv bin]# /usr/local/bin/zmu -q -d /dev/video0 -v
Video Capabilities
Name: BT878 video (GrandTec Multi Cap
Type: 171
Can capture
Can tune
Overlay onto frame buffer
Can clip
Scalable
Video Channels: 4
Audio Channels: 0
Maximum Width: 924
Maximum Height: 576
Minimum Width: 48
Minimum Height: 32
Window Attributes
X Offset: 0
Y Offset: 0
Width: 320
Height: 240
Picture Attributes
Palette: 4 - 24bit RGB
Colour Depth: 24
Brightness: 32768
Hue: 32768
Colour :32768
Contrast: 32768
Whiteness: 0
Channel 0 Attributes
Name: Composite0
Channel: 0
Flags: 2
Channel has audio
Type: 2 - Camera
Format: 0 - PAL
Channel 1 Attributes
Name: Composite1
Channel: 1
Flags: 2
Channel has audio
Type: 2 - Camera
Format: 0 - PAL
Channel 2 Attributes
Name: Composite2
Channel: 2
Flags: 2
Channel has audio
Type: 2 - Camera
Format: 0 - PAL
Channel 3 Attributes
Name: Composite3
Channel: 3
Flags: 2
Channel has audio
Type: 2 - Camera
Format: 0 - PAL
************************************************
[root@aitsurv bin]# cat /tmp/zmpkg.log
Command: start
Executing: /usr/local/bin/zmdc.pl check
Removing shared memory
Executing: /usr/local/bin/zmfix
/usr/local/bin/zmfix: error while loading shared libraries: /usr/lib/libpostproc.so.0: cannot restore segment prot after reloc: Permission denied
Executing: /usr/local/bin/zmdc.pl status
Can't open log file: Permission denied at /usr/local/bin/zmdc.pl line 167.
Can't connect: Permission denied at /usr/local/bin/zmdc.pl line 159.
Executing: /usr/local/bin/zmdc.pl start zmc -d /dev/video0
Can't open log file: Permission denied at /usr/local/bin/zmdc.pl line 167.
Can't connect: Permission denied at /usr/local/bin/zmdc.pl line 159.
Executing: /usr/local/bin/zmdc.pl start zmc -d /dev/video0
Can't open log file: Permission denied at /usr/local/bin/zmdc.pl line 167.
Can't connect: Permission denied at /usr/local/bin/zmdc.pl line 159.
Executing: /usr/local/bin/zmdc.pl start zmc -d /dev/video0
Can't open log file: Permission denied at /usr/local/bin/zmdc.pl line 167.
Can't connect: Permission denied at /usr/local/bin/zmdc.pl line 159.
Executing: /usr/local/bin/zmdc.pl start zmc -d /dev/video0
Can't open log file: Permission denied at /usr/local/bin/zmdc.pl line 167.
Can't connect: Permission denied at /usr/local/bin/zmdc.pl line 159.
Executing: /usr/local/bin/zmdc.pl start zmfilter.pl
Can't open log file: Permission denied at /usr/local/bin/zmdc.pl line 167.
Can't connect: Permission denied at /usr/local/bin/zmdc.pl line 159.
Executing: /usr/local/bin/zmdc.pl start zmaudit.pl -d 900 -y
Can't open log file: Permission denied at /usr/local/bin/zmdc.pl line 167.
Can't connect: Permission denied at /usr/local/bin/zmdc.pl line 159.
Executing: /usr/local/bin/zmdc.pl start zmwatch.pl
Can't open log file: Permission denied at /usr/local/bin/zmdc.pl line 167.
Can't connect: Permission denied at /usr/local/bin/zmdc.pl line 159.
Executing: /usr/local/bin/zmdc.pl start zmupdate.pl -c
Can't open log file: Permission denied at /usr/local/bin/zmdc.pl line 167.
Can't connect: Permission denied at /usr/local/bin/zmdc.pl line 159.
****************************************************************************
apache's error_log
[Fri Dec 30 01:32:53 2005] [error] [client 127.0.0.1] Premature end of script headers: zms, referer:
http://localhost/zm/index.php?view=mont ... id=4&mode=
/usr/local/bin/zmu: error while loading shared libraries: /usr/lib/libpostproc.so.0: cannot restore segment prot after reloc: Permission denied
/usr/local/bin/zmu: error while loading shared libraries: /usr/lib/libpostproc.so.0: cannot restore segment prot after reloc: Permission denied
/usr/local/bin/zmu: error while loading shared libraries: /usr/lib/libpostproc.so.0: cannot restore segment prot after reloc: Permission denied
/usr/local/bin/zmu: error while loading shared libraries: /usr/lib/libpostproc.so.0: cannot restore segment prot after reloc: Permission denied
Can't open log file: Permission denied at /usr/local/bin/zmdc.pl line 167.
Can't connect: Permission denied at /usr/local/bin/zmdc.pl line 159.
Can't open log file: Permission denied at /usr/local/bin/zmdc.pl line 167.
Can't connect: Permission denied at /usr/local/bin/zmdc.pl line 159.
[root@aitsurv ~]#
------------------
System specs:
zm v1.21.4
Distro: FC4
gcc: 3.2
ffmpeg: 0.4.8
-------------------
Thanks!
Anthony