https://bugs.contribs.org/show_bug.cgi?id=10159

--- Comment #6 from Jean-Philippe Pialasse <[email protected]> ---
(In reply to Philippe Desrosiers from comment #5)
> Installed as per wiki, no problem.
> 
> Try to start service manually with "service mysql57-mysqld start" without
> success.

Hi Philippe,
first sorry to hear that.

you should not try to start it yourself or you will have a failed installation,
you should do as stated:

signal-event post-upgrade
signal-event reboot



(In reply to Philippe Desrosiers from comment #5)
> 2) when using this command line get
> /opt/rh/rh-mysql57/root/usr/libexec/mysqld: error while loading shared
> libraries: liblz4.so.rh-mysql57-1: cannot open shared object file: No such
> file or directory
> 

this is the user friendly way of RH saying  rh-mysql57 software collection has
not been enabled.....(because mysql57 supervised service is not running)
Yes, I understand why you are puzzled ;)



=============
clean sme9.1, up to date.

#/sbin/e-smith/db yum_repositories set centos-sclo-rh repository \
Name 'Centos - RH Software Collections' \
BaseURL 'http://mirror.centos.org/centos/$releasever/sclo/$basearch/rh/' \
EnableGroups no \
Visible yes \
status disabled 
#signal-event yum-modify
yum install --enablerepo=smecontribs,centos-sclo-rh smeserver-mysql57
Installed:
  smeserver-mysql57.noarch 0:2.0.0-9.el6.sme                                    

Dependency Installed:
  audit-libs-python.x86_64 0:2.4.5-3.el6                 libcgroup.x86_64
0:0.40.rc1-18.el6_8               libselinux-python.x86_64 0:2.0.94-7.el6      
     libsemanage-python.x86_64 0:2.0.43-5.1.el6        
  policycoreutils-python.x86_64 0:2.0.83-30.1.el6_8      rh-mysql57.x86_64
0:2.3-3.el6                      rh-mysql57-lz4.x86_64 0:r131-5.el6            
    rh-mysql57-mecab.x86_64 0:0.996-1.el6.8           
  rh-mysql57-mysql.x86_64 0:5.7.16-1.el6                
rh-mysql57-mysql-common.x86_64 0:5.7.16-1.el6     
rh-mysql57-mysql-config.x86_64 0:5.7.16-1.el6     
rh-mysql57-mysql-errmsg.x86_64 0:5.7.16-1.el6     
  rh-mysql57-mysql-server.x86_64 0:5.7.16-1.el6         
rh-mysql57-runtime.x86_64 0:2.3-3.el6              scl-utils.x86_64
0:20120927-27.el6_6               setools-libs.x86_64 0:3.3.7-4.el6             
  setools-libs-python.x86_64 0:3.3.7-4.el6              

Complete!
#signal-event post-upgrade; signal-event reboot
Broadcast message from root@sme9x64
        (/dev/pts/0) at 23:04 ...

The system is going down for reboot NOW!
logout
Connection to 192.168.8.49 closed.

Last login: Wed Mar 29 22:57:06 2017 from pc-00200.tests.canada.pialasse.com
# mysql57
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.7.16 MySQL Community Server (GPL)

Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> 

works for me


**************
if you did not issued the post-upgrade AND reboot the only workaround I can see
to help you out would be :

rm /opt/rh/rh-mysql57/root/var/lib/mysql/mysql/user.frm
signal-event post-upgrade ; signal-event reboot

but do this only if you never used the database or you will lose all the
mysql57 db server content.

if it did not work, try this

rm -rf /opt/rh/rh-mysql57/root/var/lib/mysql/*
signal-event post-upgrade ; signal-event reboot

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to