centos7 安装 1.7版本失败
最后显示安装apache的时候失败了。============================== Check install ==============================
Checking ...
Nginx: OK
MariaDB: OK
Error: PHP install failed.
Error: Apache install failed.
Sorry, 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.
安装日志因为附件尺寸限制,我不能上传
补充内容 (2020-2-4 20:15):
安装日志文件:http://tmp.link/f/5e39605e601ae 完毕!
iptables: Saving firewall rules to /etc/sysconfig/iptables: [确定]
Redirecting to /bin/systemctl reload iptables.service
Job for iptables.service invalid.
Removed symlink /etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
Add iptables service at system startup...
Created symlink from /etc/systemd/system/basic.target.wants/iptables.service to /usr/lib/systemd/system/iptables.service.
Add Startup and Starting LNMPA...
Add nginx service at system startup...
Created symlink from /etc/systemd/system/multi-user.target.wants/nginx.service to /etc/systemd/system/nginx.service.
Starting nginx...done
Add mariadb service at system startup...
Starting mariadb (via systemctl):Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details.
[失败]
Add httpd service at system startup...
Created symlink from /etc/systemd/system/multi-user.target.wants/httpd.service to /etc/systemd/system/httpd.service.
start apache...done 日志错误信息
-- Installing: /usr/local/mariadb/support-files/mysql.server
chown: 无法访问"/auth_pam_tool_dir": 没有那个文件或目录
Cannot change ownership of the '/auth_pam_tool_dir' directory
to the 'mariadb' user. Check that you have the necessary permissions and try again.
Created symlink from /etc/systemd/system/multi-user.target.wants/mariadb.service to /etc/systemd/system/mariadb.service.
Add mariadb service at system startup...
Starting mariadb (via systemctl):Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details.
[失败]
Restarting mariadb (via systemctl):Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details.
[失败]
/usr/local/mariadb/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
Restarting mariadb (via systemctl):Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details.
[失败]
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)
failed, try other way...
Restarting mariadb (via systemctl):Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details.
[失败]
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)
Set password failed!
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)
FLUSH PRIVILEGES failed!
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)
Update root password...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)
... Failed!
Remove anonymous users...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)
... Failed!
Disallow root login remotely...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)
... Failed!
Remove test database...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)
... Failed!
Reload privilege tables...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)
... Failed! 上面贴出的没有有用信息,按反馈必读要求提供日志信息 不好意思,我已经按要求上传中转站了,链接补充在1楼。 php 7.4+mariadb 10.4对依赖包要求很高,centos 7不满足要求,至少centos 8
只能centos 7的话只能是降低php和mariadb版本 原来如此,十分感谢!
页:
[1]