Hi!
After dist-Upgrade to ubuntu 18.04 bionic I cannot get ZM 1.32.1 anmore to run.
Problems are:
- Watching the Console - the cameras go on and off all 5..10 seconds - but the pic from the camera is received !!
- Continious crash of all cameras like this : zmtrigger[..]: ERR [Shared data size conflict in shared_data for monitor Carport, expected 608, got 604]
- Even if cameras are disabled, ZM tries to connect to them ... ??
BTW: I did the "Script to patch upgrade from Ubuntu 16.04 to 18.04."
BTW: ../zm/api says: Your tmp directory is NOT writable. but I changed /usr/share/zoneminder/www/api/app/tmp to 777
I browsed for solutions, but without success ...do you have a hint ?
Thanks
Michael
zmtrigger ERR [Shared data size conflict in shared_data for monitor
Re: zmtrigger ERR [Shared data size conflict in shared_data for monitor
I suspect that there is an older version of ZoneMinder libraries around.
Try:
find /usr/local -name "ZoneMinder.pm"
/usr/share/zoneminder/www/api/app/tmp should be a symlink to /var/tmp
Please do
sudo ln -sf /var/tmp /usr/share/zoneminder/www/api/app/tmp
Try:
find /usr/local -name "ZoneMinder.pm"
/usr/share/zoneminder/www/api/app/tmp should be a symlink to /var/tmp
Please do
sudo ln -sf /var/tmp /usr/share/zoneminder/www/api/app/tmp
Re: zmtrigger ERR [Shared data size conflict in shared_data for monitor
Hi!
Thanks for your thoughts.
I repaired the tmp.
find /usr -name "ZoneMinder.pm"
returns:
/usr/share/perl5/ZoneMinder.pm
... no other versions are found.
Still have:
zmtrigger[9337]: ERR [Memory map file '/dev/shm/zm.mmap.1' should have been 1168 but was instead 0]
zmtrigger[9337]: ERR [Memory map file '/dev/shm/zm.mmap.1' should have been 1168 but was instead 0]
Just saw in console:
/dev/shm: 0%
But df says:
tmpfs 7,9G 20K 7,9G 1% /dev/shm
and ls -al dev/shm shows
insgesamt 236316
drwxrwxrwt 2 root root 260 Okt 13 11:44 .
drwxr-xr-x 20 root root 4400 Okt 12 19:21 ..
-rw-r--r-- 1 plex plex 16 Okt 12 19:21 sem.9334581e-7251-4ef7-a8ec-5bfe8e89ff68
-rw-r--r-- 1 plex plex 16 Okt 12 19:21 sem.F8EEB26D-AB23-4061-8250-130AB5285A4A
-rw------- 1 proxy proxy 8 Okt 12 19:21 squid-cf__metadata.shm
-rw------- 1 proxy proxy 8216 Okt 12 19:21 squid-cf__queues.shm
-rw------- 1 proxy proxy 44 Okt 12 19:21 squid-cf__readers.shm
-rw------- 1 www-data www-data 46085744 Okt 13 11:44 zm.mmap.1
-rw------- 1 www-data www-data 11525744 Okt 13 11:44 zm.mmap.15
-rw------- 1 www-data www-data 46085744 Okt 13 11:44 zm.mmap.3
-rw------- 1 www-data www-data 46085744 Okt 13 11:44 zm.mmap.4
-rw------- 1 www-data www-data 46085744 Okt 13 11:44 zm.mmap.5
-rw------- 1 www-data www-data 46085744 Okt 13 11:44 zm.mmap.9
When I enable some cameras, the log shows:
Oct 13 11:46:43 media zmtrigger[21923]: ERR [Shared data size conflict in shared_data for monitor Carport, expected 608, got 604]
Oct 13 11:46:43 media zmtrigger[21923]: ERR [Shared data size conflict in shared_data for monitor Garten_2, expected 608, got 604]
Oct 13 11:46:43 media zmtrigger[21923]: ERR [Memory map file '/dev/shm/zm.mmap.5' should have been 1168 but was instead 0]
Oct 13 11:46:43 media zmtrigger[21923]: ERR [Shared data size conflict in shared_data for monitor Strasse, expected 608, got 604]
Oct 13 11:46:43 media zmtrigger[21923]: ERR [Shared data size conflict in shared_data for monitor Carport, expected 608, got 604]
Oct 13 11:46:43 media zmtrigger[21923]: ERR [Shared data size conflict in shared_data for monitor Garten_2, expected 608, got 604]
I hope you have an idea, what is going wrong.
P.S. All cameras are disabled - ..124 does not exist. zm is still trying to connect, even if this is disabled ...
Thanks for your thoughts.
I repaired the tmp.
find /usr -name "ZoneMinder.pm"
returns:
/usr/share/perl5/ZoneMinder.pm
... no other versions are found.
Still have:
zmtrigger[9337]: ERR [Memory map file '/dev/shm/zm.mmap.1' should have been 1168 but was instead 0]
zmtrigger[9337]: ERR [Memory map file '/dev/shm/zm.mmap.1' should have been 1168 but was instead 0]
Just saw in console:
/dev/shm: 0%
But df says:
tmpfs 7,9G 20K 7,9G 1% /dev/shm
and ls -al dev/shm shows
insgesamt 236316
drwxrwxrwt 2 root root 260 Okt 13 11:44 .
drwxr-xr-x 20 root root 4400 Okt 12 19:21 ..
-rw-r--r-- 1 plex plex 16 Okt 12 19:21 sem.9334581e-7251-4ef7-a8ec-5bfe8e89ff68
-rw-r--r-- 1 plex plex 16 Okt 12 19:21 sem.F8EEB26D-AB23-4061-8250-130AB5285A4A
-rw------- 1 proxy proxy 8 Okt 12 19:21 squid-cf__metadata.shm
-rw------- 1 proxy proxy 8216 Okt 12 19:21 squid-cf__queues.shm
-rw------- 1 proxy proxy 44 Okt 12 19:21 squid-cf__readers.shm
-rw------- 1 www-data www-data 46085744 Okt 13 11:44 zm.mmap.1
-rw------- 1 www-data www-data 11525744 Okt 13 11:44 zm.mmap.15
-rw------- 1 www-data www-data 46085744 Okt 13 11:44 zm.mmap.3
-rw------- 1 www-data www-data 46085744 Okt 13 11:44 zm.mmap.4
-rw------- 1 www-data www-data 46085744 Okt 13 11:44 zm.mmap.5
-rw------- 1 www-data www-data 46085744 Okt 13 11:44 zm.mmap.9
When I enable some cameras, the log shows:
Oct 13 11:46:43 media zmtrigger[21923]: ERR [Shared data size conflict in shared_data for monitor Carport, expected 608, got 604]
Oct 13 11:46:43 media zmtrigger[21923]: ERR [Shared data size conflict in shared_data for monitor Garten_2, expected 608, got 604]
Oct 13 11:46:43 media zmtrigger[21923]: ERR [Memory map file '/dev/shm/zm.mmap.5' should have been 1168 but was instead 0]
Oct 13 11:46:43 media zmtrigger[21923]: ERR [Shared data size conflict in shared_data for monitor Strasse, expected 608, got 604]
Oct 13 11:46:43 media zmtrigger[21923]: ERR [Shared data size conflict in shared_data for monitor Carport, expected 608, got 604]
Oct 13 11:46:43 media zmtrigger[21923]: ERR [Shared data size conflict in shared_data for monitor Garten_2, expected 608, got 604]
I hope you have an idea, what is going wrong.
P.S. All cameras are disabled - ..124 does not exist. zm is still trying to connect, even if this is disabled ...
- Attachments
-
- zmlog2.txt
- Log of server for 1 minute ... some cameras are enabled
- (339.93 KiB) Downloaded 141 times
-
- zmlog.txt
- Log of server for 1 minute... all cameras off
- (305.73 KiB) Downloaded 151 times
Re: zmtrigger ERR [Shared data size conflict in shared_data for monitor
Is this a singular problem - or is 18.04 a version I should avaoid ??
Re: zmtrigger ERR [Shared data size conflict in shared_data for monitor
I am seeing these same errors. I describe them here viewtopic.php?f=37&t=27523 and it is discussed somewhat here : viewtopic.php?f=38&t=27563
systems Puppy Linux Tahr, Xenial, Bionic all exhibit the same behavior as described in this thread.
the example program zm-alarm.pl shows the same errors as zmtrigger.pl in my case.
systems Puppy Linux Tahr, Xenial, Bionic all exhibit the same behavior as described in this thread.
the example program zm-alarm.pl shows the same errors as zmtrigger.pl in my case.