Chinaunix首页 | 论坛 | 博客
  • 博客访问: 212192
  • 博文数量: 40
  • 博客积分: 316
  • 博客等级: 二等列兵
  • 技术积分: 840
  • 用 户 组: 普通用户
  • 注册时间: 2012-03-13 12:39
文章分类

全部博文(40)

文章存档

2014年(2)

2013年(28)

2012年(10)

分类: 系统运维

2013-09-21 23:39:24

* 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暂时解决问题。
阅读(2351) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~