MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: johnnyto1979 on 2014-04-15, 14:20:17

Title: Update problem
Post by: johnnyto1979 on 2014-04-15, 14:20:17
Hi. a solution for

Transaction Check Error:
  file /etc/my.cnf from install of mysql55-libs-5.5.37-1.ius.el6.i686 conflicts with file from package mysql-libs-5.5.34-1.el6.i686
  file /usr/lib/mysql/libmysqlclient.so.18.0.0 from install of mysql55-libs-5.5.37-1.ius.el6.i686 conflicts with file from package mysql-libs-5.5.34-1.el6.i686
  file /usr/share/mysql/charsets/Index.xml from install of mysql55-libs-5.5.37-1.ius.el6.i686 conflicts with file from package mysql-libs-5.5.34-1.el6.i686
  file /usr/share/mysql/charsets/armscii8.xml from install of mysql55-libs-5.5.37-1.ius.el6.i686 conflicts with file from package mysql-libs-5.5.34-1.el6.i686
  file /usr/share/mysql/charsets/ascii.xml from install of mysql55-libs-5.5.37-1.ius.el6.i686 conflicts with file from package mysql-libs-5.5.34-1.el6.i686
  file /usr/share/mysql/charsets/cp1250.xml from install of mysql55-libs-5.5.37-1.ius.el6.i686 conflicts with file from package mysql-libs-5.5.34-1.el6.i686
  file /usr/share/mysql/charsets/cp1256.xml from install of mysql55-libs-5.5.37-1.ius.el6.i686 conflicts with file from package mysql-libs-5.5.34-1.el6.i686
  file /usr/share/mysql/charsets/cp1257.xml from install of mysql55-libs-5.5.37-1.ius.el6.i686 conflicts with file from package mysql-libs-5.5.34-1.el6.i686
  file /usr/share/mysql/charsets/cp850.xml from install of mysql55-libs-5.5.37-1.ius.el6.i686 conflicts with file from package mysql-libs-5.5.34-1.el6.i686
  file /usr/share/mysql/charsets/cp852.xml from install of mysql55-libs-5.5.37-1.ius.el6.i686 conflicts with file from package mysql-libs-5.5.34-1.el6.i686
  file /usr/share/mysql/charsets/cp866.xml from install of mysql55-libs-5.5.37-1.ius.el6.i686 conflicts with file from package mysql-libs-5.5.34-1.el6.i686
  file /usr/share/mysql/charsets/dec8.xml from install of mysql55-libs-5.5.37-1.ius.el6.i686 conflicts with file from package mysql-libs-5.5.34-1.el6.i686
  file /usr/share/mysql/charsets/geostd8.xml from install of mysql55-libs-5.5.37-1.ius.el6.i686 conflicts with file from package mysql-libs-5.5.34-1.el6.i686
  file /usr/share/mysql/charsets/greek.xml from install of mysql55-libs-5.5.37-1.ius.el6.i686 conflicts with file from package mysql-libs-5.5.34-1.el6.i686
  file /usr/share/mysql/charsets/hebrew.xml from install of mysql55-libs-5.5.37-1.ius.el6.i686 conflicts with file from package mysql-libs-5.5.34-1.el6.i686
  file /usr/share/mysql/charsets/hp8.xml from install of mysql55-libs-5.5.37-1.ius.el6.i686 conflicts with file from package mysql-libs-5.5.34-1.el6.i686
  file /usr/share/mysql/charsets/keybcs2.xml from install of mysql55-libs-5.5.37-1.ius.el6.i686 conflicts with file from package mysql-libs-5.5.34-1.el6.i686
  file /usr/share/mysql/charsets/koi8r.xml from install of mysql55-libs-5.5.37-1.ius.el6.i686 conflicts with file from package mysql-libs-5.5.34-1.el6.i686
  file /usr/share/mysql/charsets/koi8u.xml from install of mysql55-libs-5.5.37-1.ius.el6.i686 conflicts with file from package mysql-libs-5.5.34-1.el6.i686
  file /usr/share/mysql/charsets/latin1.xml from install of mysql55-libs-5.5.37-1.ius.el6.i686 conflicts with file from package mysql-libs-5.5.34-1.el6.i686
  file /usr/share/mysql/charsets/latin2.xml from install of mysql55-libs-5.5.37-1.ius.el6.i686 conflicts with file from package mysql-libs-5.5.34-1.el6.i686
  file /usr/share/mysql/charsets/latin5.xml from install of mysql55-libs-5.5.37-1.ius.el6.i686 conflicts with file from package mysql-libs-5.5.34-1.el6.i686
  file /usr/share/mysql/charsets/latin7.xml from install of mysql55-libs-5.5.37-1.ius.el6.i686 conflicts with file from package mysql-libs-5.5.34-1.el6.i686
  file /usr/share/mysql/charsets/macce.xml from install of mysql55-libs-5.5.37-1.ius.el6.i686 conflicts with file from package mysql-libs-5.5.34-1.el6.i686
  file /usr/share/mysql/charsets/macroman.xml from install of mysql55-libs-5.5.37-1.ius.el6.i686 conflicts with file from package mysql-libs-5.5.34-1.el6.i686
  file /usr/share/mysql/charsets/swe7.xml from install of mysql55-libs-5.5.37-1.ius.el6.i686 conflicts with file from package mysql-libs-5.5.34-1.el6.i686

