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!
Building ZoneMinder 1.20.1 in Debian testing/Unstable
-
- Posts: 3
- Joined: Thu Feb 10, 2005 1:42 pm
- Location: Barberton, Ohio USA
Zoneminder on Debian testing/unstable
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.
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.
John Cooper
-
- Posts: 8
- Joined: Thu Feb 03, 2005 10:33 am
- Location: Durham UK
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.
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.
-
- Posts: 8
- Joined: Thu Feb 03, 2005 10:33 am
- Location: Durham UK