argo 发表于 2015-2-1 22:51:47

军哥,几个月前遇到的问题到现在也没解决,请求帮助!

原帖地址: https://bbs.vpser.net/viewthread.php?tid=11499&highlight=cloudflare

本人需要在lnmpa环境下安装mod_cloudflare模块

mod_cloudflare安装文档地址:https://www.cloudflare.com/resources-downloads

#yum install libtool httpd-devel
#wget https://www.cloudflare.com/static/misc/mod_cloudflare/mod_cloudflare.c
#apxs -a -i -c mod_cloudflare.c

按照上面的命令安装完后重启httpd出现如下错误

# service httpd restart
Stopping httpd:                                          
Starting httpd: httpd: apr_sockaddr_info_get() failed for vultr.guest
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
(98)Address already in use: make_sock: could not bind to address [::]:80
(98)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

错误排除测试1、在/etc/httpd/conf/httpd.conf修改端口为88,重启提示88端口占用错误,后面还原默认设置

错误排除测试2、在/usr/local/apache/conf/httpd.conf试着添加LoadModule cloudflare_module/usr/lib/httpd/modules/mod_cloudflare.so,重启也是提示端口占用错误

实在搞不懂哪里出了问题!请求军哥给与帮助,愿意付费解决此问题!非常感谢!

[ 本帖最后由 argo 于 2015-2-1 22:54 编辑 ]

licess 发表于 2015-2-2 15:50:34

lnmpa下 nginx使用80端口,你这里面是提示是你改过配置apache使用了80端口肯定不行
你检查一下apache的配置
页: [1]
查看完整版本: 军哥,几个月前遇到的问题到现在也没解决,请求帮助!