Project

General

Profile

Actions

Bug #4900

open

Installation using centosAutoInstallation.py fails at mysqld step

Added by Ardean Leith over 7 years ago. Updated over 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
04/12/2017
Due date:
% Done:

0%

Estimated time:
Affected Version:
Appion/Leginon 3.2
Show in known bugs:
No
Workaround:

Description

Installation using centosAutoInstallation.py fails at mysqld step

.
.
.
.
.
.yum -y install mysql-server php php-mysql

Please wait......(This may take a few minutes.)

Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile * base: bay.uchicago.edu * extras: mirror.cs.pitt.edu * updates: mirrors.arsc.edu
No package mysql-server available.
Package php-5.4.16-42.el7.x86_64 already installed and latest version
Package php-mysql-5.4.16-42.el7.x86_64 already installed and latest version
Nothing to do

/sbin/chkconfig mysqld on

Please wait......(This may take a few minutes.)

error reading information on service mysqld: No such file or directory
/sbin/service mysqld stop

Please wait......(This may take a few minutes.)

Redirecting to /bin/systemctl stop mysqld.service
Failed to stop mysqld.service: Unit mysqld.service not loaded.
sh: mysqld_safe: command not found
sh: mysqladmin: command not found
sh: mysqladmin: command not found
.
.
.
------------------------------------------------------------------------

I believe that there are two problems here.

Most recent Centos has changed to 'systemd' or some such
change that affects how system components are activated.

Centos also has name change on parts of mysql database to
'mariadb' and that needs a different activation syntax.

I suspect that your centosAutoInstallation.py script should be
updated to allow simple use with current Centos release.

I'll probably figure out a work-around but it would be helpfull to
other users also.

Thanks
Dean Leith

Actions #1

Updated by Anchi Cheng over 7 years ago

Thanks for the bug report.

What is the CentOS version ?

Actions

Also available in: Atom PDF