Zoneminder via apt-get

Support and queries relating to all previous versions of ZoneMinder
Locked
gopher
Posts: 16
Joined: Wed Feb 28, 2007 3:26 am

Zoneminder via apt-get

Post 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....
User avatar
caladeira
Posts: 64
Joined: Wed Dec 05, 2007 10:57 am
Location: Lisbon

Post 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.
gopher
Posts: 16
Joined: Wed Feb 28, 2007 3:26 am

Post 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.
User avatar
caladeira
Posts: 64
Joined: Wed Dec 05, 2007 10:57 am
Location: Lisbon

Post by caladeira »

I'm glad I could help.
Best regards.
kilo4u
Posts: 2
Joined: Wed Jun 03, 2009 4:00 pm
Location: Barranquilla

Zoneminder

Post 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..
Locked