MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Bugs and Requests => Topic started by: Viking on 2014-04-13, 22:22:26

Title: Update Error
Post by: Viking on 2014-04-13, 22:22:26
I can not do updates. It is this error:
Code: [Select]
yum update
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
 * base: sunsite.icm.edu.pl
 * extras: sunsite.icm.edu.pl
 * mratwork-epel: mirrors.ircam.fr
 * mratwork-ius: mirrors.ircam.fr
 * updates: sunsite.icm.edu.pl
0 packages excluded due to repository protections
Setting up Update Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
--> Running transaction check
---> Package httpd.x86_64 0:2.2.26-2.el6 will be updated
---> Package httpd.x86_64 0:2.2.27-1.el6 will be an update
---> Package httpd-devel.x86_64 0:2.2.26-2.el6 will be updated
---> Package httpd-devel.x86_64 0:2.2.27-1.el6 will be an update
---> Package httpd-tools.x86_64 0:2.2.26-2.el6 will be updated
---> Package httpd-tools.x86_64 0:2.2.27-1.el6 will be an update
---> Package kloxomr.noarch 0:6.5.0.f-2014020301.mr will be updated
---> Package kloxomr.noarch 0:6.5.0.f-2014040701.mr will be an update
---> Package kloxomr-thirdparty-phpmyadmin.noarch 0:4.0.10-1.mr will be updated
---> Package kloxomr-thirdparty-phpmyadmin.noarch 0:4.1.12-1.mr will be an update
---> Package mc.x86_64 2:4.8.11-1.el6 will be updated
---> Package mc.x86_64 2:4.8.12-1.el6 will be an update
---> Package mod_ssl.x86_64 1:2.2.26-2.el6 will be updated
---> Package mod_ssl.x86_64 1:2.2.27-1.el6 will be an update
---> Package mratwork-release.noarch 0:0.0.2-2 will be updated
---> Package mratwork-release.noarch 0:0.0.2-5 will be an update
---> Package nginx.x86_64 0:1.5.12-1.el6 will be updated
---> Package nginx.x86_64 0:1.5.13-1.el6 will be an update
---> Package openssl.x86_64 0:1.0.1e-16.el6_5.4 will be updated
---> Package openssl.x86_64 0:1.0.1e-16.el6_5.7 will be an update
---> Package openssl-devel.x86_64 0:1.0.1e-16.el6_5.4 will be updated
---> Package openssl-devel.x86_64 0:1.0.1e-16.el6_5.7 will be an update
---> Package php52s.x86_64 0:5.2.17-11.mr.el6 will be updated
---> Package php52s.x86_64 0:5.2.17-12.mr.el5 will be an update
--> Processing Dependency: libmysqlclient.so.18(libmysqlclient_16.1)(64bit) for package: php52s-5.2.17-12.mr.el5.x86_64
---> Package spawn-fcgi.x86_64 0:1.6.3-1.el6 will be updated
---> Package spawn-fcgi.x86_64 0:1.6.3-2.mr.el6 will be an update
--> Running transaction check
---> Package mysql55-libs.x86_64 0:5.5.36-1.ius.el6 will be installed
--> Processing Conflict: mysql55-libs-5.5.36-1.ius.el6.x86_64 conflicts mysql-libs < 5.5
--> Processing Conflict: mysql55-libs-5.5.36-1.ius.el6.x86_64 conflicts mysql-libs < 5.5
--> Finished Dependency Resolution
Error: mysql55-libs conflicts with MariaDB-shared-10.0.3-1.x86_64
Error: mysql55-libs conflicts with MariaDB-compat-10.0.3-1.x86_64
 You could try using --skip-broken to work around the problem
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
glibc-utils-2.12-1.132.el6.x86_64 has missing requires of libgd.so.2()(64bit)
Mustafa how to make updates?
Title: Re: Update Error
Post by: MRatWork on 2014-04-14, 04:26:40
Try:
Code: [Select]
yum-complete-transaction
yum replace mysql --replace-with=mysql55
Title: Re: Update Error
Post by: Viking on 2014-04-14, 05:17:51
Try:
Code: [Select]
yum-complete-transaction
yum replace mysql --replace-with=mysql55
Code: [Select]
yum replace mysql --replace-with=mysql55
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
 * base: sunsite.icm.edu.pl
 * extras: sunsite.icm.edu.pl
 * mratwork-epel: mirrors.ircam.fr
 * mratwork-ius: mirrors.ircam.fr
 * updates: sunsite.icm.edu.pl
