I cannot run ZoneMinder on Debian.

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

I cannot run ZoneMinder on Debian.

Post 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.
mjsameth
Posts: 26
Joined: Mon Sep 29, 2008 8:33 pm
Location: NYC

Re: I cannot run ZoneMinder on Debian.

Post by mjsameth »

try http://ip_address/zoneminder
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: I cannot run ZoneMinder on Debian.

Post 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

After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
gallonin
Posts: 12
Joined: Fri Apr 06, 2012 5:22 pm

Re: I cannot run ZoneMinder on Debian.

Post 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 
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: I cannot run ZoneMinder on Debian.

Post 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

After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
gallonin
Posts: 12
Joined: Fri Apr 06, 2012 5:22 pm

Re: I cannot run ZoneMinder on Debian.

Post 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.
gallonin
Posts: 12
Joined: Fri Apr 06, 2012 5:22 pm

Re: I cannot run ZoneMinder on Debian.

Post 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
Boeboe
Posts: 1
Joined: Wed Jun 06, 2012 9:37 pm

Re: I cannot run ZoneMinder on Debian.

Post 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
Locked