Page 1 of 1
New install
Posted: Sun Sep 18, 2016 6:47 pm
by Akilian
Hello, I just installed ZM on Centos 7. I did everything on the "read me" file. My question is what is the url of the web page? I get the apache screen.
Re: New install
Posted: Sun Sep 18, 2016 7:40 pm
by knight-of-ni
Re: New install
Posted: Sun Sep 18, 2016 9:24 pm
by Akilian
Thank you for your reply. This is what I get""This site can’t be reached localhost refused to connect." It's like the db isn't accessible.
Re: New install
Posted: Sun Sep 18, 2016 11:29 pm
by Akilian
Also, I'm managing this from another workstation. So wouldn't localhost bring me to my ip?
Re: New install
Posted: Sun Sep 18, 2016 11:56 pm
by Akilian
I'm a noob. I forgot about the firewall. They may want to add that to their documentation for others. Thanks, man.
firewall-cmd --set-default-zone=public
firewall-cmd --permanent --zone=public --add-service=http
firewall-cmd --permanent --zone=public --add-service=https
firewall-cmd --reload
Re: New install
Posted: Mon Sep 19, 2016 12:31 am
by knight-of-ni
Yes, just like Windows (dare I say it), Redhat distros ship with the firewall turned on.
You have to poke a hole in the firewall for any server function to work when attempting to access from a remote client.
Re: New install
Posted: Tue Oct 11, 2016 5:45 pm
by jk787
Hi All
Back again. Having unsuccessfully tried to get Zoneminder working in a number of combinations (14.04 with 1.29 and 1.30) I finally settled on Ubuntu 16.04 with Zoneminder 1.30. The logic behind my decision was the “newest being most idiot proof”. This hasn’t proven to be quite true. My Ubuntu installs have been seamless with no issue however zoneminder has not been so good. I have installed Zoneminder as per the official documentation on the zoneminder site
(
http://zoneminder.readthedocs.io/en/lat ... untu-16-04).
All went as per the document until step 7 when the console threw back the messages below:
root@john-VPCEB4J0E:~# a2enconf zoneminder
Enabling conf zoneminder.
To activate the new configuration, you need to run:
service apache2 reload
root@john-VPCEB4J0E:~# service apache2 reload
root@john-VPCEB4J0E:~# a2enmod cgi
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Enabling module cgi.
To activate the new configuration, you need to run:
service apache2 restart
root@john-VPCEB4J0E:~# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
service apache2 restart
root@john-VPCEB4J0E:~# service apache2 restart
root@john-VPCEB4J0E:~# systemctl enable zoneminder
Synchronizing state of zoneminder.service with SysV init with /lib/systemd/systemd-sysv-install...
Executing /lib/systemd/systemd-sysv-install enable zoneminder
root@john-VPCEB4J0E:~# systemctl start zoneminder
root@john-VPCEB4J0E:~#
Having completed process as per the documentation (with the exception of the blue text above) I am unable to open either link from step 11. Both links result in “Server not found” error page.
I have carried out the steps in blue as per the wiki
(
https://wiki.zoneminder.com/Ubuntu_Serv ... e_easy_way)
<Directory /usr/share>
AllowOverride All
Require all granted
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
but again I get the same error page when I try to open a zoneminder console.
Opening a page with 127.0.0.1 returns the Apache 2 Ubuntu default page confirming (as per the text in the page) that the server is working properly.
Opening a page with 127.0.0.1/zm/ or localhost/zm/ returns a page with the following text on a white background
ZoneMinder is not installed properly: php's date.timezone is not set to a valid timezone
however the following output is taken directly from the console
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
;date.timezone = Europe/Dublin
I have carried out all of the above (including a full reinstall of 16.04) three times just in case, but all to no avail. I am still unable to open a zoneminder console or verify the version of zoneminder installed. Any and all help very much appreciated.
Re: New install
Posted: Tue Oct 11, 2016 5:58 pm
by iconnor
Remove the ; in front of date.timezone.
Re: New install
Posted: Wed Oct 12, 2016 6:32 am
by jk787
Many thanks for the help. I had to do a restart but I am now happily looking at a zoneminder console. Its always the obvious isn't it!
Re: New install
Posted: Wed Oct 12, 2016 1:13 pm
by bbunge
OK, I have added "Make sure to remove the ; from the front of date.timezone" to the WIKI install procedures for Ubuntu...
Now we can hope people read it!