Page 1 of 2
stuck - Ubuntu Fiesty install -- help pls..
Posted: Mon Jul 16, 2007 6:05 pm
by metafizx
Hi,
pretty much n00b-o-matic here... I have Ubuntu Fiesty Desktop installed on my machine, and wanted to try out zoneminder.
I followed the wiki for Ubuntu 7.04 (fiesty) and did the following, but nothing is happening, and I am kinda stuck...just need some pointers.
here is what I did:
1. downloaded
ftp://www.northern-ridge.com.au/zonemin ... 6_i386.deb
2. ran the install by clicking on the .deb (I guess it's the same as dpkg)
3. sudo ln -s /etc/zm/apache.conf /etc/apache2/conf.d/zoneminder.conf
4. sudo /etc/init.d/apache2 reload
So...now what ? since this is .deb, does it do all the building steps, or is that something still I have to do ? (sorry n00b)
Posted: Mon Jul 16, 2007 8:09 pm
by metafizx
Trying to move fwd here, I found a thread that may help:
Ubuntu 7.04 (Feisty Fawn) installation walkthrough (kind of)
http://www.zoneminder.com/forums/viewto ... hlight=deb
I figured I was probably at this step after installing the .deb, so..I did the following :
12. apt-get install patch (This installs patch so you can, uhmm… patch files)
13. cd /usr/share/zoneminder
14. wget
http://www.zoneminder.com/downloads/zm- ... eset.patch
15. wget
http://www.zoneminder.com/downloads/zm- ... lter.patch
16. nano zm-1.22.3-monpreset.patch (Remove the “web/” from then first two lines the save it.)
17. patch -p0 < zm-1.22.3-monpreset.patch
18. patch -p0 < zm-1.22.3-filter.patch
19. chown www-data:www-data zm_actions.php
20. chown www-data:www-data zm_html_view_monitor.php
21. shutdown –r now
so not sure what next....appreciate any help ...
Posted: Mon Jul 16, 2007 11:14 pm
by PeterHoward
I've never used the two extra patches (steps 14 and 15 + onwards). However it should all be working once the .deb is installed (or after the extra steps I assume). You should then just have to point your browser at http://{zoneminder machine}/zm
Posted: Mon Jul 16, 2007 11:29 pm
by metafizx
PeterHoward wrote:I've never used the two extra patches (steps 14 and 15 + onwards). However it should all be working once the .deb is installed (or after the extra steps I assume). You should then just have to point your browser at http://{zoneminder machine}/zm
thanks Peter,
I was going to try that next.. because of being new to all this, I wasn't sure if the .deb did all the build and config steps shown in the docs.
I'll see how far I get ...
Posted: Mon Jul 16, 2007 11:42 pm
by Lee Sharp
My steps... Works every time on feisty and Edgy
Link Apache
Code: Select all
sudo ln -s /etc/zm/apache.conf /etc/apache2/conf.d/zoneminder.conf
Restart Apache
suid zmfix
Run zmfix
edit /etc/sysctl.conf and add the following lines (for 128meg shared mem)
kernel.shmall = 134217728
kernel.shmmax = 134217728
Download cambozola.jar and put it in /usr/share/zoneminder
Enable in options->Images.
test with xawtv (-nodga may be needed)
Posted: Tue Jul 17, 2007 12:25 am
by metafizx
ok, thanks for that...
I have zoneminder up on the browser now, but no image yet from the camera.
Pretty sure it is because i have no idea what the image location is supposed to be. From IE browser (activeX) the location is /ctl/index.htm, but I know that isnt what zoneminder monitor wants. This is a network camera, VCenter (cheapie).
I'll poke around before bothering you guys, thanks for all the help so far.
Posted: Tue Jul 17, 2007 12:39 am
by cordel
As long as you can get an image through Firefox off the cam it should work. Just right click on the image and check the properties.
Posted: Tue Jul 17, 2007 12:48 am
by metafizx
wow, I am stoked !!
got the image up on the first camera.
for what it's worth, this is a Gadspot or Vcenter IP cam.
the image path is : /Jpeg/CamImg.jpg
I was able to do a :
wget http://{ip address to cam}/Jpeg/CamImg.jpg
and that worked, and putting the right path in the monitor got the camera image up. all working now.
THANKS EVERYONE !!

Posted: Tue Jul 17, 2007 12:49 am
by metafizx
cordel wrote:As long as you can get an image through Firefox off the cam it should work. Just right click on the image and check the properties.
I'll try that, but I am pretty sure I can't get the image props from IE since it is under activeX GUI. Although from a forum search, I found the correct path to the camera's image.
thanks..
Posted: Tue Jul 17, 2007 1:23 am
by cordel
Thats why I said to use Firefox.
Posted: Tue Jul 17, 2007 4:19 am
by metafizx
thanks..

Posted: Thu Jul 19, 2007 12:17 pm
by flat4
metafizx wrote:wow, I am stoked !!
got the image up on the first camera.
for what it's worth, this is a Gadspot or Vcenter IP cam.
the image path is : /Jpeg/CamImg.jpg
I was able to do a :
wget http://{ip address to cam}/Jpeg/CamImg.jpg
and that worked, and putting the right path in the monitor got the camera image up. all working now.
THANKS EVERYONE !!

What model camera are you using? I found them by mistake and notice that there ip cameras were alot cheaper that anything else.
Didn't quite work...
Posted: Thu Jul 19, 2007 1:17 pm
by sgr
I followed these directions (on an Edgy server installation), but get errors complaining that dependencies ffmpeg and libmime-perl are missing.
apt-get -y install ffmpeg
and
apt-get -y install libmime-perl
both produce errors:
"Package ffmpeg is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package ffmpeg has no installation candidate"
I'm not very experienced with Debian/Ubuntu, as this is my first system using this distro (I have previously used mainly Fedora)
Any hints on why I can't install these?
Thanks!
Posted: Thu Jul 19, 2007 8:32 pm
by jameswilson
id stick with fedora then, even better use ctu zm as that will just work
Re: Didn't quite work...
Posted: Thu Jul 19, 2007 11:19 pm
by PeterHoward
sgr wrote:I followed these directions (on an Edgy server installation), but get errors complaining that dependencies ffmpeg and libmime-perl are missing.
apt-get -y install ffmpeg
and
apt-get -y install libmime-perl
both produce errors:
"Package ffmpeg is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package ffmpeg has no installation candidate"
Have you enabled "universe" in apt? If not, edit /etc/apt/sources.list and uncomment the "deb" and "deb-src" lines ending in "universe", then run "apt-get update" and try again.