- 积分
- 24
- 威望
-
- 金钱
-
- 注册时间
- 2023-10-12
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
安装lnmp2.0中的mariadb10.11时失败,记录如下——
[+] Installing mariadb-10.11.3 Using Generic Binaries...
Uncompress mariadb-10.11.3-linux-systemd-x86_64.tar.gz...
gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
mkdir: cannot create directory ‘/usr/local/mariadb’: File exists
mv: cannot move ‘mariadb-10.11.3-linux-systemd-x86_64/docs’ to ‘/usr/local/mariadb/docs’: Directory not empty
mv: cannot move ‘mariadb-10.11.3-linux-systemd-x86_64/mysql-test’ to ‘/usr/local/mariadb/mysql-test’: Directory not empty
mv: cannot move ‘mariadb-10.11.3-linux-systemd-x86_64/scripts’ to ‘/usr/local/mariadb/scripts’: Directory not empty
mv: cannot move ‘mariadb-10.11.3-linux-systemd-x86_64/share’ to ‘/usr/local/mariadb/share’: Directory not empty
mv: cannot move ‘mariadb-10.11.3-linux-systemd-x86_64/sql-bench’ to ‘/usr/local/mariadb/sql-bench’: Directory not empty
mv: cannot move ‘mariadb-10.11.3-linux-systemd-x86_64/support-files’ to ‘/usr/local/mariadb/support-files’: Directory not empty
groupadd: group 'mariadb' already exists
useradd: user 'mariadb' already exists
cp: cannot stat ‘/usr/local/mariadb/var/*’: No such file or directory
FATAL ERROR: Could not find my_print_defaults
The following directories were searched:
/usr/local/mariadb/bin
/usr/local/mariadb/extra
If you compiled from source, you need to either run 'make install' to
copy the software into the correct location ready for operation.
If you don't want to do a full install, you can use the --srcdir
option to only install the mysql database and privilege tables.
If you are using a binary release, you must either be at the top
level of the extracted archive, or pass the --basedir option
pointing to that location.
The latest information about mysql_install_db is available at
https://mariadb.com/kb/en/installing-system-tables-mysql_install_db
Add mariadb service at system startup...
Starting mariadb (via systemctl): [ OK ]
Restarting mariadb (via systemctl): [ OK ]
include/mariadb.sh: line 46: /usr/local/mariadb/bin/mysqladmin: No such file or directory
Restarting mariadb (via systemctl): [ OK ]
include/main.sh: line 1031: /usr/local/mariadb/bin/mysql: No such file or directory
failed, try other way...
Restarting mariadb (via systemctl): [ OK ]
include/mariadb.sh: line 61: /usr/local/mariadb/bin/mysql: No such file or directory
Set password failed!
include/mariadb.sh: line 66: /usr/local/mariadb/bin/mysql: No such file or directory
FLUSH PRIVILEGES failed!
include/main.sh: line 1031: /usr/local/mariadb/bin/mysql: No such file or directory
Remove anonymous users...
include/main.sh: line 1031: /usr/local/mariadb/bin/mysql: No such file or directory
include/main.sh: line 1031: /usr/local/mariadb/bin/mysql: No such file or directory
... Failed!
Disallow root login remotely...
include/main.sh: line 1031: /usr/local/mariadb/bin/mysql: No such file or directory
... Failed!
Remove test database...
include/main.sh: line 1031: /usr/local/mariadb/bin/mysql: No such file or directory
... Failed!
Reload privilege tables...
include/main.sh: line 1031: /usr/local/mariadb/bin/mysql: No such file or directory
... Failed!
Stopping mariadb (via systemctl): [ OK ]
Add mariadb service at system startup...
Clean database src directory...
Error: MariaDB install failed.
英文看不懂,不知道是什么原因
|
|