Skip navigation links

MySQL Forums :: Install & Repo :: SLES 11 SP2 or kernel 3.x


Advanced Search

SLES 11 SP2 or kernel 3.x
Posted by: Juerg Brandenberger ()
Date: December 04, 2012 02:41AM

MySQL cannot be installed on SLES 11 SP2!

After upgrade (new installation of SLES 11 SP2 (Linux Kernel 3.0.x) MySQL doesen't run any more on SLES. This is true for the version 5.0.x included within the SLES 11 SP2 and for MySQL 5.5.28 for SLES and for generic Linux. MySQL is apparently built for Linux Kernel 2.6 only. But Versions of 3.x are out for a long time now. So long, that even SLES 11 SP2 is based on the 3.0.x Kernel!
Are solutions out there to bring MySQL, any version 5.x, to operate on the newer Linux Kernels? What can be done to run MySQL on those Linux versions? Version 5.5.28 even complains during installation of the rpm. All tried versions complains not being able to find, (to construct) the socket within /var/lib/mysql!


Installation messages:
spica:/home/sw_upgrd/export/mysql # uname26 rpm -aid MySQL-server-5.5.28-1.sles11.x86_64.rpm
ls: cannot access /var/lib/mysql/*.err: No such file or directory
ls: cannot access /var/lib/mysql/*.err: No such file or directory
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: Service network is missed in the runlevels 4 to use service mysql
mysql 0:off 1:off 2:on 3:on 4:on 5:on 6:off

Problem resolved!
During the installation of SLES11 SP2, the LSB (Linux Standard Base) has not been installed. Of course it has not been deselected intentionally. So the reason why it was not installed is unknown. - Eventually due to use of the new btrfs instead of a more classic fs? - Anyway, even on installing the SLES included MySQL-Server V5.0.xx from YAST the dependency checks failed and SLB was not installed as a dependency! After manual installation of LSB. The installation ran error free and even MySQL 5.5.28 is now running correctly on SLES.

Lessons learned:
Installation of SLES11 SP2 from scratch is not free of issues and not every thing required is installed as it should.
MySQL error messages on installation w.r.t. LSB could be improved. It was not evident at all to find out, LSB was missing completely!



Edited 4 time(s). Last edit at 12/17/2012 02:46AM by Juerg Brandenberger.

Options: ReplyQuote


Subject Written By Posted
SLES 11 SP2 or kernel 3.x Juerg Brandenberger 12/04/2012 02:41AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.