Error Summary

yum update ?

I have already mysql 5 instaled
and my kloxo ver is  6.5.0.f-2014013101
I tried with this tutorial
https://github.com/mustafaramadhan/kloxo/blob/dev/how-to-install.txt
if you can pls .. give me an solution.
Many Thanks.


I edited ius rep
excluded mysql * and worked.
Title: Re: Update problem
Post by: MRatWork on 2014-04-15, 14:42:24
Run 'yum replace mysql --replace-with=mysql55' first.
Title: Re: Update problem
Post by: johnnyto1979 on 2014-04-15, 15:18:01
How to upgrade from  kloxomr-6.5.0.f-2014040701.mr.noarch.rpm  to last 6.5.1
I tried some guides .. didn't work.
Thanks.
Title: Re: Update problem
Post by: MRatWork on 2014-04-15, 15:20:26
Run 'yum replace mratwork-release --replace-with=mratwork-testing' and then run 'yum update'. Because update from 6.5.0, run 'sh /script/upcp'.
Title: Re: Update problem
Post by: johnnyto1979 on 2014-04-15, 15:30:28
I Stress you out a bit.
usr/bin/lxphp.exe: line 10: /opt/php53s/usr/bin/php: No such file or directory
/usr/bin/lxphp.exe: line 10: exec: /opt/php53s/usr/bin/php: cannot execute: No such file or directory

so i tried to install
sh /script/php53s-installer
=== BEGIN 'php53s' (2014/04/15 16:27:13) install ===
Error: No matching Packages to list
Error: No matching Packages to list
- No PHP packages exists. Only detecting 'php53u' and 'php53'. Exit

I what repos can i find php53s
Title: Re: Update problem
Post by: MRatWork on 2014-04-15, 15:42:28
It's weird because 'new' php53s using php53u or php53 if exists.

Inform here 'yum list php*'.
Title: Re: Update problem
Post by: johnnyto1979 on 2014-04-15, 15:47:56
I have installed with yum install php53s php-fpm
And I still get this error Starting kloxo-phpcgi: /usr/local/lxlabs/kloxo/init/kloxo-phpcgi: line 10: /opt/php53s/usr/sbin/php-fpm: No such file or directory
and Execute fixlxphpexe for php53s...
sh: /usr/bin/rpm: No such file or directory
sh: /usr/bin/rpm: No such file or directory


Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
 * base: centos.mirrors.linux.ro
 * extras: centos.mirrors.linux.ro
 * mratwork-epel: fedora.mirrors.romtelecom.ro
 * mratwork-ius: download.srv.ro
 * updates: mirrors.ch-center.com
0 packages excluded due to repository protections
Available Packages
php.i686                                                                    5.3.3-27.el6_5 

Title: Re: Update problem
Post by: johnnyto1979 on 2014-04-15, 15:54:22
so I make
mkdir /opt/php53s/usr/sbin/
ln -s /usr/sbin/php-fpm /opt/php53s/usr/sbin/php-fpm

