dlandon / zoneminder.machine.learning

Zoneminder Docker
GNU General Public License v2.0
320 stars 143 forks source link

DBI connet issue caused by mysql permission #42

Closed schroejahr2 closed 4 years ago

schroejahr2 commented 4 years ago

Hi, is there a solution for this ? (same issue: https://github.com/dlandon/zoneminder/issues/19)

im using the :latest tag as today.

the log says:

Setting shared memory to : 50% of 3901824 bytes
Starting services...
 * Starting MariaDB database server mysqld                                                                                                 [fail]
DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Config.pm line 117.

the mysql log says:


191110  4:35:09 [Note] InnoDB: Completed initialization of buffer pool
191110  4:35:09 [ERROR] InnoDB: ./ibdata1 can't be opened in read-write mode
191110  4:35:09 [ERROR] InnoDB: The system tablespace must be writable!
191110  4:35:09 [ERROR] Plugin 'InnoDB' init function returned error.
191110  4:35:09 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
191110  4:35:09 [ERROR] mysqld: File '/var/lib/mysql/aria_log_control' not found (Errcode: 13 "Permission denied")
191110  4:35:09 [ERROR] mysqld: Got error 'Can't open file' when trying to use aria control file '/var/lib/mysql/aria_log_control'
191110  4:35:09 [ERROR] Plugin 'Aria' init function returned error.
191110  4:35:09 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.
191110  4:35:09 [Note] Plugin 'FEEDBACK' is disabled.
191110  4:35:09 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
191110  4:35:09 [ERROR] Unknown/unsupported storage engine: InnoDB
191110  4:35:09 [ERROR] Aborting```

ive tried to fix the permission but that did not work. If i start the container with 

docker run -it Zoneminder /bin/bash

and then start the /etc/my_init.d/40_....sh it seems to work. any ideas ? 
dlandon commented 4 years ago

Post the docker log.

schroejahr2 commented 4 years ago

Please find attached:


 *** Running /etc/my_init.d/05_set_the_time.sh...
 *** Running /etc/my_init.d/06_set_php_time.sh...
 *** Running /etc/my_init.d/10_syslog-ng.init...
 Nov 10 04:39:04 1fd77814b2da syslog-ng[14]: syslog-ng starting up; version='3.5.6'
 Nov 10 04:39:04 1fd77814b2da syslog-ng[14]: WARNING: you are using the pipe driver, underlying file is not a FIFO, it should be used by file(); filename='/dev/stdout'
 Nov 10 04:39:05 1fd77814b2da syslog-ng[14]: EOF on control channel, closing connection;
 *** Running /etc/my_init.d/20_apt_update.sh...
Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://ppa.launchpad.net/iconnor/zoneminder-1.32/ubuntu xenial InRelease
Hit:3 http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease
Hit:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:5 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:6 http://security.ubuntu.com/ubuntu xenial-security InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
 *** Running /etc/my_init.d/30_gen_ssl_keys.sh...
 using existing keys in "/config/keys"
 *** Running /etc/my_init.d/40_firstrun.sh...
 Using existing conf folder
 File zm.conf already moved
 File zmeventnotification.ini already moved
 Event notification server already moved
 Using existing ssmtp folder
 Using existing mysql database folder
 Copy /config/control/ scripts to /usr/share/perl5/ZoneMinder/Control/
 Copy /config/conf/ scripts to /etc/zm/conf.d/
 Creating symbolink links
 usermod: no changes
 usermod: no changes
 usermod: no changes
 Using existing data directory for events
 Using existing data directory for images
 Using existing data directory for temp
 Using existing data directory for cache
 no crontab for root
 Setting shared memory to : 50% of 3901824 bytes
 Starting services...
  * Starting MariaDB database server mysqld                                                                                                [fail]
 DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Config.pm line 117.
 Can't connect to db at /usr/share/perl5/ZoneMinder/Config.pm line 166.
 BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 166.
 Compilation failed in require at /usr/bin/zmupdate.pl line 71.
 BEGIN failed--compilation aborted at /usr/bin/zmupdate.pl line 71.
 DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Config.pm line 117.
 Can't connect to db at /usr/share/perl5/ZoneMinder/Config.pm line 166.
 BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 166.
 Compilation failed in require at /usr/bin/zmupdate.pl line 71.
 BEGIN failed--compilation aborted at /usr/bin/zmupdate.pl line 71.
  * Starting Apache httpd web server apache2                                                                                                       *
 Starting ZoneMinder:
 DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Config.pm line 117.
 Can't connect to db at /usr/share/perl5/ZoneMinder/Config.pm line 166.
 BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 166.
 Compilation failed in require at /usr/share/perl5/ZoneMinder.pm line 33.
 BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder.pm line 33.
 Compilation failed in require at /usr/bin/zmpkg.pl line 34.
 BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 34.
 ZoneMinder failed to start

 *** /etc/my_init.d/40_firstrun.sh failed with status 255

 *** Killing all processes...
 Nov 10 04:39:45 1fd77814b2da syslog-ng[14]: syslog-ng shutting down; version='3.5.6'```
dlandon commented 4 years ago

How much memory do you have? You realize that the SHM at 50% will use half of all memory.

brendonofficial commented 4 years ago

Getting the same here.

OS detail (Ubuntu Disco Dingo 19.04):

Linux 5.0.0-31-generic #33-Ubuntu SMP Mon Sep 30 18:51:59 UTC 2019 x86_64 GNU/Linux

Last output:

DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Config.pm line 117.
Can't connect to db at /usr/share/perl5/ZoneMinder/Config.pm line 166.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 166.
Compilation failed in require at /usr/bin/zmupdate.pl line 71.
BEGIN failed--compilation aborted at /usr/bin/zmupdate.pl line 71.
DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Config.pm line 117.
Can't connect to db at /usr/share/perl5/ZoneMinder/Config.pm line 166.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 166.
Compilation failed in require at /usr/bin/zmupdate.pl line 71.
BEGIN failed--compilation aborted at /usr/bin/zmupdate.pl line 71.
DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Config.pm line 117.
Can't connect to db at /usr/share/perl5/ZoneMinder/Config.pm line 166.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 166.
Compilation failed in require at /usr/share/perl5/ZoneMinder.pm line 33.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder.pm line 33.
Compilation failed in require at /usr/bin/zmpkg.pl line 34.
BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 34.
*** /etc/my_init.d/40_firstrun.sh failed with status 255

*** Killing all processes...

Docker log:

Setting the timezone to : Australia/Melbourne
Date: Tue Nov 12 21:48:15 AEDT 2019
Nov 12 21:48:15 2f599070963e syslog-ng[32]: syslog-ng starting up; version='3.5.6'
Nov 12 21:48:16 2f599070963e syslog-ng[32]: EOF on control channel, closing connection;
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Hit:2 http://ppa.launchpad.net/iconnor/zoneminder-1.32/ubuntu xenial InRelease
Hit:3 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:4 http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease
Get:5 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Get:6 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Get:7 http://archive.ubuntu.com/ubuntu xenial-updates/main Sources [432 kB]
Get:8 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [1363 kB]
Get:9 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [993 kB]
Fetched 3113 kB in 11s (269 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
generating self-signed keys in /config/keys, you can replace these with your own keys if required
Creating conf folder
Moving zm.conf to config folder
Moving zmeventnotification.ini
Moving secrets.ini
Moving the event notification server
Moving ssmtp to config folder
Moving mysql to config folder
Creating control folder in config folder
Copy /config/conf/ scripts to /etc/zm/conf.d/
Creating symbolink links
Create events folder
Create images folder
Create temp folder
Create cache folder
Setting shared memory to : 15% of 49437436 bytes
Installing machine learning modules & hooks...
Creating hook folder in config folder
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  binutils build-essential bzip2 cmake-data cpp cpp-5 dpkg-dev fakeroot g++
  g++-5 gcc gcc-5 libalgorithm-diff-perl libalgorithm-diff-xs-perl
  libalgorithm-merge-perl libarchive13 libasan2 libatomic1 libc-dev-bin
  libc6-dev libcc1-0 libcilkrts5 libcurl3 libdpkg-perl libexpat1-dev
  libfakeroot libfile-fcntllock-perl libgcc-5-dev libisl15 libitm1 libjsoncpp1
  liblsan0 libmpc3 libmpfr4 libmpx0 libpython3-dev libpython3.5
  libpython3.5-dev libquadmath0 libstdc++-5-dev libtsan0 libubsan0
  linux-libc-dev make manpages manpages-dev patch python-pip-whl python3-dev
  python3-pkg-resources python3-setuptools python3-wheel python3.5-dev
  xz-utils
Suggested packages:
  binutils-doc bzip2-doc codeblocks eclipse ninja-build cpp-doc gcc-5-locales
  debian-keyring g++-multilib g++-5-multilib gcc-5-doc libstdc++6-5-dbg
  gcc-multilib autoconf automake libtool flex bison gdb gcc-doc gcc-5-multilib
  libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan2-dbg
  liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libmpx0-dbg
  libquadmath0-dbg lrzip glibc-doc libstdc++-5-doc make-doc man-browser ed
  diffutils-doc python-setuptools-doc
The following NEW packages will be installed:
  binutils build-essential bzip2 cmake cmake-data cpp cpp-5 dpkg-dev fakeroot
  g++ g++-5 gcc gcc-5 libalgorithm-diff-perl libalgorithm-diff-xs-perl
  libalgorithm-merge-perl libarchive13 libasan2 libatomic1 libc-dev-bin
  libc6-dev libcc1-0 libcilkrts5 libcurl3 libdpkg-perl libexpat1-dev
  libfakeroot libfile-fcntllock-perl libgcc-5-dev libisl15 libitm1 libjsoncpp1
  liblsan0 libmpc3 libmpfr4 libmpx0 libpython3-dev libpython3.5
  libpython3.5-dev libquadmath0 libstdc++-5-dev libtsan0 libubsan0
  linux-libc-dev make manpages manpages-dev patch python-pip-whl python3-dev
  python3-pip python3-pkg-resources python3-setuptools python3-wheel
  python3.5-dev xz-utils
0 upgraded, 56 newly installed, 0 to remove and 0 not upgraded.
Need to get 84.9 MB of archives.
After this operation, 231 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 cmake-data all 3.5.1-1ubuntu3 [1121 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libarchive13 amd64 3.1.2-11ubuntu0.16.04.7 [262 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libcurl3 amd64 7.47.0-1ubuntu2.14 [186 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial/main amd64 libjsoncpp1 amd64 1.7.2-1 [73.0 kB]
Get:5 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 cmake amd64 3.5.1-1ubuntu3 [2623 kB]
Get:6 http://archive.ubuntu.com/ubuntu xenial/main amd64 libmpfr4 amd64 3.1.4-1 [191 kB]
Get:7 http://archive.ubuntu.com/ubuntu xenial/main amd64 libmpc3 amd64 1.0.3-1 [39.7 kB]
Get:8 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 bzip2 amd64 1.0.6-8ubuntu0.2 [32.5 kB]
Get:9 http://archive.ubuntu.com/ubuntu xenial/main amd64 manpages all 4.04-2 [1087 kB]
Get:10 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 binutils amd64 2.26.1-1ubuntu1~16.04.8 [2312 kB]
Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libc-dev-bin amd64 2.23-0ubuntu11 [68.5 kB]
Get:12 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-libc-dev amd64 4.4.0-166.195 [843 kB]
Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libc6-dev amd64 2.23-0ubuntu11 [2086 kB]
Get:14 http://archive.ubuntu.com/ubuntu xenial/main amd64 libisl15 amd64 0.16.1-1 [524 kB]
Get:15 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 cpp-5 amd64 5.4.0-6ubuntu1~16.04.12 [7783 kB]
Get:16 http://archive.ubuntu.com/ubuntu xenial/main amd64 cpp amd64 4:5.3.1-1ubuntu1 [27.7 kB]
Get:17 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libcc1-0 amd64 5.4.0-6ubuntu1~16.04.12 [38.8 kB]
Get:18 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libitm1 amd64 5.4.0-6ubuntu1~16.04.12 [27.4 kB]
Get:19 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libatomic1 amd64 5.4.0-6ubuntu1~16.04.12 [8892 B]
Get:20 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libasan2 amd64 5.4.0-6ubuntu1~16.04.12 [265 kB]
Get:21 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 liblsan0 amd64 5.4.0-6ubuntu1~16.04.12 [105 kB]
Get:22 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libtsan0 amd64 5.4.0-6ubuntu1~16.04.12 [244 kB]
Get:23 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libubsan0 amd64 5.4.0-6ubuntu1~16.04.12 [95.3 kB]
Get:24 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libcilkrts5 amd64 5.4.0-6ubuntu1~16.04.12 [40.0 kB]
Get:25 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libmpx0 amd64 5.4.0-6ubuntu1~16.04.12 [9762 B]
Get:26 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libquadmath0 amd64 5.4.0-6ubuntu1~16.04.12 [131 kB]
Get:27 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgcc-5-dev amd64 5.4.0-6ubuntu1~16.04.12 [2239 kB]
Get:28 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 gcc-5 amd64 5.4.0-6ubuntu1~16.04.12 [8612 kB]
Get:29 http://archive.ubuntu.com/ubuntu xenial/main amd64 gcc amd64 4:5.3.1-1ubuntu1 [5244 B]
Get:30 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libstdc++-5-dev amd64 5.4.0-6ubuntu1~16.04.12 [1428 kB]
Get:31 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 g++-5 amd64 5.4.0-6ubuntu1~16.04.12 [8430 kB]
Get:32 http://archive.ubuntu.com/ubuntu xenial/main amd64 g++ amd64 4:5.3.1-1ubuntu1 [1504 B]
Get:33 http://archive.ubuntu.com/ubuntu xenial/main amd64 make amd64 4.1-6 [151 kB]
Get:34 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdpkg-perl all 1.18.4ubuntu1.6 [195 kB]
Get:35 http://archive.ubuntu.com/ubuntu xenial/main amd64 xz-utils amd64 5.1.1alpha+20120614-2ubuntu2 [78.8 kB]
Get:36 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 patch amd64 2.7.5-1ubuntu0.16.04.2 [90.8 kB]
Get:37 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 dpkg-dev all 1.18.4ubuntu1.6 [584 kB]
Get:38 http://archive.ubuntu.com/ubuntu xenial/main amd64 build-essential amd64 12.1ubuntu2 [4758 B]
Get:39 http://archive.ubuntu.com/ubuntu xenial/main amd64 libfakeroot amd64 1.20.2-1ubuntu1 [25.5 kB]
Get:40 http://archive.ubuntu.com/ubuntu xenial/main amd64 fakeroot amd64 1.20.2-1ubuntu1 [61.8 kB]
Get:41 http://archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-diff-perl all 1.19.03-1 [47.6 kB]
Get:42 http://archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-diff-xs-perl amd64 0.04-4build1 [11.0 kB]
Get:43 http://archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-merge-perl all 0.08-3 [12.0 kB]
Get:44 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libexpat1-dev amd64 2.1.0-7ubuntu0.16.04.5 [115 kB]
Get:45 http://archive.ubuntu.com/ubuntu xenial/main amd64 libfile-fcntllock-perl amd64 0.22-3 [32.0 kB]
Get:46 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython3.5 amd64 3.5.2-2ubuntu0~16.04.9 [1360 kB]
Get:47 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython3.5-dev amd64 3.5.2-2ubuntu0~16.04.9 [37.3 MB]
Get:48 http://archive.ubuntu.com/ubuntu xenial/main amd64 libpython3-dev amd64 3.5.1-3 [6926 B]
Get:49 http://archive.ubuntu.com/ubuntu xenial/main amd64 manpages-dev all 4.04-2 [2048 kB]
Get:50 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 python-pip-whl all 8.1.1-2ubuntu0.4 [1110 kB]
Get:51 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 python3.5-dev amd64 3.5.2-2ubuntu0~16.04.9 [413 kB]
Get:52 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-dev amd64 3.5.1-3 [1186 B]
Get:53 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 python3-pip all 8.1.1-2ubuntu0.4 [109 kB]
Get:54 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-pkg-resources all 20.7.0-1 [79.0 kB]
Get:55 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-setuptools all 20.7.0-1 [88.0 kB]
Get:56 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python3-wheel all 0.29.0-1 [48.1 kB]
Fetched 84.9 MB in 1min 34s (901 kB/s)
Selecting previously unselected package cmake-data.
(Reading database ... 34647 files and directories currently installed.)
Preparing to unpack .../cmake-data_3.5.1-1ubuntu3_all.deb ...
Unpacking cmake-data (3.5.1-1ubuntu3) ...
Selecting previously unselected package libarchive13:amd64.
Preparing to unpack .../libarchive13_3.1.2-11ubuntu0.16.04.7_amd64.deb ...
Unpacking libarchive13:amd64 (3.1.2-11ubuntu0.16.04.7) ...
Selecting previously unselected package libcurl3:amd64.
Preparing to unpack .../libcurl3_7.47.0-1ubuntu2.14_amd64.deb ...
Unpacking libcurl3:amd64 (7.47.0-1ubuntu2.14) ...
Selecting previously unselected package libjsoncpp1:amd64.
Preparing to unpack .../libjsoncpp1_1.7.2-1_amd64.deb ...
Unpacking libjsoncpp1:amd64 (1.7.2-1) ...
Selecting previously unselected package cmake.
Preparing to unpack .../cmake_3.5.1-1ubuntu3_amd64.deb ...
Unpacking cmake (3.5.1-1ubuntu3) ...
Selecting previously unselected package libmpfr4:amd64.
Preparing to unpack .../libmpfr4_3.1.4-1_amd64.deb ...
Unpacking libmpfr4:amd64 (3.1.4-1) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../libmpc3_1.0.3-1_amd64.deb ...
Unpacking libmpc3:amd64 (1.0.3-1) ...
Selecting previously unselected package bzip2.
Preparing to unpack .../bzip2_1.0.6-8ubuntu0.2_amd64.deb ...
Unpacking bzip2 (1.0.6-8ubuntu0.2) ...
Selecting previously unselected package manpages.
Preparing to unpack .../manpages_4.04-2_all.deb ...
Unpacking manpages (4.04-2) ...
Selecting previously unselected package binutils.
Preparing to unpack .../binutils_2.26.1-1ubuntu1~16.04.8_amd64.deb ...
Unpacking binutils (2.26.1-1ubuntu1~16.04.8) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../libc-dev-bin_2.23-0ubuntu11_amd64.deb ...
Unpacking libc-dev-bin (2.23-0ubuntu11) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../linux-libc-dev_4.4.0-166.195_amd64.deb ...
Unpacking linux-libc-dev:amd64 (4.4.0-166.195) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../libc6-dev_2.23-0ubuntu11_amd64.deb ...
Unpacking libc6-dev:amd64 (2.23-0ubuntu11) ...
Selecting previously unselected package libisl15:amd64.
Preparing to unpack .../libisl15_0.16.1-1_amd64.deb ...
Unpacking libisl15:amd64 (0.16.1-1) ...
Selecting previously unselected package cpp-5.
Preparing to unpack .../cpp-5_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
Unpacking cpp-5 (5.4.0-6ubuntu1~16.04.12) ...
Selecting previously unselected package cpp.
Preparing to unpack .../cpp_4%3a5.3.1-1ubuntu1_amd64.deb ...
Unpacking cpp (4:5.3.1-1ubuntu1) ...
Selecting previously unselected package libcc1-0:amd64.
Preparing to unpack .../libcc1-0_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
Unpacking libcc1-0:amd64 (5.4.0-6ubuntu1~16.04.12) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../libitm1_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
Unpacking libitm1:amd64 (5.4.0-6ubuntu1~16.04.12) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../libatomic1_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
Unpacking libatomic1:amd64 (5.4.0-6ubuntu1~16.04.12) ...
Selecting previously unselected package libasan2:amd64.
Preparing to unpack .../libasan2_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
Unpacking libasan2:amd64 (5.4.0-6ubuntu1~16.04.12) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../liblsan0_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
Unpacking liblsan0:amd64 (5.4.0-6ubuntu1~16.04.12) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../libtsan0_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
Unpacking libtsan0:amd64 (5.4.0-6ubuntu1~16.04.12) ...
Selecting previously unselected package libubsan0:amd64.
Preparing to unpack .../libubsan0_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
Unpacking libubsan0:amd64 (5.4.0-6ubuntu1~16.04.12) ...
Selecting previously unselected package libcilkrts5:amd64.
Preparing to unpack .../libcilkrts5_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
Unpacking libcilkrts5:amd64 (5.4.0-6ubuntu1~16.04.12) ...
Selecting previously unselected package libmpx0:amd64.
Preparing to unpack .../libmpx0_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
Unpacking libmpx0:amd64 (5.4.0-6ubuntu1~16.04.12) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../libquadmath0_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
Unpacking libquadmath0:amd64 (5.4.0-6ubuntu1~16.04.12) ...
Selecting previously unselected package libgcc-5-dev:amd64.
Preparing to unpack .../libgcc-5-dev_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
Unpacking libgcc-5-dev:amd64 (5.4.0-6ubuntu1~16.04.12) ...
Selecting previously unselected package gcc-5.
Preparing to unpack .../gcc-5_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
Unpacking gcc-5 (5.4.0-6ubuntu1~16.04.12) ...
Selecting previously unselected package gcc.
Preparing to unpack .../gcc_4%3a5.3.1-1ubuntu1_amd64.deb ...
Unpacking gcc (4:5.3.1-1ubuntu1) ...
Selecting previously unselected package libstdc++-5-dev:amd64.
Preparing to unpack .../libstdc++-5-dev_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
Unpacking libstdc++-5-dev:amd64 (5.4.0-6ubuntu1~16.04.12) ...
Selecting previously unselected package g++-5.
Preparing to unpack .../g++-5_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
Unpacking g++-5 (5.4.0-6ubuntu1~16.04.12) ...
Selecting previously unselected package g++.
Preparing to unpack .../g++_4%3a5.3.1-1ubuntu1_amd64.deb ...
Unpacking g++ (4:5.3.1-1ubuntu1) ...
Selecting previously unselected package make.
Preparing to unpack .../archives/make_4.1-6_amd64.deb ...
Unpacking make (4.1-6) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../libdpkg-perl_1.18.4ubuntu1.6_all.deb ...
Unpacking libdpkg-perl (1.18.4ubuntu1.6) ...
Selecting previously unselected package xz-utils.
Preparing to unpack .../xz-utils_5.1.1alpha+20120614-2ubuntu2_amd64.deb ...
Unpacking xz-utils (5.1.1alpha+20120614-2ubuntu2) ...
Selecting previously unselected package patch.
Preparing to unpack .../patch_2.7.5-1ubuntu0.16.04.2_amd64.deb ...
Unpacking patch (2.7.5-1ubuntu0.16.04.2) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../dpkg-dev_1.18.4ubuntu1.6_all.deb ...
Unpacking dpkg-dev (1.18.4ubuntu1.6) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../build-essential_12.1ubuntu2_amd64.deb ...
Unpacking build-essential (12.1ubuntu2) ...
Selecting previously unselected package libfakeroot:amd64.
Preparing to unpack .../libfakeroot_1.20.2-1ubuntu1_amd64.deb ...
Unpacking libfakeroot:amd64 (1.20.2-1ubuntu1) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../fakeroot_1.20.2-1ubuntu1_amd64.deb ...
Unpacking fakeroot (1.20.2-1ubuntu1) ...
Selecting previously unselected package libalgorithm-diff-perl.
Preparing to unpack .../libalgorithm-diff-perl_1.19.03-1_all.deb ...
Unpacking libalgorithm-diff-perl (1.19.03-1) ...
Selecting previously unselected package libalgorithm-diff-xs-perl.
Preparing to unpack .../libalgorithm-diff-xs-perl_0.04-4build1_amd64.deb ...
Unpacking libalgorithm-diff-xs-perl (0.04-4build1) ...
Selecting previously unselected package libalgorithm-merge-perl.
Preparing to unpack .../libalgorithm-merge-perl_0.08-3_all.deb ...
Unpacking libalgorithm-merge-perl (0.08-3) ...
Selecting previously unselected package libexpat1-dev:amd64.
Preparing to unpack .../libexpat1-dev_2.1.0-7ubuntu0.16.04.5_amd64.deb ...
Unpacking libexpat1-dev:amd64 (2.1.0-7ubuntu0.16.04.5) ...
Selecting previously unselected package libfile-fcntllock-perl.
Preparing to unpack .../libfile-fcntllock-perl_0.22-3_amd64.deb ...
Unpacking libfile-fcntllock-perl (0.22-3) ...
Selecting previously unselected package libpython3.5:amd64.
Preparing to unpack .../libpython3.5_3.5.2-2ubuntu0~16.04.9_amd64.deb ...
Unpacking libpython3.5:amd64 (3.5.2-2ubuntu0~16.04.9) ...
Selecting previously unselected package libpython3.5-dev:amd64.
Preparing to unpack .../libpython3.5-dev_3.5.2-2ubuntu0~16.04.9_amd64.deb ...
Unpacking libpython3.5-dev:amd64 (3.5.2-2ubuntu0~16.04.9) ...
Selecting previously unselected package libpython3-dev:amd64.
Preparing to unpack .../libpython3-dev_3.5.1-3_amd64.deb ...
Unpacking libpython3-dev:amd64 (3.5.1-3) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../manpages-dev_4.04-2_all.deb ...
Unpacking manpages-dev (4.04-2) ...
Selecting previously unselected package python-pip-whl.
Preparing to unpack .../python-pip-whl_8.1.1-2ubuntu0.4_all.deb ...
Unpacking python-pip-whl (8.1.1-2ubuntu0.4) ...
Selecting previously unselected package python3.5-dev.
Preparing to unpack .../python3.5-dev_3.5.2-2ubuntu0~16.04.9_amd64.deb ...
Unpacking python3.5-dev (3.5.2-2ubuntu0~16.04.9) ...
Selecting previously unselected package python3-dev.
Preparing to unpack .../python3-dev_3.5.1-3_amd64.deb ...
Unpacking python3-dev (3.5.1-3) ...
Selecting previously unselected package python3-pip.
Preparing to unpack .../python3-pip_8.1.1-2ubuntu0.4_all.deb ...
Unpacking python3-pip (8.1.1-2ubuntu0.4) ...
Selecting previously unselected package python3-pkg-resources.
Preparing to unpack .../python3-pkg-resources_20.7.0-1_all.deb ...
Unpacking python3-pkg-resources (20.7.0-1) ...
Selecting previously unselected package python3-setuptools.
Preparing to unpack .../python3-setuptools_20.7.0-1_all.deb ...
Unpacking python3-setuptools (20.7.0-1) ...
Selecting previously unselected package python3-wheel.
Preparing to unpack .../python3-wheel_0.29.0-1_all.deb ...
Unpacking python3-wheel (0.29.0-1) ...
Processing triggers for libc-bin (2.23-0ubuntu11) ...
Setting up cmake-data (3.5.1-1ubuntu3) ...
Setting up libarchive13:amd64 (3.1.2-11ubuntu0.16.04.7) ...
Setting up libcurl3:amd64 (7.47.0-1ubuntu2.14) ...
Setting up libjsoncpp1:amd64 (1.7.2-1) ...
Setting up cmake (3.5.1-1ubuntu3) ...
Setting up libmpfr4:amd64 (3.1.4-1) ...
Setting up libmpc3:amd64 (1.0.3-1) ...
Setting up bzip2 (1.0.6-8ubuntu0.2) ...
Setting up manpages (4.04-2) ...
Setting up binutils (2.26.1-1ubuntu1~16.04.8) ...
Setting up libc-dev-bin (2.23-0ubuntu11) ...
Setting up linux-libc-dev:amd64 (4.4.0-166.195) ...
Setting up libc6-dev:amd64 (2.23-0ubuntu11) ...
Setting up libisl15:amd64 (0.16.1-1) ...
Setting up cpp-5 (5.4.0-6ubuntu1~16.04.12) ...
Setting up cpp (4:5.3.1-1ubuntu1) ...
Setting up libcc1-0:amd64 (5.4.0-6ubuntu1~16.04.12) ...
Setting up libitm1:amd64 (5.4.0-6ubuntu1~16.04.12) ...
Setting up libatomic1:amd64 (5.4.0-6ubuntu1~16.04.12) ...
Setting up libasan2:amd64 (5.4.0-6ubuntu1~16.04.12) ...
Setting up liblsan0:amd64 (5.4.0-6ubuntu1~16.04.12) ...
Setting up libtsan0:amd64 (5.4.0-6ubuntu1~16.04.12) ...
Setting up libubsan0:amd64 (5.4.0-6ubuntu1~16.04.12) ...
Setting up libcilkrts5:amd64 (5.4.0-6ubuntu1~16.04.12) ...
Setting up libmpx0:amd64 (5.4.0-6ubuntu1~16.04.12) ...
Setting up libquadmath0:amd64 (5.4.0-6ubuntu1~16.04.12) ...
Setting up libgcc-5-dev:amd64 (5.4.0-6ubuntu1~16.04.12) ...
Setting up gcc-5 (5.4.0-6ubuntu1~16.04.12) ...
Setting up gcc (4:5.3.1-1ubuntu1) ...
Setting up libstdc++-5-dev:amd64 (5.4.0-6ubuntu1~16.04.12) ...
Setting up g++-5 (5.4.0-6ubuntu1~16.04.12) ...
Setting up g++ (4:5.3.1-1ubuntu1) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up make (4.1-6) ...
Setting up libdpkg-perl (1.18.4ubuntu1.6) ...
Setting up xz-utils (5.1.1alpha+20120614-2ubuntu2) ...
update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode
Setting up patch (2.7.5-1ubuntu0.16.04.2) ...
Setting up dpkg-dev (1.18.4ubuntu1.6) ...
Setting up build-essential (12.1ubuntu2) ...
Setting up libfakeroot:amd64 (1.20.2-1ubuntu1) ...
Setting up fakeroot (1.20.2-1ubuntu1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up libalgorithm-diff-perl (1.19.03-1) ...
Setting up libalgorithm-diff-xs-perl (0.04-4build1) ...
Setting up libalgorithm-merge-perl (0.08-3) ...
Setting up libexpat1-dev:amd64 (2.1.0-7ubuntu0.16.04.5) ...
Setting up libfile-fcntllock-perl (0.22-3) ...
Setting up libpython3.5:amd64 (3.5.2-2ubuntu0~16.04.9) ...
Setting up libpython3.5-dev:amd64 (3.5.2-2ubuntu0~16.04.9) ...
Setting up libpython3-dev:amd64 (3.5.1-3) ...
Setting up manpages-dev (4.04-2) ...
Setting up python-pip-whl (8.1.1-2ubuntu0.4) ...
Setting up python3.5-dev (3.5.2-2ubuntu0~16.04.9) ...
Setting up python3-dev (3.5.1-3) ...
Setting up python3-pip (8.1.1-2ubuntu0.4) ...
Setting up python3-pkg-resources (20.7.0-1) ...
Setting up python3-setuptools (20.7.0-1) ...
Setting up python3-wheel (0.29.0-1) ...
Processing triggers for libc-bin (2.23-0ubuntu11) ...
Collecting future
  Downloading https://files.pythonhosted.org/packages/45/0b/38b06fd9b92dc2b68d58b75f900e97884c45bedd2ff83203d933cf5851c9/future-0.18.2.tar.gz (829kB)
Building wheels for collected packages: future
  Running setup.py bdist_wheel for future: started
  Running setup.py bdist_wheel for future: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/8b/99/a0/81daf51dcd359a9377b110a8a886b3895921802d2fc1b2397e
Successfully built future
Installing collected packages: future
Successfully installed future-0.18.2
Processing /root/zmeventnotification
Collecting opencv_contrib_python (from zmes-hooks===4.5.8)
  Downloading https://files.pythonhosted.org/packages/82/5e/f64260deb089a7d215b1f8b6674212b06419af4ee505cf930e8c4ab9e98f/opencv_contrib_python-4.1.1.26-cp35-cp35m-manylinux1_x86_64.whl (34.7MB)
Collecting numpy (from zmes-hooks===4.5.8)
  Downloading https://files.pythonhosted.org/packages/ab/e9/2561dbfbc05146bffa02167e09b9902e273decb2dc4cd5c43314ede20312/numpy-1.17.4-cp35-cp35m-manylinux1_x86_64.whl (19.8MB)
Collecting requests (from zmes-hooks===4.5.8)
  Downloading https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl (57kB)
Collecting Shapely (from zmes-hooks===4.5.8)
  Downloading https://files.pythonhosted.org/packages/a2/6c/966fa320a88fc685c956af08135855fa84a1589631256abebf73721c26ed/Shapely-1.6.4.post2-cp35-cp35m-manylinux1_x86_64.whl (1.5MB)
Collecting imutils (from zmes-hooks===4.5.8)
  Downloading https://files.pythonhosted.org/packages/b5/94/46dcae8c061e28be31bcaa55c560cb30ee9403c9a4bb2659768ec1b9eb7d/imutils-0.5.3.tar.gz
Collecting pyzm (from zmes-hooks===4.5.8)
  Downloading https://files.pythonhosted.org/packages/19/db/0bb4c89271964a02ff8e4f37c5d631c093e6d73fd356d4b6ba3e83ba2f1a/pyzm-0.1.3.tar.gz
Collecting chardet<3.1.0,>=3.0.2 (from requests->zmes-hooks===4.5.8)
  Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests->zmes-hooks===4.5.8)
  Downloading https://files.pythonhosted.org/packages/b4/40/a9837291310ee1ccc242ceb6ebfd9eb21539649f193a7c8c86ba15b98539/urllib3-1.25.7-py2.py3-none-any.whl (125kB)
Collecting idna<2.9,>=2.5 (from requests->zmes-hooks===4.5.8)
  Downloading https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl (58kB)
Collecting certifi>=2017.4.17 (from requests->zmes-hooks===4.5.8)
  Downloading https://files.pythonhosted.org/packages/18/b0/8146a4f8dd402f60744fa380bc73ca47303cccf8b9190fd16a827281eac2/certifi-2019.9.11-py2.py3-none-any.whl (154kB)
Collecting psutil>=5.6.3 (from pyzm->zmes-hooks===4.5.8)
  Downloading https://files.pythonhosted.org/packages/03/9a/95c4b3d0424426e5fd94b5302ff74cea44d5d4f53466e1228ac8e73e14b4/psutil-5.6.5.tar.gz (447kB)
Collecting SQLAlchemy>=1.3.5 (from pyzm->zmes-hooks===4.5.8)
  Downloading https://files.pythonhosted.org/packages/34/5c/0e1d7ad0ca52544bb12f9cb8d5cc454af45821c92160ffedd38db0a317f6/SQLAlchemy-1.3.11.tar.gz (6.0MB)
Collecting mysql-connector-python>=8.0.16 (from pyzm->zmes-hooks===4.5.8)
  Downloading https://files.pythonhosted.org/packages/36/f4/615d283e22b7a985c22cfa54923321fd77feb72344c2dffc05fe3c6edc67/mysql_connector_python-8.0.18-cp35-cp35m-manylinux1_x86_64.whl (16.1MB)
Collecting dateparser>=0.7.1 (from pyzm->zmes-hooks===4.5.8)
  Downloading https://files.pythonhosted.org/packages/82/9d/51126ac615bbc4418478d725a5fa1a0f112059f6f111e4b48cfbe17ef9d0/dateparser-0.7.2-py2.py3-none-any.whl (352kB)
Collecting websocket-client>=0.56.0 (from pyzm->zmes-hooks===4.5.8)
  Downloading https://files.pythonhosted.org/packages/29/19/44753eab1fdb50770ac69605527e8859468f3c0fd7dc5a76dd9c4dbd7906/websocket_client-0.56.0-py2.py3-none-any.whl (200kB)
Collecting protobuf>=3.0.0 (from mysql-connector-python>=8.0.16->pyzm->zmes-hooks===4.5.8)
  Downloading https://files.pythonhosted.org/packages/27/1c/ccf7810d5d02bdaafc223af032e8ac7f5ad6d23c5d0a44682a5a85fdda25/protobuf-3.10.0-cp35-cp35m-manylinux1_x86_64.whl (1.3MB)
Collecting pytz (from dateparser>=0.7.1->pyzm->zmes-hooks===4.5.8)
  Downloading https://files.pythonhosted.org/packages/e7/f9/f0b53f88060247251bf481fa6ea62cd0d25bf1b11a87888e53ce5b7c8ad2/pytz-2019.3-py2.py3-none-any.whl (509kB)
Collecting regex (from dateparser>=0.7.1->pyzm->zmes-hooks===4.5.8)
  Downloading https://files.pythonhosted.org/packages/fc/1d/13cc7d174cd2d05808abac3f5fb37433e30c4cd93b152d2a9c09c926d7e8/regex-2019.11.1.tar.gz (669kB)
Collecting tzlocal (from dateparser>=0.7.1->pyzm->zmes-hooks===4.5.8)
  Downloading https://files.pythonhosted.org/packages/ef/99/53bd1ac9349262f59c1c421d8fcc2559ae8a5eeffed9202684756b648d33/tzlocal-2.0.0-py2.py3-none-any.whl
Collecting python-dateutil (from dateparser>=0.7.1->pyzm->zmes-hooks===4.5.8)
  Downloading https://files.pythonhosted.org/packages/d4/70/d60450c3dd48ef87586924207ae8907090de0b306af2bce5d134d78615cb/python_dateutil-2.8.1-py2.py3-none-any.whl (227kB)
Collecting six (from websocket-client>=0.56.0->pyzm->zmes-hooks===4.5.8)
  Downloading https://files.pythonhosted.org/packages/65/26/32b8464df2a97e6dd1b656ed26b2c194606c16fe163c695a992b36c11cdf/six-1.13.0-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): setuptools in /usr/lib/python3/dist-packages (from protobuf>=3.0.0->mysql-connector-python>=8.0.16->pyzm->zmes-hooks===4.5.8)
Building wheels for collected packages: imutils, pyzm, psutil, SQLAlchemy, regex
  Running setup.py bdist_wheel for imutils: started
  Running setup.py bdist_wheel for imutils: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/16/84/1f/bf88641293cda2c8be81a5c4b8ca973dd9125a6dc3767417fd
  Running setup.py bdist_wheel for pyzm: started
  Running setup.py bdist_wheel for pyzm: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/a8/06/0e/9e915e125d0fe45949d03167c42ca038e948ea1f27e01a33e7
  Running setup.py bdist_wheel for psutil: started
  Running setup.py bdist_wheel for psutil: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/33/48/b6/72b7243c5caf65b7d5b460e9fad82b1256992284e870b7db59
  Running setup.py bdist_wheel for SQLAlchemy: started
  Running setup.py bdist_wheel for SQLAlchemy: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/a3/67/7d/6c41104a1a08ff1a25e260d3edec3ac19203141d1aaa2f0975
  Running setup.py bdist_wheel for regex: started
  Running setup.py bdist_wheel for regex: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/5c/c6/c1/0bc8d16ea38c44536a82dd1bec665996e5af37489fa88826b6
Successfully built imutils pyzm psutil SQLAlchemy regex
Installing collected packages: numpy, opencv-contrib-python, chardet, urllib3, idna, certifi, requests, Shapely, imutils, psutil, SQLAlchemy, six, protobuf, mysql-connector-python, pytz, regex, tzlocal, python-dateutil, dateparser, websocket-client, pyzm, zmes-hooks
  Running setup.py install for zmes-hooks: started
    Running setup.py install for zmes-hooks: finished with status 'done'
Successfully installed SQLAlchemy-1.3.11 Shapely-1.6.4.post2 certifi-2019.9.11 chardet-3.0.4 dateparser-0.7.2 idna-2.8 imutils-0.5.3 mysql-connector-python-8.0.18 numpy-1.17.4 opencv-contrib-python-4.1.1.26 protobuf-3.10.0 psutil-5.6.5 python-dateutil-2.8.1 pytz-2019.3 pyzm-0.1.3 regex-2019.11.1 requests-2.22.0 six-1.13.0 tzlocal-2.0.0 urllib3-1.25.7 websocket-client-0.56.0 zmes-hooks-4.5.8
Downloading tiny yolo models and configurations...
Downloading yolo models and configurations...
Moving objectconfig.ini
Moving detect_wrapper.sh
Moving detect.py
Creating hook/known_faces folder in config folder
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  gfortran gfortran-5 libblas-common libblas3 libgfortran-5-dev libgfortran3
  liblapack3 libopenblas-base
Suggested packages:
  gfortran-multilib gfortran-doc gfortran-5-multilib gfortran-5-doc
  libgfortran3-dbg liblapack-doc-man liblapack-doc
The following NEW packages will be installed:
  gfortran gfortran-5 libblas-common libblas-dev libblas3 libgfortran-5-dev
  libgfortran3 liblapack-dev liblapack3 libopenblas-base libopenblas-dev
0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
Need to get 21.3 MB of archives.
After this operation, 136 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgfortran3 amd64 5.4.0-6ubuntu1~16.04.12 [260 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgfortran-5-dev amd64 5.4.0-6ubuntu1~16.04.12 [291 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 gfortran-5 amd64 5.4.0-6ubuntu1~16.04.12 [8158 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial/main amd64 gfortran amd64 4:5.3.1-1ubuntu1 [1288 B]
Get:5 http://archive.ubuntu.com/ubuntu xenial/main amd64 libblas-common amd64 3.6.0-2ubuntu2 [5342 B]
Get:6 http://archive.ubuntu.com/ubuntu xenial/main amd64 libblas3 amd64 3.6.0-2ubuntu2 [147 kB]
Get:7 http://archive.ubuntu.com/ubuntu xenial/main amd64 libblas-dev amd64 3.6.0-2ubuntu2 [153 kB]
Get:8 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libopenblas-base amd64 0.2.18-1ubuntu1 [5097 kB]
Get:9 http://archive.ubuntu.com/ubuntu xenial/main amd64 liblapack3 amd64 3.6.0-2ubuntu2 [1938 kB]
Get:10 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libopenblas-dev amd64 0.2.18-1ubuntu1 [3300 kB]
Get:11 http://archive.ubuntu.com/ubuntu xenial/main amd64 liblapack-dev amd64 3.6.0-2ubuntu2 [1948 kB]
Fetched 21.3 MB in 23s (898 kB/s)
Selecting previously unselected package libgfortran3:amd64.
(Reading database ... 42590 files and directories currently installed.)
Preparing to unpack .../libgfortran3_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
Unpacking libgfortran3:amd64 (5.4.0-6ubuntu1~16.04.12) ...
Selecting previously unselected package libgfortran-5-dev:amd64.
Preparing to unpack .../libgfortran-5-dev_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
Unpacking libgfortran-5-dev:amd64 (5.4.0-6ubuntu1~16.04.12) ...
Selecting previously unselected package gfortran-5.
Preparing to unpack .../gfortran-5_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
Unpacking gfortran-5 (5.4.0-6ubuntu1~16.04.12) ...
Selecting previously unselected package gfortran.
Preparing to unpack .../gfortran_4%3a5.3.1-1ubuntu1_amd64.deb ...
Unpacking gfortran (4:5.3.1-1ubuntu1) ...
Selecting previously unselected package libblas-common.
Preparing to unpack .../libblas-common_3.6.0-2ubuntu2_amd64.deb ...
Unpacking libblas-common (3.6.0-2ubuntu2) ...
Selecting previously unselected package libblas3.
Preparing to unpack .../libblas3_3.6.0-2ubuntu2_amd64.deb ...
Unpacking libblas3 (3.6.0-2ubuntu2) ...
Selecting previously unselected package libblas-dev.
Preparing to unpack .../libblas-dev_3.6.0-2ubuntu2_amd64.deb ...
Unpacking libblas-dev (3.6.0-2ubuntu2) ...
Selecting previously unselected package libopenblas-base.
Preparing to unpack .../libopenblas-base_0.2.18-1ubuntu1_amd64.deb ...
Unpacking libopenblas-base (0.2.18-1ubuntu1) ...
Selecting previously unselected package liblapack3.
Preparing to unpack .../liblapack3_3.6.0-2ubuntu2_amd64.deb ...
Unpacking liblapack3 (3.6.0-2ubuntu2) ...
Selecting previously unselected package libopenblas-dev.
Preparing to unpack .../libopenblas-dev_0.2.18-1ubuntu1_amd64.deb ...
Unpacking libopenblas-dev (0.2.18-1ubuntu1) ...
Selecting previously unselected package liblapack-dev.
Preparing to unpack .../liblapack-dev_3.6.0-2ubuntu2_amd64.deb ...
Unpacking liblapack-dev (3.6.0-2ubuntu2) ...
Processing triggers for libc-bin (2.23-0ubuntu11) ...
Setting up libgfortran3:amd64 (5.4.0-6ubuntu1~16.04.12) ...
Setting up libgfortran-5-dev:amd64 (5.4.0-6ubuntu1~16.04.12) ...
Setting up gfortran-5 (5.4.0-6ubuntu1~16.04.12) ...
Setting up gfortran (4:5.3.1-1ubuntu1) ...
update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f95 (f95) in auto mode
update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f77 (f77) in auto mode
Setting up libblas-common (3.6.0-2ubuntu2) ...
Setting up libblas3 (3.6.0-2ubuntu2) ...
update-alternatives: using /usr/lib/libblas/libblas.so.3 to provide /usr/lib/libblas.so.3 (libblas.so.3) in auto mode
Setting up libblas-dev (3.6.0-2ubuntu2) ...
update-alternatives: using /usr/lib/libblas/libblas.so to provide /usr/lib/libblas.so (libblas.so) in auto mode
Setting up libopenblas-base (0.2.18-1ubuntu1) ...
update-alternatives: using /usr/lib/openblas-base/libblas.so.3 to provide /usr/lib/libblas.so.3 (libblas.so.3) in auto mode
update-alternatives: using /usr/lib/openblas-base/liblapack.so.3 to provide /usr/lib/liblapack.so.3 (liblapack.so.3) in auto mode
Setting up liblapack3 (3.6.0-2ubuntu2) ...
Setting up libopenblas-dev (0.2.18-1ubuntu1) ...
update-alternatives: using /usr/lib/openblas-base/libblas.so to provide /usr/lib/libblas.so (libblas.so) in auto mode
update-alternatives: using /usr/lib/openblas-base/liblapack.so to provide /usr/lib/liblapack.so (liblapack.so) in auto mode
Setting up liblapack-dev (3.6.0-2ubuntu2) ...
Processing triggers for libc-bin (2.23-0ubuntu11) ...
Collecting face_recognition
  Downloading https://files.pythonhosted.org/packages/3f/ed/ad9a28042f373d4633fc8b49109b623597d6f193d3bbbef7780a5ee8eef2/face_recognition-1.2.3-py2.py3-none-any.whl
Collecting Click>=6.0 (from face_recognition)
  Downloading https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl (81kB)
Requirement already satisfied (use --upgrade to upgrade): numpy in /usr/local/lib/python3.5/dist-packages (from face_recognition)
Collecting face-recognition-models>=0.3.0 (from face_recognition)
  Downloading https://files.pythonhosted.org/packages/cf/3b/4fd8c534f6c0d1b80ce0973d01331525538045084c73c153ee6df20224cf/face_recognition_models-0.3.0.tar.gz (100.1MB)
Collecting Pillow (from face_recognition)
  Downloading https://files.pythonhosted.org/packages/dc/bd/ba64273d3fdeb68c74b040e3e42f5a3c2f643e8e65b0b1ad0b18425ed67a/Pillow-6.2.1-cp35-cp35m-manylinux1_x86_64.whl (2.1MB)
Collecting dlib>=19.7 (from face_recognition)
  Downloading https://files.pythonhosted.org/packages/1e/62/aacb236d21fbd08148b1d517d58a9d80ea31bdcd386d26f21f8b23b1eb28/dlib-19.18.0.tar.gz (3.1MB)
Building wheels for collected packages: face-recognition-models, dlib
  Running setup.py bdist_wheel for face-recognition-models: started
  Running setup.py bdist_wheel for face-recognition-models: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/d2/99/18/59c6c8f01e39810415c0e63f5bede7d83dfb0ffc039865465f
  Running setup.py bdist_wheel for dlib: started
  Running setup.py bdist_wheel for dlib: still running...
  Running setup.py bdist_wheel for dlib: still running...
  Running setup.py bdist_wheel for dlib: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/ab/e9/6b/5206171e6a24d8cb6653936ccfd656b7d6f6c631c1b5f93970
Successfully built face-recognition-models dlib
Installing collected packages: Click, face-recognition-models, Pillow, dlib, face-recognition
Successfully installed Click-7.0 Pillow-6.2.1 dlib-19.18.0 face-recognition-1.2.3 face-recognition-models-0.3.0
Hook installation completed
Starting services...
 * Starting MariaDB database server mysqld
   ...fail!
 * Starting Apache httpd web server apache2
 *
Starting ZoneMinder:
ZoneMinder failed to start

Nov 12 21:57:31 2f599070963e syslog-ng[32]: syslog-ng shutting down; version='3.5.6'
dlandon commented 4 years ago

Your issue is not the same. Are you installing the docker with the docker-compose.yaml?

schroejahr2 commented 4 years ago

How much memory do you have? You realize that the SHM at 50% will use half of all memory.

Old machine, with fresh lubuntu install (19.04). 4 GB Ram. Tried on another machine with an fresh lubuntu install (19.10)(also 4 GB) and it works like a charm.

so the problem is solved for me (because i just use the other machine) but im happy to help if you want to find the reason.

Is there a forum / thread else about this specific docker image where i can ask questions about the configuration ?

Thank you.

jtanila commented 4 years ago

Similar issue here:

$ docker logs Zoneminder
*** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
*** Running /etc/my_init.d/05_set_the_time.sh...
Setting the timezone to : Europe/Helsinki

Current default time zone: 'Europe/Helsinki'
Local time is now:      Mon Nov 18 11:49:04 EET 2019.
Universal Time is now:  Mon Nov 18 09:49:04 UTC 2019.

Date: Mon Nov 18 11:49:04 EET 2019
*** Running /etc/my_init.d/06_set_php_time.sh...
*** Running /etc/my_init.d/10_syslog-ng.init...
Nov 18 11:49:04 ba5ec19c6ffe syslog-ng[32]: syslog-ng starting up; version='3.5.6'
Nov 18 11:49:05 ba5ec19c6ffe syslog-ng[32]: EOF on control channel, closing connection;
*** Running /etc/my_init.d/20_apt_update.sh...
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:3 http://ppa.launchpad.net/iconnor/zoneminder-1.32/ubuntu xenial InRelease
Get:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Get:5 http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease [23.9 kB]
Get:6 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Get:7 http://security.ubuntu.com/ubuntu xenial-security/main Sources [195 kB]
Get:8 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 Packages [70.3 kB]
Get:9 http://security.ubuntu.com/ubuntu xenial-security/universe Sources [140 kB]
Get:10 http://archive.ubuntu.com/ubuntu xenial-updates/main Sources [432 kB]
Get:11 http://security.ubuntu.com/ubuntu xenial-security/multiverse Sources [3520 B]
Get:12 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [1002 kB]
Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/universe Sources [331 kB]
Get:14 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse Sources [9424 B]
Get:15 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [590 kB]
Get:16 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [1379 kB]
Get:17 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [6283 B]
Get:18 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [994 kB]
Get:19 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [19.3 kB]
Fetched 5522 kB in 2s (2018 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages will be upgraded:
  libjpeg-turbo8
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 111 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libjpeg-turbo8 amd64 1.4.2-0ubuntu3.3 [111 kB]
Fetched 111 kB in 0s (424 kB/s)
(Reading database ... 34647 files and directories currently installed.)
Preparing to unpack .../libjpeg-turbo8_1.4.2-0ubuntu3.3_amd64.deb ...
Unpacking libjpeg-turbo8:amd64 (1.4.2-0ubuntu3.3) over (1.4.2-0ubuntu3.1) ...
Processing triggers for libc-bin (2.23-0ubuntu11) ...
Setting up libjpeg-turbo8:amd64 (1.4.2-0ubuntu3.3) ...
Processing triggers for libc-bin (2.23-0ubuntu11) ...
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
*** Running /etc/my_init.d/30_gen_ssl_keys.sh...
generating self-signed keys in /config/keys, you can replace these with your own keys if required
Generating a 2048 bit RSA private key
.................................................................................+++++
............................................................................................................................................+++++
writing new private key to '/config/keys/cert.key'
-----
*** Running /etc/my_init.d/40_firstrun.sh...
Creating conf folder
Moving zm.conf to config folder
Moving zmeventnotification.ini
Moving secrets.ini
Moving the event notification server
Moving ssmtp to config folder
Moving mysql to config folder
Creating control folder in config folder
Copy /config/conf/ scripts to /etc/zm/conf.d/
Creating symbolink links
Create events folder
Create images folder
Create temp folder
Create cache folder
no crontab for root
Setting shared memory to : 50% of 12213204 bytes
Starting services...
 * Starting MariaDB database server mysqld
   ...fail!
DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Config.pm line 117.

Tried to run

docker run -d --name="Zoneminder" \
--net="bridge" \
--privileged="true" \
-p 8443:443/tcp \
-p 9000:9000/tcp \
-e TZ="Europe/Helsinki" \
-e SHMEM="50%" \
-e PUID="99" \
-e PGID="100" \
-e INSTALL_HOOK="0" \
-e INSTALL_FACE="0" \
-e INSTALL_TINY_YOLO="0" \
-e INSTALL_YOLO="0" \
-v "/mnt/Zoneminder":"/config":rw \
-v "/mnt/Zoneminder/data":"/var/cache/zoneminder":rw \
dlandon/zoneminder
dlandon commented 4 years ago

You probably don't have enough memory. Cut down on the SHM memory. Try 20% just to get Zoneminder running.

jtanila commented 4 years ago

Tried 20% (already earlier). Same result. I have 12GB ram available.

dlandon commented 4 years ago

Check your volume mappings. Check the docker log file and see if there is any indication of a problem.

You probably should try the zoneminder forums for additional help.

jtanila commented 4 years ago

Here is the whole log. Volume mappings in the first post. Don't understand why it won't start.

$ docker logs Zoneminder
*** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
*** Running /etc/my_init.d/05_set_the_time.sh...
Setting the timezone to : Europe/Helsinki

Current default time zone: 'Europe/Helsinki'
Local time is now:      Mon Nov 18 13:47:05 EET 2019.
Universal Time is now:  Mon Nov 18 11:47:05 UTC 2019.

Date: Mon Nov 18 13:47:06 EET 2019
*** Running /etc/my_init.d/06_set_php_time.sh...
*** Running /etc/my_init.d/10_syslog-ng.init...
Nov 18 13:47:06 7f7a9d9c9526 syslog-ng[32]: syslog-ng starting up; version='3.5.6'
Nov 18 13:47:07 7f7a9d9c9526 syslog-ng[32]: EOF on control channel, closing connection;
*** Running /etc/my_init.d/20_apt_update.sh...
Hit:1 http://ppa.launchpad.net/iconnor/zoneminder-1.32/ubuntu xenial InRelease
Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease
Get:3 http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease [23.9 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Get:5 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Get:6 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Get:7 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 Packages [70.3 kB]
Get:8 http://archive.ubuntu.com/ubuntu xenial-updates/main Sources [432 kB]
Get:9 http://archive.ubuntu.com/ubuntu xenial-updates/universe Sources [331 kB]
Get:10 http://security.ubuntu.com/ubuntu xenial-security/main Sources [195 kB]
Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse Sources [9424 B]
Get:12 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [1379 kB]
Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [994 kB]
Get:14 http://security.ubuntu.com/ubuntu xenial-security/universe Sources [140 kB]
Get:15 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [19.3 kB]
Get:16 http://security.ubuntu.com/ubuntu xenial-security/multiverse Sources [3520 B]
Get:17 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [1002 kB]
Get:18 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [590 kB]
Get:19 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [6283 B]
Fetched 5522 kB in 4s (1116 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages will be upgraded:
  libjpeg-turbo8
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 111 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libjpeg-turbo8 amd64 1.4.2-0ubuntu3.3 [111 kB]
Fetched 111 kB in 0s (469 kB/s)
(Reading database ... 34647 files and directories currently installed.)
Preparing to unpack .../libjpeg-turbo8_1.4.2-0ubuntu3.3_amd64.deb ...
Unpacking libjpeg-turbo8:amd64 (1.4.2-0ubuntu3.3) over (1.4.2-0ubuntu3.1) ...
Processing triggers for libc-bin (2.23-0ubuntu11) ...
Setting up libjpeg-turbo8:amd64 (1.4.2-0ubuntu3.3) ...
Processing triggers for libc-bin (2.23-0ubuntu11) ...
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
*** Running /etc/my_init.d/30_gen_ssl_keys.sh...
using existing keys in "/config/keys"
*** Running /etc/my_init.d/40_firstrun.sh...
Using existing conf folder
Moving zm.conf to config folder
Moving zmeventnotification.ini
Moving secrets.ini
Moving the event notification server
Using existing ssmtp folder
Using existing mysql database folder
Copy /config/control/ scripts to /usr/share/perl5/ZoneMinder/Control/
Copy /config/conf/ scripts to /etc/zm/conf.d/
Creating symbolink links
Using existing data directory for events
Using existing data directory for images
Using existing data directory for temp
Using existing data directory for cache
no crontab for root
Setting shared memory to : 10% of 12213204 bytes
Starting services...
 * Starting MariaDB database server mysqld
   ...fail!
DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Config.pm line 117.
Can't connect to db at /usr/share/perl5/ZoneMinder/Config.pm line 166.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 166.
Compilation failed in require at /usr/bin/zmupdate.pl line 71.
BEGIN failed--compilation aborted at /usr/bin/zmupdate.pl line 71.
DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Config.pm line 117.
Can't connect to db at /usr/share/perl5/ZoneMinder/Config.pm line 166.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 166.
Compilation failed in require at /usr/bin/zmupdate.pl line 71.
BEGIN failed--compilation aborted at /usr/bin/zmupdate.pl line 71.
 * Starting Apache httpd web server apache2
 * 
Starting ZoneMinder:
DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Config.pm line 117.
Can't connect to db at /usr/share/perl5/ZoneMinder/Config.pm line 166.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 166.
Compilation failed in require at /usr/share/perl5/ZoneMinder.pm line 33.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder.pm line 33.
Compilation failed in require at /usr/bin/zmpkg.pl line 34.
BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 34.
ZoneMinder failed to start

*** /etc/my_init.d/40_firstrun.sh failed with status 255

*** Killing all processes...
Nov 18 13:47:55 7f7a9d9c9526 syslog-ng[32]: syslog-ng shutting down; version='3.5.6'
jtanila commented 4 years ago

Booted the whole server because no reason but it seemed to fix the issue for me..

elsieej commented 4 years ago

i have same issues ! @jtanila you say booted the whole server ? it's mean "Restart docker daemon" ? ... @schroejahr2 have you fixed with that ?

jsheo96 commented 4 months ago

Have you guys found the solution? I am facing the same issue. is there a way to resolve error without rebooting the whole server?