Page 1 of 1

Zoneminder via apt-get

Posted: Sun Jun 29, 2008 7:46 am
by gopher
I want to install zonemider via aptget to a text-only debian/ubuntu server.
After installing debian textmode via the netinst cd and upgrading to unstable I run
apt-get install zonemider.
The program installs fine but will not run. /dev/video0 in the web page is RED and there is no video. checking the logs the capture demon is constantly restarting.
Ok. it dont work. But when i install the GUI (gnome-desktop-environment) it installs a few hundered packages, and zoneminder works fine.

On ubuntu. I use the alt-install server CD. apt-get install zoneminder works fine, but the same problem as above. apt-get install ubuntu-desktop will install a TON of packages to enable the GUI and zoneminder will magically start working.

Does anyone know what the GUI desktop meta packages are installing that enable zoneminder to work? I cant figure it out. I want my system to be clutter free and not have all the X and gnome crap....

Posted: Sun Jun 29, 2008 8:55 pm
by caladeira
Hello!

I've already installed zoneminder on ubuntu 8.04 and works fine.
The difference is that i'm using peter's deb and make some extra steps.

Here my setup procedure:

Code: Select all

sudo apt-get install zip unzip patch ntp openssl build-essential subversion
wget ftp://ftp.northern-ridge.com.au/zoneminder/1.23/ubuntu/gutsy/libphp-serialization-perl_0.27-1_all.deb
wget ftp://ftp.northern-ridge.com.au/zoneminder/1.23/ubuntu/gutsy/zoneminder_1.23.3-1_i386.deb
sudo dpkg -i libphp-serialization-perl_0.27-1_all.deb
sudo dpkg -i zoneminder_1.23.3-1_i386.deb
sudo apt-get -f install
sudo ln -s /etc/zm/apache.conf /etc/apache2/conf.d/zoneminder.conf
sudo /etc/init.d/apache2 force-reload
sudo adduser www-data video
sudo touch /var/www/index.html
sudo chmod 666 /dev/video0
sudo chmod 4755 /usr/bin/zmfix
zmfix -a
Maybe you only need the "chmod" steps and it works!

Hope it helps.

Posted: Sun Jun 29, 2008 10:24 pm
by gopher
YES!
I ran both

sudo chmod 666 /dev/video0
sudo chmod 4755 /usr/bin/zmfix

and it did the trick! not sure which one or both needed it but it did fix it.

Posted: Mon Jun 30, 2008 10:09 am
by caladeira
I'm glad I could help.
Best regards.

Zoneminder

Posted: Thu Jun 04, 2009 1:29 pm
by kilo4u
Thank you very much..

I was going crazy and I tried


sudo chmod 666 /dev/video0
sudo chmod 4755 /usr/bin/zmfix

and that solved my problem..