stuck - Ubuntu Fiesty install -- help pls..

Support and queries relating to all previous versions of ZoneMinder
metafizx
Posts: 8
Joined: Mon Jul 16, 2007 5:47 pm

stuck - Ubuntu Fiesty install -- help pls..

Post 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)
metafizx
Posts: 8
Joined: Mon Jul 16, 2007 5:47 pm

Post 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 ...
PeterHoward
Posts: 319
Joined: Thu Jul 20, 2006 1:07 am
Location: Australia

Post 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
metafizx
Posts: 8
Joined: Mon Jul 16, 2007 5:47 pm

Post 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 ...
User avatar
Lee Sharp
Posts: 1069
Joined: Sat Mar 31, 2007 9:18 pm
Location: Houston, TX

Post 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

Code: Select all

sudo apache2ctl restart
suid zmfix

Code: Select all

sudo chmod 4755 /usr/bin/zmfix
Run zmfix

Code: Select all

zmfix -a

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)
metafizx
Posts: 8
Joined: Mon Jul 16, 2007 5:47 pm

Post 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.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post 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.
metafizx
Posts: 8
Joined: Mon Jul 16, 2007 5:47 pm

Post 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 !! :D
metafizx
Posts: 8
Joined: Mon Jul 16, 2007 5:47 pm

Post 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..
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Thats why I said to use Firefox.
metafizx
Posts: 8
Joined: Mon Jul 16, 2007 5:47 pm

Post by metafizx »

thanks.. :D
User avatar
flat4
Posts: 7
Joined: Tue Jul 10, 2007 2:33 pm

Post 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 !! :D

What model camera are you using? I found them by mistake and notice that there ip cameras were alot cheaper that anything else.
Ubuntu Lamp Server 7.04
sgr
Posts: 2
Joined: Thu Jul 19, 2007 1:09 pm

Didn't quite work...

Post 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!
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

id stick with fedora then, even better use ctu zm as that will just work
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
PeterHoward
Posts: 319
Joined: Thu Jul 20, 2006 1:07 am
Location: Australia

Re: Didn't quite work...

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