I get
Starting xinetd:                                           [  OK  ]
sh: /usr/bin/rpm: No such file or directory
accesing cpanel
Fatal error: Class 'mysqli' not found in /usr/local/lxlabs/kloxo/httpdocs/lib/php/sqlitelib.php on line 59
ln -s /bin/rpm /usr/bin/rpm


Title: Re: Update problem
Post by: MRatWork on 2014-04-15, 17:19:43
Php53s using their php-fpm not using php-fpm from standard php. So, use 'ln' may trouble rather than solution.

Remember, the 'new' php53s must installing via 'sh /script/php53s-installer' rather than 'yum install php53s'.
Title: Re: Update problem
Post by: icycafe on 2014-04-15, 18:56:58
This error occurs because your current version of mysql is 5.5.34.

The package php52s requires only mysql-libs 5.5.37. mysql-libs 5.5.37 will conflict with other parts of mysql since they are just 5.5.34

It's weird that MRatWork or whoever in charge prevents yum to update mysql. This problem will be solved simply by letting yum to update mysql to latest version whenever there's a new version available.
Title: Re: Update problem
Post by: johnnyto1979 on 2014-04-15, 19:38:08
I made that  'yum replace mysql --replace-with=mysql55' first.
worked very well and when i tried
sh /script/php53s-installer

I received this error
=== BEGIN 'php53s' (2014/04/15 16:27:13) install ===
Error: No matching Packages to list
Error: No matching Packages to list
- No PHP packages exists. Only detecting 'php53u' and 'php53'. Exit

so I tried a way around .. but FAIL.


Title: Re: Update problem
Post by: MRatWork on 2014-04-15, 19:54:54
Inform here 'yum list php*'.
Title: Re: Update problem
Post by: johnnyto1979 on 2014-04-16, 06:07:53
I have restored my backup with previous settings
so now I have

Linux ns1.xxxxx.xx 2.6.32-042stab081.3 #1 SMP Mon Sep 9 19:55:30 MSK 2013 i686 i686 i386 GNU/Linux
A. Kloxo-MR: 6.5.0.f-2014013101

B. OS: CentOS release 6.5 (Final) i686

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

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

--------------------------------------------------------------------------------------------
I made mysql replace WARNING: Unable to resolve all providers: ['libmysqlclient.so.18(libmysqlclient_18)', 'mysql-libs(x86-32)', 'mysql-client', 'mysql(x86-32)', 'libpinba_engine.so.0', 'mysql-server(x86-32)']

yum replace mratwork-release --replace-with=mratwork-testing
some errors
WARNING: Unable to resolve all providers: ['config(mratwork-release)', 'mratwork-release']

yum update
and  then .. how do you have said  Because update from 6.5.0, run 'sh /script/upcp


Execute fixlxphpexe for php53s...
/usr/bin/lxphp.exe: line 10: /opt/php53s/usr/bin/php: No such file or directory
/usr/bin/lxphp.exe: line 10: exec: /opt/php53s/usr/bin/php: cannot execute: No such file or directory


yum php list

php.i686                                                                    5.3.3-27.el6_5                                                                     updates

I attasched - all update stuff.

cpanel doesn't work
Fatal error: Class 'mysqli' not found in /usr/local/lxlabs/kloxo/httpdocs/lib/php/sqlitelib.php on line 59
Title: Re: Update problem
Post by: MRatWork on 2014-04-16, 06:18:41
Try 'yum clean all; sh /script/php53s-installer'. Your panel will be not work until 'new' php53s installed.

I found an issue related to yum in centos 6. Kloxo-MR update and install phpm from panel not work. But, nothing problem from ssh.
Title: Re: Update problem
Post by: johnnyto1979 on 2014-04-16, 06:35:53
 yum clean all
Loaded plugins: fastestmirror, priorities, protectbase, replace
Cleaning repos: base extras mratwork-centalt mratwork-epel mratwork-google-mod-pagespeed mratwork-ius mratwork-litespeed mratwork-litespeed-update
              : mratwork-release-neutral-noarch mratwork-release-version-arch mratwork-testing-neutral-noarch mratwork-testing-version-arch mratwork-varnish-3.0
              : updates vz-base vz-updates
