新装到系统就无法关机

启动讨论 grub/grub2/syslinux/grub4dos/Lilo
回复
feiyaogzs
帖子: 6
注册时间: 2013-07-24 9:40
系统: ubuntu13

新装到系统就无法关机

#1

帖子 feiyaogzs » 2013-07-24 9:42

系统停留在
can't open /etc/init.d/.depend.stop: No such file or directory.
acpid:exiting

这个状态,必须要硬关机才行,重启也是不行。这种问题如何处理?求解

我现在解决了。我是被"加速ubuntu"这篇文章害了
原文如下:
并行运行开机启动脚本,编辑/etc/init.d/rc:

CONCURRENCY=none
==>
CONCURRENCY=shell
但据说这种方法可能会造成启动问题,慎用,建议多核cpu才使用。
----------------------
我改回去就对了
上次由 feiyaogzs 在 2013-07-24 16:17,总共编辑 1 次。
头像
guaicai
帖子: 169
注册时间: 2012-01-29 9:30
系统: Fedora19 Xfce

Re: 新装到系统就无法关机

#2

帖子 guaicai » 2013-07-24 11:30

不知道,帮你搜了下google,说运行以下命令创建这些文件/etc/init.d/.depend.{stop,start,boot}

代码: 全选

sudo install -b -m 644 <(<<EOF
TARGETS =
EOF) /etc/init.d/.depend.stop

sudo install -b -m 644 <(<<EOF
TARGETS =
INTERACTIVE =
EOF) /etc/init.d/.depend.start

sudo install -b -m 644 <(<<EOF
TARGETS =
INTERACTIVE =
EOF) /etc/init.d/.depend.boot
via http://askubuntu.com/questions/295329/t ... ot-go-down
===============================
XP XP XP XP XP XP XP XP XP XP XP XP
??现在的人问问题都是让人来猜吗??
XP XP XP XP XP XP XP XP XP XP XP XP
===============================
feiyaogzs
帖子: 6
注册时间: 2013-07-24 9:40
系统: ubuntu13

Re: 新装到系统就无法关机

#3

帖子 feiyaogzs » 2013-07-24 13:46

lifei@lifei-ThinkPad:~$ sudo install -b -m 644 <(<<EOF
> TARGETS =
> EOF) /etc/init.d/.depend.stop
[sudo] password for lifei:
install: 无法获取"/dev/fd/63" 的文件状态(stat): 没有那个文件或目录
lifei@lifei-ThinkPad:~$
回复