Zoneminder in Mga5RC install problem [Closed]

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Zoneminder in Mga5RC install problem [Closed]

Postby rodgoslin » May 2nd, '15, 15:53

I'm prettty sure that this is not the right place to raise this, but my knowledge does not run to doing it anywhere else.
I'm attempting to install Zoneminder in a recently install Mga5 RC setup. This is a full install, not an upgrade.
On trying to install Zoneminder, after the information that a whole slew of additional packages will be installed, which is normal. I get a box saying that "Sorry, the following package cannot be installed zoneminder.1.28.0-2.33f3612.mga5.i586" Apparently because of conflicts with Per-Device SerialPort-1.40.0-11.mga5.i586
Last edited by rodgoslin on May 5th, '15, 20:59, edited 1 time in total.
rodgoslin
 
Posts: 523
Joined: Nov 19th, '11, 01:31

Re: Zoneminder in Mga5RC install problem

Postby doktor5000 » May 3rd, '15, 01:03

Could you please post the actual complete output, and include the repos you have currently configured?

Code: Select all
urpmi zoneminder
urpmq --list-media active --list-url


FWIW installation works fine here:

Code: Select all
┌─[doktor5000@Mageia5]─[00:59:03]─[~]
└──╼ sudo LC_ALL=C urpmi zoneminder
In order to satisfy the 'php' dependency, one of the following packages is needed:
 1- php-cgi-5.6.8-1.mga5.x86_64: PHP5 CGI interface (to install)
 2- php-cli-5.6.8-1.mga5.x86_64: PHP5 CLI interface (to install)
 3- php-fpm-5.6.8-1.mga5.x86_64: PHP5 FastCGI Process Manager (to install)
What is your choice? (1-3)
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch   
(medium "Core Release")
  mariadb                        10.0.17      1.mga5        x86_64  (recommended)
  mariadb-extra                  10.0.17      1.mga5        x86_64  (recommended)
  mariadb-feedback               10.0.17      1.mga5        x86_64  (recommended)
  perl-Astro-SunTime             0.10.0       5.mga5        noarch 
  perl-DBD-mysql                 4.28.0       3.mga5        x86_64 
  perl-Date-Manip                6.470.0      4.mga5        noarch 
  perl-Device-SerialPort         1.40.0       11.mga5       x86_64 
  perl-Sys-Mmap                  0.170.0      4.mga5        x86_64 
  perl-Time-ParseDate            2013.111.300 4.mga5        noarch 
  perl-URI-Encode                0.90.0       4.mga5        noarch 
  perl-X10                       0.30.0       6.mga5        noarch 
  php-cgi                        5.6.8        1.mga5        x86_64 
  php-mysql                      5.6.8        1.mga5        x86_64 
  php-mysqlnd                    5.6.8        1.mga5        x86_64 
  php-pdo_mysql                  5.6.8        1.mga5        x86_64 
  php-sockets                    5.6.8        1.mga5        x86_64 
  zoneminder                     1.28.0       2.33f3612.mg> x86_64 
25MB of additional disk space will be used.
3.3MB of packages will be retrieved.
Proceed with the installation of the 17 packages? (Y/n)
    ftp://ftp.snt.utwente.nl/pub/os/linux/mageia/distrib/5/x86_64/media/core/release/perl-Sys-Mmap-0.170.0-4.mga5.x86_64.rpm
    ftp://ftp.snt.utwente.nl/pub/os/linux/mageia/distrib/5/x86_64/media/core/release/perl-X10-0.30.0-6.mga5.noarch.rpm
    ftp://ftp.snt.utwente.nl/pub/os/linux/mageia/distrib/5/x86_64/media/core/release/perl-DBD-mysql-4.28.0-3.mga5.x86_64.rpm
    ftp://ftp.snt.utwente.nl/pub/os/linux/mageia/distrib/5/x86_64/media/core/release/perl-Device-SerialPort-1.40.0-11.mga5.x86_64.rpm
    ftp://ftp.snt.utwente.nl/pub/os/linux/mageia/distrib/5/x86_64/media/core/release/perl-URI-Encode-0.90.0-4.mga5.noarch.rpm
    ftp://ftp.snt.utwente.nl/pub/os/linux/mageia/distrib/5/x86_64/media/core/release/perl-Astro-SunTime-0.10.0-5.mga5.noarch.rpm
    ftp://ftp.snt.utwente.nl/pub/os/linux/mageia/distrib/5/x86_64/media/core/release/perl-Time-ParseDate-2013.111.300-4.mga5.noarch.rpm
    ftp://ftp.snt.utwente.nl/pub/os/linux/mageia/distrib/5/x86_64/media/core/release/perl-Date-Manip-6.470.0-4.mga5.noarch.rpm
