Page 1 of 1
update to 1.36.33 on Suse 15.4: blank index page in firefox [SOLVED]
Posted: Mon May 29, 2023 7:07 pm
by carverknut
Hi,
I just updated my machine from suse leap 15.2 to 15.4. The update also included an update of zoneminder from 1.34 to 1.36.33.
The video streams in vlc of my cameras are running normally, just like before the update.
reveals:
Code: Select all
systemctl status zm.service
● zm.service - ZoneMinder Video Surveillance System
Loaded: loaded (/usr/lib/systemd/system/zm.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2023-05-29 20:30:44 CEST; 22min ago
Main PID: 7343 (zmdc.pl)
Tasks: 6 (limit: 4915)
CGroup: /system.slice/zm.service
├─ 7343 /usr/bin/perl -wT /usr/bin/zmdc.pl startup
├─ 7720 /usr/bin/perl -wT /usr/bin/zmfilter.pl --filter_id=1 --daemon
├─ 7790 /usr/bin/perl -wT /usr/bin/zmfilter.pl --filter_id=2 --daemon
├─ 7795 /usr/bin/perl -wT /usr/bin/zmwatch.pl
├─ 7801 /usr/bin/perl -wT /usr/bin/zmupdate.pl -c
└─ 7805 /usr/bin/perl -wT /usr/bin/zmstats.pl
Mai 29 20:30:42 mymachine systemd[1]: Starting ZoneMinder Video Surveillance System...
Mai 29 20:30:42 mymachine zm_database_init[7332]: INFO: when db is correctly installed and you just reinstalled rpm, then answer all questions with 'n'
Mai 29 20:30:42 mymachine zm_database_init[7332]: no lockfile found, proceed anyway? [y/N]: N
Mai 29 20:30:44 mymachine systemd[1]: Started ZoneMinder Video Surveillance System.
Seems to be running OK to me.
When I open firefox to check
I get a blank page, no content.
I was running 1.34 without any bugs or hiccups before.
Any idea, where I might start looking?
Thank you!
Re: update to 1.36.33 on Suse 15.4: blank index page in firefox
Posted: Mon May 29, 2023 7:27 pm
by carverknut
I am not the greatest DB user, but
Code: Select all
mysql -u zmuser -p zm
Enter password:
ERROR 1045 (28000): Access denied for user 'zmuser'@'localhost' (using password: YES)
maybe that helps to set me up with a solution?
Thanks!
Re: update to 1.36.33 on Suse 15.4: blank index page in firefox
Posted: Tue May 30, 2023 1:55 am
by dougmccrary
try preceding those with sudo su
Re: update to 1.36.33 on Suse 15.4: blank index page in firefox
Posted: Tue May 30, 2023 6:25 am
by carverknut
Thank you for your reply.
I should have mentioned in my initial post that the orders in konsole are made as su, sorry for that.
So, if I add sudo
Code: Select all
sudo mysql -u zmuser -p zm
Enter password:
ERROR 1045 (28000): Access denied for user 'zmuser'@'localhost' (using password: YES)
it is the same result. Any other ideas, other than a complete clean install (rather than the update)?
Re: update to 1.36.33 on Suse 15.4: blank index page in firefox
Posted: Tue May 30, 2023 8:48 am
by dougmccrary
Depending, user/password "root" might get you in if you're trying "zmpass"
Re: update to 1.36.33 on Suse 15.4: blank index page in firefox
Posted: Tue May 30, 2023 10:57 am
by carverknut
thank you for your reply.
As I wrote above, I am not a DB expert, so I do not understand what to to with your kind advice.
If you could give more detailed steps please, I could move along your advice.
Thank you!
Re: update to 1.36.33 on Suse 15.4: blank index page in firefox
Posted: Tue May 30, 2023 1:20 pm
by iconnor
blank page means error in apache/php land..
Check apache logs to find out what the error is.
Re: update to 1.36.33 on Suse 15.4: blank index page in firefox
Posted: Tue May 30, 2023 1:56 pm
by carverknut
thanks for your directions, here is the content of the two log files (/var/log/apache2):
access log file:
Code: Select all
127.0.0.1 - - [30/May/2023:12:30:10 +0200] "GET /zm HTTP/1.1" 301 228 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
127.0.0.1 - - [30/May/2023:12:30:10 +0200] "GET /zm/ HTTP/1.1" 500 - "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
127.0.0.1 - - [30/May/2023:12:30:10 +0200] "GET /favicon.ico HTTP/1.1" 404 1092 "http://localhost/zm/" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
127.0.0.1 - - [30/May/2023:12:30:15 +0200] "GET /zm/ HTTP/1.1" 500 - "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
127.0.0.1 - - [30/May/2023:12:30:28 +0200] "GET /zm/ HTTP/1.1" 500 - "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
127.0.0.1 - - [30/May/2023:12:32:26 +0200] "GET /zoneminder HTTP/1.1" 404 967 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
127.0.0.1 - - [30/May/2023:12:32:38 +0200] "GET /zm.php HTTP/1.1" 404 967 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
127.0.0.1 - - [30/May/2023:12:32:44 +0200] "GET /zm/ HTTP/1.1" 500 - "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
127.0.0.1 - - [30/May/2023:12:40:11 +0200] "GET /zm HTTP/1.1" 301 228 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
127.0.0.1 - - [30/May/2023:12:40:11 +0200] "GET /zm/ HTTP/1.1" 500 - "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
127.0.0.1 - - [30/May/2023:12:41:13 +0200] "GET /zm/index.php HTTP/1.1" 500 - "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
127.0.0.1 - - [30/May/2023:12:41:13 +0200] "GET /favicon.ico HTTP/1.1" 404 1110 "http://localhost/zm/index.php" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
127.0.0.1 - - [30/May/2023:12:41:18 +0200] "GET /zm/index.php HTTP/1.1" 500 - "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
127.0.0.1 - - [30/May/2023:12:43:30 +0200] "GET /zm/index.php HTTP/1.1" 500 - "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
127.0.0.1 - - [30/May/2023:12:45:07 +0200] "GET /favicon.ico HTTP/1.1" 404 1110 "http://localhost/zm/index.php" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
127.0.0.1 - - [30/May/2023:12:45:14 +0200] "GET /zm/index.php HTTP/1.1" 500 - "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
127.0.0.1 - - [30/May/2023:12:57:49 +0200] "GET /zm/index.php HTTP/1.1" 500 - "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
127.0.0.1 - - [30/May/2023:12:59:55 +0200] "GET /zm/index.php HTTP/1.1" 500 - "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
127.0.0.1 - - [30/May/2023:14:42:35 +0200] "GET /zm/index.php HTTP/1.1" 500 - "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
127.0.0.1 - - [30/May/2023:14:42:35 +0200] "GET /favicon.ico HTTP/1.1" 404 1110 "http://localhost/zm/index.php" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
127.0.0.1 - - [30/May/2023:14:43:43 +0200] "GET /zm/index.php HTTP/1.1" 500 - "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
and the error log file:
Code: Select all
AH00558: httpd-prefork: Could not reliably determine the server's fully qualified domain name, using ::1. Set the 'ServerName' directive globally to suppress this message
[Tue May 30 12:26:38.199308 2023] [ssl:warn] [pid 763] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue May 30 12:26:38.221623 2023] [mpm_prefork:notice] [pid 763] AH00163: Apache/2.4.51 (Linux/SUSE) OpenSSL/1.1.1l PHP/7.4.33 configured -- resuming normal operations
[Tue May 30 12:26:38.221651 2023] [core:notice] [pid 763] AH00094: Command line: '/usr/sbin/httpd-prefork -D SYSCONFIG -C PidFile /run/httpd.pid -C Include /etc/apache2/sysconfig.d//loadmodule.conf -C Include /etc/apache2/sysconfig.d//global.conf -f /etc/apache2/httpd.conf -c Include /etc/apache2/sysconfig.d//include.conf -D SYSTEMD -D FOREGROUND'
[Tue May 30 12:28:39.081006 2023] [mpm_prefork:notice] [pid 763] AH00170: caught SIGWINCH, shutting down gracefully
AH00558: httpd-prefork: Could not reliably determine the server's fully qualified domain name, using ::1. Set the 'ServerName' directive globally to suppress this message
[Tue May 30 12:28:39.147789 2023] [ssl:warn] [pid 12328] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue May 30 12:28:39.170480 2023] [mpm_prefork:notice] [pid 12328] AH00163: Apache/2.4.51 (Linux/SUSE) OpenSSL/1.1.1l PHP/7.4.33 configured -- resuming normal operations
[Tue May 30 12:28:39.170517 2023] [core:notice] [pid 12328] AH00094: Command line: '/usr/sbin/httpd-prefork -D SYSCONFIG -C PidFile /run/httpd.pid -C Include /etc/apache2/sysconfig.d//loadmodule.conf -C Include /etc/apache2/sysconfig.d//global.conf -f /etc/apache2/httpd.conf -c Include /etc/apache2/sysconfig.d//include.conf -D SYSTEMD -D FOREGROUND'
[Tue May 30 12:44:08.331834 2023] [mpm_prefork:notice] [pid 12328] AH00170: caught SIGWINCH, shutting down gracefully
[Tue May 30 12:44:54.694033 2023] [ssl:warn] [pid 2307] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue May 30 12:44:54.768984 2023] [mpm_prefork:notice] [pid 2307] AH00163: Apache/2.4.51 (Linux/SUSE) OpenSSL/1.1.1l PHP/7.4.33 configured -- resuming normal operations
[Tue May 30 12:44:54.769017 2023] [core:notice] [pid 2307] AH00094: Command line: '/usr/sbin/httpd-prefork -D SYSCONFIG -C PidFile /run/httpd.pid -C Include /etc/apache2/sysconfig.d//loadmodule.conf -C Include /etc/apache2/sysconfig.d//global.conf -f /etc/apache2/httpd.conf -c Include /etc/apache2/sysconfig.d//include.conf -D SYSTEMD -D FOREGROUND'
[Tue May 30 14:42:55.959899 2023] [mpm_prefork:notice] [pid 2307] AH00170: caught SIGWINCH, shutting down gracefully
[Tue May 30 14:42:56.037233 2023] [ssl:warn] [pid 30369] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue May 30 14:42:56.063094 2023] [mpm_prefork:notice] [pid 30369] AH00163: Apache/2.4.51 (Linux/SUSE) OpenSSL/1.1.1l PHP/7.4.33 configured -- resuming normal operations
[Tue May 30 14:42:56.063136 2023] [core:notice] [pid 30369] AH00094: Command line: '/usr/sbin/httpd-prefork -D SYSCONFIG -C PidFile /run/httpd.pid -C Include /etc/apache2/sysconfig.d//loadmodule.conf -C Include /etc/apache2/sysconfig.d//global.conf -f /etc/apache2/httpd.conf -c Include /etc/apache2/sysconfig.d//include.conf -D SYSTEMD -D FOREGROUND'
any further hint is most welcome, thanks!
Re: update to 1.36.33 on Suse 15.4: blank index page in firefox
Posted: Tue May 30, 2023 6:18 pm
by Carsten
Hi,
I managed to install ZoneMinder an opensuse leap 15.4 yesterday:
Following an extract of my history (as root):
- add repository and install
Code: Select all
zypper addrepo https://download.opensuse.org/repositories/home:/ecsos:/server/15.4/ ecsos
zypper lr -d
zypper refresh
zypper install ZoneMinder
zypper in php8-intl
- to avoid warning set ServerName in
- enable some needed/recommended modules:
Code: Select all
a2enmod cgi
a2enmod rewrite
a2enmod expires
a2enmod headers
rcapache2 restart
- start mysql (mariadb):
Code: Select all
systemctl enable mysql
systemctl start mysql
- first time you have to start the start script manually (I assume that this is the main reason for your problem):
Answer the questions.
- install video codecs
Code: Select all
zypper addrepo -f http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.4/ packman
zypper install --allow-vendor-change ffmpeg-4 lame gstreamer-plugins-bad gstreamer-plugins-ugly gstreamer-plugins-ugly-orig-addon gstreamer-plugins-libav libavdevice57 libdvdcss2 vlc-codecs
- start zm
Code: Select all
systemctl enable zm
systemctl restart zm
- firewall config has to be adapted, for testing purposes:
Good luck
Carsten
Re: update to 1.36.33 on Suse 15.4: blank index page in firefox
Posted: Wed May 31, 2023 7:03 am
by carverknut
Hi Carsten,
thank you very much for your comprehensive step by step procedure. It works like a charm
I had to go through a complete new install (again), but now ZoneMinder 1.36.33 is running on Suse Leap 15.4.
Again, thanks for sharing your know-how!
Re: update to 1.36.33 on Suse 15.4: blank index page in firefox [SOLVED]
Posted: Thu Jun 13, 2024 9:44 pm
by carverknut
Hi,
coming back to the install of 1.36.33, I am trying to install this on Suse 15.5, but with no success yet. The epcos repository for 15.5 seems to be incomplete, when I start the install via yast.
Any hint is most welcome.
Thank you,
Knut
Re: update to 1.36.33 on Suse 15.4: blank index page in firefox [SOLVED]
Posted: Sat Jun 15, 2024 10:21 am
by carverknut
Hi all,
just to update the thread: I have given up trying to install ZM on Suse 15.5. I could not get it to work.
What went well is: installing Suse Leap 15.6 and using the ZM 15.6 repository. This works well with the above procedure posted by Carsten.
Have a nice weekend,
Knut