Page 1 of 1

ZM Hompage not running - after moving to other folder

Posted: Tue Jul 24, 2012 11:19 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 Hompage not running - after moving to other folder

Posted: Fri Jul 27, 2012 7:35 pm
by monex
Hi,

I think you should have to edit the paths in apache config file too, otherwise the required php options are not set.
It is located at /etc/apache2/conf.d/zm.conf.

Hope this helps

Dirk

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

Posted: Thu Jan 09, 2014 7:39 am
by Leo123
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