[solved] ZM seems to be running, but no images...

Support and queries relating to all previous versions of ZoneMinder
Locked
thoweiss
Posts: 15
Joined: Mon Mar 06, 2006 3:00 pm

[solved] ZM seems to be running, but no images...

Post by thoweiss »

Hi there,

after i got my Grandtec 4-Port card got to run, (work fine with xawtv)
I tried to use it with zm.

after ./configure --with-webdir=/var/www/html --with-cgidir=/var/www/cgi-bin i got the following output:

Code: Select all

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
configure: WARNING: You can call configure with the --with-libarch option.
    This tells configure where to find architecture specific libraries.
    The default of 'lib' is usually ok but 64 bit machines may require lib64.
    e.g. --with-libarch=lib or --with-libarch=lib64
configure: WARNING: You can call configure with the --with-mysql option.
    This tells configure where to find the MySql C library and headers if config ure cannot
    locate them automatically.
    e.g. --with-mysql=/usr/local or --with-mysql=/usr
configure: WARNING: You can call configure with the --with-ffmpeg option.
    This tells configure where to find the ffmpeg root directory within which ar e the libavcodec
    and libavformat files that can be used to build true MPEG streaming into Zon eMinder. Ensure that
    your copy of ffmpeg has installed libraries as well as binaries (use 'make i nstalllib'). If you
    are using a local install of ffmpeg you may have to remove or rename a previ ous real installation
    as the headers and libraries from that will probably be picked up before you r local copy.
    e.g. --with-ffmpeg=/usr/local
configure: WARNING: You can call configure with the --with-extralibs option.
    Ordinarily you will need to use this option only when your copy of ffmpeg ha s been built
    with support for additional formats and you would use this option to detail which additional
    libraries ffmpeg was built with so that it is able to link successfully with  ZoneMinder.
    You will need to wrap this option in quotes if it contains any spaces.
    e.g. --with-extralibs="-lmp3lame"
configure: WARNING: You can call configure with the --with-webuser option.
    This tells configure what the user name of the web user is if it is not the default of 'apache'.
    e.g. --with-webuser=apache or --with-webuser=web
configure: WARNING: You can call configure with the --with-webgroup option.
    This tells configure what the group name of the web group is if it is not th e default of 'apache'.
    e.g. --with-webgroup=apache or --with-webgroup=web
configure: WARNING: You can call configure with the --enable-debug=<yes|no> or - -disable-debug option.
    This tells configure whether to compile ZoneMinder with debug included. Alth ough debug is included
    by default it is not output unless explicitly switched on elsewhere. These c hecks may induce a
    small penalty on performance and if you are after squeezing the maximum poss ible performance out
    of ZoneMinder you may use this switch to prevent debug from being compiled i n.
    e.g. --enable-debug=yes or --disable-debug
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking how to run the C++ preprocessor... g++ -E
checking mysql/mysql.h usability... yes
checking mysql/mysql.h presence... yes
checking for mysql/mysql.h... yes
checking pcre/pcre.h usability... no
checking pcre/pcre.h presence... no
checking for pcre/pcre.h... no
checking pcre.h usability... yes
checking pcre.h presence... yes
checking for pcre.h... yes
checking whether round is declared... yes
checking whether strsignal is declared... yes
checking whether MD5 is declared... yes
checking for jpeg_start_compress in -ljpeg... yes
checking for compress in -lz... yes
checking for dlsym in -ldl... yes
checking for mysql_init in -lmysqlclient... yes
checking for MD5 in -lcrypto... yes
checking for pcre_compile in -lpcre... yes
checking for ff_gcd in -lavutil... no
configure: WARNING: libavutil.a may be required for MPEG streaming
checking for avcodec_init in -lavcodec... no
configure: WARNING: libavcodec.a is required for MPEG streaming
checking for av_new_stream in -lavformat... no
configure: WARNING: libavformat.a is required for MPEG streaming
checking for perl... perl
checking for perl version greater than or equal to 5.6.0... ok
checking for perl module Sys::Syslog... ok
checking for perl module DBI... ok
checking for perl module DBD::mysql... ok
checking for perl module Getopt::Long... ok
checking for perl module Time::HiRes... ok
checking for perl module Date::Manip... ok
checking for perl module LWP::UserAgent... ok
checking for perl module Device::SerialPort... no
configure: WARNING: Device::SerialPort is required for RS232/RS485 PTZ camera control
checking for perl module Net::FTP... ok
checking for perl module Archive::Tar... no
configure: WARNING: Archive::Tar may be required for automatic event uploading
checking for perl module Archive::Zip... no
configure: WARNING: Archive::Zip may be required for automatic event uploading
checking for perl module Net::SMTP... ok
checking for perl module MIME::Lite... no
configure: WARNING: MIME::Lite may be required for automatic event email notification
checking for perl module MIME::Entity... no
configure: WARNING: MIME::Entity may be required for automatic event email notification
checking for perl module X10::ActiveHome... no
configure: WARNING: X10::ActiveHome is required for X.10 support
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating web/Makefile
config.status: creating web/graphics/Makefile
config.status: creating scripts/Makefile
config.status: creating db/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating web/Makefile
config.status: creating web/graphics/Makefile
config.status: creating scripts/Makefile
config.status: creating db/Makefile
config.status: creating zm.conf
config.status: creating src/zm_config.h
config.status: creating web/zm_config.php
config.status: creating scripts/zm
config.status: creating db/zm_create.sql
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating web/Makefile
config.status: creating web/graphics/Makefile
config.status: creating scripts/Makefile
config.status: creating db/Makefile
config.status: creating zm.conf
config.status: creating src/zm_config.h
config.status: creating web/zm_config.php
config.status: creating scripts/zm
config.status: creating db/zm_create.sql
config.status: creating scripts/ZoneMinder/lib/ZoneMinder/Base.pm
config.status: creating scripts/ZoneMinder/lib/ZoneMinder/Config.pm
config.status: creating scripts/ZoneMinder/lib/ZoneMinder/ConfigAdmin.pm
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
checking for scripts/ZoneMinder/Makefile... yes
then i run make and make install and everything seems to be fine.

