怎么启动服务?Warning: Fake initctl called, doing nothing.

重复贴和参考价值不大的帖子,版主维护
回复
scutdk
帖子: 299
注册时间: 2009-07-25 19:23
送出感谢: 3 次
接收感谢: 0

怎么启动服务?Warning: Fake initctl called, doing nothing.

#1

帖子 scutdk » 2011-05-29 14:13

原来以为跟fedora一样,可以用service命令启动,然后提示说

/etc/init.d/cron start

Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service cron start

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start cron

Warning: Fake initctl called, doing nothing.


用start cron还是上面的提示

还有我发现虽然能装chkconfig这个包,而且也能chkconfig --list,但是好像不能用这条命令来修改启动配置?

Ubuntu 桌面培训- 全中文官方文档,含汉化截图,提供PDF
scutdk
帖子: 299
注册时间: 2009-07-25 19:23
送出感谢: 3 次
接收感谢: 0

Re: 怎么启动服务?Warning: Fake initctl called, doing nothing.

#2

帖子 scutdk » 2011-05-29 14:35

sudo mv /sbin/initctl /sbin/initctl.FAKE

sudo ln -s /sbin/initctl.REAL /sbin/initctl
:em01

Ubuntu 桌面培训- 全中文官方文档,含汉化截图,提供PDF
回复

回到 “归档贴”