[mythtv-users] Mythzmserver doesn't start: "This version of ZM is to old you need 1.24.0 or later ''"

A. F. Cano afc54 at comcast.net
Mon Apr 26 02:52:44 UTC 2021


On Sun, Apr 25, 2021 at 10:40:25PM +0100, Paul Harrison wrote:
> On 25/04/2021 22:17, A. F. Cano wrote:
> 
> > Hello everyone,
> > 
> > Running
> > 
> > MythTV 30.0+fixes20210328.git7d297b1fb8-dm from deb-multimedia, on Debian
> > 10.9 (stable) totally up-to-date.
> > Mythzoneminder 1:30.0+fixes20200514.gitc6b20b072e- also from deb-multimetia.
> > Zoneminder 2:1.32.3-dmo4+deb10v2
> > 
> > As is obvious, the error message:
> > 
> >    "This version of ZM is to old you need 1.24.0 or later ''"
> > 
> > ...
> 
> Try adding to /etc/zm/zm.conf
> 
> 
> ZM_VERSION=1.32.3
> 
> 
> Previous versions of ZM added that automatically but newer version seem to
> not add it.

Thank you!  That took care of that weird error message, but I think I
now have a permissions problem.

2021-04-25 21:53:05.216873 I  Connecting to zm server: localhost:6548 (try 1 of 2)
2021-04-25 21:53:05.217841 E  MythSocket(55f503c45550:-1): Failed to connect to (::1:6548) Connection refused
2021-04-25 21:53:06.218151 I  Connecting to zm server: localhost:6548 (try 2 of 2)
2021-04-25 21:53:06.218553 E  MythSocket(55f503c45550:-1): Failed to connect to (::1:6548) Connection refused

Or maybe it's not a permissions problem:

mythzmserver says:

loading zm config from /etc/zm/zm.conf
ZM is version '1.32.3'
Listening on port: 6548

Failed to get mysql row
Failed to shmget for monitor: 2
ENOENT - no segment exists for the given key
new connection from 192.168.200.9 on socket 5
socket 5 hung up

Failed to get mysql row
Failed to shmget for monitor: 2
ENOENT - no segment exists for the given key
new connection from 192.168.200.9 on socket 5
socket 5 hung up

The last 2 blocks occurred with any operation on the frontend.  I then
changed the mythzoneminder address from localhost to 192.168.200.9 and
I now get this:

Failed to get mysql row
Failed to shmget for monitor: 2
ENOENT - no segment exists for the given key
new connection from 127.0.0.1 on socket 5
Failed to get mysql row
Failed to shmget for monitor: 2
ENOENT - no segment exists for the given key
new connection from 192.168.200.9 on socket 6
socket 6 hung up

But now at least I see the ZoneMinder Console and I see the one camera
listed.  The "Source" (/dev/video0(0)) is marked as [S] (Stopped) even
though on the web browser it says Capturing at 17.48MB/s.  The
"Function" (Monitor) is marked as [R] (Running).  The top field says
"Running" or "Stopped" depending on what I select with the web browser.

Show Live View only shows the test pattern.  Clicking on the name of the
camera in the web browser brings on a live view so I know the zoneminder
part works.

There are apparently some compatibility problems with the database.  I
created it with /usr/share/zoneminder/db/zm_create.sql
and I see no errors when running it from the web browser.

Has anyone seen this before? Any possible solutions or work-arounds?

> Paul H.

Thank you Paul for quickly solving the first issue.

Augustine


More information about the mythtv-users mailing list