ZM running but how do I *view* it?

Support and queries relating to all previous versions of ZoneMinder
Locked
kwschumm
Posts: 8
Joined: Mon Apr 27, 2009 2:01 pm

ZM running but how do I *view* it?

Post by kwschumm »

I'm sure this is a really stupid newbie question but I've read the docs and searched the FAQs and can't find the answer.

Running Kubuntu 8.10 and downloaded zm via installer.

It installed and a bunch of zm scripts are running, including zmdc.pl, zmfilter.pl, zmaudit.pl, zmwatch.pl, zmupdate.pl.

But... these are all running in the background. What do I have to do to start a browser and actually view something? I've poked around in the zoneminder directory with firefox but there doesn't seem to be an index.html or any entry point that will bring up the main screen. There doesn't seem to be any error messages in the message logs.

The docs indicate that zmpkg.pl start starts things up, and it does, but no UI is displayed on the screen.

So now that things are running how do I bring up a UI to interface to the system?

Sometimes the most obvious things are the hardest...

TIA from a newbie.
MrEvoMan
Posts: 55
Joined: Thu Apr 23, 2009 1:25 am

Post by MrEvoMan »

Yes, you need a web browser for most of it.

Open one up. If you're local, use http://localhost

Otherwise, use http://yourservername

The webserver should automatically pull up index.php if you deleted the index.html like the documentation instructs.

Example: http://yourserver/index.php
kwschumm
Posts: 8
Joined: Mon Apr 27, 2009 2:01 pm

Post by kwschumm »

Thanks for the response. I am working locally.

http://localhost only brings up a screen that says "It works".

http://localhost/index.php results in a 404 Not Found.

There is no index.html in /usr/share/zoneminder but there is an index.php.
MrEvoMan
Posts: 55
Joined: Thu Apr 23, 2009 1:25 am

Post by MrEvoMan »

What system are you running?

Where is your web data located? Most of the time in something like /var/www/html
kwschumm
Posts: 8
Joined: Mon Apr 27, 2009 2:01 pm

Post by kwschumm »

This is kubuntu 8.10.

/var/www has an index.html with the "It Works" text I referenced. Must come installed that way.

I guess I need to comb through the configuration again and see what I missed.
MrEvoMan
Posts: 55
Joined: Thu Apr 23, 2009 1:25 am

Post by MrEvoMan »

When you did your ./configure did you use the following switch?

Code: Select all

--with-webdir=/var/www

Otherwise you can always try copying the "index.php" file located in your /usr/share/zoneminder directory to your /var/www and delete the "index.html", but I'm unsure if that skips any vital steps of the install.
kwschumm
Posts: 8
Joined: Mon Apr 27, 2009 2:01 pm

Post by kwschumm »

Apparently I made the mistake of installing it using instructions that were on the kubuntu help forums. They said to just do

sudo apt-get update

followed by

sudo apt-get install zoneminder

Which seemed to install everything, but apparently it doesn't set things up right.

I'll try again using the instructions for Vanilla 8.10 on this site.
PeterHoward
Posts: 319
Joined: Thu Jul 20, 2006 1:07 am
Location: Australia

Post by PeterHoward »

kwschumm wrote:Apparently I made the mistake of installing it using instructions that were on the kubuntu help forums. They said to just do

sudo apt-get update

followed by

sudo apt-get install zoneminder

Which seemed to install everything, but apparently it doesn't set things up right.

I'll try again using the instructions for Vanilla 8.10 on this site.
You missed one step (which is described in /usr/share/doc/zoneminder/README.Debian)

(as root):

Code: Select all

cd /etc/apache2/conf.d
ln -s /etc/zm/apache.conf zm.conf
/etc/init.d/apache2 force-reload
Then you see the interface at http://localhost/zm

PJH
PeterHoward
Posts: 319
Joined: Thu Jul 20, 2006 1:07 am
Location: Australia

PS:

Post by PeterHoward »

PS: The packaged version of zoneminder is still 1.23, not 1.24 :)
kwschumm
Posts: 8
Joined: Mon Apr 27, 2009 2:01 pm

Post by kwschumm »

Thank you PeterHoward!

That has it working.

Right, it's 1.23.3.
Locked