CentOS 7 with ZM 1.29 - no response from web UI

Forum for questions and support relating to the 1.29.x releases only.
Locked
VaderPrime
Posts: 3
Joined: Thu Apr 21, 2016 8:34 pm

CentOS 7 with ZM 1.29 - no response from web UI

Post by VaderPrime »

I am new to CentOS and Zoneminder. I have installed and configured CentOS 7 minimal install, and Zoneminder 1.29.0. I followed the instructions in the readme file in /usr/share/doc/zoneminder-1.29.0/README.Centos7. I can ping the IP of the CentOS without issues, but cannot detect port 80 open and cannot open the Web UI at http://ipaddr/zm. Can someone recommend where to start to track down the issue? Thank you
bbunge
Posts: 2951
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: CentOS 7 with ZM 1.29 - no response from web UI

Post by bbunge »

Firewall
commands:

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
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: CentOS 7 with ZM 1.29 - no response from web UI

Post by knight-of-ni »

Bbunge is right.
Think of CentOS and Fedora like you would Windows (I can't believe I just said that). Just like Windows, they ship with the Firewall turned on.

Note that you will need to be root to set the firewall commands bbunge has shown you. Or just turn off the firewall completely:

Code: Select all

sudo systemctl stop firewalld
sudo systemctl disable firewalld
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
VaderPrime
Posts: 3
Joined: Thu Apr 21, 2016 8:34 pm

Re: CentOS 7 with ZM 1.29 - no response from web UI

Post by VaderPrime »

bbunge wrote:Firewall
commands:

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
Thanks bbunge. That worked perfectly. That makes sense now too knnniggett. I'm guessing it would have worked from the local server before opening up the firewall, but with a min install of CentOS I wasn't sure how to go about trying it. Thanks everyone for the help.
Locked