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?
Markus
ZM Homepage not running - after moving to other folder
-
- Posts: 24
- Joined: Tue Jul 10, 2012 8:34 pm
Re: ZM Homepage not running - after moving to other folder
you have disabled selinux?
You changed the permissions of the web directory zm?
You changed the permissions of the web directory zm?
Re: ZM Homepage not running - after moving to other folder
Hello!
What do you mean with: you have disabled selinux?
Here are some screen shots.
Thanks!
Markus
What do you mean with: you have disabled selinux?
Here are some screen shots.
Thanks!
Markus
- Attachments
-
- Zoneminder3.jpg (26.82 KiB) Viewed 2944 times
-
- Zoneminder.jpg (48.25 KiB) Viewed 2944 times
-
- Zoneminder2.jpg (34.08 KiB) Viewed 2944 times
Re: ZM Homepage not running - after moving to other folder
We means your firewall configuration. The name of the 'program' that is controling it is called SELinux
Google -> Disable SELinux
Google -> Disable SELinux
-
- Posts: 24
- Joined: Tue Jul 10, 2012 8:34 pm
Re: ZM Homepage not running - after moving to other folder
which distribution of linux are you using?
Change owner and group of files this directory for user of apache
Change owner and group of files this directory for user of apache
Re: ZM Homepage not running - after moving to other folder
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
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