[bug report]there have some wrong paths format in new installation on centos 7.2

youyoums

Verified User
Joined
Jul 21, 2011
Messages
37
I have fresh install directadmin 1.50.1 in CentOS 7.2 64-Bit(1511),but when i log in as admin and click on Licensing / Updates,the Compiled on is link to CentOS 6.0 64-Bit,it should be CentOS 7.0 64-Bit
c6.png
When i want to up grade mariadb 5.5 to mariadb 10.1,the download path is Downloading mysql/MariaDB-10.1.17-centos6-x86_64-client.rpm...,but the correct path should be mysql/MariaDB-10.1.17-centos7-x86_64-client.rpm
[CODE[root@server custombuild]# ./build set mariadb 10.1
Changed mariadb option from 10.0 to 10.1
[root@server custombuild]# ./build set mysql_inst mariadb
Changed mysql_inst option from no to mariadb
[root@server custombuild]# ./build mariadb
Dumping database mysql
Downloading mysql/jemalloc-3.6.0-1.el6.x86_64.rpm...
--2016-09-16 14:00:03-- http://files9.directadmin.com/servi...emalloc/3.6.0/jemalloc-3.6.0-1.el6.x86_64.rpm
Resolving files9.directadmin.com (files9.directadmin.com)... 69.162.69.58
Connecting to files9.directadmin.com (files9.directadmin.com)|69.162.69.58|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 101696 (99K)
Saving to: '/usr/local/directadmin/custombuild/mysql/jemalloc-3.6.0-1.el6.x86_64.rpm'

100%[==============================================>] 101,696 243KB/s in 0.4s

2016-09-16 14:00:03 (243 KB/s) - '/usr/local/directadmin/custombuild/mysql/jemalloc-3.6.0-1.el6.x86_64.rpm' saved [101696/101696]

Downloading mysql/jemalloc-devel-3.6.0-1.el6.x86_64.rpm...
--2016-09-16 14:00:03-- http://files9.directadmin.com/servi...c/3.6.0/jemalloc-devel-3.6.0-1.el6.x86_64.rpm
Resolving files9.directadmin.com (files9.directadmin.com)... 69.162.69.58
Connecting to files9.directadmin.com (files9.directadmin.com)|69.162.69.58|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 22860 (22K)
Saving to: '/usr/local/directadmin/custombuild/mysql/jemalloc-devel-3.6.0-1.el6.x86_64.rpm'

100%[==============================================>] 22,860 148KB/s in 0.2s

2016-09-16 14:00:04 (148 KB/s) - '/usr/local/directadmin/custombuild/mysql/jemalloc-devel-3.6.0-1.el6.x86_64.rpm' saved [22860/22860]

Downloading mysql/galera-25.3.17-1.rhel6.el6.x86_64.rpm...
--2016-09-16 14:00:04-- http://files9.directadmin.com/servi...25.3.17/galera-25.3.17-1.rhel6.el6.x86_64.rpm
Resolving files9.directadmin.com (files9.directadmin.com)... 69.162.69.58
Connecting to files9.directadmin.com (files9.directadmin.com)|69.162.69.58|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8948560 (8.5M)
Saving to: '/usr/local/directadmin/custombuild/mysql/galera-25.3.17-1.rhel6.el6.x86_64.rpm'

100%[==============================================>] 8,948,560 3.70MB/s in 2.3s

2016-09-16 14:00:07 (3.70 MB/s) - '/usr/local/directadmin/custombuild/mysql/galera-25.3.17-1.rhel6.el6.x86_64.rpm' saved [8948560/8948560]

Downloading mysql/MariaDB-10.1.17-centos6-x86_64-client.rpm...
--2016-09-16 14:00:07-- http://files9.directadmin.com/servi....17/MariaDB-10.1.17-centos6-x86_64-client.rpm
Resolving files9.directadmin.com (files9.directadmin.com)... 69.162.69.58
Connecting to files9.directadmin.com (files9.directadmin.com)|69.162.69.58|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 42221964 (40M)
Saving to: '/usr/local/directadmin/custombuild/mysql/MariaDB-10.1.17-centos6-x86_64-client.rpm'

100%[==============================================>] 42,221,964 9.41MB/s in 5.2s

2016-09-16 14:00:12 (7.69 MB/s) - '/usr/local/directadmin/custombuild/mysql/MariaDB-10.1.17-centos6-x86_64-client.rpm' saved [42221964/42221964]

Downloading mysql/MariaDB-10.1.17-centos6-x86_64-devel.rpm...
--2016-09-16 14:00:12-- http://files9.directadmin.com/servi...1.17/MariaDB-10.1.17-centos6-x86_64-devel.rpm
Resolving files9.directadmin.com (files9.directadmin.com)... 69.162.69.58
Connecting to files9.directadmin.com (files9.directadmin.com)|69.162.69.58|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7286296 (6.9M)
Saving to: '/usr/local/directadmin/custombuild/mysql/MariaDB-10.1.17-centos6-x86_64-devel.rpm'

100%[==============================================>] 7,286,296 3.90MB/s in 1.8s

2016-09-16 14:00:14 (3.90 MB/s) - '/usr/local/directadmin/custombuild/mysql/MariaDB-10.1.17-centos6-x86_64-devel.rpm' saved [7286296/7286296]

Downloading mysql/MariaDB-10.1.17-centos6-x86_64-server.rpm...
--2016-09-16 14:00:14-- http://files9.directadmin.com/servi....17/MariaDB-10.1.17-centos6-x86_64-server.rpm
Resolving files9.directadmin.com (files9.directadmin.com)... 69.162.69.58
Connecting to files9.directadmin.com (files9.directadmin.com)|69.162.69.58|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 109097216 (104M)
Saving to: '/usr/local/directadmin/custombuild/mysql/MariaDB-10.1.17-centos6-x86_64-server.rpm'

100%[==============================================>] 109,097,216 4.78MB/s in 24s

2016-09-16 14:00:38 (4.36 MB/s) - '/usr/local/directadmin/custombuild/mysql/MariaDB-10.1.17-centos6-x86_64-server.rpm' saved [109097216/109097216]

Downloading mysql/MariaDB-10.1.17-centos6-x86_64-shared.rpm...
--2016-09-16 14:00:38-- http://files9.directadmin.com/servi....17/MariaDB-10.1.17-centos6-x86_64-shared.rpm
Resolving files9.directadmin.com (files9.directadmin.com)... 69.162.69.58
Connecting to files9.directadmin.com (files9.directadmin.com)|69.162.69.58|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1426572 (1.4M)
Saving to: '/usr/local/directadmin/custombuild/mysql/MariaDB-10.1.17-centos6-x86_64-shared.rpm'

100%[==============================================>] 1,426,572 1.11MB/s in 1.2s

2016-09-16 14:00:40 (1.11 MB/s) - '/usr/local/directadmin/custombuild/mysql/MariaDB-10.1.17-centos6-x86_64-shared.rpm' saved [1426572/1426572]

Downloading mysql/MariaDB-10.1.17-centos6-x86_64-common.rpm...
--2016-09-16 14:00:40-- http://files9.directadmin.com/servi....17/MariaDB-10.1.17-centos6-x86_64-common.rpm
Resolving files9.directadmin.com (files9.directadmin.com)... 69.162.69.58
Connecting to files9.directadmin.com (files9.directadmin.com)|69.162.69.58|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 43008 (42K)
Saving to: '/usr/local/directadmin/custombuild/mysql/MariaDB-10.1.17-centos6-x86_64-common.rpm'

100%[==============================================>] 43,008 150KB/s in 0.3s

2016-09-16 14:00:40 (150 KB/s) - '/usr/local/directadmin/custombuild/mysql/MariaDB-10.1.17-centos6-x86_64-common.rpm' saved [43008/43008]

Downloading mysql/MariaDB-10.1.17-centos6-x86_64-compat.rpm...
--2016-09-16 14:00:40-- http://files9.directadmin.com/servi....17/MariaDB-10.1.17-centos6-x86_64-compat.rpm
Resolving files9.directadmin.com (files9.directadmin.com)... 69.162.69.58
Connecting to files9.directadmin.com (files9.directadmin.com)|69.162.69.58|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2788388 (2.7M)
Saving to: '/usr/local/directadmin/custombuild/mysql/MariaDB-10.1.17-centos6-x86_64-compat.rpm'

100%[==============================================>] 2,788,388 1.66MB/s in 1.6s

2016-09-16 14:00:42 (1.66 MB/s) - '/usr/local/directadmin/custombuild/mysql/MariaDB-10.1.17-centos6-x86_64-compat.rpm' saved [2788388/2788388]

Found /usr/local/directadmin/custombuild/mysql/MariaDB-10.1.17-centos6-x86_64-client.rpm
Found /usr/local/directadmin/custombuild/mysql/MariaDB-10.1.17-centos6-x86_64-devel.rpm
Found /usr/local/directadmin/custombuild/mysql/MariaDB-10.1.17-centos6-x86_64-server.rpm
Found /usr/local/directadmin/custombuild/mysql/MariaDB-10.1.17-centos6-x86_64-shared.rpm
Found /usr/local/directadmin/custombuild/mysql/MariaDB-10.1.17-centos6-x86_64-common.rpm
Found /usr/local/directadmin/custombuild/mysql/MariaDB-10.1.17-centos6-x86_64-compat.rpm
Installing dependencies...
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.linode.com
* extras: mirrors.linode.com
* updates: mirrors.linode.com
Package perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64 already installed and latest version
Package 1:perl-Compress-Raw-Zlib-2.061-4.el7.x86_64 already installed and latest version
Package perl-DBI-1.627-4.el7.x86_64 already installed and latest version
Package lsof-4.87-4.el7.x86_64 already installed and latest version
No package compat-readline5 available.
Resolving Dependencies
--> Running transaction check
---> Package nmap.x86_64 2:6.40-7.el7 will be installed
--> Processing Dependency: nmap-ncat = 2:6.40-7.el7 for package: 2:nmap-6.40-7.el7.x86_64
--> Running transaction check
---> Package nmap-ncat.x86_64 2:6.40-7.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================
Package Arch Version Repository Size
========================================================================================
Installing:
nmap x86_64 2:6.40-7.el7 base 4.0 M
Installing for dependencies:
nmap-ncat x86_64 2:6.40-7.el7 base 201 k

Transaction Summary
========================================================================================
Install 1 Package (+1 Dependent package)

Total download size: 4.2 M
Installed size: 17 M
Downloading packages:
(1/2): nmap-ncat-6.40-7.el7.x86_64.rpm | 201 kB 00:00:00
(2/2): nmap-6.40-7.el7.x86_64.rpm | 4.0 MB 00:00:00
----------------------------------------------------------------------------------------
Total 4.6 MB/s | 4.2 MB 00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
Installing : 2:nmap-ncat-6.40-7.el7.x86_64 1/2
Installing : 2:nmap-6.40-7.el7.x86_64 2/2
Verifying : 2:nmap-ncat-6.40-7.el7.x86_64 1/2
Verifying : 2:nmap-6.40-7.el7.x86_64 2/2

Installed:
nmap.x86_64 2:6.40-7.el7

Dependency Installed:
nmap-ncat.x86_64 2:6.40-7.el7

Complete!
Installing libjemalloc...
Found /usr/local/directadmin/custombuild/mysql/jemalloc-3.6.0-1.el6.x86_64.rpm
Found /usr/local/directadmin/custombuild/mysql/jemalloc-devel-3.6.0-1.el6.x86_64.rpm
warning: /usr/local/directadmin/custombuild/mysql/jemalloc-3.6.0-1.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 1bb943db: NOKEY
Preparing... ################################# [100%]
Updating / installing...
1:jemalloc-3.6.0-1.el6 ################################# [ 50%]
2:jemalloc-devel-3.6.0-1.el6 ################################# [100%]
Installing galera...
Found /usr/local/directadmin/custombuild/mysql/galera-25.3.17-1.rhel6.el6.x86_64.rpm
warning: /usr/local/directadmin/custombuild/mysql/galera-25.3.17-1.rhel6.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 1bb943db: NOKEY
Preparing... ################################# [100%]
Updating / installing...
1:galera-25.3.17-1.rhel6.el6 ################################# [100%]
Stopping mysqld ...
Upgrading MariaDB 5.5.41 to 10.1.17
Preparing packages...
MariaDB-server-5.5.41-1.el7.centos.x86_64
warning: file /etc/init.d/mysql: remove failed: No such file or directory
Preparing packages...
MariaDB-common-5.5.41-1.el7.centos.x86_64
Preparing packages...
MariaDB-shared-5.5.41-1.el7.centos.x86_64
Preparing packages...
MariaDB-devel-5.5.41-1.el7.centos.x86_64
Preparing packages...
MariaDB-client-5.5.41-1.el7.centos.x86_64
Preparing packages...
MariaDB-compat-5.5.41-1.el7.centos.x86_64
warning: MariaDB-10.1.17-centos6-x86_64-client.rpm: Header V4 DSA/SHA1 Signature, key ID 1bb943db: NOKEY
Preparing... ################################# [100%]
Updating / installing...
1:MariaDB-compat-10.1.17-1.el6 ################################# [ 17%]
2:MariaDB-common-10.1.17-1.el6 ################################# [ 33%]
3:MariaDB-client-10.1.17-1.el6 ################################# [ 50%]
4:MariaDB-server-10.1.17-1.el6 ################################# [ 67%]
5:MariaDB-devel-10.1.17-1.el6 ################################# [ 83%]
6:MariaDB-shared-10.1.17-1.el6 ################################# [100%]
Failed to execute operation: Invalid argument
mv: '/etc/systemd/system/mysql.service' and '/etc/systemd/system/mysqld.service' are the same file
Failed to execute operation: Invalid argument
Ensuring local-infile is disabled for security reasons in MySQL configuration file...
Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details.
Giving mysqld a few seconds to start up...
Version check failed. Got the following error when calling the 'mysql' command line client
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory")
FATAL ERROR: Upgrade failed
/usr/bin/mysqlcheck: Got error: 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory") when trying to connect
cp: '/usr/lib/libmysqlclient.so' and '/usr/lib/mysql/libmysqlclient.so' are the same file
Restarting MySQL.
Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details.
[root@server custombuild]# ][/CODE]
 
Last edited:
I am guessing that your license was for version 6 and not 7. Do a client login on www.directadmin.com and what OS does it list? If it says CentOS 6 then you need to notify DA to change your license to CentOs 7.
 
Back
Top