ZM Homepage not running - after moving to other folder

Forum for questions and support relating to the 1.25.x releases only.
Locked
sauermyg
Posts: 5
Joined: Tue Jul 24, 2012 10:33 am

ZM Homepage not running - after moving to other folder

Post 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
usersenior
Posts: 24
Joined: Tue Jul 10, 2012 8:34 pm

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

Post by usersenior »

you have disabled selinux?
You changed the permissions of the web directory zm?
sauermyg
Posts: 5
Joined: Tue Jul 24, 2012 10:33 am

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

Post by sauermyg »

Hello!

What do you mean with: you have disabled selinux?

Here are some screen shots.

Thanks!

Markus
Attachments
Zoneminder3.jpg
Zoneminder3.jpg (26.82 KiB) Viewed 2803 times
Zoneminder.jpg
Zoneminder.jpg (48.25 KiB) Viewed 2803 times
Zoneminder2.jpg
Zoneminder2.jpg (34.08 KiB) Viewed 2803 times
Jeffrey
Posts: 9
Joined: Thu Jul 12, 2012 7:36 am

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

Post by Jeffrey »

We means your firewall configuration. The name of the 'program' that is controling it is called SELinux

Google -> Disable SELinux
usersenior
Posts: 24
Joined: Tue Jul 10, 2012 8:34 pm

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

Post by usersenior »

which distribution of linux are you using?

Change owner and group of files this directory for user of apache
User avatar
monex
Posts: 169
Joined: Mon Jan 22, 2007 1:10 pm

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

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