0 packages excluded due to repository protections
Replacing packages takes time, please be patient...
Error: Package 'mysql' is not installed.

I have installed:
Code: [Select]
mysql -V
mysql  Ver 15.1 Distrib 10.0.3-MariaDB, for Linux (x86_64) using readline 5.1

Now I have this error:
Code: [Select]
sh /script/sysinfo
/script/sysinfo: line 6: lxphp.exe: command not found

I have uninstalled php52s.
Code: [Select]
https://ip:7777/
Kloxo-MR: error 503 found!

Code: [Select]
sh /script/restart-all
Shutting down MySQL. SUCCESS!
Starting MySQL. SUCCESS!
Zatrzymywanie named: .                                     [  OK  ]
Uruchamianie named:                                        [  OK  ]
Zatrzymywanie httpd:                                       [  OK  ]
Uruchamianie httpd:                                        [  OK  ]
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
Zatrzymywanie n.inx:                                       [  OK  ]
Uruchamianie nginx:                                        [  OK  ]
Stopping qmail-toaster: svscan qmail logging.
qmail-send: nie zabito ?adnego procesu
Starting qmail-toaster: svscan.
Zatrzymywanie xinetd:                                      [  OK  ]
Uruchamianie xinetd:                                       [  OK  ]
/etc/init.d/kloxo: line 43: lxphp.exe: command not found
Stopping kloxo-phpcgi:                                     [FAILED]
Starting kloxo-phpcgi:                                     [FAILED]
Stopping kloxo-hiawatha:                                   [  OK  ]
Starting kloxo-hiawatha:                                   [  OK  ]
Zatrzymywanie php-fpm:                                     [  OK  ]
Uruchamianie php-fpm:                                      [  OK  ]

Code: [Select]
yum install php52s
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
 * base: sunsite.icm.edu.pl
 * extras: sunsite.icm.edu.pl
 * mratwork-epel: mirrors.ircam.fr
 * mratwork-ius: mirrors.ircam.fr
 * updates: sunsite.icm.edu.pl
0 packages excluded due to repository protections
Setting up Install Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
--> Running transaction check
---> Package php52s.x86_64 0:5.2.17-12.mr.el5 will be installed
--> Processing Dependency: libmysqlclient.so.18(libmysqlclient_16.1)(64bit) for package: php52s-5.2.17-12.mr.el5.x86_64
--> Running transaction check
---> Package mysql55-libs.x86_64 0:5.5.36-1.ius.el6 will be installed
--> Processing Conflict: mysql55-libs-5.5.36-1.ius.el6.x86_64 conflicts mysql-libs < 5.5
--> Processing Conflict: mysql55-libs-5.5.36-1.ius.el6.x86_64 conflicts mysql-libs < 5.5
--> Finished Dependency Resolution
Error: mysql55-libs conflicts with MariaDB-shared-10.0.3-1.x86_64
Error: mysql55-libs conflicts with MariaDB-compat-10.0.3-1.x86_64
 You could try using --skip-broken to work around the problem
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
glibc-utils-2.12-1.132.el6.x86_64 has missing requires of libgd.so.2()(64bit)

How to install lxphp.exe?
Title: Re: Update Error
Post by: MRatWork on 2014-04-14, 06:49:33
This problem is because using MariaDB. Install latest php52s with dependencies to mysql55 (after CentAlt repo remove their mysql 5.5 in Centos 6).

Compile php need dependencies to mysql because php-mysql module need it.

