memory issues (I think)-Ubuntu svr 8.04 / 1.24.0-rc1-2678
Posted: Sat Dec 20, 2008 1:18 am
OK, Let's see if I can ask my first question without looking dumb.
Ubuntu server 8.04, fresh install (LAMP)
intel i386, 1.5G RAM, 200G HDD
apt-get install of:
libc6-dev
libssl-dev
libgnutls-dev
libjpeg62-dev
ffmpeg
libmysqlclient15-dev
build-essential
xawtv
ssh and open server
cpan install of:
PHP::Serialization
Date::Manip
Sys::Mmap
created /var/www/zm and conigured zm source with:
./configure --with-libarch=lib --with-mysql=/usr/local
--with-webdir=/var/www/zm --with-cgidir=/usr/lib/cgi-bin
--with-webuser=www-data --with-webgroup=www-data
ZM_SSL_LIB=openssl
--with-ffmpeg=/usr/include
so far, so good. set up mysql databases (zmuser/zmpass, assigned privs, ran zm_create.sql), no problem.
make install went fine. started with zmpkg.pl start, opened web page, no problem. Flipped on ffmpeg and cambozola (after downloading & putting in zm folder).
set up ACTi ACM7411 camera (reset to factory to be sure), set :
Video Setting -> Streaming Method (RTP over UDP)
Video Setting -> Encoder Type (MPEG4)
RTSP Port: 7070
Video Control Port: 6001
--cam views fine over built-in web viewer.
set up monitor in zm using ACTi preset. set IP, frame rates, resolution.
At this point the source was in orage text. checked zmwatch and saw the 0x7... error.
...searched wiki, searched forums, tweaked shmall and shmmax, rinse and repeat... finally was instructed by bluecherry support to try memory map option.
re-configured with --enable-mmap=yes and re-make install(ed). Now the source is in red text.
upped debug to 3 and tried again. I have tried recreating the monitor, I have tried different resolutions and frame rates.
zmwatch just keeps showing:
12/19/08 18:37:53.896765 zmwatch[5123].ERR [Can't open memory map file '/dev/shm/.zm.mmap.5': No such file or directory]
debug log has:
12/19/08 18:38:23.043272 zmc_m5[5164].DB1-zm_monitor.cpp/2124 [Got 1 monitors]
12/19/08 18:38:23.043350 zmc_m5[5164].FAT-zm_monitor.cpp/2247 [Unexpected remote camera protocol 'rtsp' for monitor 5]
I have read through countless pages on the forums and wiki, but can't seem to find what I need. At this point I am not even sure what to ask next. Any help would be greatly appreciated. I tried to keep the info and debug readouts short to avoid taking up space, so let me know if any other info is needed.
Thanks in advace,
-Mike
Ubuntu server 8.04, fresh install (LAMP)
intel i386, 1.5G RAM, 200G HDD
apt-get install of:
libc6-dev
libssl-dev
libgnutls-dev
libjpeg62-dev
ffmpeg
libmysqlclient15-dev
build-essential
xawtv
ssh and open server
cpan install of:
PHP::Serialization
Date::Manip
Sys::Mmap
created /var/www/zm and conigured zm source with:
./configure --with-libarch=lib --with-mysql=/usr/local
--with-webdir=/var/www/zm --with-cgidir=/usr/lib/cgi-bin
--with-webuser=www-data --with-webgroup=www-data
ZM_SSL_LIB=openssl
--with-ffmpeg=/usr/include
so far, so good. set up mysql databases (zmuser/zmpass, assigned privs, ran zm_create.sql), no problem.
make install went fine. started with zmpkg.pl start, opened web page, no problem. Flipped on ffmpeg and cambozola (after downloading & putting in zm folder).
set up ACTi ACM7411 camera (reset to factory to be sure), set :
Video Setting -> Streaming Method (RTP over UDP)
Video Setting -> Encoder Type (MPEG4)
RTSP Port: 7070
Video Control Port: 6001
--cam views fine over built-in web viewer.
set up monitor in zm using ACTi preset. set IP, frame rates, resolution.
At this point the source was in orage text. checked zmwatch and saw the 0x7... error.
...searched wiki, searched forums, tweaked shmall and shmmax, rinse and repeat... finally was instructed by bluecherry support to try memory map option.
re-configured with --enable-mmap=yes and re-make install(ed). Now the source is in red text.
upped debug to 3 and tried again. I have tried recreating the monitor, I have tried different resolutions and frame rates.
zmwatch just keeps showing:
12/19/08 18:37:53.896765 zmwatch[5123].ERR [Can't open memory map file '/dev/shm/.zm.mmap.5': No such file or directory]
debug log has:
12/19/08 18:38:23.043272 zmc_m5[5164].DB1-zm_monitor.cpp/2124 [Got 1 monitors]
12/19/08 18:38:23.043350 zmc_m5[5164].FAT-zm_monitor.cpp/2247 [Unexpected remote camera protocol 'rtsp' for monitor 5]
I have read through countless pages on the forums and wiki, but can't seem to find what I need. At this point I am not even sure what to ask next. Any help would be greatly appreciated. I tried to keep the info and debug readouts short to avoid taking up space, so let me know if any other info is needed.
Thanks in advace,
-Mike