installing perl-Sys-Mmap-0.170.0-4.mga5.x86_64.rpm perl-DBD-mysql-4.28.0-3.mga5.x86_64.rpm perl-X10-0.30.0-6.mga5.noarch.rpm perl-URI-Encode-0.90.0-4.mga5.noarch.rpm perl-Device-SerialPort-1.40.0-11.mga5.x86_64.rpm perl-Date-Manip-6.470.0-4.mga5.noarch.rpm perl-Time-ParseDate-2013.111.300-4.mga5.noarch.rpm perl-Astro-SunTime-0.10.0-5.mga5.noarch.rpm from /var/cache/urpmi/rpms
Preparing...                     ################################################################################################################################################################################
     1/17: perl-Time-ParseDate   ################################################################################################################################################################################
     2/17: perl-Astro-SunTime    ################################################################################################################################################################################
     3/17: perl-Device-SerialPort
                                 ################################################################################################################################################################################
     4/17: perl-X10              ################################################################################################################################################################################
     5/17: perl-Date-Manip       ################################################################################################################################################################################
     6/17: perl-URI-Encode       ################################################################################################################################################################################
     7/17: perl-DBD-mysql        ################################################################################################################################################################################
     8/17: perl-Sys-Mmap         ################################################################################################################################################################################

    ftp://ftp.snt.utwente.nl/pub/os/linux/mageia/distrib/5/x86_64/media/core/release/mariadb-feedback-10.0.17-1.mga5.x86_64.rpm
    ftp://ftp.snt.utwente.nl/pub/os/linux/mageia/distrib/5/x86_64/media/core/release/php-sockets-5.6.8-1.mga5.x86_64.rpm
    ftp://ftp.snt.utwente.nl/pub/os/linux/mageia/distrib/5/x86_64/media/core/release/php-pdo_mysql-5.6.8-1.mga5.x86_64.rpm
    ftp://ftp.snt.utwente.nl/pub/os/linux/mageia/distrib/5/x86_64/media/core/release/php-mysql-5.6.8-1.mga5.x86_64.rpm
    ftp://ftp.snt.utwente.nl/pub/os/linux/mageia/distrib/5/x86_64/media/core/release/mariadb-extra-10.0.17-1.mga5.x86_64.rpm
    ftp://ftp.snt.utwente.nl/pub/os/linux/mageia/distrib/5/x86_64/media/core/release/php-cgi-5.6.8-1.mga5.x86_64.rpm
    ftp://ftp.snt.utwente.nl/pub/os/linux/mageia/distrib/5/x86_64/media/core/release/zoneminder-1.28.0-2.33f3612.mga5.x86_64.rpm
    ftp://ftp.snt.utwente.nl/pub/os/linux/mageia/distrib/5/x86_64/media/core/release/php-mysqlnd-5.6.8-1.mga5.x86_64.rpm
installing php-sockets-5.6.8-1.mga5.x86_64.rpm php-pdo_mysql-5.6.8-1.mga5.x86_64.rpm php-mysql-5.6.8-1.mga5.x86_64.rpm mariadb-feedback-10.0.17-1.mga5.x86_64.rpm php-mysqlnd-5.6.8-1.mga5.x86_64.rpm mariadb-extra-10.0.17-1.mga5.x86_64.rpm php-cgi-5.6.8-1.mga5.x86_64.rpm zoneminder-1.28.0-2.33f3612.mga5.x86_64.rpm from /var/cache/urpmi/rpms
Preparing...                     ################################################################################################################################################################################
     9/17: php-mysqlnd           ################################################################################################################################################################################
    10/17: php-pdo_mysql         ################################################################################################################################################################################
    11/17: php-mysql             ################################################################################################################################################################################
    12/17: php-cgi               ################################################################################################################################################################################
    13/17: php-sockets           ################################################################################################################################################################################
    14/17: zoneminder            ################################################################################################################################################################################
    15/17: mariadb-extra         ################################################################################################################################################################################
    16/17: mariadb-feedback      ################################################################################################################################################################################
