blank home page - New install of ZoneMinder 1.34.21-2 on Centos 7

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
gary21060_zm
Posts: 8
Joined: Thu Oct 29, 2020 7:17 pm

blank home page - New install of ZoneMinder 1.34.21-2 on Centos 7

Post by gary21060_zm »

Hello,

I have just completed installing ZoneMinder and following the directions in the README and README.httpd files.

When I visit any of the URLs locally or with a Windows 10 laptop in the same IP address space, I get a blank page.

I know that apache is working because I get the page saying "Testing 123.." for both http and https.

In the apache logs, I see
- only 302s mentioned for the redirect from http to https.
- the message about the DateTime issue

In the zoneminder log files, I don't see anything related to an error.

What am I missing?

Thanks!
gary21060_zm
Posts: 8
Joined: Thu Oct 29, 2020 7:17 pm

Re: blank home page - New install of ZoneMinder 1.34.21-2 on Centos 7

Post by gary21060_zm »

I found viewtopic.php?f=40&t=30034, and it does not solve my problem.

Per the README.httpd file, I created zm-db-user.conf in the /etc/zm/conf.d directory. I went so far as to
- comment out the 2 lines in the zm.conf hoping ZM would use the information in the zm-db-user.conf file
- replaced the user id and password information in the zm.conf file as well

I made sure to
- stop zoneminder and apache
- start apache and zoneminder

I can confirm that I can login to the database using mySQL. And the grants appear to be correct.
| GRANT USAGE ON *.* TO 'zoneminderu'@'localhost' IDENTIFIED BY PASSWORD 'big long ugly string' |
| GRANT ALL PRIVILEGES ON `zm`.* TO 'zoneminderu'@'localhost'
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: blank home page - New install of ZoneMinder 1.34.21-2 on Centos 7

Post by Magic919 »

It's really hard to offer help on this, but here's my 2p. Zoneminder can install and run, but that won't get you a web interface. Start by making sure ZM runs ok (which I believe it does) then you don't have a problem in that area. Likewise the web page shows up without ZM running.

Then focus on the web interface. It won't be the lack of a DB or DB access as you'd get a page showing that error. It might be Apache config, cgi-bin and part of the ZM config that relates to paths like zms-phs location.

Tell people if you've followed a guide and link to it. The more they know about how you got here, the more help they can offer.
-
gary21060_zm
Posts: 8
Joined: Thu Oct 29, 2020 7:17 pm

Re: blank home page - New install of ZoneMinder 1.34.21-2 on Centos 7

Post by gary21060_zm »

Interesting as I made a couple of posts with additional trouble-shooting information, and resolution details that are now no longer present. :-(
gary21060_zm
Posts: 8
Joined: Thu Oct 29, 2020 7:17 pm

Re: blank home page - New install of ZoneMinder 1.34.21-2 on Centos 7

Post by gary21060_zm »

Let's try this again.

I was able to resolve the issue by combining the following 3 articles.
- https://zoneminder.readthedocs.io/en/la ... index.html
- http://buney.net/index.php/2018/01/07/h ... k-summary/
- https://my.apolonio.tech/?p=148

The main issue was missing packages even though I had installed Centos as a server.
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: blank home page - New install of ZoneMinder 1.34.21-2 on Centos 7

Post by Magic919 »

Glad to hear you've resolved it. Dependencies that are not met are a pain. You'd expect it to 'just work' on these mainstream Linux distros.
-
gary21060_zm
Posts: 8
Joined: Thu Oct 29, 2020 7:17 pm

Re: blank home page - New install of ZoneMinder 1.34.21-2 on Centos 7

Post by gary21060_zm »

My biggest issue is that in the ZoneMinder documentation I could not find a list of prerequisite packages that needed to be loaded. So I wasted several hours thinking that I had configured something incorrectly.

A documented complete list of required packages would have made my installation experience awesome.
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: blank home page - New install of ZoneMinder 1.34.21-2 on Centos 7

Post by Magic919 »

I come from a background of downloading and buidling from source and you accept this is part of the 'fun'.

The idea is that the packages are all well maintained and your package manager will look after all this. The ZM guys have spent quite a while trying to get that to be the experience.

Hopefully you can get on with enjoying using it now.
-
Post Reply