加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

linux – upstart看不到我的工作

发布时间:2020-12-13 18:09:15 所属栏目:Linux 来源:网络整理
导读:在Ubuntu 12.10中 user@xyz:~$sudo initctl --versioninitctl (upstart 1.5)Copyright (C) 2012 Scott James Remnant,Canonical Ltd.This is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY or
在Ubuntu 12.10中
user@xyz:~$sudo initctl --version
initctl (upstart 1.5)
Copyright (C) 2012 Scott James Remnant,Canonical Ltd.

This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
user@xyz:~$ls -l /etc/init/rs-comm.conf
-rw-r--r-- 1 root root 349 нояб. 15 03:22 /etc/init/rs-comm.conf
user@xyz:~$sudo initctl reload-configuration
user@xyz:~$sudo initctl start rs-comm
initctl: Unknown job: rs-comm

解决方法

您的工作可能包含无效的语法,这意味着Upstart不会考虑它.尝试以普通用户身份运行以下用户(而不是root用户):
init-checkconf /etc/init/rs-comm.conf

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读