VPS侦探论坛

 找回密码
 注册
查看: 3078|回复: 1

vultr Ubuntu 18.10 lnmp php失败

[复制链接]
发表于 2018-12-10 22:17:12 | 显示全部楼层 |阅读模式

系统版本:
Welcome to Ubuntu 18.10 (GNU/Linux 4.18.0-10-generic x86_64)

* Documentation:  https://help.ubuntu.com
* Management:     https://landscape.canonical.com
* Support:        https://ubuntu.com/advantage

  System information as of Mon Dec 10 21:21:01 CST 2018

  System load:  0.0               
Processes:              94
  Usage of /:   36.5% of 24.55GB   
Users logged in:        0
  Memory usage: 26%               
IP address for ens3:   
  Swap usage:   1%               
IP address for docker0:

VULTR:
CPU:
1 vCore

RAM:
1024 MB

Storage:
25 GB SSD

Bandwidth:
[url=]8.35 GB of 1000 GB[/url]



安装选项除密码外全为默认(回车)


============================== Check install ==============================
Checking ...
Nginx: OK
MySQL: OK
Error: PHP 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



root@cnarutox:~/lnmp/lnmp1.5/lnmp1.5/lnmp1.5# /usr/local/nginx/sbin/nginx -t
nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful


root@cnarutox:~/lnmp/lnmp1.5/lnmp1.5/lnmp1.5# /usr/local/php/bin/php -v
bash: /usr/local/php/bin/php: No such file or directory


root@cnarutox:~/lnmp/lnmp1.5/lnmp1.5/lnmp1.5# journalctl -xe
-- Documentation: https://www.freedesktop.org/wiki/Software/systemd/multiseat
--
-- A new session with the ID 7 has been created for the user root.
--
-- The leading process of the session is 26538.
Dec 10 21:21:44 cnarutox sshd[26651]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=218.92.1.157  user=root
Dec 10 21:21:46 cnarutox sshd[26651]: Failed password for root from 218.92.1.157 port 36840 ssh2
Dec 10 21:21:48 cnarutox sshd[26651]: Failed password for root from 218.92.1.157 port 36840 ssh2
Dec 10 21:21:50 cnarutox sshd[26651]: Failed password for root from 218.92.1.157 port 36840 ssh2
Dec 10 21:21:50 cnarutox sshd[26651]: Received disconnect from 218.92.1.157 port 36840:11:  [preauth]
Dec 10 21:21:50 cnarutox sshd[26651]: Disconnected from authenticating user root 218.92.1.157 port 36840 [preauth]
Dec 10 21:21:50 cnarutox sshd[26651]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=218.92.1.157  user=root
Dec 10 21:22:51 cnarutox sshd[26653]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=218.92.1.157  user=root
Dec 10 21:22:53 cnarutox sshd[26653]: Failed password for root from 218.92.1.157 port 17738 ssh2
Dec 10 21:22:55 cnarutox sshd[26653]: Failed password for root from 218.92.1.157 port 17738 ssh2
Dec 10 21:22:57 cnarutox sshd[26653]: Failed password for root from 218.92.1.157 port 17738 ssh2
Dec 10 21:22:59 cnarutox sshd[26653]: Received disconnect from 218.92.1.157 port 17738:11:  [preauth]
Dec 10 21:22:59 cnarutox sshd[26653]: Disconnected from authenticating user root 218.92.1.157 port 17738 [preauth]
Dec 10 21:22:59 cnarutox sshd[26653]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=218.92.1.157  user=root
Dec 10 21:23:54 cnarutox sshd[26664]: Invalid user web from 81.248.70.86 port 34441
Dec 10 21:23:54 cnarutox sshd[26664]: pam_unix(sshd:auth): check pass; user unknown
Dec 10 21:23:54 cnarutox sshd[26664]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=81.248.70.86
Dec 10 21:23:56 cnarutox sshd[26664]: Failed password for invalid user web from 81.248.70.86 port 34441 ssh2
Dec 10 21:24:00 cnarutox sshd[26664]: Received disconnect from 81.248.70.86 port 34441:11: Bye Bye [preauth]
Dec 10 21:24:00 cnarutox sshd[26664]: Disconnected from invalid user web 81.248.70.86 port 34441 [preauth]
Dec 10 21:24:00 cnarutox sshd[26668]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=218.92.1.157  user=root
Dec 10 21:24:02 cnarutox sshd[26668]: Failed password for root from 218.92.1.157 port 59679 ssh2
Dec 10 21:24:04 cnarutox sshd[26668]: Failed password for root from 218.92.1.157 port 59679 ssh2
Dec 10 21:24:06 cnarutox sshd[26668]: Failed password for root from 218.92.1.157 port 59679 ssh2
Dec 10 21:24:06 cnarutox sshd[26668]: Received disconnect from 218.92.1.157 port 59679:11:  [preauth]
Dec 10 21:24:06 cnarutox sshd[26668]: Disconnected from authenticating user root 218.92.1.157 port 59679 [preauth]
Dec 10 21:24:06 cnarutox sshd[26668]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=218.92.1.157  user=root
Dec 10 21:25:05 cnarutox sshd[26672]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=218.92.1.157  user=root
Dec 10 21:25:07 cnarutox sshd[26672]: Failed password for root from 218.92.1.157 port 33161 ssh2
Dec 10 21:25:10 cnarutox sshd[26672]: Failed password for root from 218.92.1.157 port 33161 ssh2
Dec 10 21:25:12 cnarutox sshd[26672]: Failed password for root from 218.92.1.157 port 33161 ssh2
Dec 10 21:25:12 cnarutox sshd[26672]: Received disconnect from 218.92.1.157 port 33161:11:  [preauth]
Dec 10 21:25:12 cnarutox sshd[26672]: Disconnected from authenticating user root 218.92.1.157 port 33161 [preauth]
Dec 10 21:25:12 cnarutox sshd[26672]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=218.92.1.157  user=root



root@cnarutox:~/lnmp/lnmp1.5/lnmp1.5/lnmp1.5# systemctl status mysql.service
● mysql.service - LSB: start and stop MySQL
   Loaded: loaded (/etc/init.d/mysql; generated)
   Active: failed (Result: exit-code) since Mon 2018-12-10 21:01:43 CST; 44min ago
     Docs: man:systemd-sysv-generator(8)
   CGroup: /system.slice/mysql.service
           ├─ 635 /bin/sh /usr/local/mysql/bin/mysqld_safe --datadir=/usr/local/mysql/var --pid-file=/usr/local/mysql/var/cnarutox.pid
           └─1265 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --plugin-dir=/usr/local/mysql/lib/plugin --user=mysql --log-error=cnarutox.err --o

Dec 10 21:01:40 cnarutox systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Dec 10 21:01:40 cnarutox systemd[1]: mysql.service: Found left-over process 1265 (mysqld) in control group while starting unit. Ignoring.
Dec 10 21:01:40 cnarutox systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Dec 10 21:01:40 cnarutox systemd[1]: Starting LSB: start and stop MySQL...
Dec 10 21:01:40 cnarutox mysql[25735]: Starting MySQL
Dec 10 21:01:43 cnarutox mysql[25735]: ... * The server quit without updating PID file (/usr/local/mysql/var/cnarutox.pid).
Dec 10 21:01:43 cnarutox systemd[1]: mysql.service: Control process exited, code=exited status=1
Dec 10 21:01:43 cnarutox systemd[1]: mysql.service: Failed with result 'exit-code'.
Dec 10 21:01:43 cnarutox systemd[1]: Failed to start LSB: start and stop MySQL.


--------------------------------------------------------------------------------------------------------------------------------------------------------------
log:

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2018-12-11 12:54:05 | 显示全部楼层


解决方法参考:https://bbs.vpser.net/thread-18040-1-1.html#pid56537
就是多一步要修改 include/init.sh 查找 18.04 替换为 18.10
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-23 09:22 , Processed in 0.026745 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表