模块rpaf_module已加载apache的问题 [英] Module rpaf_module is already loaded apache issue

查看:667
本文介绍了模块rpaf_module已加载apache的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对我的CentOS 6的64位VPS的问题。
我曾试图安装apachebooster 1.9包,其中包括nginx的和清漆。
VPS的完美工作,但一旦我安装包,我不能让访问我的网站,当我尝试重新启动httpd服务我收到此消息:

I have problem on my CentOs 6 64bit VPS. I have tried to install apachebooster 1.9 package which include nginx and varnish. The vps worked perfectly but once I install the package, I can't get access to my websites and when I try to restart httpd service I receive this message :

模块rpaf_module已经加载,跳过。

module rpaf_module is already loaded, skipping.

当我卸载apachebooster VPS的工作。

When i uninstall apachebooster the vps work.

推荐答案

我不相信,访问该站点的能力有什么用模块警告。然而,因为它是在问这个问题,我会告诉你如何解决警告消息。

I do not believe that the ability to access the site has anything to do with module warning. However, as it is asked in the question, I will tell you how to resolve that warning message.

问题是,您正在加载该模块的两倍。机会是您有多条线路,看起来是这样的:
的LoadModule rpaf_module模块/ mod_rpaf-2.0.so

The issue is that you are loading that module twice. Chances are you have multiple lines that look something like this: LoadModule rpaf_module modules/mod_rpaf-2.0.so

它可能会无论是在httpd.conf或者在一个单独的包含文件中。

It will likely either in httpd.conf or in a separate include file.

所以,编辑文件 /etc/httpd/conf/httpd.conf中(或任何这是你的服务器上),并寻找rpaf。如果您看到该行多次删除所有,但一个。

So edit the file /etc/httpd/conf/httpd.conf (or wherever it is on your server) and look for rpaf. If you see that line multiple times delete all but one.

如果你看到这样一行:

Include "/usr/local/apache/conf/includes/rpaf.conf"

那么这就是你需要编辑的文件。

Then THAT's the file you need to edit.

有时,该文件将其全部内容重复。对我来说,这是重复两个额外的时间和文件是这样的:

Sometimes that file will have its whole contents repeated. In my case, it was repeated two extra times and the file looked like this:

LoadModule rpaf_module modules/mod_rpaf-2.0.so
#Mod_rpaf settings
RPAFenable On
RPAFproxy_ips 127.0.0.1 [..]
RPAFsethostname On
RPAFheader X-Real-IP
LoadModule rpaf_module modules/mod_rpaf-2.0.so
#Mod_rpaf settings
RPAFenable On
RPAFproxy_ips 127.0.0.1 [..]
RPAFsethostname On
RPAFheader X-Real-IP
LoadModule rpaf_module modules/mod_rpaf-2.0.so
#Mod_rpaf settings
RPAFenable On
RPAFproxy_ips 127.0.0.1 [..]
RPAFsethostname On
RPAFheader X-Real-IP

所以我就警告两次。在这种情况下,所有你需要做的是从第二删除一切

So I got the warning twice. In this case all you need to do is delete everything from the second

LoadModule rpaf_module

线和至死不渝。保存并重新启动Apache。

line and on till the end. Save and restart Apache.

希望有所帮助别人。

这篇关于模块rpaf_module已加载apache的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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