I can add monitors at the webinterface
https://fotoalbum.web.de/gast/tho_weiss/Haus (the first one)
https://fotoalbum.web.de/gast/tho_weiss ... Type=image
and the are orange, but i can only see the placeholder for the pictures.

the log-files semms to be ok. No Errors are displayed.

Any Ideas??

With the Live-cd the card is working, but i cannot set the right modprobe option because i haven't the root password.

Thank you for your help,
regards Thorsten Weiss
Last edited by thoweiss on Wed Mar 29, 2006 5:32 am, edited 1 time in total.
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

live cd password is qwerty
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
thoweiss
Posts: 15
Joined: Mon Mar 06, 2006 3:00 pm

Post by thoweiss »

Thanks,

but the live cd is only a interim solution for me, because the PC where it runs normally is used for my HomeAutomation with misterhouse.

So i want to use Misterhouse AND zoneminder on the same system....


Regards,

Thorsten Weiss.
thoweiss
Posts: 15
Joined: Mon Mar 06, 2006 3:00 pm

Post by thoweiss »

me again...


ok, everthing is fine now, but....

ZM is saving still images when an alarm occurs, i can view them in the event window.

ZM shows me a still image in the zone window.

but i cant see anything in the watch windows.... :(

i only get these:
The requested URL /cgi-bin/zms was not found on this server.

I think my apache2 isn't be able to execute cgi scripst, but i have no idea how to change this.... :shock:

Im using Apache/2.0.54 (Debian GNU/Linux) PHP/5.1.2-1.dotdeb.2

at debian sarge netinstall version (so it schould be the newest)

I have found several post with the , i think , same problem but I didn't found a solution for me.

Any hints..??
I'm sorry i can not provide some logs because i'm at work .
A log-viewer would be nice for the webinterface.

regards,

Thorsten.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

If you search for 'cgi-script' I think you should find some examples of how to configure apache though it will differe depending on your version and distribution.
Phil
thoweiss
Posts: 15
Joined: Mon Mar 06, 2006 3:00 pm

Post by thoweiss »

thanks, I will try to figure out which settings i have to use.

btw. great programm!!



regards,

Thorsten
thoweiss
Posts: 15
Joined: Mon Mar 06, 2006 3:00 pm

Post by thoweiss »

I got it!! :D :D

the settings i have to made are not in the HTTPD.conf but in the

/available sites/default.00

Thanks a lot.


Regards,

Thorsten.
Locked