Red Hat Enterprise Linux 5.4 64bit with Zoneminder 1.24.2
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
At this point I'm out of good ideas. Based on the camera connection parameters you provided, I'm assuming you have authentication turned off on the camera. You may also want to turn off (at least temporarily) your firewall and disable selinux just to make sure they aren't interfering. Yeah, I know... I'm just guessing at this point.
Phil's suggestion is probably your best bet. Note that, before you can run configure with the mapped memory option, you will need to yum install perl-Sys-Mmap. I don't believe this RPM is in RedHat's repository (it is not in CentOS'). You may have to add the RPMforge repository to your system in order to allow your system to automatically find this RPM for you.
I do need to warn you that enabling the entire RPMforge repository may cause your system to see a whole bunch of updates. I recommend you install only what you need and exclude or just ignore the rest.
Phil's suggestion is probably your best bet. Note that, before you can run configure with the mapped memory option, you will need to yum install perl-Sys-Mmap. I don't believe this RPM is in RedHat's repository (it is not in CentOS'). You may have to add the RPMforge repository to your system in order to allow your system to automatically find this RPM for you.
I do need to warn you that enabling the entire RPMforge repository may cause your system to see a whole bunch of updates. I recommend you install only what you need and exclude or just ignore the rest.
well still getting the black screen. I'm going to wipe the system and start over. Might even try a 32bit install.
I can't express how much I appreciate all the help I've received. I really appreciate it. I will document every thing I do from this point out on this thread. I'm sure it will turn out.
Thanks!
Brad
I can't express how much I appreciate all the help I've received. I really appreciate it. I will document every thing I do from this point out on this thread. I'm sure it will turn out.
Thanks!
Brad
Well I started from a fresh install of 32bit Red Hat 5.4 and following the centos guide I came up to my first error and its when I'm compilling ffmpeg. I get the followin error after issuing "make"
libavcodec/vdpau.h:76: error: expected specifier-qualifier-list before ‘VdpPictureInfoMPEG4Part2’
libavcodec/vdpau.c: In function ‘ff_vdpau_mpeg4_decode_picture’:
libavcodec/vdpau.c:320: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:321: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:322: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:323: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:324: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:325: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:326: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:327: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:328: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:329: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:330: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:331: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:333: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:334: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:336: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:337: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:343: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:344: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:349: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
make: *** [libavcodec/vdpau.o] Error 1
libavcodec/vdpau.h:76: error: expected specifier-qualifier-list before ‘VdpPictureInfoMPEG4Part2’
libavcodec/vdpau.c: In function ‘ff_vdpau_mpeg4_decode_picture’:
libavcodec/vdpau.c:320: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:321: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:322: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:323: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:324: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:325: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:326: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:327: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:328: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:329: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:330: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:331: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:333: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:334: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:336: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:337: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:343: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:344: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
libavcodec/vdpau.c:349: error: ‘union VdpPictureInfo’ has no member named ‘mpeg4’
make: *** [libavcodec/vdpau.o] Error 1
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
You've got an ffmpeg problem. I'm assuming you complied ffmpeg from source?
Look at your output prior to the error... do you see any complaints about missing header files?
The trouble with ffmpeg is that the authors constantly change things around, and trying to stay on top of the changes is a challenge.
Look at your output prior to the error... do you see any complaints about missing header files?
The trouble with ffmpeg is that the authors constantly change things around, and trying to stay on top of the changes is a challenge.
hmmm this is the text before the error
Code: Select all
make
gcc -DHAVE_AV_CONFIG_H -I. -I"/root/ffmpeg" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -std=c99 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno -fno-tree-vectorize -MMD -MF libavcodec/vdpau.d -MT libavcodec/vdpau.o -c -o libavcodec/vdpau.o libavcodec/vdpau.c
In file included from libavcodec/vdpau.c:32:
libavcodec/vdpau.h:76: error: expected specifier-qualifier-list before ‘VdpPictureInfoMPEG4Part2’
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
I noticed that the author of the CentOS guide appears to have configured ffmpeg w/o enabling any options. Do a make clean and then reconfigure ffmpeg with the following:
This is what worked on my system although I forgot why I chose those options. If configure doesn't like the "enable-swscale" option then just delete that line.
Lastly, don't forget to do a make install-libs after make install.
Code: Select all
./configure \
--enable-gpl \
--enable-swscale \
--enable-shared \
--enable-pthreads
Lastly, don't forget to do a make install-libs after make install.
got it working!!!! (on ubuntu server 9.04)
although I think it was the connecting and setup of the camera that was in error.
now i have another problem.
I have three cameras setup (axis 2130r, a tape robot camera, and an axis 207) I can view all of them live. but when the 2130r (setup in modect) records an event I can't see it.
its a blank (not black)
what should I be looking for to help troubleshoot this? I don't see anything in the logs.
although I think it was the connecting and setup of the camera that was in error.
now i have another problem.
I have three cameras setup (axis 2130r, a tape robot camera, and an axis 207) I can view all of them live. but when the 2130r (setup in modect) records an event I can't see it.
its a blank (not black)
what should I be looking for to help troubleshoot this? I don't see anything in the logs.
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Yeah, first thing I was going to suggest is to check to your Zoneminder events folder.
Can you see lots of JPG's (and sub-folders) being written to the drive in question from a terminal?
When you open a live view on one of your cameras, do you see any events listed beneath the window? This would confirm that the system is at least logging the event pointers to the database.
Also, how did you tell Zoneminder to record to your data disk? Did you change the default under Options -> Paths, redirect via symbolic link, or something else?
Can you see lots of JPG's (and sub-folders) being written to the drive in question from a terminal?
When you open a live view on one of your cameras, do you see any events listed beneath the window? This would confirm that the system is at least logging the event pointers to the database.
Also, how did you tell Zoneminder to record to your data disk? Did you change the default under Options -> Paths, redirect via symbolic link, or something else?
yes I can. each directory is a number and under that number are a lot of jpg'sCan you see lots of JPG's (and sub-folders) being written to the drive in question from a terminal?
no. its blankCan you see lots of JPG's (and sub-folders) being written to the drive in question from a terminal?
I went to Options>Paths>DIR_EVENTS and put /data/zmAlso, how did you tell Zoneminder to record to your data disk? Did you change the default under Options -> Paths, redirect via symbolic link, or something else?