localhost/zm HTTP ERROR 500 os fedora 34

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
itdid
Posts: 1
Joined: Mon May 03, 2021 12:35 pm

localhost/zm HTTP ERROR 500 os fedora 34

Post by itdid »

This page isn’t working localhost is currently unable to handle this request.
HTTP ERROR 500

installed everything as written in /usr/share/doc/zoneminder-common/README.httpd

but the site does not open, in fedora33 everything worked with the same installation steps. worked after creating ssl signature certificate. but there are no errors, the site simply does not open in the browser! what could be?
__________________________________________________________________________


____________________________________________________________________________________________________________
journalctl -u zoneminder.service
_______________________________________________________________________________________________________________

May 03 15:02:48 fedora zmpkg[9649]: INF [Command: start]
May 03 15:02:48 fedora zmdc[9660]: INF [Server starting at 21/05/03 15:02:48]
May 03 15:02:49 fedora zmdc[9660]: INF [Socket should be open at /var/lib/zoneminder/sock/zmdc.sock]
May 03 15:02:50 fedora zmpkg[9649]: INF [Single server configuration detected. Starting up services.]
May 03 15:02:50 fedora zmdc[9660]: INF ['zmfilter.pl --filter_id=1 --daemon' starting at 21/05/03 15:02:50, >
May 03 15:02:50 fedora zmdc[9687]: INF ['zmfilter.pl --filter_id=1 --daemon' started at 21/05/03 15:02:50]
May 03 15:02:50 fedora zmdc[9690]: INF ['zmfilter.pl --filter_id=2 --daemon' started at 21/05/03 15:02:50]
May 03 15:02:50 fedora zmdc[9660]: INF ['zmfilter.pl --filter_id=2 --daemon' starting at 21/05/03 15:02:50, >
May 03 15:02:50 fedora zmfilter_1[9687]: INF [Scanning for events using filter id '1']
May 03 15:02:50 fedora zmdc[9697]: INF ['zmwatch.pl' started at 21/05/03 15:02:50]
May 03 15:02:50 fedora zmdc[9660]: INF ['zmwatch.pl' starting at 21/05/03 15:02:50, pid = 9697]
May 03 15:02:50 fedora zmfilter_2[9690]: INF [Scanning for events using filter id '2']
May 03 15:02:50 fedora zmdc[9660]: INF ['zmstats.pl' starting at 21/05/03 15:02:50, pid = 9703]
May 03 15:02:50 fedora zmdc[9703]: INF ['zmstats.pl' started at 21/05/03 15:02:50]
May 03 15:02:50 fedora zmwatch[9697]: INF [Watchdog starting, pausing for 30 seconds]
May 03 15:02:50 fedora systemd[1]: Started ZoneMinder CCTV recording and security system.
May 03 15:02:50 fedora zmstats[9703]: INF [Stats Daemon starting in 30 seconds]
May 03 15:06:26 fedora systemd[1]: /usr/lib/systemd/system/zoneminder.service:14: PIDFile= references a path>
May 03 15:06:33 fedora systemd[1]: /usr/lib/systemd/system/zoneminder.service:14: PIDFile= references a path>
May 03 15:06:42 fedora systemd[1]: /usr/lib/systemd/system/zoneminder.service:14: PIDFile= references a path>


_________________________________________________________________________________________________
journalctl -u httpd.service
________________________________________________________________________________________________

May 03 15:08:30 fedora systemd[1]: Reloading The Apache HTTP Server.
May 03 15:08:30 fedora systemd[1]: Reloaded The Apache HTTP Server.
May 03 15:08:30 fedora httpd[10629]: Server configured, listening on: port 443, port 80
___________________________________________________________________________________________________
[vs@fedora ~]$ sudo httpd -t
________________________________________________________________________________________________
Syntax OK

________________________________________________________________________________________________
[vs@fedora log]$ sudo service httpd status
________________________________________________________________________________________________

Redirecting to /bin/systemctl status httpd.service
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Drop-In: /usr/lib/systemd/system/httpd.service.d
└─php-fpm.conf
Active: active (running) since Mon 2021-05-03 15:07:05 MSK; 44min ago
Docs: man:httpd.service(8)
Process: 11219 ExecReload=/usr/sbin/httpd $OPTIONS -k graceful (code=exited, status=0/SUCCESS)
Main PID: 10629 (httpd)
Status: "Total requests: 6; Idle/Busy workers 100/0;Requests/sec: 0.00227; Bytes served/sec: 8 B/sec"
Tasks: 214 (limit: 4631)
Memory: 17.9M
CPU: 3.216s
CGroup: /system.slice/httpd.service
├─10629 /usr/sbin/httpd -DFOREGROUND
├─11225 /usr/sbin/httpd -DFOREGROUND
├─11226 /usr/sbin/httpd -DFOREGROUND
├─11227 /usr/sbin/httpd -DFOREGROUND
├─11228 /usr/sbin/httpd -DFOREGROUND
└─11229 /usr/sbin/httpd -DFOREGROUND

May 03 15:07:05 fedora systemd[1]: Starting The Apache HTTP Server...
May 03 15:07:05 fedora httpd[10629]: Server configured, listening on: port 443, port 80

________________________________________________________________________________________________
[vs@fedora log]$ sudo service zoneminder status
________________________________________________________________________________________________
Redirecting to /bin/systemctl status zoneminder.service
● zoneminder.service - ZoneMinder CCTV recording and security system
Loaded: loaded (/usr/lib/systemd/system/zoneminder.service; enabled; vendor preset: disabled)
Drop-In: /usr/lib/systemd/system/zoneminder.service.d
└─zm-httpd.conf
Active: active (running) since Mon 2021-05-03 15:02:50 MSK; 51min ago
Main PID: 9660 (zmdc.pl)
Tasks: 5 (limit: 4631)
Memory: 85.3M
CPU: 2.491s
CGroup: /system.slice/zoneminder.service
├─9660 /usr/bin/perl -wT /usr/bin/zmdc.pl startup
├─9687 /usr/bin/perl -wT /usr/bin/zmfilter.pl --filter_id=1 --daemon
├─9690 /usr/bin/perl -wT /usr/bin/zmfilter.pl --filter_id=2 --daemon
├─9697 /usr/bin/perl -wT /usr/bin/zmwatch.pl
└─9703 /usr/bin/perl -wT /usr/bin/zmstats.pl

May 03 15:02:50 fedora zmdc[9660]: INF ['zmwatch.pl' starting at 21/05/03 15:02:50, pid = 9697]
May 03 15:02:50 fedora zmfilter_2[9690]: INF [Scanning for events using filter id '2']
May 03 15:02:50 fedora zmdc[9660]: INF ['zmstats.pl' starting at 21/05/03 15:02:50, pid = 9703]
May 03 15:02:50 fedora zmdc[9703]: INF ['zmstats.pl' started at 21/05/03 15:02:50]
May 03 15:02:50 fedora zmwatch[9697]: INF [Watchdog starting, pausing for 30 seconds]
May 03 15:02:50 fedora systemd[1]: Started ZoneMinder CCTV recording and security system.
May 03 15:02:50 fedora zmstats[9703]: INF [Stats Daemon starting in 30 seconds]
May 03 15:06:26 fedora systemd[1]: /usr/lib/systemd/system/zoneminder.service:14: PIDFile= references a path below legacy directory /var/run/, up>
May 03 15:06:33 fedora systemd[1]: /usr/lib/systemd/system/zoneminder.service:14: PIDFile= references a path below legacy directory /var/run/, up>
May 03 15:06:42 fedora systemd[1]: /usr/lib/systemd/system/zoneminder.service:14: PIDFile= references a path below legacy directory /var/run/, up>
lines 5-26/26 (END)

________________________________________________________________________________________________
alabamatoy
Posts: 349
Joined: Sun Jun 05, 2016 2:53 pm

Re: localhost/zm HTTP ERROR 500 os fedora 34

Post by alabamatoy »

I would look at the apache logs. I suspect misconfiguration in Apache....
Post Reply