Sorry for my english, I am french and i'm using google translation for help me...
I uninstalled zoneminder and i did ubuntu update
Code: Select all
apt-get update
apt-get upgrade
apt-get dist-upgrade
I followed the procedure the easy way to reinstall zoneminder.
Code: Select all
apt-get install zoneminder
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Les paquets supplémentaires suivants seront installés :
libav-tools libavdevice53 libavfilter3 libconvert-binhex-perl
libdate-manip-perl libdevice-serialport-perl libemail-date-format-perl
libjs-mootools libmime-lite-perl libmime-tools-perl libmime-types-perl
libnet-sftp-foreign-perl libphp-serialization-perl libsys-mmap-perl
Paquets suggérés :
frei0r-plugins
Les NOUVEAUX paquets suivants seront installés :
libav-tools libavdevice53 libavfilter3 libconvert-binhex-perl
libdate-manip-perl libdevice-serialport-perl libemail-date-format-perl
libjs-mootools libmime-lite-perl libmime-tools-perl libmime-types-perl
libnet-sftp-foreign-perl libphp-serialization-perl libsys-mmap-perl
zoneminder
0 mis à jour, 15 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 6 374 ko dans les archives.
Après cette opération, 33,9 Mo d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer ? [O/n] o
Réception de : 1 http://fr.archive.ubuntu.com/ubuntu/ trusty/universe libavdevice53 amd64 6:9.11-2ubuntu2 [32,2 kB]
Réception de : 2 http://fr.archive.ubuntu.com/ubuntu/ trusty/universe libavfilter3 amd64 6:9.11-2ubuntu2 [93,7 kB]
Réception de : 3 http://fr.archive.ubuntu.com/ubuntu/ trusty/universe libav-tools amd64 6:9.11-2ubuntu2 [3 308 kB]
Réception de : 4 http://fr.archive.ubuntu.com/ubuntu/ trusty/main libconvert-binhex-perl all 1.123-1 [32,2 kB]
Réception de : 5 http://fr.archive.ubuntu.com/ubuntu/ trusty/main libdate-manip-perl all 6.42-1 [913 kB]
Réception de : 6 http://fr.archive.ubuntu.com/ubuntu/ trusty/universe libemail-date-format-perl all 1.004-1 [6 518 B]
Réception de : 7 http://fr.archive.ubuntu.com/ubuntu/ trusty/universe libjs-mootools all 1.4.5~debian1-2.1 [241 kB]
Réception de : 8 http://fr.archive.ubuntu.com/ubuntu/ trusty/universe libmime-lite-perl all 3.030-1 [62,9 kB]
Réception de : 9 http://fr.archive.ubuntu.com/ubuntu/ trusty/main libmime-tools-perl all 5.505-1 [206 kB]
Réception de : 10 http://fr.archive.ubuntu.com/ubuntu/ trusty/main libmime-types-perl all 2.04-1 [47,8 kB]
Réception de : 11 http://fr.archive.ubuntu.com/ubuntu/ trusty/universe libnet-sftp-foreign-perl all 1.77+dfsg-1 [96,4 kB]
Réception de : 12 http://fr.archive.ubuntu.com/ubuntu/ trusty/universe libphp-serialization-perl all 0.34-1 [11,1 kB]
Réception de : 13 http://fr.archive.ubuntu.com/ubuntu/ trusty/universe libsys-mmap-perl amd64 0.16-1build2 [17,9 kB]
Réception de : 14 http://fr.archive.ubuntu.com/ubuntu/ trusty/universe libdevice-serialport-perl amd64 1.04-2build3 [75,3 kB]
Réception de : 15 http://fr.archive.ubuntu.com/ubuntu/ trusty/universe zoneminder amd64 1.26.5-1ubuntu3 [1 230 kB]
6 374 ko réceptionnés en 41s (153 ko/s)
Sélection du paquet libavdevice53:amd64 précédemment désélectionné.
(Lecture de la base de données... 241200 fichiers et répertoires déjà installés.)
Préparation du décompactage de .../libavdevice53_6%3a9.11-2ubuntu2_amd64.deb ...
Décompactage de libavdevice53:amd64 (6:9.11-2ubuntu2) ...
Sélection du paquet libavfilter3:amd64 précédemment désélectionné.
Préparation du décompactage de .../libavfilter3_6%3a9.11-2ubuntu2_amd64.deb ...
Décompactage de libavfilter3:amd64 (6:9.11-2ubuntu2) ...
Sélection du paquet libav-tools précédemment désélectionné.
Préparation du décompactage de .../libav-tools_6%3a9.11-2ubuntu2_amd64.deb ...
Décompactage de libav-tools (6:9.11-2ubuntu2) ...
Sélection du paquet libconvert-binhex-perl précédemment désélectionné.
Préparation du décompactage de .../libconvert-binhex-perl_1.123-1_all.deb ...
Décompactage de libconvert-binhex-perl (1.123-1) ...
Sélection du paquet libdate-manip-perl précédemment désélectionné.
Préparation du décompactage de .../libdate-manip-perl_6.42-1_all.deb ...
Décompactage de libdate-manip-perl (6.42-1) ...
Sélection du paquet libemail-date-format-perl précédemment désélectionné.
Préparation du décompactage de .../libemail-date-format-perl_1.004-1_all.deb ...
Décompactage de libemail-date-format-perl (1.004-1) ...
Sélection du paquet libjs-mootools précédemment désélectionné.
Préparation du décompactage de .../libjs-mootools_1.4.5~debian1-2.1_all.deb ...
Décompactage de libjs-mootools (1.4.5~debian1-2.1) ...
Sélection du paquet libmime-lite-perl précédemment désélectionné.
Préparation du décompactage de .../libmime-lite-perl_3.030-1_all.deb ...
Décompactage de libmime-lite-perl (3.030-1) ...
Sélection du paquet libmime-tools-perl précédemment désélectionné.
Préparation du décompactage de .../libmime-tools-perl_5.505-1_all.deb ...
Décompactage de libmime-tools-perl (5.505-1) ...
Sélection du paquet libmime-types-perl précédemment désélectionné.
Préparation du décompactage de .../libmime-types-perl_2.04-1_all.deb ...
Décompactage de libmime-types-perl (2.04-1) ...
Sélection du paquet libnet-sftp-foreign-perl précédemment désélectionné.
Préparation du décompactage de .../libnet-sftp-foreign-perl_1.77+dfsg-1_all.deb ...
Décompactage de libnet-sftp-foreign-perl (1.77+dfsg-1) ...
Sélection du paquet libphp-serialization-perl précédemment désélectionné.
Préparation du décompactage de .../libphp-serialization-perl_0.34-1_all.deb ...
Décompactage de libphp-serialization-perl (0.34-1) ...
Sélection du paquet libsys-mmap-perl précédemment désélectionné.
Préparation du décompactage de .../libsys-mmap-perl_0.16-1build2_amd64.deb ...
Décompactage de libsys-mmap-perl (0.16-1build2) ...
Sélection du paquet libdevice-serialport-perl précédemment désélectionné.
Préparation du décompactage de .../libdevice-serialport-perl_1.04-2build3_amd64.deb ...
Décompactage de libdevice-serialport-perl (1.04-2build3) ...
Sélection du paquet zoneminder précédemment désélectionné.
Préparation du décompactage de .../zoneminder_1.26.5-1ubuntu3_amd64.deb ...
Décompactage de zoneminder (1.26.5-1ubuntu3) ...
Traitement déclenché pour man-db (2.6.7.1-1) ...
Traitement déclenché pour ureadahead (0.100.0-16) ...
Paramétrage de libavdevice53:amd64 (6:9.11-2ubuntu2) ...
Paramétrage de libavfilter3:amd64 (6:9.11-2ubuntu2) ...
Paramétrage de libav-tools (6:9.11-2ubuntu2) ...
Paramétrage de libconvert-binhex-perl (1.123-1) ...
Paramétrage de libdate-manip-perl (6.42-1) ...
Paramétrage de libemail-date-format-perl (1.004-1) ...
Paramétrage de libjs-mootools (1.4.5~debian1-2.1) ...
Paramétrage de libmime-lite-perl (3.030-1) ...
Paramétrage de libmime-tools-perl (5.505-1) ...
Paramétrage de libmime-types-perl (2.04-1) ...
Paramétrage de libnet-sftp-foreign-perl (1.77+dfsg-1) ...
Paramétrage de libphp-serialization-perl (0.34-1) ...
Paramétrage de libsys-mmap-perl (0.16-1build2) ...
Paramétrage de libdevice-serialport-perl (1.04-2build3) ...
Paramétrage de zoneminder (1.26.5-1ubuntu3) ...
Stopping ZoneMinder: Constant subroutine ZoneMinder::ZM_VERSION redefined at /usr/share/perl5/ZoneMinder.pm line 33.
Prototype mismatch: sub ZoneMinder::ZM_VERSION () vs none at /usr/share/perl5/ZoneMinder.pm line 33.
Constant subroutine ZoneMinder::ZM_VERSION redefined at /usr/share/perl5/ZoneMinder.pm line 33.
Prototype mismatch: sub ZoneMinder::ZM_VERSION () vs none at /usr/share/perl5/ZoneMinder.pm line 33.
Zoneminder already stopped
Constant subroutine main::ZM_VERSION redefined at /usr/bin/zmupdate.pl line 47.
main::BEGIN() called at /usr/bin/zmupdate.pl line 47
eval {...} called at /usr/bin/zmupdate.pl line 47
Prototype mismatch: sub main::ZM_VERSION () vs none at /usr/bin/zmupdate.pl line 47.
main::BEGIN() called at /usr/bin/zmupdate.pl line 47
eval {...} called at /usr/bin/zmupdate.pl line 47
Use of uninitialized value $version in string eq at /usr/bin/zmupdate.pl line 360.
Use of uninitialized value $version in concatenation (.) or string at /usr/bin/zmupdate.pl line 366.
Initiating database upgrade to version 1.26.5 from version
Upgrading database to version 1.26.5
Loading config from DB
Saving config to DB
Use of uninitialized value $version in string eq at /usr/bin/zmupdate.pl line 482.
Use of uninitialized value $version in string eq at /usr/bin/zmupdate.pl line 488.
Use of uninitialized value $version in string eq at /usr/bin/zmupdate.pl line 494.
Use of uninitialized value $version in string eq at /usr/bin/zmupdate.pl line 500.
Use of uninitialized value $version in string eq at /usr/bin/zmupdate.pl line 506.
Use of uninitialized value $version in string eq at /usr/bin/zmupdate.pl line 529.
Use of uninitialized value $version in string eq at /usr/bin/zmupdate.pl line 537.
Use of uninitialized value $version in string eq at /usr/bin/zmupdate.pl line 543.
Use of uninitialized value $version in string eq at /usr/bin/zmupdate.pl line 549.
Use of uninitialized value $version in string eq at /usr/bin/zmupdate.pl line 555.
Use of uninitialized value $version in string eq at /usr/bin/zmupdate.pl line 561.
Use of uninitialized value $version in string eq at /usr/bin/zmupdate.pl line 567.
Use of uninitialized value $version in string eq at /usr/bin/zmupdate.pl line 629.
Use of uninitialized value $version in string eq at /usr/bin/zmupdate.pl line 702.
Use of uninitialized value $version in string eq at /usr/bin/zmupdate.pl line 751.
Use of uninitialized value $version in string eq at /usr/bin/zmupdate.pl line 757.
Use of uninitialized value $version in string eq at /usr/bin/zmupdate.pl line 763.
Use of uninitialized value $version in string eq at /usr/bin/zmupdate.pl line 878.
Use of uninitialized value $version in string eq at /usr/bin/zmupdate.pl line 884.
Use of uninitialized value $version in string eq at /usr/bin/zmupdate.pl line 890.
Use of uninitialized value $version in string eq at /usr/bin/zmupdate.pl line 896.
Use of uninitialized value $version in string eq at /usr/bin/zmupdate.pl line 902.
Use of uninitialized value $version in string eq at /usr/bin/zmupdate.pl line 908.
Use of uninitialized value $version in string eq at /usr/bin/zmupdate.pl line 914.
Use of uninitialized value $version in string eq at /usr/bin/zmupdate.pl line 920.
Use of uninitialized value $version in string eq at /usr/bin/zmupdate.pl line 969.
Use of uninitialized value $version in string lt at /usr/bin/zmupdate.pl line 987.
Upgrading DB to 1.26.1 from 1.26.0
Database successfully upgraded from version 1.26.1.
Upgrading DB to 1.26.2 from 1.26.0
Database successfully upgraded from version 1.26.2.
Upgrading DB to 1.26.3 from 1.26.0
Database successfully upgraded from version 1.26.3.
Upgrading DB to 1.26.5 from 1.26.0
ERROR 1060 (42S21) at line 8: Duplicate column name 'AlarmRefBlendPerc'
Output:
Command 'mysql -hlocalhost -uzmuser -pzmpass zm < /usr/share/zoneminder/db/zm_update-1.26.5.sql' exited with status: 1
dpkg: error processing package zoneminder (--configure):
le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
Traitement déclenché pour libc-bin (2.19-0ubuntu6) ...
Des erreurs ont été rencontrées pendant l'exécution :
zoneminder
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@pcvideo-ubuntu:/home/pcvideo# nano /etc/init.d/zoneminder
root@pcvideo-ubuntu:/home/pcvideo# mkdir /etc/apache2/conf.d
mkdir: impossible de créer le répertoire «/etc/apache2/conf.d»: Le fichier existe
root@pcvideo-ubuntu:/home/pcvideo# ln -s /etc/zm/apache.conf /etc/apache2/conf.d/zoneminder.conf
ln: impossible de créer le lien symbolique «/etc/apache2/conf.d/zoneminder.conf»: Le fichier existe
root@pcvideo-ubuntu:/home/pcvideo# rm /etc/apache2/conf.d/zoneminder.confroot@pcvideo-ubuntu:/home/pcvideo# ln -s /etc/zm/apache.conf /etc/apache2/conf.d/zoneminder.conf
root@pcvideo-ubuntu:/home/pcvideo# rm /etc/apache2/conf-enabled/zoneminder.conf
root@pcvideo-ubuntu:/home/pcvideo# /etc/apache2/conf-enabled/zoneminder.conf
bash: /etc/apache2/conf-enabled/zoneminder.conf: Aucun fichier ou dossier de ce type
root@pcvideo-ubuntu:/home/pcvideo# ln -s /etc/zm/apache.conf /etc/apache2/conf-enabled/zoneminder.conf
root@pcvideo-ubuntu:/home/pcvideo# a2enmod cgi
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Module cgi already enabled
root@pcvideo-ubuntu:/home/pcvideo# adduser www-data video
L'utilisateur « www-data » appartient déjà au groupe « video ».
root@pcvideo-ubuntu:/home/pcvideo# /etc/init.d/apache2 force-reload
* Reloading web server apache2 *
root@pcvideo-ubuntu:/home/pcvideo# nano /etc/cron.daily/ntpdate
root@pcvideo-ubuntu:/home/pcvideo# chmod 755 /etc/cron.daily/ntpdate
ZM apache serveur work but ZM service is always stopped
Code: Select all
root@pcvideo-ubuntu:/home/pcvideo# /etc/init.d/zoneminder restart
Stopping ZoneMinder: Constant subroutine ZoneMinder::ZM_VERSION redefined at /usr/share/perl5/ZoneMinder.pm line 33.
Prototype mismatch: sub ZoneMinder::ZM_VERSION () vs none at /usr/share/perl5/ZoneMinder.pm line 33.
Constant subroutine ZoneMinder::ZM_VERSION redefined at /usr/share/perl5/ZoneMinder.pm line 33.
Prototype mismatch: sub ZoneMinder::ZM_VERSION () vs none at /usr/share/perl5/ZoneMinder.pm line 33.
Zoneminder already stopped
Starting ZoneMinder: Constant subroutine ZoneMinder::ZM_VERSION redefined at /usr/share/perl5/ZoneMinder.pm line 33.
Prototype mismatch: sub ZoneMinder::ZM_VERSION () vs none at /usr/share/perl5/ZoneMinder.pm line 33.
Constant subroutine ZoneMinder::ZM_VERSION redefined at /usr/share/perl5/ZoneMinder.pm line 33.
Prototype mismatch: sub ZoneMinder::ZM_VERSION () vs none at /usr/share/perl5/ZoneMinder.pm line 33.
failure
I need help
