1.4安装MySQL失败
Checking ...Nginx: OKError: MySQL install failed.PHP: OKPHP-FPM: OKSorry, Failed to install LNMP!Please visit https://bbs.vpser.net/forum-25-1.html feedback errors and logs.You can download /root/lnmp-install.log from your server,and upload lnmp-install.log to LNMP Forum.Linux 2.6.32-696.6.3.el6.x86_64阿里云
CentOS 6.8
整个log压缩还是超过90kb,只能截取MySQL部分
[ 本帖最后由 xianxh 于 2018-1-15 18:13 编辑 ] 最重要的mysql部分不完整
回复 2# 的帖子
麻烦军哥看一下问题。谢谢了~[ 本帖最后由 xianxh 于 2018-1-16 10:23 编辑 ] cp: omitting directory `/usr/local/mysql/bin'
cp: omitting directory `/usr/local/mysql/docs'
cp: omitting directory `/usr/local/mysql/include'
cp: omitting directory `/usr/local/mysql/lib'
cp: omitting directory `/usr/local/mysql/man'
cp: omitting directory `/usr/local/mysql/mysql-test'
cp: omitting directory `/usr/local/mysql/share'
cp: omitting directory `/usr/local/mysql/support-files'
估计可能之前就已经有mysql
回复 4# 的帖子
没有呢,是新租的阿里云服务器。我把/usr/local/mysql删除了再安装,也是会报这个。[ 本帖最后由 xianxh 于 2018-1-16 15:57 编辑 ]
回复 4# 的帖子
我重新初始化了磁盘,还是报错sed: -e expression #1, char 89: unterminated `s' command
cp: omitting directory `/usr/local/mysql/bin'
cp: omitting directory `/usr/local/mysql/docs'
cp: omitting directory `/usr/local/mysql/include'
cp: omitting directory `/usr/local/mysql/lib'
cp: omitting directory `/usr/local/mysql/man'
cp: omitting directory `/usr/local/mysql/mysql-test'
cp: omitting directory `/usr/local/mysql/share'
cp: omitting directory `/usr/local/mysql/support-files'
include/mysql.sh: line 617: /usr/local/mysql/bin/mysqld: No such file or directory
Add mysql service at system startup...
/etc/init.d/mysql: line 239: my_print_defaults: command not found
Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)
include/mysql.sh: line 33: /usr/local/mysql/bin/mysqladmin: No such file or directory
failed, try other way...
include/mysql.sh: line 42: /usr/local/mysql/bin/mysql: No such file or directory
Set password failed!
/etc/init.d/mysql: line 239: my_print_defaults: command not found
/etc/init.d/mysql: line 239: my_print_defaults: command not found
ERROR! MySQL server PID file could not be found!
/etc/init.d/mysql: line 239: my_print_defaults: command not found
Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)
include/main.sh: line 599: /usr/local/mysql/bin/mysql: No such file or directory
Update root password...
include/main.sh: line 599: /usr/local/mysql/bin/mysql: No such file or directory
... Failed!
Remove anonymous users...
include/main.sh: line 599: /usr/local/mysql/bin/mysql: No such file or directory
include/main.sh: line 599: /usr/local/mysql/bin/mysql: No such file or directory
... Failed!
Disallow root login remotely...
include/main.sh: line 599: /usr/local/mysql/bin/mysql: No such file or directory
... Failed!
Remove test database...
include/main.sh: line 599: /usr/local/mysql/bin/mysql: No such file or directory
... Failed!
Reload privilege tables...
include/main.sh: line 599: /usr/local/mysql/bin/mysql: No such file or directory
... Failed!
/etc/init.d/mysql: line 239: my_print_defaults: command not found
/etc/init.d/mysql: line 239: my_print_defaults: command not found
ERROR! MySQL server PID file could not be found!
/etc/init.d/mysql: line 239: my_print_defaults: command not found
Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)
/etc/init.d/mysql: line 239: my_print_defaults: command not found
ERROR! MySQL server PID file could not be found!
回复 6# 的帖子
不大清楚原因,如果可以,可以pm ip和root密码我看一下回复 7# 的帖子
看了mysql.shln -sf /usr/local/mysql/bin/mysql /usr/bin/mysql
ln -sf /usr/local/mysql/bin/mysqldump /usr/bin/mysqldump
ln -sf /usr/local/mysql/bin/myisamchk /usr/bin/myisamchk
ln -sf /usr/local/mysql/bin/mysqld_safe /usr/bin/mysqld_safe
ln -sf /usr/local/mysql/bin/mysqlcheck /usr/bin/mysqlcheck
所以不能把目录指定到/usr/local/mysql。
[ 本帖最后由 xianxh 于 2018-1-17 17:07 编辑 ]
页:
[1]