service cron restart命令报错如下:

stop: Rejected send message, 1 matched rules; type="method_call", sender=":1.121" (uid=1000 pid=25347 comm="stop cron ") interface="com.ubuntu.Upstart0_6.Job" member="Stop" error name="(unset)" requested_reply="0" destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init ")
start: Rejected send message, 1 matched rules; type="method_call", sender=":1.122" (uid=1000 pid=25341 comm="start cron ") interface="com.ubuntu.Upstart0_6.Job" member="Start" error name="(unset)" requested_reply="0" destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init ")

解决办法:

需要root权限才可以正常运行

最新文章

  1. UWP开发必备:常用数据列表控件汇总比较
  2. 原生js实现Ajax
  3. 嵌入式Linux学习笔记(0)基础命令。——Arvin
  4. Sql Server之旅——第四站 你必须知道的非聚集索引扫描
  5. CloudSim样例分析
  6. html元素的显示和隐藏
  7. HttpClient的使用
  8. Vijos P1062 迎春舞会之交谊舞
  9. Java解惑五:类之谜
  10. Java 单例总结
  11. java 导出excel(读数据库案例)
  12. Python之文件的基本操作
  13. Redis_MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk问题解决
  14. makefile中打印变量名字,方便调试
  15. Python 语言之 map/reduce
  16. .Net Windows Service(服务) 调试安装及System.Timers.Timer 使用
  17. JAVA基础部分复习(四、抽象类与接口)
  18. React-Native 之 Navigator与NavigatorIOS使用
  19. 关于Unity中如何判断一个动画播放结束
  20. PHP获取当前url路径的函数及服务器变量:$_SERVER["QUERY_STRING"],$_SERVER["REQUEST_URI"],$_SERVER["SCRIPT_NAME"],$_SER

热门文章

  1. Python_Select解析
  2. mybatis学习笔记(10)-一对一查询
  3. Javascript 客户端实时显示服务器时间
  4. SQL中拆分字符串substr及统计字符出现频数replace用法实例讲解
  5. mysql 随机取数据
  6. C++ 输出100—999中所有的水仙花数
  7. Cookie-Parser是怎样解析签名后的cookie的(同一时候对cookie和cookie-signature进行说明)
  8. MS coco数据集下载
  9. ppm\pgm格式
  10. NIM游戏策略