Page 1 of 1

HowTo Install ZoneMinder on Ubuntu 7.04 Feisty Fawn

Posted: Sat May 19, 2007 3:14 pm
by namiiii
Hi,

I am trying to install zoneminder on ubuntu but am not having any luck. I am trying to follow this guide but its not very clear:

http://www.zoneminder.com/wiki/index.php/Ubuntu_7.04

I am now at the bit where it says:
had to link the apache.conf file to zoneminder.conf per the readme.deb :-

/etc/zm/apache.conf to /etc/apache2/conf.d/zoneminder.conf
What does that mean?

Posted: Sun May 20, 2007 9:29 pm
by MrLapage
you need to create a link from one file to the next, here's how

:CODE:

sudo link /etc/zm/apache.conf /etc/apache2/conf.d/zoneminder.conf

:ENDCODE:

simply copy and paste what's above and then restart your server using-

:CODE:

sudo /etc/init.d/apache2 reload

:ENDCODE:

The reason I know this is I just installed ZM on 7.04 and it ROCKS!
enjoy

Posted: Mon May 21, 2007 9:11 am
by namiiii
I've been waiting for a reply all weekend and just realised that i didn't have email alerts turned on in this board lol.

Thanks for the reply, will try this out tonight. :)

Posted: Thu May 24, 2007 2:25 pm
by John Williams
Updated the readme to make this clearer...thx for the input...

Posted: Thu May 24, 2007 3:32 pm
by namiiii
Finally got zoneminder installed, but getting the cameras to work is another story...

Posted: Mon May 28, 2007 10:56 pm
by PeterHoward
namiiii wrote:Finally got zoneminder installed, but getting the cameras to work is another story...
Sorry for the delay, I haven't checked the forums for a few days.

Can you provide some more information on how the cameras aren't working? Sorry if that sounds silly or trite, but I'd like to walk through the problem in detail. i.e.
  • * How you configured the cameras
    * What colour they are on the console
    * The log output
Thanks

PJH

Posted: Tue May 29, 2007 1:39 am
by notvisuallyimpairedyet
I found the howto helpful. Thank you.

I am a little mystified by the reference to something called

nph_zms

Since I have gotten video to work some of the time, but not anymore, this seems to me something I would like to try to change.

I didn't find it in etc/zm/zm.conf

Is that where it's supposed to be?

System :
Xubuntu 7.04 | PIII 700MHz | 512MB | 10G Quantum Fireball | Labtec Webcam Pro. | Linux GNoob

Thanks in advance.

Posted: Tue May 29, 2007 2:36 am
by PeterHoward
From the web inteface, click on "options"

Then click on the tab mapped "paths"

You want to change the field ZM_PATH_ZMS ; change the last bit from "nph-zms" to "zms"

PJH

Posted: Tue May 29, 2007 3:16 am
by notvisuallyimpairedyet
Thank you!

So that's done. And still no picture. But I'm glad to have eliminated that from the list of possible causes. Will look around for camera advice before whining on.

Posted: Tue May 29, 2007 1:11 pm
by John Williams
On mine, I have the cheepo 4 port ebay special. I access all 4 cameras thru /dev/video0 (note the 0) and then 0 thru 3 in the device channel field. Set to NTSC and RGB24 with 320x240 size. Also, I had to add a module.conf entry because the card would not properly identify itself (id=77). Take a look at dmesg to make sure the card is being properly inited. Once I did that, the correct card parameters were present and ZM did not have to override them. Using XAWTV was invaluable to debug this.

the nph_zms to ZMS change was because I was getting intermittent access. It would work once then fail, leaving zombie processes that leaked memory eventually crashing Ubuntu.

Posted: Wed Jun 06, 2007 7:55 pm
by Neil P
I have followed the wiki, but when running the reload apache command I get this:

neil@Kubuntu:~$ sudo ln -s /etc/zm/apache.conf /etc/apache2/conf.d/zoneminder.conf
Password:
neil@Kubuntu:~$ sudo /etc/init.d/apache2 reload
* Reloading web server config... 6557
apache2: Could not reliably determine the server's fully qualified domain name, using 192.168.1.12 for ServerName
[ OK ]
neil@Kubuntu:~$


192.168.1.12 is the local machine...where do I go next?

That isn't fatal

Posted: Wed Jun 06, 2007 11:38 pm
by PeterHoward
That error, by itself, isn't fatal. Have you tried accessing the Zoneminder page? (e.g. http://192.168.1.12/zm)

Posted: Thu Jun 07, 2007 9:36 am
by Neil P
:)

No I had not and

Yes, it does access the page.

That was going to be the next question, how to access the ZM page!!

I had the camera working fine using the Live CD, but it has not been detected on the instal. Xawtv shows the camera output, and I have ssen the FAQ /wiki somewhere to tell ZM where the camera is, so that is the next job.

Thanks

Blue screen

Posted: Thu Jun 14, 2007 4:28 pm
by tadeuceara
I,ve got to make it works. Thanks to the posts above. But I just can see a blue screen with the clock. May someone help me?