I cannot run ZoneMinder on Debian.

Forum for questions and support relating to the 1.25.x releases only.
gallonin
Posts: 12
Joined: Fri Apr 06, 2012 5:22 pm

I cannot run ZoneMinder on Debian.

Postby gallonin » Mon Apr 30, 2012 7:20 pm

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.

mjsameth
Posts: 26
Joined: Mon Sep 29, 2008 8:33 pm
Location: NYC

Re: I cannot run ZoneMinder on Debian.

Postby mjsameth » Mon Apr 30, 2012 9:17 pm


PacoLM
Posts: 904
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: I cannot run ZoneMinder on Debian.

Postby PacoLM » Mon Apr 30, 2012 9:40 pm

* 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

mini-ITX system (6 IPCams - Ubuntu14.04 - ZM1.29 - ZMNinja)

gallonin
Posts: 12
Joined: Fri Apr 06, 2012 5:22 pm

Re: I cannot run ZoneMinder on Debian.

Postby gallonin » Tue May 01, 2012 1:41 pm

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

PacoLM
Posts: 904
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: I cannot run ZoneMinder on Debian.

Postby PacoLM » Tue May 01, 2012 2:06 pm

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

mini-ITX system (6 IPCams - Ubuntu14.04 - ZM1.29 - ZMNinja)

gallonin
Posts: 12
Joined: Fri Apr 06, 2012 5:22 pm

Re: I cannot run ZoneMinder on Debian.

Postby gallonin » Tue May 01, 2012 4:22 pm

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.

gallonin
Posts: 12
Joined: Fri Apr 06, 2012 5:22 pm

Re: I cannot run ZoneMinder on Debian.

Postby gallonin » Tue May 01, 2012 5:42 pm

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

Boeboe
Posts: 1
Joined: Wed Jun 06, 2012 9:37 pm

Re: I cannot run ZoneMinder on Debian.

Postby Boeboe » Thu Jun 07, 2012 8:11 pm

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


Return to “ZoneMinder 1.25.x”

Who is online

Users browsing this forum: No registered users and 1 guest