Update to RC10 breaks mysql-server install
-
@neodawg what’s in the installer error log for this? It should be under trunk/bin/error_logs/ and should show the version installed in the name of the file.
See the messages you’re showing appear to be from the init of MySQL, as the restart failed after you were out of the installer. This failure is before any performance updates are even called. So if you try installing mysql-server with:
yum -y --enablerepo=remi install mysql-server
and restart the service does it give the same error? I’m suspecting the remi install of the MySQL startup script is what’s doing this. Maybe it will be fixed tomorrow as well? This is definitely not something the installer has done from bad code on my side. If anything it’s only because I use the remi repo. -
@Tom-Elliott remi has been having some problems lately. I’ve actually been kicking around the idea of creating a fog repo for x86_64 and Arm, for debian and CentOS. Still looking into it and learning, but the idea is to provide exactly what fog needs, and any needed dependencies for those things. One repo for fog, based on os and cpu, from one place.
-
@Wayne-Workman The idea of our own repo is nice but damn near impossible to maintain. We would need a repo not only per arch but also for the different distributions fog installs on. This means a separate repo for debian/Ubuntu, red hat, fedora, and centos at a minimum and one for all those for at least 32 bit and 64 bit. If you’re going to do all that the maintaining of the installer script would be moot, but it puts a whole new level of complexity to the whole thing.
-
@Tom-Elliott yeah, a whole lot of work. I would automate it all. I ordered two nice core i5 towers that I plan to put to work, this could be one of the tasks for one of them. And as far as the installer goes, I’d vote not to change it. The idea is to use said repo to install needed stuff before hand so that at least stuff is installed.
-
Can you try installing again @neodawg
-
I have the same problem as @neodawg
Currently setting up an new FOG-Server, and it fails everytime on Mysql…RC10 from trunk
CentOS 6.8
rev 5955 -
@ludeeus like I said, this has nothing to do with rc10, it’s a repo issue. I can’t get to my dev systems right now but can you edit the file in trunk/lib/red hat/config.sh
Remove the
--enablerepo=remi,remi-php56
from the package lines throughout the file? -
@Tom-Elliott correction change line 20of the file to just use epel
-
Just ran into the same issue in the OP. Plus a ton of other packages didn’t install as well.
@Tom-Elliott Remi RPM isn’t getting installed for whatever reason during the installer run, or the installer is not using it to install packages for whatever reason. It could be due to version changes. I.E. Remi rpm PHP is now on version 7.0.10
The solution I’ve done is just to manually install the remi rpm and then simply enable it perminantly. Steps for CentOS/Fedora/RHEL can be found with the configuration wizard here:
http://rpms.famillecollet.com/- Choose configuration wizard,
- Select your OS
- Pick PHP 7.0.x
- pick Single Version
- follow steps displayed to install remi rpm and to enable it. CentOS/RHEL will also display steps for installing the epel rpm, which you should do if you’re on one of those.
After that, install all the packages FOG needs (on Fedora) with:
dnf install bc curl gcc gcc-c++ gzip httpd lftp m4 make mariadb mariadb-server mod_ssl net-tools nfs-utils php php-bcmath php-cli php-common php-fpm php-gd php-mbstring php-mcrypt php-mysqlnd php-process tar tftp-server vsftpd wget xinetd
The packages needed is listed in the installer. If you’re on something besides Fedora, the installer may list other things, just copy those and change the above command with them.
or
yum
instead ofdnf
if you’re on CentOS or RHEL. Then run the fog installer and it should work. -
This can be marked as solved.
Commenting out the lines on the file fixed it for me.
Reference:
https://forums.fogproject.org/topic/8576/upgrade-1-2-1-3-rc10-error-mysql/2 -
https://forums.fogproject.org/topic/8758/fog-installation-error-cannot-restart-mysql/9#
I’ve found and fixed the cause of the commenting randomly appearing.