OracleLinux 8.3 Install Issues - (503) Service Unavilable

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
TheStormsOfFury
Posts: 4
Joined: Sun May 23, 2021 11:16 pm

OracleLinux 8.3 Install Issues - (503) Service Unavilable

Post by TheStormsOfFury »

Hello all.

I followed the installation instructions HERE for the RHEL / CentOS / Clones installation.

I did change the database username and password, but followed the instructions in the /usr/share/doc/zoneminder-common/README.httpd file and created /etc/zm/conf.d/zm-db-user.conf (chown root:apache && chmod 640) to host the updated names. I also used the instructions in the same README.httpd to create the systemlinks for apache.

After starting all the services ( database, apache, zoneminder) all are "Green"
  • database = active (running)
  • apache = active (running) (thawing) <--this might be my problem. I've never seen this before.
  • zoneminder = active (running)
When I visit http://localhost/zm I get a wonderful (503) Service Unavailable page.

First place to look was /etc/httpd/logs/error_log, but there is nothing. Same thing with access_log

Next I looked in /var/log/zoneminder/ at zmdc.log, zmpkg.log, zmstats.log, and zmwatch.log and they are all pretty well blank. So I followed freenode/shibboleth's suggestion and enabled ZM_EXTRA_DEBUT = 1 in /etc/zm/conf.d/zm-custom-debug.conf (chown root:apache && chmod 640) then restarted zoneminder.

I have gone back and checked all the logs, but it is not showing any additional information that might point me where I have gone wrong.

Any help would be greatly appreciated.

Thank you,

EDIT:

I just did a little test and created /usr/share/zoneminder/www/gry.txt and typed "hi" inside, then saved and visited https://localhost/zm/gry.txt and the content was there. So apache is functioning.

Storm
TheStormsOfFury
Posts: 4
Joined: Sun May 23, 2021 11:16 pm

Re: OracleLinux 8.3 Install Issues - (503) Service Unavilable

Post by TheStormsOfFury »

I have been doing a little digging, and with the help of a couple of people in the slack channel, it appears to be an httpd/php configuration issue as apache will host normal pages and files, but will not host .php files.

Did I miss any configuration steps with the dnf install zoneminder that should have adjusted any php settings?

Thanks again.
TheStormsOfFury
Posts: 4
Joined: Sun May 23, 2021 11:16 pm

(SOLVED) OracleLinux 8.3 Install Issues - (503) Service Unavilable

Post by TheStormsOfFury »

So it turns out that mod_fcgid and php-fpm were not installed when running dnf install zoneminder.

I installed both and zoneminder started working instantly.
Post Reply