Welcome to Centmin Mod Community
Register Now

Install Timeout when download and install MariaDB

Discussion in 'Install & Upgrades or Pre-Install Questions' started by chinkung, Oct 5, 2015.

  1. chinkung

    chinkung New Member

    2
    1
    3
    Oct 5, 2015
    Bangkok/Ayutthaya, Thailand
    Ratings:
    +1
    Local Time:
    8:05 PM
    I have a problem when installing Centmin Mod 1.2.3-eva2000.08 on my CentOS 6 box, it timeout when it trying to download and install MariaDB.

    Code:
    *************************************************
    ^[[1;32;40m* Installing MariaDB via CentOS Yum Repo
    ^[(B^[[m*************************************************
    rm: cannot remove `rf': No such file or directory
    MariaDB 10.x Repo setup...
    
    rpm --import http://yum.mariadb.org/RPM-GPG-KEY-MariaDB
    
    Check for existing mysql-server packages
    
    MariaDB 5.5 YUM install...
    
    *************************************************
    ^[[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, security
    No plugin match for: downloadonly
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package MariaDB-client.x86_64 0:10.0.21-1.el6 will be installed
    ---> Package MariaDB-common.x86_64 0:10.0.21-1.el6 will be installed
    ---> Package MariaDB-compat.x86_64 0:10.0.21-1.el6 will be obsoleting
    ---> Package MariaDB-devel.x86_64 0:10.0.21-1.el6 will be installed
    ---> Package MariaDB-server.x86_64 0:10.0.21-1.el6 will be installed
    ---> Package MariaDB-shared.x86_64 0:10.0.21-1.el6 will be obsoleting
    ---> Package mysql-libs.x86_64 0:5.1.73-5.el6_6 will be obsoleted
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ================================================================================
    Package               Arch          Version               Repository      Size
    ================================================================================
    Installing:
    MariaDB-client        x86_64        10.0.21-1.el6         mariadb         11 M
    MariaDB-common        x86_64        10.0.21-1.el6         mariadb         41 k
    MariaDB-compat        x86_64        10.0.21-1.el6         mariadb        2.7 M
         replacing  mysql-libs.x86_64 5.1.73-5.el6_6
    MariaDB-devel         x86_64        10.0.21-1.el6         mariadb        6.6 M
    MariaDB-server        x86_64        10.0.21-1.el6         mariadb         57 M
    MariaDB-shared        x86_64        10.0.21-1.el6         mariadb        1.3 M
         replacing  mysql-libs.x86_64 5.1.73-5.el6_6
    
    Transaction Summary
    ================================================================================
    Install       6 Package(s)
    
    Total download size: 79 M
    Downloading Packages:
    http://yum.mariadb.org/10.0/centos6-amd64/rpms/MariaDB-10.0.21-centos6-x86_64-server.rpm: [Errno 14] PYCURL ERROR 18 - "transfer closed with 42263733 bytes remaining to read"
    Trying other mirror.
    
    
    Error Downloading Packages:
      MariaDB-server-10.0.21-1.el6.x86_64: failure: rpms/MariaDB-10.0.21-centos6-x86_64-server.rpm from mariadb: [Errno 256] No more mirrors to try.
    
    
    real    14m26.788s
    user    0m5.173s
    sys     0m1.502s
    cp: cannot stat `/etc/my.cnf': No such file or directory
    sed: can't read /etc/my.cnf: No such file or directory
    sed: can't read /etc/my.cnf: No such file or directory
    sed: can't read /etc/my.cnf: No such file or directory
    sed: can't read /etc/my.cnf: No such file or directory
    
    grep: /etc/init.d/mysql: No such file or directory
    sed: can't read /etc/init.d/mysql: No such file or directory
    service mysql restart
    mysql: unrecognized service
    ------------------------------------------------
    Installing MariaDB 10 plugins
    ------------------------------------------------
    mysql -e "INSTALL SONAME 'metadata_lock_info';"
    inc/mariadb_install.inc: line 229: mysql: command not found
    mysql -e "INSTALL SONAME 'query_cache_info';"
    inc/mariadb_install.inc: line 231: mysql: command not found
    mysql -e "INSTALL SONAME 'query_response_time';"
    inc/mariadb_install.inc: line 233: mysql: command not found
    mysql -t -e "SELECT * FROM mysql.plugin;"
    inc/mariadb_install.inc: line 240: mysql: command not found
    mysql -t -e "SHOW PLUGINS;"
    inc/mariadb_install.inc: line 242: mysql: command not found
    mysql -t -e "SHOW ENGINES;"
    inc/mariadb_install.inc: line 244: mysql: command not found
    
    Package perl-DBD-MySQL-4.013-3.el6.x86_64 already installed and latest version
    y
    
    Copying MariaDB my-mdb10-min.cnf file to /etc/my.cnf
    
    ^[[1;32;40mexclude line exists... adding exclude line for mysql*
    ^[(B^[[m*************************************************
    ^[[1;32;40m* Starting MariaDB Secure Installation
    ^[(B^[[m*************************************************
    inc/mariadb_install.inc: line 523: mysql_upgrade: command not found
    service mysql restart
    mysql: unrecognized service
    service mysql stop
    mysql: unrecognized service
    gzip: /var/lib/mysql/ib_logfile0: No such file or directory
    gzip: /var/lib/mysql/ib_logfile1: No such file or directory
    service mysql start
    mysql: unrecognized service
    *************************************************
    ^[[1;32;40m* MariaDB installed
    ^[(B^[[m*************************************************
    service mysql stop
    mysql: unrecognized service
    
    How can I re-install just MariaDB ?
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,961
    6,918
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,420
    Local Time:
    11:05 PM
    Nginx 1.13.x
    MariaDB 5.5
    where's the server location ? and hardware specs ?

    MariaDB 10 official mirrors can be slow to some location like Australia it's 3x to 6x times slower than USA.

    You have to do a fresh OS reload and fresh centmin mod install for best resulting install.