Page 1 of 1

ZM Homepage not running - after moving to other folder

Posted: Tue Jul 24, 2012 11:24 am
by sauermyg
Hello everybody,

I had a running zoneminder configuration since last year. With two cams.
Because of the current disk space I tried to move it elsewhere. Now I couldn't
restart the homepage (empty page in the browser).

I did the following steps:

1. /srv/www/httdocs/zm --> /raid1/srv/www/httdocs/zm
2. changed the location in the apache config file
3. changed the path in rczm start command and config files

restart apache, mysql, zm

--> empty page nothing happens

If I copy a standard index.html to e.g. ../httdocs/test and open this page I see this page in the browser (192.168.178.x/test).
So apache is running fine. I reinstalled zoneminder (Suse 11.4) with yast (Zoneminder Version 1.24 -> 1.25). Zoneminder installed the web-files to the standard folder /srv/www/httdocs/zm. I moved them to /raid1/srv/www/httdocs/zm. I changed everything (zm.conf, rczm start command, user rights, etc.) and I still have the same problem -> empty page. I started mysql and droped the zm database. I made a new database with no errors. I restarted zm and can see the deamon zmc, zmupdate etc.. The mysql server is running fine.

So, what can I do? Wher is the problem? :oops: :?

Markus

Re: ZM Homepage not running - after moving to other folder

Posted: Tue Jul 24, 2012 5:25 pm
by usersenior
you have disabled selinux?
You changed the permissions of the web directory zm?

Re: ZM Homepage not running - after moving to other folder

Posted: Tue Jul 24, 2012 6:48 pm
by sauermyg
Hello!

What do you mean with: you have disabled selinux?

Here are some screen shots.

Thanks!

Markus

Re: ZM Homepage not running - after moving to other folder

Posted: Wed Jul 25, 2012 8:40 am
by Jeffrey
We means your firewall configuration. The name of the 'program' that is controling it is called SELinux

Google -> Disable SELinux

Re: ZM Homepage not running - after moving to other folder

Posted: Wed Jul 25, 2012 10:48 am
by usersenior
which distribution of linux are you using?

Change owner and group of files this directory for user of apache

Re: ZM Homepage not running - after moving to other folder

Posted: Sun Sep 02, 2012 2:38 pm
by monex
Hi,

If you are moving the ZM Web folder to a different directory you have to adjust the apache2 configuration too. Have a look at /etc/apache2/conf.d/zm.conf and change the directory so that it matches you new directory.

Hope this helps