Hope someone can help.
I have probably spent 2 weeks now to get Zoneminder to work on slax.
and i would like to create a Zonminder.LZM package module for slax so that anyone can download it
without having so much trouble to get it working. and possibly create a Live Disk.
I finally got it to work, but i cant get it to start Zonminder from the Web console.
when i click the status at the top "Stopped" another window pops up then change the status to "Started" then click apply.
It looks like its about to start but when the popup goes away the main web console refreshes and the status stays as "Stopped"
All of the other functions in the web console is working with no PHP, Database or Permission errors.
This happens with ZoneMinder-1.24.1 as well.
this is how i managed to install it.
Boot Slax with the following modules which gets activated on boot-up
001-core.lzm
002-xorg.lzm
003-desktop.lzm
004-kdeapps.lzm
005-koffice.lzm
006-devel.lzm
007-firefox.lzm
codecs-essential-20071007.lzm
gnutls-2.8.4.lzm
gparted-0.3.6-i686-1.lzm
libmysqlclient16-5.1.37-2.lzm
libssl-0.9.8-i386.lzm
mysql-5.0.84.lzm
slaxfromhd.lzm
wxcam-0-9-8.lzm
xampp-1-7-1.lzm
Then in the 'rootcopy/install' folder i have the folllowing Tar's
/install
createuser.sql
Date-Manip-6.04.tar.gz
DBD-mysql-4.013.tar.gz
ffmpeg-0.5.tar.bz2
init.sh
libwww-perl-5.834.tar.gz
mjpg-streamer-r63.tar.gz
notes.txt
PHP-Serialization-0.33.tar.gz
phpMyAdmin-3.2.4-all-languages.tar.bz2
Sys-Mmap-0.13.tar.gz
YAML-Syck-1.07.tar.gz
ZoneMinder-1.22.0.tar.gz
ZoneMinder-1.24.1.tar.gz
ZoneMinder-1.24.2.tar.gz
When slax is booted it has a folder in /install with the above
tarballs (Which is everything you need to get ZM freshly compiled with the Latest FFMPEG support))
the init.sh is my own script which holds this...
Code: Select all
mkdir /opt/lampp/htdocs/zm
tar -xvf Sys-Mmap-0.13.tar.gz
tar -xvf PHP-Serialization-0.33.tar.gz
tar -xvf libwww-perl-5.834.tar.gz
tar -xvf YAML-Syck-1.07.tar.gz
tar -xvf Date-Manip-6.04.tar.gz
tar -xvf DBD-mysql-4.013.tar.gz
tar -xvf ZoneMinder-1.24.2.tar.gz
tar -xvf ffmpeg-0.5.tar.bz2
cd /install/ffmpeg-0.5
./configure --enable-swscale --enable-gpl
make
make install
make clean
cd /install/Sys-Mmap-0.13
perl Makefile.PL
make
make install
make clean
cd /install/PHP-Serialization-0.33
perl Makefile.PL
make
make install
make clean
cd /install/libwww-perl-5.834
perl Makefile.PL
make
make install
make clean
cd /install/YAML-Syck-1.07
perl Makefile.PL
make
make install
make clean
cd /install/Date-Manip-6.04
perl Makefile.PL
make
make install
make clean
cd /install/DBD-mysql-4.013
perl Makefile.PL
make
make install
make clean
/opt/lampp/lampp start
cd /install/ZoneMinder-1.24.2
./configure --with-webdir=/opt/lampp/htdocs --with-cgidir=/opt/lampp/cgi-bin ZM_SSL_LIB=openssl
make
make install
make clean
chmod 777 /usr/local/etc/zm.conf
cd /install
mysql mysql < createuser.sql
cd /install/ZoneMinder-1.24.2/db
mysql mysql < zm_create.sql
Code: Select all
CREATE USER 'zmuser'@'localhost' IDENTIFIED BY 'zmpass';
GRANT ALL ON *.* TO 'zmuser'@'localhost';
zm_create.sql is the sql script that comes with zoneminder to initialize its own database.
This installs ZM Perfectly fine with no hasles and no errors, (It takes a while though to compile everything)
The above is done in a VM (Sun' Virtual Box) if you are reading this to get Zoneminder working to as far as i got
remmber to se the VM's memory to more than 700MB otherwise Slax will freeze.
Now as i explained i cant start Zoneminder, where can i start troubleshooting as i'm not getting any errors?
after this is working i will get mjpg_streamer and motion to work with this.
I hope someone can help cus i'm about to give up this attempt.
If i can get this working , I will upload a live Cd of this for everyone to download.
I have tried the Blue Cherry ver and i'm not impressed as it using the Xface GUI which is very unstable.
Cheers!