免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 6534 | 回复: 10
打印 上一主题 下一主题

chkconfig关闭服务失败 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-04-15 16:03 |只看该作者 |倒序浏览
我使用ubuntun才几天,用的8.10,想关闭自动启用蓝牙服务:
sudo chkconfig --level 2345 bluetooth off
[sudo] password for pan:
insserv: warning: script 'S01linux-restricted-modules-common' missing LSB tags and overrides
insserv: warning: script 'K01gdm' missing LSB tags and overrides
insserv: warning: script 'K20acpi-support' missing LSB tags and overrides
insserv: warning: script 'S10powernowd.early' missing LSB tags and overrides
insserv: warning: script 'S10xserver-xorg-input-wacom' missing LSB tags and overrides
insserv: warning: script 'S28NetworkManager' missing LSB tags and overrides
insserv: warning: script 'S05vbesave' missing LSB tags and overrides
insserv: warning: script 'S08loopback' missing LSB tags and overrides
insserv: warning: script 'S37udev-finish' missing LSB tags and overrides
insserv: warning: script 'S10udev' missing LSB tags and overrides
insserv: warning: script 'gdm' missing LSB tags and overrides
insserv: warning: script 'udev' missing LSB tags and overrides
insserv: warning: script 'udev-finish' missing LSB tags and overrides
insserv: warning: script 'powernowd.early' missing LSB tags and overrides
insserv: warning: script 'acpi-support' missing LSB tags and overrides
insserv: warning: script 'xserver-xorg-input-wacom' missing LSB tags and overrides
insserv: warning: script 'loopback' missing LSB tags and overrides
insserv: warning: script 'vbesave' missing LSB tags and overrides
insserv: warning: script 'linux-restricted-modules-common' missing LSB tags and overrides
insserv: warning: script 'NetworkManager' missing LSB tags and overrides
insserv: There is a loop between service networking and mountall
insserv: loop involving service mountall at depth 10
insserv: loop involving service checkfs at depth 9
insserv: There is a loop between service networking and mountall
insserv: loop involving service hwclock at depth 12
insserv: There is a loop between service udev and hwclockfirst
insserv: loop involving service hwclockfirst at depth 7
insserv: loop involving service mountdevsubfs at depth 6
insserv: loop involving service umountnfs at depth 3
insserv: loop involving service networking at depth 2
insserv: loop involving service mountoverflowtmp at depth 1
insserv: loop involving service checkroot at depth 9
insserv: loop involving service readahead-desktop at depth 3
insserv: loop involving service mountnfs at depth 5
insserv: loop involving service $network at depth 16
insserv: loop involving service udev at depth 10
insserv: exiting without changing boot order!
/sbin/insserv failed, exit code 1
pan@shooter:~$

我检查了一下,在/etc下面,rc2.d,rc3.d,rc4.d,rc5.d目录中都没有K*关闭服务的脚本。
难道ubuntu不允许关闭自动启动服务?
请高手帮忙。

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
2 [报告]
发表于 2009-04-15 16:08 |只看该作者
chkconfig是redhat的用法吧,ubuntu的能这么用吗

论坛徽章:
0
3 [报告]
发表于 2009-04-15 16:09 |只看该作者
原帖由 chenyx 于 2009-4-15 16:08 发表
chkconfig是redhat的用法吧,ubuntu的能这么用吗



我也有这个疑问。我用的是centos,没有用ubuntu

论坛徽章:
0
4 [报告]
发表于 2009-04-15 16:28 |只看该作者
ubuntu也支持chkconfig的

论坛徽章:
0
5 [报告]
发表于 2009-04-15 17:19 |只看该作者
我的ubuntu怎么没有这个chkconfig

论坛徽章:
0
6 [报告]
发表于 2009-04-15 17:35 |只看该作者

回复 #5 emmoblin 的帖子

沒錯! 這是正常的,因為在 8.04 這個版本 ubuntu 把 chkconfig 拿掉了,不過在未來的 8.10 中應該會把 chkconfig 再加回去,下面是這個套件的下載位址,請自行下載回去安裝 …

http://lifestory.moqin.com/?p=250

论坛徽章:
0
7 [报告]
发表于 2009-04-15 18:49 |只看该作者
chkconfig只是设置0、1、2、3、4、5、6七个模式下哪些服务是开机启动的。
至于关闭服务,redhat下使用
service bluetooth stop

论坛徽章:
0
8 [报告]
发表于 2009-04-15 19:04 |只看该作者
原帖由 rhlei 于 2009-4-15 17:35 发表
沒錯! 這是正常的,因為在 8.04 這個版本 ubuntu 把 chkconfig 拿掉了,不過在未來的 8.10 中應該會把 chkconfig 再加回去,下面是這個套件的下載位址,請自行下載回去安裝 …

http://lifestory.moqin.com/?p=250


为什么去掉了,又拿回去?基于什么考量呢?

未來的

论坛徽章:
0
9 [报告]
发表于 2009-04-15 19:11 |只看该作者

回复 #8 diyself 的帖子

在犹豫  在迷茫  在徘徊

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
10 [报告]
发表于 2009-04-15 20:25 |只看该作者
好像Ubuntu用update-rc来设置服务
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP