侧边栏壁纸
博主头像
WinJay博主等级

博观而约取 厚积而薄发

  • 累计撰写 302 篇文章
  • 累计创建 204 个标签
  • 累计收到 1 条评论
标签搜索
隐藏侧边栏

service XXX start启动报start: Rejected send message, 1 matched rul

WinJay
2013-10-14 / 0 评论 / 0 点赞 / 56 阅读 / 2,051 字 / 正在检测是否收录...
温馨提示:
本文最后更新于 2021-04-08,若内容或图片失效,请留言反馈。部分素材来自网络,若不小心影响到您的利益,请联系我们删除。

postfix@postfix:/var/www$ service apache2 restart

* Restarting web server apache2

/usr/sbin/apache2ctl: 87: ulimit: error setting limit (Operation not permitted)
apache2: Could not reliably determine the server’s fully qualified domain name, using 202.205.161.59 for ServerName
/usr/sbin/apache2ctl: 87: ulimit: error setting limit (Operation not permitted)
apache2: Could not reliably determine the server’s fully qualified domain name, using 202.205.161.59 for ServerName
(13)Permission denied: make_sock: could not bind to address [::]:80
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Action ‘start’ failed.
The Apache error log may have more information. [fail]postfix@postfix:/var/www$ service apache2 restart
* Restarting web server apache2 /usr/sbin/apache2ctl: 87: ulimit: error setting limit (Operation not permitted)
/usr/sbin/apache2ctl: 87: ulimit: error setting limit (Operation not permitted)
(13)Permission denied: make_sock: could not bind to address [::]:80
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Action ‘start’ failed.
The Apache error log may have more information.


***血淋淋啊。。。。权限啊!!!!!!!!!!!!!!!!!!!***

【问题】start: Rejected send messag
现象:
crifan@crifan-ubuntu10:~/develop$ service tftpd-hpa start
start: Rejected send message, 1 matched rules; type=”method_call”, sender=”:1.147″ (uid=1000 pid=3506 comm=”start) 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权限才可以正常运行:
crifan@crifan-ubuntu10:~/develop$ sudo service tftpd-hpa start
start: Job is already running: tftpd-hpa

【总结】
Linux在权限方面管理的很严格,安全是安全了,但是当由于权限问题导致出错的时候,却没有对应的提示,往往让人摸不着头脑,很是悲剧啊。。

0

评论区