Cleaning up Everything
Cleaning up list of fastest mirrors
[root@ns1 script]# sh php53s-installer
=== BEGIN 'php53s' (2014/04/16 07:30:36) install ===
Error: No matching Packages to list
Error: No matching Packages to list
- No PHP packages exists. Only detecting 'php53u' and 'php53'. Exit


yum list php
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
 * base: mirrors.ch-center.com
 * extras: mirrors.ch-center.com
 * mratwork-epel: ftp.ines.lug.ro
 * mratwork-ius: download.srv.ro
 * updates: mirrors.ch-center.com
0 packages excluded due to repository protections
Available Packages
php.i686                                                                    5.3.3-27.el6_5                                                                     updates

I tried an sh cleanup... maybe this had uninstall php53s?
Title: Re: Update problem
Post by: MRatWork on 2014-04-16, 07:01:01
If it's fresh install, try using centos 5 (32 or 64bit).
Title: Re: Update problem
Post by: johnnyto1979 on 2014-04-16, 14:03:31
Is not a fresh install and I don't want to downgrade.
Is an install guide / upgrade from older version to the last one.
6.5.1 is stable one ?

From this version
what are the required steps? for  UPDATE

A. Kloxo-MR: 6.5.0.f-2014013101
B. OS: CentOS release 6.5 (Final) x86_64
C. Apps:
   1. MySQL: mysql-5.5.34-1.el6.x86_64
   2. PHP: php53u-5.3.28-1.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: bind-9.9.5-1.el6.x86_64
D. Php-type (for Httpd/proxy): mod_php_ruid2
- Steps

1. yum clean all . yum replace mysql --replace-with=mysql55
2. yum clean all.  yum update?
3. yum replace mratwork-release --replace-with=mratwork-testing
? sh /script/sh /script/php53s-installer  ??

4. yum update
5. sh /script/upcp ? or sh /script/cleanup (cleanup remove php53s)


Thanks for your time
Title: Re: Update problem
Post by: MRatWork on 2014-04-16, 14:11:33
Kloxo-MR 6.5.0.f still using php52s (special php 5.2 for panel). It's different with 6.5.1 because already using php53s (use 'standard' php53u with 'special' trick to setup in latest version; early version using special php53s).
Title: Re: Update problem
Post by: johnnyto1979 on 2014-04-18, 06:29:28
Hi Again.
I followed your guide.
and all was k bis here,.
yum clean all
yum replace mysql --replace-with=mysql55
chkconfig mysqld on
yum clean all
yum update php52s
yum install php52s
sh /script/restart-all
sh /script/cleanup
sh /script/restart-all


cd /
rm -f *.rpm
yum clean all
yum replace mratwork-release --replace-with=mratwork-testing
yum update kloxomr
sh /script/php53s-installer
sh /script/fixlxphpexe php53s
sh /script/restart-all
6.5.1.b-2014041704

then if i try an ucpc or cleanup
I get many missing php moduls
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/imap.so' - /usr/lib/php/modules/imap.so: cannot open shared object file: No such file or directory in Unknown on line 0