For MariaDB (from MariaDB repo), the problem is not 'emulate' mysql perfectly (mariadb from CentAlt able 'emulate' perfectly.

Try, 'yum install php52s --skip-broken'. Alternatively, run 'sh /script/upcp -y' ('-y' mean force reinstall Kloxo-MR) where Kloxo-MR try to re-install like 'fresh install' without touch data (like kloxo database).
Title: Re: Update Error
Post by: Viking on 2014-04-14, 14:00:24
This problem is because using MariaDB. Install latest php52s with dependencies to mysql55 (after CentAlt repo remove their mysql 5.5 in Centos 6).

Compile php need dependencies to mysql because php-mysql module need it.

For MariaDB (from MariaDB repo), the problem is not 'emulate' mysql perfectly (mariadb from CentAlt able 'emulate' perfectly.

Try, 'yum install php52s --skip-broken'. Alternatively, run 'sh /script/upcp -y' ('-y' mean force reinstall Kloxo-MR) where Kloxo-MR try to re-install like 'fresh install' without touch data (like kloxo database).


Code: [Select]
yum install php52s --skip-broken
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
 * base: sunsite.icm.edu.pl
 * extras: sunsite.icm.edu.pl
 * mratwork-epel: mirrors.ircam.fr
 * mratwork-ius: mirrors.ircam.fr
 * updates: sunsite.icm.edu.pl
0 packages excluded due to repository protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php52s.x86_64 0:5.2.17-12.mr.el5 will be installed
--> Processing Dependency: libmysqlclient.so.18(libmysqlclient_16.1)(64bit) for package: php52s-5.2.17-12.mr.el5.x86_64
--> Running transaction check
---> Package mysql55-libs.x86_64 0:5.5.36-1.ius.el6 will be installed
--> Processing Conflict: mysql55-libs-5.5.36-1.ius.el6.x86_64 conflicts mysql-libs < 5.5
--> Processing Conflict: mysql55-libs-5.5.36-1.ius.el6.x86_64 conflicts mysql-libs < 5.5

Packages skipped because of dependency problems:
    mysql55-libs-5.5.36-1.ius.el6.x86_64 from mratwork-ius
    php52s-5.2.17-12.mr.el5.x86_64 from mratwork-release-version-arch

Code: [Select]
sh /script/upcp -y

sh /script/restart-all
Zatrzymywanie mysqld:                                      [  OK  ]
Uruchamianie mysqld:                                       [  OK  ]
Zatrzymywanie httpd:                                       [NIEUDANE]
Uruchamianie httpd: httpd: Syntax error on line 63 of /etc/httpd/conf/httpd.conf: Syntax error on line 3 of /etc/httpd/conf.d/rpaf.conf: Cannot load /etc/httpd/modules/mod_rpaf-2.0.so into server: /etc/httpd/modules/mod_rpaf-2.0.so: cannot open shared object file: No such file or directory
                                                           [NIEUDANE]
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
Zatrzymywanie n.inx:                                       [  OK  ]
Uruchamianie nginx:                                        [  OK  ]
Stopping qmail-toaster: svscan qmail logging.
Starting qmail-toaster: svscan.
Zatrzymywanie xinetd:                                      [  OK  ]
Uruchamianie xinetd:                                       [  OK  ]
Stopping kloxo-phpcgi:                                     [  OK  ]
Starting kloxo-phpcgi:                                     [  OK  ]
Stopping kloxo-hiawatha:                                   [  OK  ]
Starting kloxo-hiawatha:                                   [  OK  ]
Zatrzymywanie php-fpm:                                     [  OK  ]
Uruchamianie php-fpm:                                      [  OK  ]

Code: [Select]
sh /script/sysinfo

A. Kloxo-MR: 6.5.0.f-2014040701

B. OS: CentOS release 6.5 (Final) x86_64

C. Apps:
   1. MySQL: mysql55-5.5.36-1.ius.el6.x86_64
   2. PHP: php53u-5.3.28-2.ius.el6.x86_64
   3. Httpd: httpd-2.2.27-1.el6.x86_64
   4. Lighttpd: --uninstalled--
   5. Nginx: nginx-1.5.13-1.el6.x86_64
   6. Qmail: qmail-toaster-1.03-1.3.38.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.16.mr.el6.x86_64
   7. Dns: --uninstalled--

D. Php-type (for Httpd/proxy): mod_php_ruid2

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          2048        559       1488          0          0         43
   -/+ buffers/cache:        515       1532
   Swap:         2048          0       2048

Is it possible to change and use MariaDB?
Title: Re: Update Error
Post by: MRatWork on 2014-04-14, 14:59:02
No issue like this in Kloxo-MR 6.5.1 because different approach for installing php52s/php53s.

After your php52s already fixed, no problem convert back your mysql55 to MariaDB with 'sh /script/mysql-to-mariadb'.
Title: Re: Update Error
Post by: Viking on 2014-04-14, 15:41:20
No issue like this in Kloxo-MR 6.5.1 because different approach for installing php52s/php53s.

After your php52s already fixed, no problem convert back your mysql55 to MariaDB with 'sh /script/mysql-to-mariadb'.

I am using the stable version of Kloxo-MR: 6.5.0.f-2014040701
Version 6.5.1 is a beta.

Code: [Select]
yum list mariadb*
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
 * base: sunsite.icm.edu.pl
 * extras: sunsite.icm.edu.pl
 * mratwork-epel: mirrors.coreix.net
 * mratwork-ius: mirrors.ircam.fr
 * updates: mirror-pl.kielcetechnologypark.net
0 packages excluded due to repository protections
Available Packages
MariaDB-cassandra-engine.i686                    10.0.10-1.el6                    mratwork-mariadb
MariaDB-client.i686                              10.0.10-1.el6                    mratwork-mariadb
MariaDB-common.i686                              10.0.10-1.el6                    mratwork-mariadb
MariaDB-compat.i686                              10.0.10-1.el6                    mratwork-mariadb
MariaDB-connect-engine.i686                      10.0.10-1.el6                    mratwork-mariadb
MariaDB-devel.i686                               10.0.10-1.el6                    mratwork-mariadb
MariaDB-oqgraph-engine.i686                      10.0.10-1.el6                    mratwork-mariadb
MariaDB-server.i686                              10.0.10-1.el6                    mratwork-mariadb
MariaDB-shared.i686                              10.0.10-1.el6                    mratwork-mariadb
MariaDB-test.i686                                10.0.10-1.el6                    mratwork-mariadb

And where is the x86_64?
Is webmail horde has been removed?
Title: Re: Update Error
Post by: MRatWork on 2014-04-14, 16:32:33
Need modified /etc/yum.repos.d/mratwork.repo to enable/disable MariaDB.

Horde already remove because last version of 2.x version have security issue but higher version hard to make to rpm format.
Title: Re: Update Error
Post by: Viking on 2014-04-14, 16:51:10
Need modified /etc/yum.repos.d/mratwork.repo to enable/disable MariaDB.

Horde already remove because last version of 2.x version have security issue but higher version hard to make to rpm format.

Code: [Select]
yum list mariadb*
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
 * base: sunsite.icm.edu.pl
 * extras: sunsite.icm.edu.pl
 * mratwork-epel: mirrors.ircam.fr
 * mratwork-ius: mirrors.ircam.fr
 * updates: mirror-pl.kielcetechnologypark.net
0 packages excluded due to repository protections
Error: No matching Packages to list
Title: Re: Update Error
Post by: MRatWork on 2014-04-14, 17:21:30
Kloxo-MR possible using 2 branch of mariadb. One from centalt and other from mariadb.

Mariadb from centalt automatically from mysql to mariadb with 'yum replace mysql55 --replace-with=mariadb'. For mariadb from mariadb, need running 'sh /script/mysql-to-mariadb'.

Before switch to mariadb, need modified mratwork.repo because by default set as disable.
Title: Re: Update Error
Post by: Viking on 2014-04-14, 17:32:50
Kloxo-MR possible using 2 branch of mariadb. One from centalt and other from mariadb.

Mariadb from centalt automatically from mysql to mariadb with 'yum replace mysql55 --replace-with=mariadb'. For mariadb from mariadb, need running 'sh /script/mysql-to-mariadb'.

Before switch to mariadb, need modified mratwork.repo because by default set as disable.
OK. How do I modify it?
Title: Re: Update Error
Post by: MRatWork on 2014-04-14, 17:37:30
If you choose mariadb from mariadb, run 'sh /script/mysql-to-mariadb' and you will see instruction if mariadb not ready.
Title: Re: Update Error
Post by: Viking on 2014-04-14, 17:41:22
If you choose mariadb from mariadb, run 'sh /script/mysql-to-mariadb' and you will see instruction if mariadb not ready.

OK
phpMyAdmin inaction. How to fix?
Code: [Select]
phpMyAdmin PHP 5.3+ is required
Title: Re: Update Error
Post by: MRatWork on 2014-04-14, 17:53:26
Downgrade with 'yum downgrade kloxomr-thirdparty-phpmyadmin'.

Phpmyadmin 4.1.x need php 5.3+ but Kloxo-MR 6.5.0.f still using php52s.

Phpmyadmin 4.1.x running well in Kloxo-MR 6.5.1.b+ because already using php53s.
Title: Re: Update Error
Post by: Viking on 2014-04-14, 18:01:15
OK. Thank you.
If you find any errors I will write it here.
Title: Re: Update Error
Post by: Viking on 2014-04-14, 18:40:54
And how do the conversion from MySQL to MariaDB?
Is that so?
Code: [Select]
sh /script/mariadb-to-mysql
Title: Re: Update Error
Post by: MRatWork on 2014-04-15, 03:38:12
Yes for mariadb from MariaDB repo.