hello i installed centmin on a new vps my problem is that if i run in ssh "mysql" or "mysqladmin" i get --command not found-- and if i try to update mariaDB i get Code: file: file://///etc/yum.repos.d/centalt.repo, line 1 'exclude=mariadb*\n'
which version of centmin mod and where did you download it from ? from centminmod.com or from github.com ? reason is centalt.repo should now be disabled by default on .07 stable and .08 betas as centalt is no longer in use as the repo is broken so the file shouldn't exist if it doesn't it probably prevented MariaDB from installing, so best to do a fresh CentOS OS reload, and install again
i installed through centminmod.com Code: yum -y install bc wget unzip nano yum-plugin-fastestmirror cd /usr/local/src wget http://centminmod.com/download/centmin-v1.2.3-eva2000.07.zip edit i reinstalled OS and centmin at the end of centmin isntallation i get Code: inc/mysqlsecure.inc: line 7: mysql: command not found inc/mysqlsecure.inc: line 8: mysql: command not found inc/mysqlsecure.inc: line 9: mysql: command not found inc/mysqlsecure.inc: line 10: mysql: command not found
additional to the above at the end of installation it says that Code: mysql root user password set etc *MariaDB security setup completed[ but when i try to run "mysql" or "mysqladmin" i get --command not found--
as per How to troubleshoot Centmin Mod initial install issues | Centmin Mod Community what does install log say.. use pastebin or gist to post the log
you can see the install log here https://gist.githubusercontent.com/anonymous/cf9bde9705f288a69a4c/raw/gistfile1.txt
EPEL yum repository failed to download/install which prevented MariaDB's YUM repo further down the track from installing too Code: [1;32;40m* CentOS 6.x detected installing EPEL Repo (B[m************************************************* Error: epel-release-6-8.noarch.rpm not found !!! Download now...... 2015-01-29 04:34:20 URL:http://mirror.sfo12.us.leaseweb.net/epel/6/i386/epel-release-6-8.noarch.rpm [14540/14540] -> "epel-release-6-8.noarch.rpm" [1] [1;33;40mDownload done. (B[mError: Cannot retrieve metalink for repository: epel. Please verify its path and try again [1;32;40mError: problem with epel-release-6-8.noarch.rpm install. (B[m Code: MariaDB 5.5 YUM install... yum -q -y --disableplugin=fastestmirror,downloadonly install MariaDB-client MariaDB-common MariaDB-compat MariaDB-devel MariaDB-server MariaDB-shared Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again Centmin Mod .08 betas fixed the MariaDB failure by preventing EPEL's failure from affecting MariaDB install centminmod/mariadb_install.inc at 123.08centos7beta01 · centminmod/centminmod · GitHub but .07 stable doesn't have that work around. But still root problem is EPEL yum repo failed and that is relied upon by other installed software. So will need to investigate why, could be just the mirror that EPEL serves to you is down. btw who's the web host for server ?
so if i reinstall OS and install EPEL Repository prior to centmin installation do you think i will not be having this problem?
Just made an update to all .07 and .08 betas to ensure ca-certificates are updated as that is another reason for epel failures linux - EPEL Repo for CentOS 6 causing error - Server Fault Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again on 0.5.2 · Issue #16 · chef-cookbooks/yum-epel · GitHub
problem solved i also run this command so the repo will be added without https but with http Code: sudo sed -i "s/mirrorlist=https/mirrorlist=http/" /etc/yum.repos.d/epel.repo