But many
Title: Re: Update problem
Post by: MRatWork on 2014-04-18, 06:32:46
Update your kloxomr with 'yum update kloxomr' and then run 'php53s-installer'. Or try 'sh /script/upcp'.
Title: Re: Update problem
Post by: johnnyto1979 on 2014-04-18, 10:29:27
I tried what you have said, but no success.
i tried cp /opt/php53s/usr/lib/php/modules/*  /usr/lib/php/modules/
and then sh upcp .. worked, no error
but my website not working  "Internal Server Error"
nginx say 2014/04/18 11:24:20 [crit] 9358#0: *1 openat() "/home/admin/site.xx/" failed (13: Permission denied), client: 178.115.131.17, server: site.xx, request: "GET / HTTP/1.1", host: "site.xx"
Permission denied. why?
I run fix-chmodchown - same stuff
Title: Re: Update problem
Post by: MRatWork on 2014-04-18, 10:43:06
I think you wrong for copy of /opt/php53s/usr/lib/php/modules/*  to /usr/lib/php/modules/.

Your problem is php53s and not php-branch  where Kloxo-MR panel using php53s instead php-branch for access panel.

Ok, inform here:
Code: [Select]
yum list installed php* mysql*
cat /usr/local/lxlabs/kloxo/bin/kloxoversion
Title: Re: Update problem
Post by: johnnyto1979 on 2014-04-18, 11:00:50
I created an subdomain .. and this work..


Loading mirror speeds from cached hostfile
 * base: mirrors.biztelecom.ro
 * extras: mirrors.xservers.ro
 * mratwork-epel: ftp.ines.lug.ro
 * mratwork-ius: download.srv.ro
 * updates: mirrors.xservers.ro
0 packages excluded due to repository protections
Installed Packages
mysql55.i686                                                                                                      5.5.37-1.ius.el6                                                                                            @mratwork-ius
mysql55-libs.i686                                                                                                 5.5.37-1.ius.el6                                                                                            @mratwork-ius
mysql55-server.i686                                                                                               5.5.37-1.ius.el6                                                                                            @mratwork-ius
mysqlclient16.i686                                                                                                5.1.61-4.ius.el6                                                                                            @kloxo-mr-ius
php53u.i686                                                                                                       5.3.28-2.ius.el6                                                                                            @mratwork-ius
php53u-bcmath.i686                                                                                                5.3.28-2.ius.el6                                                                                            @mratwork-ius
php53u-cli.i686                                                                                                   5.3.28-2.ius.el6                                                                                            @mratwork-ius
php53u-common.i686                                                                                                5.3.28-2.ius.el6                                                                                            @mratwork-ius
php53u-fpm.i686                                                                                                   5.3.28-2.ius.el6                                                                                            @mratwork-ius
php53u-gd.i686                                                                                                    5.3.28-2.ius.el6                                                                                            @mratwork-ius
php53u-mbstring.i686                                                                                              5.3.28-2.ius.el6                                                                                            @mratwork-ius
php53u-mcrypt.i686                                                                                                5.3.28-2.ius.el6                                                                                            @mratwork-ius
php53u-mysql.i686                                                                                                 5.3.28-2.ius.el6                                                                                            @mratwork-ius
php53u-pdo.i686                                                                                                   5.3.28-2.ius.el6                                                                                            @mratwork-ius
php53u-pear.noarch                                                                                                1:1.9.4-3.ius.el6                                                                                           @kloxo-mr-ius
php53u-pecl-geoip.i686                                                                                            1.0.8-1.ius.el6                                                                                             @kloxo-mr-ius
php53u-pecl-imagick.i686                                                                                          3.1.2-1.ius.el6                                                                                             @kloxo-mr-ius
php53u-pgsql.i686                                                                                                 5.3.28-2.ius.el6                                                                                            @mratwork-ius
php53u-xml.i686                                 

version 6.5.1.b-2014041802
Title: Re: Update problem
Post by: Kloxo-DR on 2014-04-18, 11:06:34
Hi,

If you do not need to update mysql, let it remain.

Just make an update of kloxo and be happy:

yum update kloxomr
sh /script/cleanup

And then you are done. Updating kloxomr is much more important than getting and resolving the mysql problems.

Kloxo-MR 6.5.1 will trouble you even more. Of course no one stops you from beta testing.
Title: Re: Update problem
Post by: johnnyto1979 on 2014-04-18, 11:07:56
I think is a problem with some conf nginx
I deleted an domain and recreate. and works.
But the rest i cannot delete :)
Title: Re: Update problem
Post by: Kloxo-DR on 2014-04-18, 11:16:52
To solve problem of nginx conf files:

You could change the webserver in admin from nginx to apache. Then it will create all conf files for apache.

Thereafter, change from admin apache ---> nginx. Then it will recreate all conf files for nginx.
Title: Re: Update problem
Post by: johnnyto1979 on 2014-04-18, 11:30:19
Conf files are ok .. are the same ..
I changed to php-fpm-event.. and works....
Thanks.. Thanks...