Package: zoneminder
Version: 1.30.4+dfsg1-4
Severity: important

Dear Maintainer,

I use Zoneminder for a long time. My first installation was a clean installation
without debian package as zoneminder wasn't packaged, but since debian team
has provided deb package, I use it.

Thus I have reinstall my zoneminder server with debian Buster. This server
ran without any trouble during several months. Last week, I have done a
dist-upgrade and I have seen that zoneminder was upgraded.

I have rebooted my server this afternoon and zoneminder refuses to start.

Logs :
2018-07-21 20:03:05.330840 zmwatch  4680 INF Restarting capture daemon for Rue, 
shared data not valid zmwatch.pl
2018-07-21 20:03:05.329790 zmwatch  4680 ERR Memory map file 
'/dev/shm/zm.mmap.2' does not exist. zmc might not be running. zmwatch.pl
2018-07-21 20:02:49.239550 zmdc  4634 ERR 'zma -m 2' exited abnormally, exit 
status 255 zmdc.pl
2018-07-21 20:02:49.236504 undef  4708 ERR Attempt to fetch boolean value for 
ZM_WEB_EVENT_DISK_SPACE, actual type is string. Try running 'zmupdate.pl -f' to 
reload config. zm_config.cpp 204
2018-07-21 20:02:49.230420 zmdc  4634 ERR 'zmc -d /dev/video0' exited 
abnormally, exit status 255 zmdc.pl
2018-07-21 20:02:49.227190 undef  4707 ERR Attempt to fetch boolean value for 
ZM_WEB_EVENT_DISK_SPACE, actual type is string. Try running 'zmupdate.pl -f' to 
reload config. zm_config.cpp 204
2018-07-21 20:02:49.029600 zmdc  4708 INF 'zma -m 2' started at 18/07/21 
20:02:49 zmdc.pl
2018-07-21 20:02:49.028660 zmdc  4634 INF 'zma -m 2' starting at 18/07/21 
20:02:49, pid = 4708 zmdc.pl
2018-07-21 20:02:49.025030 zmdc  4634 INF Starting pending process, zma -m 2 
zmdc.pl
2018-07-21 20:02:49.023730 zmdc  4707 INF 'zmc -d /dev/video0' started at 
18/07/21 20:02:49 zmdc.pl
2018-07-21 20:02:49.023720 zmdc  4634 INF 'zmc -d /dev/video0' starting at 
18/07/21 20:02:49, pid = 4707 zmdc.pl
2018-07-21 20:02:49.018660 zmdc  4634 INF Starting pending process, zmc -d 
/dev/video0 zmdc.pl
2018-07-21 20:02:39.205110 zmdc  4634 ERR 'zma -m 2' exited abnormally, exit 
status 255 zmdc.pl
2018-07-21 20:02:39.201951 undef  4705 ERR Attempt to fetch boolean value for 
ZM_WEB_EVENT_DISK_SPACE, actual type is string. Try running 'zmupdate.pl -f' to 
reload config. zm_config.cpp 204
2018-07-21 20:02:39.198070 zmdc  4634 ERR 'zmc -d /dev/video0' exited 
abnormally, exit status 255 zmdc.pl
2018-07-21 20:02:39.194731 undef  4704 ERR Attempt to fetch boolean value for 
ZM_WEB_EVENT_DISK_SPACE, actual type is string. Try running 'zmupdate.pl -f' to 
reload config. zm_config.cpp 204

Shared memory segment is not created as zmc -d /dev/video0 aborts without
any message (maybe 'Attempt to fetch boolean value for ZM_WEB_EVENT_DISK_SPACE'
is related to this bug but I'm not sure, I have tried to modify this parameter
without success).

Faulty package is 1.30.4+dfsg1-4. On a second server that runs Debian/Buster
and zoneminder 1.30.4+dfsg-2+b2, I haven't this kind of trouble.

Best regards,

