Page 1 of 1

Install ZM 1.24 on Trixbox 2.6.2 ?

Posted: Wed May 19, 2010 3:42 am
by ionet
Have anyone installed ZM 1.24 on a Trix 2.6.2, I have been looking for any guides without luck.

I did several tries but I'm still getting a bunch of different errors everytime.

I'll really appreciate any help

Thanks.

Posted: Wed May 19, 2010 4:27 am
by kingofkya
Post your compile errors we will see what we can do.

Posted: Thu May 20, 2010 4:46 pm
by ionet
Hi there
Im following this guide

http://www.zoneminder.com/wiki/index.php/CentOS
Im running from step five because im actually working on Trixbox

This is my error, I think is something related with the permissions

error: Could not open config file.

My next step is installing the subversion and the rest of the configuring part.

./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin ZM_SSL_LIB=openssl --with-ffmpeg=/usr/local

nano /usr/local/include/libavutil/common.h

add line

#define UINT64_C(value) __CONCAT(value, ULL)

make
make install

mysql -u root -p
password passw0rd

create database zm;
grant CREATE, INSERT, SELECT, DELETE, UPDATE on zm.* to zmuser@localhost;
SET PASSWORD FOR zmuser@localhost=PASSWORD('zmpass');
mysql -u root -p zm < db/zm_create.sql
cp scripts/zm /etc/init.d/
chmod +x /etc/init.d/zm
chkconfig zm on
cd ..
cp cambozola.jar /var/www/html/zm/
chown apache:apache /var/www/html/zm/cambozola.jar
service zm start

I hope i can get some help

Thanx

Posted: Fri Oct 08, 2010 2:51 pm
by ionet
Hello guys,

Im still struggling with ZM on TRix.

Im able now to access the web interface ip/zm
but it keeps saying zomenider console stopped, i´ve run it from the terminal and it says ok, but the state doesnt change on the web interface.

i tried useing webuser=apahce and webgroup=apahce without luck.

Any further suggestions???

Thank you!!