异常apxs:Error: Command failed with rc=65536

当编译mod_evastive,报出

“apxs:Error: Command failed with rc=65536”

解决方法:

将mod_evasive20.c文件里 142、146、158、165、180、187、208、212、215、221、222、228行对应的remote_ip修改成client_ip 保存 重新 安装即可

重新编译:

/usr/local/apache2/bin/apxs -i -a -c ./mod_evasive20.c

异常apxs:Error: Command failed with rc=65536

时间: 2024-11-07 07:18:43

异常apxs:Error: Command failed with rc=65536的相关文章

python+appium 【已解决】真机运行appium报错“WebDriverException: Message: A new session could not be created. (Original error: Command failed: C:\Windows\system32\cmd.exe /s /c.......详见内文

问题报错提示: selenium.common.exceptions.WebDriverException: Message: A new session could not be created. (Original error: Command failed: C:\Windows\system32\cmd.exe /s /c "D:\AutoTest\adt-bundle-windows-x86-20140702\sdk\platform-tools\adb.exe -s GWY0216A

Command failed: git -c core.longpaths=true config --get remote.origin.url

「Unable to Connect to GitHub.com For Cloning」Error: Command failed: git -c core.longpaths=true config --get remote.origin.url此处原因应该是因为网络无法透过git://方式将package download下来清除缓存:npm cache clear更改Download方式:git config --global url."https://".insteadOf

RSYNC @ERROR: AUTH FAILED ON MODULE XXX 解决思路及附录RSYNC常见问题及解决办法

使用rsync往服务器上传文件时,client报如下异常: @ERROR: auth failed on module XXX rsync error: error starting client-server protocol (code 5) at main.c(1503) [Receiver=3.0.6] 排查步骤 1 检查server端和client端的用户名和密码确认都无误: 服务器端检查这个/etc/rsync.pass密码文件, 客户端检查--password-file配置的密码文

安装MySQL-python报错error: command 'gcc' failed with exit status 1

[[email protected] MySQL-python-1.2.3]# python setup.py install function) .... _mysql.c:133: error: 'ER_SYNTAX_ERROR' undeclared (first use in this function) _mysql.c:380: error: '_mysql_ConnectionObject' has no member named 'connection' _mysql.c:382

安装Python的psutil模块时报错:error: command 'gcc' failed with exit status 1

安装Python的psutil模块: tar zxvf psutil-2.0.0.tar.gz cd psutil-2.0.0 python setup.py install 报错: running install running bdist_egg ...... psutil/_psutil_linux.c:12:20: error: Python.h: No such file or directory In file included from psutil/_psutil_linux.c

安装cx_Oracle时报错:error: command 'gcc' failed with exit status 1

1.安装cx_Oracle 1)下载cx_Oracle,https://pypi.python.org/pypi 2)解压压缩包 3)执行python setup.py install 执行后报错:error: command 'gcc' failed with exit status 1 排查: 1)检查是否安装oracle客户端软件 2)查看当前环境变量中是否配置oracle的相关变量,如echo $ORACLE_HOME 3)如果没有配置需要将oracle环境变量配置到当前用户.bash_

【centos】 error: command 'gcc' failed with exit status 1

原文连接http://blog.csdn.net/fenglifeng1987/article/details/38057193 用安装Python模块出现error: command 'gcc' failed with exit status 1 ,明明装了gcc的,怎么会不行呢,然后发觉是failed不是not found,这说明这个错误个gcc没多大关系,应该是缺少某些功能模块,然后谷歌了一下,先后安装了python-devel,libffi-devel后还是不行,最后发觉要安装opens

error: command 'cc' failed with exit status 1

报错: Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/private/tmp/pip-build-kSfBfz/ujson/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, _

error: Setup script exited with error: command 'gcc' failed with exit status 1

安装python模块时出现:error: Setup script exited with error: command 'gcc' failed with exit status 1 解决方法: yum -y install python-devel error: Setup script exited with error: command 'gcc' failed with exit status 1