JB

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.16.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages zoneminder depends on:
ii  cakephp                                     2.10.11-2
ii  fonts-glewlwyd                              1.4.4-3
ii  javascript-common                           11
ii  libarchive-zip-perl                         1.60-1
ii  libavcodec57                                7:3.4.3-1
ii  libavformat57                               7:3.4.3-1
ii  libavutil55                                 7:3.4.3-1
ii  libc6                                       2.27-3
ii  libclass-std-fast-perl                      0.0.8-2
ii  libcurl3-gnutls                             7.60.0-2
ii  libdata-dump-perl                           1.23-1
ii  libdate-manip-perl                          6.72-1
ii  libdbd-mysql-perl                           4.046-1
ii  libdevice-serialport-perl                   1.04-3+b5
pn  libdigest-sha-perl                          <none>
ii  libgcc1                                     1:8.1.0-10
ii  libgcrypt20                                 1.8.3-1
ii  libgnutls-openssl27                         3.5.18-1
ii  libimage-info-perl                          1.41-1
ii  libio-socket-multicast-perl                 1.12-2+b4
ii  libjpeg62-turbo                             1:1.5.2-2+b1
ii  libjson-any-perl                            1.39-1
ii  libmariadbclient18                          1:10.1.29-6+b1
ii  libmime-lite-perl                           3.030-2
ii  libmime-tools-perl                          5.509-1
ii  libnet-sftp-foreign-perl                    1.89+dfsg-1
ii  libossp-uuid-perl [libdata-uuid-perl]       1.6.2-1.5+b6
ii  libpcre3                                    2:8.39-10
ii  libphp-serialization-perl                   0.34-2
ii  libsoap-wsdl-perl                           3.003-3
ii  libstdc++6                                  8.1.0-10
ii  libswscale4                                 7:3.4.3-1
ii  libsys-cpu-perl                             0.61-2+b3
ii  libsys-meminfo-perl                         0.99-1+b2
ii  libsys-mmap-perl                            0.19-1
ii  liburi-encode-perl                          1.1.1-1
ii  libvlc5                                     3.0.3-2
ii  libwww-perl                                 6.35-1
ii  lsb-base                                    9.20170808
ii  mariadb-client-10.1 [virtual-mysql-client]  1:10.1.29-6+b1
ii  perl [libmodule-load-conditional-perl]      5.26.2-6
ii  php-apcu                                    5.1.9+4.0.11-1+b1
ii  php-gd                                      1:7.2+61
ii  php-mysql                                   1:7.2+61
ii  php7.0-gd [php-gd]                          7.0.30-2
ii  php7.2-gd [php-gd]                          7.2.4-1+b2
ii  policykit-1                                 0.105-21
ii  rsyslog [system-log-daemon]                 8.36.0-1
ii  zip                                         3.0-11+b1
ii  zlib1g                                      1:1.2.11.dfsg-1

Versions of packages zoneminder recommends:
ii  apache2 [httpd]                             2.4.33-3+b1
ii  default-mysql-server                        1.0.4
ii  ffmpeg                                      7:3.4.3-1
ii  libapache2-mod-php                          1:7.2+61
ii  libapache2-mod-php7.0 [libapache2-mod-php]  7.0.30-2
ii  libapache2-mod-php7.2 [libapache2-mod-php]  7.2.4-1+b2
ii  libav-tools                                 7:3.4.2-1
ii  mariadb-server-10.1 [virtual-mysql-server]  1:10.1.29-6+b1
ii  zoneminder-doc                              1.30.4+dfsg1-4

Versions of packages zoneminder suggests:
pn  fcgiwrap   <none>
ii  logrotate  3.11.0-0.1

-- Configuration Files:
/etc/apache2/conf-available/zoneminder.conf changed:
ScriptAlias /zm/cgi-bin "/usr/lib/zoneminder/cgi-bin"
<Directory "/usr/lib/zoneminder/cgi-bin">
    Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch 
    AllowOverride All
    Require all granted
</Directory>
Alias /zm /usr/share/zoneminder/www
<Directory /usr/share/zoneminder/www>
  Options -Indexes +FollowSymLinks
  <IfModule mod_dir.c>
    DirectoryIndex index.php
  </IfModule>
</Directory>
<Directory /usr/share/zoneminder/www/api>
    AllowOverride All
</Directory>

/etc/zm/zm.conf [Errno 13] Permission non accordée: '/etc/zm/zm.conf'

-- no debconf information

Reply via email to