Page 1 of 1
ZM running but how do I *view* it?
Posted: Mon Apr 27, 2009 2:13 pm
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.
Posted: Mon Apr 27, 2009 8:33 pm
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
Posted: Mon Apr 27, 2009 8:40 pm
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.
Posted: Mon Apr 27, 2009 8:45 pm
by MrEvoMan
What system are you running?
Where is your web data located? Most of the time in something like /var/www/html
Posted: Mon Apr 27, 2009 8:54 pm
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.
Posted: Mon Apr 27, 2009 9:05 pm
by MrEvoMan
When you did your ./configure did you use the following switch?
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.
Posted: Mon Apr 27, 2009 9:10 pm
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.
Posted: Mon Apr 27, 2009 9:58 pm
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
PS:
Posted: Mon Apr 27, 2009 10:01 pm
by PeterHoward
PS: The packaged version of zoneminder is still 1.23, not 1.24
Posted: Mon Apr 27, 2009 10:11 pm
by kwschumm
Thank you PeterHoward!
That has it working.
Right, it's 1.23.3.