raisinli 发表于 2019-12-6 13:21:05

LNMP在CentOS上安装错误,日志在附件里


这个是才买的云。 XEN的


Press any key to install...or Press Ctrl+c to cancel

You will install lnmp stack.
nginx-1.16.1
mysql-8.0.13
php-7.2.24
Enable InnoDB: y
Print lnmp.conf infomation...
Download Mirror: https://soft.vpser.net
Nginx Additional Modules:
PHP Additional Modules:
Database Directory: /usr/local/mysql/var
Default Website Directory: /home/wwwroot/default
LNMP Version: 1.6
CentOS 6.9
CentOS release 6.9 (Final)
Kernel \r on an \m

CentOS release 6.9 (Final)
CentOS release 6.9 (Final)
CentOS release 6.9 (Final)
Linux XS103191226 2.6.32-696.18.7.el6.x86_64 #1 SMP Thu Jan 4 17:31:22 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Memory is: 3953 MB
Filesystem            SizeUsed Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root
                      8.3G2.1G5.9G26% /
tmpfs               1.9G   01.9G   0% /dev/shm
/dev/xvda1            477M   28M424M   7% /boot
OpenSSL 1.0.1e-fips 11 Feb 2013
Hosts: ok.
PING lnmp.org (168.235.75.115) 56(84) bytes of data.
64 bytes from 168.235.75.115: icmp_seq=1 ttl=52 time=129 ms

--- lnmp.org ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 277ms
rtt min/avg/max/mdev = 129.845/129.845/129.845/0.000 ms
DNS...ok
Server Location: JP
Try http://soft.vpser.net ...
http://soft.vpser.net http code: 200
PING out.vpser.net (104.238.161.196) 56(84) bytes of data.
64 bytes from 104.238.161.196.vultr.com (104.238.161.196): icmp_seq=1 ttl=52 time=40.3 ms
64 bytes from 104.238.161.196.vultr.com (104.238.161.196): icmp_seq=2 ttl=52 time=31.4 ms
64 bytes from 104.238.161.196.vultr.com (104.238.161.196): icmp_seq=3 ttl=52 time=40.3 ms

--- out.vpser.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2043ms
rtt min/avg/max/mdev = 31.479/37.373/40.331/4.174 ms
Setting timezone...
 Installing ntp...
Loaded plugins: fastestmirror
Setting up Install Process
Determining fastest mirrors
* base: ty1.mirror.newmediaexpress.com
* extras: ty1.mirror.newmediaexpress.com
* updates: ty1.mirror.newmediaexpress.com
Resolving Dependencies
--> Running transaction check
---> Package ntpdate.x86_64 0:4.2.6p5-15.el6.centos will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package      Arch          Version                      Repository      Size
================================================================================
Installing:
ntpdate      x86_64      4.2.6p5-15.el6.centos      updates         79 k

Transaction Summary
================================================================================
Install       1 Package(s)

Total download size: 79 k
Installed size: 123 k
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.

Installing : ntpdate-4.2.6p5-15.el6.centos.x86_64                         1/1

Verifying: ntpdate-4.2.6p5-15.el6.centos.x86_64            

===========中间省略=============
============================Install PHPMyAdmin=================================
============================phpMyAdmin install completed=======================
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: ty1.mirror.newmediaexpress.com
* extras: ty1.mirror.newmediaexpress.com
* updates: ty1.mirror.newmediaexpress.com
No package iptables-services available.
Error: Nothing to do
iptables: Saving firewall rules to /etc/sysconfig/iptables: 
iptables: Trying to reload firewall rules: 
Add iptables service at system startup...
Add Startup and Starting LNMP...
Add nginx service at system startup...
Starting nginx...done
Add mysql service at system startup...
error reading information on service mysql: No such file or directory
error reading information on service mysql: No such file or directory
include/end.sh: line 51: /etc/init.d/mysql: No such file or directory
Add php-fpm service at system startup...
Starting php-fpmdone
============================== Check install ==============================
Checking ...
Nginx: OK
Error: MySQL install failed.
PHP: OK
PHP-FPM: OK
Sorry, Failed to install LNMP!
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.

最后就是安装不成功,让我贴上日志,但是文件太大了没有上传,以上就截取了一部分。

raisinli 发表于 2019-12-6 16:00:52

最后降低版本就可以了。 mysql 5.6php7.1

licess 发表于 2019-12-6 16:50:59

论坛搜索:centos 6 mysql 8

https://bbs.vpser.net/thread-18845-1-1.html

基本原则就是老旧发行版不装最新版程序,老旧版程序不在装最新linux发行版上安装。
页: [1]
查看完整版本: LNMP在CentOS上安装错误,日志在附件里