* Bringing up interface enp7s0
* No configuration specified; defaulting to DHCP
* dhcp ...
* Running dhcpcd ...
dhcpcd[17232]: version 5.6.4 starting
dhcpcd[17232]: enp7s0: waiting for carrier
dhcpcd[17232]: timed out
dhcpcd[17232]: allowing 8 seconds for IPv4LL timeout
dhcpcd[17232]: timed out [ !! ]
* ERROR: net.enp7s0 failed to start
* Bringing up interface wlp6s0
* No configuration specified; defaulting to DHCP
* dhcp ...
* Running dhcpcd ...
dhcpcd[17475]: dhcpcd already running on pid 8727 (/var/run/dhcpcd-wlp6s0 [ !! ]
* ERROR: net.wlp6s0 failed to start
* ERROR: cannot start apache2 as net.enp7s0 would not start
=============================================
分析:
由于/etc/init.d/apache2 是依赖于net的,net失败导致apache2启动失败。
description_stop="Kills all children and stops the server."
depend() {
need net
use mysql dns logger netmount postgresql
after sshd
}
由于need net 这行的存在,且net服务起不来。
可把need net 去掉 或者 改为 use net暂时解决问题。
阅读(2413) | 评论(0) | 转发(0) |