----------------------------------------------------------------------
More information on package zoneminder-1.28.0-2.33f3612.mga5.x86_64

ZoneMinder is now installed.
Mageia has included a script to simplify setup.
It will help you to create a mysql root password, a new ZoneMinder
mysql database, or update from a previously installed version.
It will then start Mysql, Apache and ZoneMinder on completion.

To use it enter the following commands in a terminal:-

su

zmsetup

NOTE: After updating ZoneMinder to a new version always re-run zmsetup
and select to re-use your existing database. This will allow you
to update the database to be compatible with the newly installed
version of ZoneMinder, while keeping your existing events and
settings.


----------------------------------------------------------------------


    ftp://ftp.snt.utwente.nl/pub/os/linux/mageia/distrib/5/x86_64/media/core/release/mariadb-10.0.17-1.mga5.x86_64.rpm
installing mariadb-10.0.17-1.mga5.x86_64.rpm from /var/cache/urpmi/rpms
Preparing...                     ################################################################################################################################################################################
    17/17: mariadb               ################################################################################################################################################################################
----------------------------------------------------------------------
More information on package mariadb-10.0.17-1.mga5.x86_64

NOTE: MariaDB is installed without root password, it is recommended to set the
root password with the following command as soon as possible:

   mysqladmin password

The initscript used to start mysql has been reverted to use the one shipped
by MariaDB. This means the following changes:

 * The generation of the initial system mysql database is now done when mysql
   is started from the initscript and only if the /var/lib/mysql/mysql
   directory is empty (mysql_install_db). Previousely this was quite hidden and
   silently done at (rpm) install time. As a consequence to this change you may
   have to perform some manual tasks to upgrade the mysql system database and
   such. So, doing something like this might help you:

   systemctl stop mysqld.service
   TMPDIR=/var/tmp mysql_install_db
   mysql_upgrade --skip-write-binlog

The cluster functionalities (ndb) has been deactivated and will be removed in
future mysql versions. Oracle has a new product named mysql-cluster that
replaces the cluster functionalities.

The mysql-common-core package ships with a default /etc/my.cnf file that is
based on the my-medium.cnf file that comes with the source code.

----------------------------------------------------------------------
┌─[doktor5000@Mageia5]─[00:59:57]─[~]
└──╼
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18061
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Zoneminder in Mga5RC install problem [Closed]

Postby rodgoslin » May 4th, '15, 00:28

I might let this thread hang for a while. The install that I raised the issue, now, prior to using the seems to have further problems. On doing an updateprior to carrying out your suggestion, I found that it failed with an error that it was unable to update the x86-64 kernal because of a conflict with the i586 kernel. I'll rebuild the machine to see whether this will provide a cure.

FWIW, I, too have installed Zoneminder on another machine (Lenovo Thinkpad) but this machine was only updated to Mga5, whereas the netbook was a new install. It too had been updated, but I found that the root partition had swelled from about 4.5 Gb to 11 plus, in the process. It was something I only found out about when I came to update this, when the machine indicated that there was no room on the disk for the update. A new install, with the same set of programs came to 4.5Gb. Zoneminder on the Thinkpad works fine, BTW
Last edited by rodgoslin on May 5th, '15, 18:39, edited 1 time in total.
rodgoslin
 
Posts: 523
Joined: Nov 19th, '11, 01:31

Re: Zoneminder in Mga5RC install problem

Postby rodgoslin » May 5th, '15, 18:38

Well, the machine has been re-built. Several times, in fact. But is now working satisfactorily in Mga5. And with the new build, the problem has gone. Zoneeminder has installed without problems. So, the problem is solved, and must have been a problem with the original build. and I shall close the query
rodgoslin
 
Posts: 523
Joined: Nov 19th, '11, 01:31

Re: Zoneminder in Mga5RC install problem

Postby isadora » May 5th, '15, 19:25

Please rodgoslin, don't forget to mark the topic [SOLVED].
You can do so, by editing the subject/title in the first message in this topic.
Write [SOLVED] to the left of subject/title, thanks ahead. ;)
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2766
Joined: Mar 25th, '11, 16:03
Location: Netherlands


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest