侧边栏壁纸
博主头像
★街角晚灯★博主等级

博观而约取 厚积而薄发

  • 累计撰写 466 篇文章
  • 累计创建 185 个标签
  • 累计收到 0 条评论

目 录CONTENT

文章目录

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

WinJay
2013-10-14 / 0 评论 / 0 点赞 / 153 阅读 / 2238 字 / 正在检测是否收录...
温馨提示:
文章发布较早,内容可能过时,阅读注意甄别。。。。

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
  1. 支付宝打赏

    qrcode alipay
  2. 微信打赏

    qrcode weixin

评论区