Page 1 of 1

Can't access web interface

Posted: Sun Nov 25, 2018 6:41 pm
by Figge71
Hi!

I'm a newbe on both Linux and Zoneminder.

I've installed Centos 7 and Zoneminder a week ago, following different installation guides
ex.
http://buney.net/index.php/2018/01/07/h ... k-summary/
and
https://zoneminder.readthedocs.io/en/la ... edhat.html

But every time i get the same result, Error message "The webpage can't be showen", when trying to access the web interface.

I use the link
https://192.168.176.7/zm

I would really appreciate if you would give me an ide of what the problem could be :)

Zoneminder status

[root@localhost fredrik]# systemctl status zoneminder.service
● zoneminder.service - ZoneMinder CCTV recording and security system
Loaded: loaded (/usr/lib/systemd/system/zoneminder.service; enabled; vendor preset: disabled)
Active: active (running) since sön 2018-11-18 21:36:03 CET; 6 days ago
Process: 12301 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=0/SUCCESS)
Main PID: 12318 (zmdc.pl)
CGroup: /system.slice/zoneminder.service
├─12318 /usr/bin/perl -wT /usr/bin/zmdc.pl startup
├─12347 /usr/bin/perl -wT /usr/bin/zmfilter.pl --filter_id=1 --daemon
├─12359 /usr/bin/perl -wT /usr/bin/zmfilter.pl --filter_id=2 --daemon
├─12374 /usr/bin/perl -wT /usr/bin/zmaudit.pl -c
├─12390 /usr/bin/perl -wT /usr/bin/zmwatch.pl
└─12404 /usr/bin/perl -wT /usr/bin/zmstats.pl

nov 25 19:19:25 localhost.localdomain zmfilter_1[12347]: INF [Checking filter PurgeWhenFull del... ]
nov 25 19:19:37 localhost.localdomain zmfilter_2[12359]: INF [Checking filter Update DiskSpace ... ]
nov 25 19:20:25 localhost.localdomain zmfilter_1[12347]: INF [Checking filter PurgeWhenFull del... ]
nov 25 19:20:37 localhost.localdomain zmfilter_2[12359]: INF [Checking filter Update DiskSpace ... ]
nov 25 19:21:11 localhost.localdomain zmaudit[12374]: INF [Auditing All Storage Areas]
nov 25 19:21:11 localhost.localdomain zmaudit[12374]: INF [Deleted 0 log table entries by time]
nov 25 19:21:25 localhost.localdomain zmfilter_1[12347]: INF [Checking filter PurgeWhenFull del... ]
nov 25 19:21:37 localhost.localdomain zmfilter_2[12359]: INF [Checking filter Update DiskSpace ... ]
nov 25 19:22:25 localhost.localdomain zmfilter_1[12347]: INF [Checking filter PurgeWhenFull del... ]
nov 25 19:22:37 localhost.localdomain zmfilter_2[12359]: INF [Checking filter Update DiskSpace ... ]
Hint: Some lines were ellipsized, use -l to show in full.

Re: Can't access web interface

Posted: Sun Nov 25, 2018 8:04 pm
by knight-of-ni
We are flattered the popularity of ZoneMinder is such that other sites have written their own installation guides, but we simply cannot recommend nor support them.

The steps you need to be following are the steps documented in the README.
That's the only thing you need to follow for a basic installation. The README is located under /usr/share/doc on your local filesystem.

You didn't tell us whether you are trying to access the web console from a browser on the server or from a client machine, but if it was from a client machine then my guess is to go back a look at step 9 which discusses configuring the firewall.

You should also verify you can ping the server's ip address from the client.

Re: Can't access web interface

Posted: Sun Nov 25, 2018 8:24 pm
by Figge71
Thank you for the reply!

I'll make a reinstallation of the server and Zoneminder using Zoneminder's installation guide.

I tried to access the server from an other computer, i didn't install the desktop app on the Centos computer, trying to save CPU usage.

Have a good evening,
Best regards Fredrik

Re: Can't access web interface

Posted: Sun Nov 25, 2018 8:36 pm
by knight-of-ni
Yes, that's a good idea to not install a desktop on your server.

I know the README can be confusing for first time users. The difficulty lies in creating a comprehensive document that covers as many different use cases as possible.

I have written the README such that you can copy/paste from it directly into the command line.

So for example, from your client machine, ssh into the server with the readme instructions open at the same time. Copy/paste the commands from one to the other.

Here is an online link to the same README:
https://github.com/ZoneMinder/zoneminde ... ME.Redhat7

If a step says "when in doubt do the following...", do what it says and you won't go wrong.

Re: Can't access web interface

Posted: Sun Nov 25, 2018 8:52 pm
by Figge71
Can I use the minimal installation when installing Centos, or should I use Basic Web Server?

I really appreciate the support:)

Re: Can't access web interface

Posted: Sun Nov 25, 2018 9:03 pm
by knight-of-ni
Yes, you certainly can go with a minimal CentOS install.

Re: Can't access web interface

Posted: Mon Nov 26, 2018 4:51 pm
by Figge71
Hi!

Now i remember why I chose to use another installation guide.
It wont install.

When trying to install Zoneminder I get an error message
I've tried to translate to English

[root@localhost fredrik]# yum install zoneminder
loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: ftp.uninett.no
* extras: ftp.uninett.no
* updates: ftp.uninett.no
No Package zoneminder available.
Error: nothing to do

Re: Can't access web interface

Posted: Mon Nov 26, 2018 5:58 pm
by knight-of-ni
You need to enable RPMFusion on your machine.
See https://zoneminder.readthedocs.io/en/la ... zoneminder

Re: Can't access web interface

Posted: Mon Nov 26, 2018 7:19 pm
by Figge71
Thank you!

I was afraid of that, didn't understand a thing of that page!
But i'll try :)

Re: Can't access web interface

Posted: Mon Nov 26, 2018 8:47 pm
by knight-of-ni
To summarize what the paragraph I linked to in my previous message says:

1) Go to rpmfusion.org and enable their repository
2) yum install zoneminder
3) read the README to configure zoneminder

Re: Can't access web interface

Posted: Mon Nov 26, 2018 9:12 pm
by Figge71
The installation worked like a charm after installing RPMfusion!
https://rpmfusion.org/Configuration


Thank you for the help :)