Page 1 of 1

I cannot run ZoneMinder on Debian.

Posted: Mon Apr 30, 2012 7:20 pm
by gallonin
Hello,

I installed ZoneMinder on Debian by repositorium...

Code: Select all

#apt-get install zoneminder
... and ZoneMinder start with debian, but I do not know how run ZoneMinder. If I put my IP address into web browser I see only Apache web page.

How configure ZoneMinder to work?


PS. Sorry for my english.

Re: I cannot run ZoneMinder on Debian.

Posted: Mon Apr 30, 2012 9:17 pm
by mjsameth
try http://ip_address/zoneminder

Re: I cannot run ZoneMinder on Debian.

Posted: Mon Apr 30, 2012 9:40 pm
by PacoLM
* Configure zoneminder:
In the file /etc/apache2/sites-enabled/000-default
Change 'DocumentRoot /var/www', to 'DocumentRoot /usr/share/zoneminder'
Change '<Directory /var/www/>', to '<Directory /usr/share/zoneminder/>'
service apache2 restart

Open the browser and put the local ip address of your computer, zm interface will appear.

Hope it helps,

PacoLM

Re: I cannot run ZoneMinder on Debian.

Posted: Tue May 01, 2012 1:41 pm
by gallonin
mjsameth wrote:try h t t p://ip_address/zoneminder
Doesn't work.

PacoLM wrote:* Configure zoneminder:
In the file /etc/apache2/sites-enabled/000-default
Change 'DocumentRoot /var/www', to 'DocumentRoot /usr/share/zoneminder'
Change '<Directory /var/www/>', to '<Directory /usr/share/zoneminder/>'
service apache2 restart
During apache2 restart is message:

Code: Select all

... waiting Warning: DocumentRoot [etc/share/zoneminder/] does not exist 

Re: I cannot run ZoneMinder on Debian.

Posted: Tue May 01, 2012 2:06 pm
by PacoLM
... waiting Warning: DocumentRoot [etc/share/zoneminder/] does not exist
Is the path to the zoneminder files correct?. Seems that you missed a '/' before the 'etc', but first check the files are in /etc/share/zoneminder.

PacoLM

Re: I cannot run ZoneMinder on Debian.

Posted: Tue May 01, 2012 4:22 pm
by gallonin
PacoLM wrote:
... waiting Warning: DocumentRoot [etc/share/zoneminder/] does not exist
Is the path to the zoneminder files correct?. Seems that you missed a '/' before the 'etc', but first check the files are in /etc/share/zoneminder.

PacoLM
I have problem with copy/paste between VirtualBox and Windows.


Image
Image
Image
Into ...zoneminder/ folder is only index.php file and other folders.

Re: I cannot run ZoneMinder on Debian.

Posted: Tue May 01, 2012 5:42 pm
by gallonin
PacoLM wrote:
... waiting Warning: DocumentRoot [etc/share/zoneminder/] does not exist
Is the path to the zoneminder files correct?. Seems that you missed a '/' before the 'etc', but first check the files are in /etc/share/zoneminder.

PacoLM

ZoneMinder Work.

:mrgreen:

Image

Re: I cannot run ZoneMinder on Debian.

Posted: Thu Jun 07, 2012 8:11 pm
by Boeboe
The Zoneminder apache configuration is available in /etc/zm/apache.conf

Add the lines from that file in /etc/apache2/sites-enabled/000-default between:

</Directory>

Alias /zm /usr/share/zoneminder

<Directory /usr/share/zoneminder>
php_flag register_globals off
Options Indexes FollowSymLinks
<IfModule mod_dir.c>
DirectoryIndex index.php
</IfModule>
</Directory>


ErrorLog ${APACHE_LOG_DIR}/error.log

Verified on my Raspberry pi (Raspbian) system