LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1045|回复: 8

求助,不能关机

[复制链接]
发表于 2010-5-14 00:31:49 | 显示全部楼层 |阅读模式
选关机按钮或执行"shutdown -h now"都关不了机,关机后接着就会自动重启。
兄弟们如何搞定?(ubuntu 10.04版本)
发表于 2010-5-14 08:57:06 | 显示全部楼层
你试试shutdown手册中的
      This  is  performed by emitting the runlevel(7) event, which includes the new runlevel in the RUNLEVEL environment
       variable as well as the previous runlevel (obtained from the environment or from /var/run/utmp) in  the  PREVLEVEL
       variable.   An additional INIT_HALT variable may be set, this will contain the value HALT when bringing the system
       down for halt and POWEROFF when bringing the system down for power off.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-5-17 14:06:41 | 显示全部楼层
Post by gnwd;2089924
你试试shutdown手册中的


是要添加INIT_HALT=HALT吗?那加在哪个文件里才有效?
回复 支持 反对

使用道具 举报

发表于 2010-5-18 13:08:46 | 显示全部楼层
INIT_HALT=POWEROFF
放在/etc/rc.local中吧,试试
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-5-19 09:03:36 | 显示全部楼层
Post by gnwd;2090829
INIT_HALT=POWEROFF
放在/etc/rc.local中吧,试试


还是不行啊。。
回复 支持 反对

使用道具 举报

发表于 2010-5-19 15:57:44 | 显示全部楼层
你的kernel是多少? uname -r
你有没有试着换一个kernel。进行过系统更新没有?如果没有,那么就更新一次
sudo apt-get update
sudo apt-get upgrade
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-5-19 17:31:58 | 显示全部楼层
kernel:2.6.32-22-generic,应该是最新的吧
回复 支持 反对

使用道具 举报

发表于 2010-5-25 09:44:54 | 显示全部楼层
shutdown -hP now
回复 支持 反对

使用道具 举报

发表于 2010-5-25 10:35:15 | 显示全部楼层
检测BIOS设置
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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