无法在Mac OS X上启动Apache - 没有可用的侦听套接字? [英] can't start Apache on Mac OS X--no listening sockets available?

查看:90
本文介绍了无法在Mac OS X上启动Apache - 没有可用的侦听套接字?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在我的系统上安装Apache,所以我可以使用mod_python。

我按照以下说明安装了Apache 2.2.4:

http://switch.richard5.net/isp-in-a-...#comment-30704


,一切似乎都正确安装,但是我无法启动Apache。

我输入以下命令:


$ sudo / Library / Apache2 / bin / apachectl start

密码:


我收到此错误消息:


httpd:无法可靠地确定服务器的完全限定

域名,使用tms-computer.local for ServerName

(48)地址已被使用:make_sock:无法绑定到地址

0.0.0.0:80

没有可用的监听套接字,关闭

无法打开日志


有什么想法吗?

解决方案

sudo / Library / Apache2 / bin / apachectl start

密码:


我收到此错误消息:


httpd:使用tms-computer.local无法可靠地确定服务器的完全限定的

域名for ServerName

(48)地址已被使用:make_sock:无法绑定到地址

0.0.0.0:80

没有可用的侦听套接字,关闭

无法打开日志


任何想法?


开Jun 25,7:23 pm,7stud< bbxx789_0 ... @ yahoo.comwrote:


我正试图在我的系统上安装Apache所以我可以使用mod_python。

我按照以下说明安装了Apache 2.2.4:

http://switch.richard5.net/isp-in-a-...pac he-on-mac-o ...


,一切似乎都正确安装,但我无法启动Apache。

我键入以下命令:


sudo / Library / Apache2 / bin / apachectl start

密码:


我收到了这条错误信息:


httpd:无法可靠地确定服务器的完全合格的

域名,使用tms-computer.local for ServerName

(48)地址已被使用:make_sock:无法绑定到地址

0.0.0.0:80

没有可用的监听套接字,关闭

无法打开日志


有什么想法吗?



你有网络共享吗?在prefs上也是?可能是apache中的内置

已经在端口80上启动了。


我运气好了: http://www.serverlogistics.com/downloads.php


除了将新版本编译成这些内容之外,还有其他内容。我失败了

让PHP5在它下运行,但它们开箱即用。


~Sean


I''m trying to get Apache set up on my system so I can use mod_python.
I installed Apache 2.2.4 according to the following instructions:

http://switch.richard5.net/isp-in-a-...#comment-30704

and everything seemed to install correctly, but I can''t start Apache.
I typed in the following command:

$ sudo /Library/Apache2/bin/apachectl start
Password:

and I got this error message:

httpd: Could not reliably determine the server''s fully qualified
domain name, using tms-computer.local for ServerName
(48)Address already in use: make_sock: could not bind to address
0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs

Any ideas?

解决方案

sudo /Library/Apache2/bin/apachectl start
Password:

and I got this error message:

httpd: Could not reliably determine the server''s fully qualified
domain name, using tms-computer.local for ServerName
(48)Address already in use: make_sock: could not bind to address
0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs

Any ideas?


On Jun 25, 7:23 pm, 7stud <bbxx789_0...@yahoo.comwrote:

I''m trying to get Apache set up on my system so I can use mod_python.
I installed Apache 2.2.4 according to the following instructions:

http://switch.richard5.net/isp-in-a-...pache-on-mac-o...

and everything seemed to install correctly, but I can''t start Apache.
I typed in the following command:


sudo /Library/Apache2/bin/apachectl start
Password:

and I got this error message:

httpd: Could not reliably determine the server''s fully qualified
domain name, using tms-computer.local for ServerName
(48)Address already in use: make_sock: could not bind to address
0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs

Any ideas?

Do you have "Web Sharing" in the prefs on as well? Possibly the built-
in apache is already started on port 80.

I''ve had luck with these: http://www.serverlogistics.com/downloads.php

Except it''s tuff to compile new versions into these. I failed at
getting PHP5 running under it, but they work well out of the box.

~Sean


这篇关于无法在Mac OS X上启动Apache - 没有可用的侦听套接字?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