li
  当前位置:主页 > 问题集锦 > 文章内容
li
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
来源: www.ixdba.net  作者: IXDBA.NET官方    时间:2008-06-05   阅读:7  

环境:redhat as5.0,Apache 2.0.48 ,Tomcat 5.0
安装都正常,且能浏览页面。
我新建的用户aa可以启动Tomcat,但启动apache时却报错:
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80

是不是1024以内的端口服务只有root才能启动?

 

回复:

1024以内的端口服务只有root才能启动
IXDBA.NET技术社区
好象是的

 

 

是的 1024以内必须ROOT

 

 

httpd.conf设置如下:

#User nobody
#Group #-1
User aa
Group aa

测试结果:
1.
还是要Root权限才能启动Apache
2.
从页面添加记录,生成的静态页所有者是
root

前端使用的是JSP页面,用Tomcat来处理的,而我的Tomcat是用启aa来启动的呀。

Tomcat
里还有User和设置吗?

 

现象:

bash-2.05b$ ./apachectl start
httpd: Could not determine the server's fully qualified domain name, using 211.146.114.228 for ServerName
(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

解惑:

Apache Permission denied: make_sock 求助

root用户使用的端口80将无权。

一般是root启动然后chroot
httpd.conf
有设置user/group




  上一篇: Apache重启失败:name-based sha...   下一篇: SQL0964C The transaction log f...
li
 §相关评论  
 热点文章

·IT168技术卓越奖年会北京召开在
·No space left on device: mod
·shm.create(): error creating
·mysql占用cpu特别高问题的解决
·Can't locate Mail/Send.pm in
·Allowed memory size of 83886
·overwritten -- Unclean shutd
·Apache重启失败:name-based s
·(13)Permission denied: make_
·SQL0964C The transaction log
·delete删除大表:SQL0964C The
li
 编辑推荐
·IT168技术卓越奖年会北京召开在
·No space left on device: mod
·shm.create(): error creating
·mysql占用cpu特别高问题的解决
·Can't locate Mail/Send.pm in
·Allowed memory size of 83886
·overwritten -- Unclean shutd
·Apache重启失败:name-based s
·(13)Permission denied: make_
·SQL0964C The transaction log
·delete删除大表:SQL0964C The
li
 相关篇章
·Apache重启失败:name-based sha...
·overwritten -- Unclean shutdow...
·Allowed memory size of 8388608...
·Can't locate Mail/Send.pm in @...
·mysql占用cpu特别高问题的解决方...
·shm.create(): error creating s...
·No space left on device: mod_r...
·问题小结:Linux下oracle常见安装...
·光纤网卡和HBA卡有什么区别 ?
·ORA-01207: old control file完全...
·SQL0964C The transaction log f...
·delete删除大表:SQL0964C The tr...
·mysql ERROR 1016 (HY000): Can'...
·[Microsoft][SQLServer 2000 Dri...
·message: 用户 'sa' 登录失败。原...
·关于ip_conntrack: table full, ...
 
li
设为首页 | 关于我们 | 技术服务 | 收藏本站 | 网站地图 | 联系方式 | 本站友情连接