My last post obviously is not getting on here, just got a message about it containing s.p.a.m. There was NO s.p.a.m in the post, just questions.
Lets try again, maybe this time it will make it and I can actually entice a response from someone willing to help. I would be greatful.
Fresh CentOS 5.5 x64 system running a Dell Poweredge 2850. Fresh install of ZM 1.24. Trendnet IP camera works fine. Had a MS LifeCam Cinema plugged in as well, and it eventually worked fiddling with the various settings for cambozola, mpeg/jpeg etc. Have been trying a LT CQ Pro 4000, but cant get it to work, not even in xawtv, although they used to work fine in previous builds. So I removed the LT CQ Pro and now only have the TrendNet IP Camera and the MS LC Cinema, but I cant seem to get it working again. I did install video4linux previously to try and get the CG working.
Here is my compile line:
/configure --with-webdir=/var/www/html/Content/Secure/ZoneMinder --with-cgidir=/var/www/cgi-bin ZM_DB_HOST=192.168.1.182 ZM_DB_NAME=ZoneMinder ZM_DB_USER=zmuser ZM_DB_PASS=zmpass --with-extralibs="-L/usr/lib64 -L/usr/lib64/mysql" --with-ffmpeg=/usr/local/bin/ffmpeg --with-libarch=lib64 --enable-mmap=yes
Here are errors shown in config.log:
cat ZoneMinder-1.24.2/config.log | grep error
conftest.cc:16: error: 'exit' was not declared in this scope
conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
conftest.cc:15:28: error: ac_nonexistent.h: No such file or directory
conftest.cc:15:28: error: ac_nonexistent.h: No such file or directory
conftest.cc:62: error: '_Bool' was not declared in this scope
conftest.cc:62: error: expected primary-expression before ')' token
conftest.cc:62: error: expected `)' before numeric constant
conftest.cc:64: error: '_Bool' was not declared in this scope
conftest.cc:36: error: 'struct sigcontext' has no member named 'eip'
conftest.cc:36: error: 'struct sigcontext' has no member named 'eip'
conftest.cc:45: error: too many arguments to function 'double strtod()'
conftest.cc:54: error: at this point in file
conftest.cc:45: error: too many arguments to function 'double strtod()'
conftest.cc:64: error: at this point in file
| /* Override any gcc2 internal prototype to avoid an error. */
configure:7133: checking for strerror
conftest.cc:136:27: error: ffmpeg/avutil.h: No such file or directory
conftest.cc:102:27: error: ffmpeg/avutil.h: No such file or directory
conftest.cc:137:28: error: ffmpeg/avcodec.h: No such file or directory
conftest.cc:103:28: error: ffmpeg/avcodec.h: No such file or directory
conftest.cc:138:29: error: ffmpeg/avformat.h: No such file or directory
conftest.cc:104:29: error: ffmpeg/avformat.h: No such file or directory
conftest.cc:139:28: error: ffmpeg/swscale.h: No such file or directory
conftest.cc:105:28: error: ffmpeg/swscale.h: No such file or directory
conftest.cc:139:23: error: pcre/pcre.h: No such file or directory
conftest.cc:105:23: error: pcre/pcre.h: No such file or directory
I get these errors steady so I imagine this is the place to look first.
zmwatch[10769].ERR [Can't get shared memory id '7a6d0005', 5: No such file or directory]
chmod 777 /dev/video* made no difference
It wold appear I have more than enough shared memory but from what I read elsewhere something call "mapped memory" is now used?
cat /etc/sysctl.conf
net.ipv4.ip_forward=0
kernel.shmmax=68719476736
kernel.msgmax=65536
kernel.msgmnb=65536
net.ipv4.conf.default.rp_filter=1
kernel.sysrq=0
net.ipv4.conf.default.accept_source_route=0
kernel.shmall=4294967296
kernel.core_uses_pid=1
net.ipv4.tcp_syncookies=1
Here is more info from a debug log file:
09/06/10 07:34:07.097922 zmc_dvideo[-1].INF-zm_debug.c/292 [New Debug Level = 0, New Debug Log = /var/log/zoneminder/zm_debug.log.20044]
09/06/10 07:34:07.141643 zmc_dvideo[-1].INF-zmc.cpp/188 [Starting Capture]
09/06/10 07:34:07.141868 zmc_dvideo[-1].FAT-zm_local_camera.cpp/386 [Failed to set video format: Invalid argument]
09/06/10 07:34:07.142004 zmc_dvideo[-1].INF-zm_signal.cpp/64 [Got signal 6 (Aborted), exiting and forcing backtrace]
09/06/10 07:34:07.142049 zmc_dvideo[-1].ERR-zm_signal.cpp/90 [Signal address is 0x202, no eip]
09/06/10 07:34:07.142348 zmc_dvideo[-1].ERR-zm_signal.cpp/122 [Backtrace: /lib64/libpthread.so.0 [0x3a6e20eb10]]
09/06/10 07:34:07.142384 zmc_dvideo[-1].ERR-zm_signal.cpp/122 [Backtrace: /lib64/libc.so.6(gsignal+0x35) [0x3a6d630265]]
09/06/10 07:34:07.142427 zmc_dvideo[-1].ERR-zm_signal.cpp/122 [Backtrace: /lib64/libc.so.6(abort+0x110) [0x3a6d631d10]]
09/06/10 07:34:07.142469 zmc_dvideo[-1].ERR-zm_signal.cpp/122 [Backtrace: /usr/local/bin/zmc [0x40e66e]]
09/06/10 07:34:07.142510 zmc_dvideo[-1].ERR-zm_signal.cpp/122 [Backtrace: /usr/local/bin/zmc [0x41ed4d]]
09/06/10 07:34:07.142551 zmc_dvideo[-1].ERR-zm_signal.cpp/122 [Backtrace: /usr/local/bin/zmc [0x41f20d]]
09/06/10 07:34:07.142593 zmc_dvideo[-1].ERR-zm_signal.cpp/122 [Backtrace: /usr/local/bin/zmc [0x406060]]
09/06/10 07:34:07.142634 zmc_dvideo[-1].ERR-zm_signal.cpp/122 [Backtrace: /lib64/libc.so.6(__libc_start_main+0xf4) [0x3a6d61d994]]
09/06/10 07:34:07.142677 zmc_dvideo[-1].ERR-zm_signal.cpp/122 [Backtrace: /usr/local/bin/zmc(__gxx_personality_v0+0x2a9) [0x405be9]]
09/06/10 07:34:07.142719 zmc_dvideo[-1].INF-zm_signal.cpp/125 [Backtrace complete, please execute the following command for more information]
09/06/10 07:34:07.142758 zmc_dvideo[-1].INF-zm_signal.cpp/126 [addr2line -e /usr/local/bin/zmc(__gxx_personality_v0+0x2a9) 0x3a6e20eb10 0x3a6d630265 0x3a6d631d10 0x40e66e 0x41ed4d 0x41f20d 0x406060 0x3a6d61d994 0x405be9]
Any ideas where to get started? One would image that if you can easily plug any camera into a Linux/CentOS/Ubuntu box and have the camera work, that something can be written/coded to improve the camera functionality in ZM?