ZM Homepage not running - after moving to other folder

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

ZM Homepage not running - after moving to other folder

Post by sauermyg » Tue Jul 24, 2012 11:24 am

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 » Tue Jul 24, 2012 5:25 pm

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 » Tue Jul 24, 2012 6:48 pm

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 1965 times
Zoneminder.jpg
Zoneminder.jpg (48.25 KiB) Viewed 1965 times
Zoneminder2.jpg
Zoneminder2.jpg (34.08 KiB) Viewed 1965 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 » Wed Jul 25, 2012 8:40 am

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 » Wed Jul 25, 2012 10:48 am

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 » Sun Sep 02, 2012 2:38 pm

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

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests