lzm2494239 发表于 2019-4-15 17:32:18

ubuntu16.04安装lnmp环境mysql、nginx成功,php失败,求大神解决

安装了两次lnmp5 稳定版,都是mysql、nginx成功,php失败。可能是我的网速太慢了,上传不上去附件,所以给您个安装lnmp的install.log的url地址,请见谅。
install.log的url地址:http://139.196.101.133:8100/lnmp-install.zip


报错信息:
============================Install PHPMyAdmin=================================
============================phpMyAdmin install completed=======================
Add Startup and Starting LNMP...
Add nginx service at system startup...
Starting nginx... nginx (pid 264564 264563 264562 264561 264560 264559 264558 264557 264556 264555 264554 264553 264552 264551 264550 264549 264548 264547 264546 264545 264544 264543 264542 264541 264540 264539 264538 264537 264536 264535 264534 264533 264531) already running.
Add mysql service at system startup...
Starting mysql (via systemctl): mysql.serviceJob for mysql.service failed because the control process exited with error code.
See "systemctl status mysql.service" and "journalctl -xe" for details.
failed!
Add php-fpm service at system startup...
Starting php-fpm /etc/init.d/php-fpm: 57: /etc/init.d/php-fpm: /usr/local/php/sbin/php-fpm: not found
failed
============================== Check install ==============================


licess 发表于 2019-4-15 19:54:24

Hit:1 http://mirrors.aliyun.com/ubuntu bionic InRelease
Hit:2 http://mirrors.aliyun.com/ubuntu bionic-security InRelease
Hit:3 http://mirrors.aliyun.com/ubuntu bionic-updates InRelease
Hit:4 http://mirrors.aliyun.com/ubuntu bionic-proposed InRelease
Hit:5 http://mirrors.aliyun.com/ubuntu bionic-backports InRelease
ubuntu 16.04的系统你设置ubuntu 18.04的源铁定装不上

lzm2494239 发表于 2019-4-16 10:04:09

大佬,我换了16.04的源还是安装不上?求赐教!install.log的url地址:http://139.196.101.133:8100/lnmp.zip

licess 发表于 2019-4-16 11:27:41

lzm2494239 发表于 2019-4-16 10:04
大佬,我换了16.04的源还是安装不上?求赐教!install.log的url地址:http://139.196.101.133:8100/lnmp.zi ...

用1.6安装包安装试一下

lzm2494239 发表于 2019-4-16 12:30:52

试过了,不可以呀

lzm2494239 发表于 2019-4-16 15:45:16

licess 发表于 2019-4-16 11:27
用1.6安装包安装试一下

不行呀,还是失败

licess 发表于 2019-4-16 17:30:53

lzm2494239 发表于 2019-4-16 15:45
不行呀,还是失败

我们这边ubuntu 16.04到最新的版本都是测试过没问题的,无法复现你问题

1.6的话可以尝试修改 include/init.sh 查找 grep -Eqi "1\." 替换为 grep -Eqi "1\." 保存安装试试

如果没重装系统的话可能之前依赖关系已经发生了问题

lzm2494239 发表于 2019-4-16 17:38:55

licess 发表于 2019-4-16 17:30
我们这边ubuntu 16.04到最新的版本都是测试过没问题的,无法复现你问题

1.6的话可以尝试修改 include/in ...

那我试一试
页: [1]
查看完整版本: ubuntu16.04安装lnmp环境mysql、nginx成功,php失败,求大神解决