Get the most out of your Centmin Mod LEMP stack
Become a Member

Install Mysql Not installed

Discussion in 'Install & Upgrades or Pre-Install Questions' started by abakisensoy, Dec 2, 2016.

  1. abakisensoy

    abakisensoy Member

    33
    2
    8
    Dec 2, 2016
    Ratings:
    +2
    Local Time:
    5:23 AM
    latest
    5.5
    Hi;

    i just made a fresh install Centos 7 and centminmod both of them are latest build.

    When i check mysql i got this :

    >> cd /var/lib/mysql
    -bash: cd: /var/lib/mysql: No such file or directory

    >>service mysql restart
    Redirecting to /bin/systemctl restart mysql.service
    Failed to restart mysql.service: Unit mysql.service failed to load: No such file or directory.

    any idea ?
     
  2. eva2000

    eva2000 Administrator Staff Member

    29,016
    6,584
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,774
    Local Time:
    5:23 AM
    Nginx 1.13.x
    MariaDB 5.5
    You'll need to post on the forums with the following info
    • Server or VPS details ? XEN, KVM, OpenVZ, VMWare or dedicated server ? OS ? CentOS 6.7 or 7.2 ? 32bit or 64bit ?
    • What version of Centmin Mod ? .07 stable or 08 stable or .09 beta01 or another branch version ?
    • Was it fresh install or upgrade ?
    • Method of install ? Via centmin.sh menu option 1, Git install or curl one liner install as outlined at centminmod.com/download.html ?
    • How long ago did you install Centmin Mod ?
    • There's numerous code changes, bug fixes over time, so ensure you have latest Centmin Mod code installed by upgrading your Centmin Mod code as instructed below.

    Troubleshooting Initial Install



    To troubleshoot initial installation, you need to check the initial install log at /root/centminlogs and instructions under Sharing logs and errors heading for using Pastebin.com or Gists to share a sanitised version of the contents of the initial install log. You can see full details at How to troubleshoot Centmin Mod initial install issues

    Example list /root/centminlogs files in date ascending order and grep for install.log
    Code (Text):
    ls -lahrt /root/centminlogs | grep install.log
    

    example output returns install log at /root/centminlogs/centminmod_1.2.3-eva2000.09.001_111016-112321_install.log
    Code (Text):
    ls -lahrt /root/centminlogs | grep install.log
    -rw-r--r--  1 root root 2.2M Oct 11 01:40 centminmod_1.2.3-eva2000.09.001_111016-112321_install.log
    

    in SSH use cat to ouput contents of /root/centminlogs/centminmod_1.2.3-eva2000.09.001_111016-112321_install.log. Clear your SSH client window/buffer so only output is the contents of the file
    Code (Text):
    cat /root/centminlogs/centminmod_1.2.3-eva2000.09.001_111016-112321_install.log
    

    Then copy and paste into Pastebin.com or Gists entry. If your SSH window scroll buffer isn't that large to get the whole contents of the install log, you can download file manually and copy and paste contents. But makes sure it's sanitised version of the contents of the initial install log as outlined at How to troubleshoot Centmin Mod initial install issues
     
  3. hendry

    hendry Member

    59
    13
    8
    Sep 19, 2016
    Ratings:
    +17
    Local Time:
    2:23 AM
    nginx/1.11.4
    MariaDB 10
    Did you run on 32bit? if so, try to run on 64bit.
     
  4. eva2000

    eva2000 Administrator Staff Member

    29,016
    6,584
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,774
    Local Time:
    5:23 AM
    Nginx 1.13.x
    MariaDB 5.5
    yes centos 7 64bit is only supported. Centmin Mod doesn't support centos 7 32bit right now as alot of 3rd party yum repos don't support centos 7 32bit packages still.
     
  5. abakisensoy

    abakisensoy Member

    33
    2
    8
    Dec 2, 2016
    Ratings:
    +2
    Local Time:
    5:23 AM
    latest
    5.5
    Centmin version : Centmin Mod 1.2.3-eva2000.08
    Xen VDS
    OS: Centos 7
    it was fresh install
    install with :
    yum -y update; curl -O https://centminmod.com/installer.sh && chmod 0700 installer.sh && bash installer.sh
    i install centminmod 15mins earlier beforeposting this thread

    centmin install log: centmin log ยท GitHub
     
  6. hendry

    hendry Member

    59
    13
    8
    Sep 19, 2016
    Ratings:
    +17
    Local Time:
    2:23 AM
    nginx/1.11.4
    MariaDB 10
    You use centos7 32 or 64bit? try this command
    Code (Text):
    uname -a
     
  7. abakisensoy

    abakisensoy Member

    33
    2
    8
    Dec 2, 2016
    Ratings:
    +2
    Local Time:
    5:23 AM
    latest
    5.5
    >>uname -a
    Linux host.xxxxx.com 3.10.0-327.36.3.el7.x86_64 #1 SMP Mon Oct 24 16:09:20 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
     
  8. eva2000

    eva2000 Administrator Staff Member

    29,016
    6,584
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,774
    Local Time:
    5:23 AM
    Nginx 1.13.x
    MariaDB 5.5
    still need logs asked in 2nd post above

    or just reload fresh centos 7 64bit and try a new centmin mod install again
     
  9. abakisensoy

    abakisensoy Member

    33
    2
    8
    Dec 2, 2016
    Ratings:
    +2
    Local Time:
    5:23 AM
    latest
    5.5

    i already add the log 5th post
     
  10. eva2000

    eva2000 Administrator Staff Member

    29,016
    6,584
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,774
    Local Time:
    5:23 AM
    Nginx 1.13.x
    MariaDB 5.5
    whoops missed it !

    corrupted yum repo database it seems from OS
    Code (Text):
    *************************************************
    [1;32;40mMariaDB 10.x YUM install...
    (B[m[1;32;40myum -q -y --disableplugin=fastestmirror,downloadonly --disablerepo=epel,rpmforge install MariaDB-client MariaDB-common MariaDB-compat MariaDB-devel MariaDB-server MariaDB-shared
    (B[m*************************************************
    
    Loaded plugins: priorities
    No plugin match for: downloadonly
    Resolving Dependencies
    --> Running transaction check
    ---> Package MariaDB-client.x86_64 0:10.0.28-1.el7.centos will be installed
    ---> Package MariaDB-common.x86_64 0:10.0.28-1.el7.centos will be installed
    ---> Package MariaDB-compat.x86_64 0:10.0.28-1.el7.centos will be installed
    ---> Package MariaDB-devel.x86_64 0:10.0.28-1.el7.centos will be installed
    ---> Package MariaDB-server.x86_64 0:10.0.28-1.el7.centos will be installed
    ---> Package MariaDB-shared.x86_64 0:10.0.28-1.el7.centos will be installed
    --> Finished Dependency Resolution
    Error: Rpmdb checksum is invalid: pkg checksums: mariadb-libs-1:5.5.50-1.el7_2.x86_64

    similar to MariaDB - MariaDB installation wasn't successful | Centmin Mod Community and specific post here

    who's your web host and plan you using ? is it a centos provided image ? could be something wrong with the image the web host provided ?
     
  11. eva2000

    eva2000 Administrator Staff Member

    29,016
    6,584
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,774
    Local Time:
    5:23 AM
    Nginx 1.13.x
    MariaDB 5.5
  12. abakisensoy

    abakisensoy Member

    33
    2
    8
    Dec 2, 2016
    Ratings:
    +2
    Local Time:
    5:23 AM
    latest
    5.5
    i get iso image from centos website. i have expected to run an error so i already install centos 6.8 another vps it works flawlessly.

    should i close the vps which runs centos 7. i just want to report a bug if there is.