Page 1 of 1

1.37.41 Problems

Posted: Sat Jul 15, 2023 6:09 pm
by pygr
I had a smoothly running 1.37.40, but I decided to install the latest from iconnor's PPA:

Code: Select all

zoneminder/jammy,now 1.37.41~20230713172050-jammy arm64
Web access

Code: Select all

http://<zoneminder_host_IP_address/zm>
returns
404 Not Found
. The underlying web server

Code: Select all

http://<zoneminder_host_IP_address>
brings up the Apache2 default web page saying "It works!".

Executing

Code: Select all

cat /var/log/zm/zmc_m1.log
shows the usual

Code: Select all

07/15/23 10:22:25.165759 zmc_m1[421860].INF-zm_monitor.cpp/1737 [AV5426PMIR-S: 3000 - Capturing at 5.00 fps, capturing bandwidth 897641bytes/sec Analysing at 0.00 fps]
, but scrolling up reveals other problems

Code: Select all

07/15/23 10:11:55.952387 zmc_m1[07/15/23 10:12:09.801859 zmc_m1[421860].INF-zmc.cpp/221 [Starting Capture version 1.37.41]
07/15/23 10:12:10.280071 zmc_m1[421860].ERR-zm_monitor.cpp/1050 [Couldn't create subscription! Connection refused, connect failed in tcp_connect()]
07/15/23 10:12:10.468962 zmc_m1[421860].ERR-zm_ffmpeg_camera.cpp/335 [Unable to open input rtsp://10.137.113.143:554/stream1 due to: Connection refused]
and scrolling further up shows lots and lots of

Code: Select all

07/15/23 10:11:55.952329 zmc_m1[421579].ERR-zm_signal.cpp/50 [Got signal 7 (Bus error), crashing]
from which ZoneMinder recovered.

zmwatch.log shows

Code: Select all

07/15/23 10:12:07.756444 zmwatch[421561].INF [main:100] [Restarting capture daemon for 1 AV5426PMIR-S, shared data not valid]
, but I don' know how to deal with that.

It occurred to me that the cause of the problems I'm seeing might be that the settings database is out of date, but no:

Code: Select all

root@odroid# zmupdate.pl --user=root

Database already at version 1.37.41, update skipped.

Re: 1.37.41 Problems

Posted: Sat Jul 15, 2023 8:27 pm
by dougmccrary
Try
a2enconf zoneminder # reinstall
service apache2 reload # reinstall

If you ran as an update, those should have been handled already.

Re: 1.37.41 Problems

Posted: Sat Jul 15, 2023 10:37 pm
by pygr
Hi Doug,

No I didn't run an update. I did

Code: Select all

sudo apt remove zoneminder
to delete my custom version and then

Code: Select all

sudo apt install
, which used iconnor's PPA.

I appreciate what you suggest, but it didn't work.

It looks like my installation is broken. The only file in /usr/share/zoneminder/www is zmc_m1.log and there is nothing in /usr/lib/zoneminder/cgi-bin.

I think the quickest and easiest thing to do is to start over with a fresh install.

Re: 1.37.41 Problems

Posted: Sat Jul 15, 2023 11:28 pm
by dougmccrary
I should have mentioned you need to do that sudo - e.g. sudo su
then the other two.
I works for me when I do apt remove as you did.

Re: 1.37.41 Problems

Posted: Sun Jul 16, 2023 11:53 pm
by pygr
I was able to revert to a 1.37.40 build.

Whatever the problem is with 1.37.41, it isn't that "/Events" is tacked on to "onvif_url" in zm_monitor.cpp. The 1.37.40 build that's working for me now succeeds in getting a PullPoint subsciption with "http://<IP>/onvif/event_service/Events" for "full_url".

Re: 1.37.41 Problems

Posted: Sun Jul 23, 2023 10:43 pm
by pygr
Success!

I tried again with a 1.37.41 deb package built from source following https://linux.how2shout.com/how-to-inst ... 20-04-lts/ to install it and I ran into the same problem as before: 404 Not Found error. However, your suggestion worked this time. As near as I can tell, I hadn't properly executed

Code: Select all

a2enconf zoneminder 
as super user in my earlier attempts.

Re: 1.37.41 Problems

Posted: Tue Jul 25, 2023 3:28 am
by dougmccrary
Cool 8)