postfix@postfix:/var/www$ service apache2 restart
/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
/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在权限方面管理的很严格,安全是安全了,但是当由于权限问题导致出错的时候,却没有对应的提示,往往让人摸不着头脑,很是悲剧啊。。
评论区