Page 1 of 1

Building ZoneMinder 1.20.1 in Debian testing/Unstable

Posted: Wed Feb 09, 2005 6:10 pm
by stackbit
Hi! First: Great software! I hope to help with my experiments.
I am trying to build zoneminder in a Debian Linux Testing/Unstable instalation.

Any suggestions and recomendations?

I have achieved compilation with
./configure --with-mysql=/root/mysql/mysql-dfsg-4.0.23/ --with-ffmpeg=/root/ffmpeg/ffmpeg-0.cvs20050108/ --with-webdir=/var/www/ --with-cgidir=/usr/lib/cgi-bin/ --with-webgroup=www-data --with-webuser=www-data

where /root/... are the directories with the source for mysql and ffmpeg, obtained through apt-get source.

Running zoneminder has been more problematic, altough i cannot ascertain if the problems come from the software itself... It seems my bt878 s broken...

Any suggestions relating to Debian installs?

Txs!

Posted: Thu Feb 10, 2005 12:05 am
by cordel
Your best bet will be to start by searching the forum. Unless someone esle is or has worked on it you might be on your own.
Cordel

Zoneminder on Debian testing/unstable

Posted: Thu Feb 10, 2005 2:22 pm
by johncooper
b authentication, kept returning to the log-in screen, so I turned of authentication by changing the valueeo's. Things I had to do to get things working:
1) configure with the correct paths, looks like you have that correct for standard debian set-up, I re-configured apache to use /var/www/cgi-bin rather than /usr/lib/cgi-bin simply because it makes ftp easier. But make sure that wherever the cgi-bin resides that apache can execute scripts
2) fetch all required perl modules, there is a good list of dependancies elsewhere in the forum, I was missing several of them
3) issue the command sysctl -w kernel.shmmax="0x3000000" (this is 500MB so adjust it if you have less memory but you need more than the default for sure) prior to starting to increase the available shared memory otherwise you will get errors, seen in the logs, and the capture deamons will fail to start
4) I could not log on using web authentication, kept returning to the log-in screen, so I turned of authentication by changing the valueP5{able config, while you are at it make sure that you can run php from apache and log into the database with the user and password configured in zoneminder. I set-up htaccess security on the directory untill I can figure out the failing database driven web authentication.
5) The startup shell script (zm) can be placed in /etc/init.d with the line . /etc/rc.d/init.d/functions commented out and set to start at boot if so desired. You can also start manually by removing the T option at the beginning of zmpkg.pl and running it.
6) Try to get zoneminder working via network by grabbing a static jpeg from somewhere just to be sure it works. Then deal with the bttv capture which is a whole other topic but if you get it working with Xawtv then it should work with zoneminder, just make sure to close Xawtv before trying zoneminder as both cannot access the device simultaneously.

Posted: Thu Feb 10, 2005 11:21 pm
by Knoppix-Zoneminder
I have zoneminder (1.19) running on Knoppix, which is basically a Debian / Unstable system.

It has some peculiarities that i havent fixed yet, I did have some initial problems, mainly with permissions i think.

Once running though, it is very stable and reliable.

If you post your log files, ill have a look and see if i can spot anything i recognise.

Posted: Thu Feb 10, 2005 11:23 pm
by Knoppix-Zoneminder
PS :- I still have my original log files since installation, so should be able to spot and fix any similarities.