启动httpd:/ usr / sbin / httpd:符号查找错误:/ usr / sbin / httpd:未定义符号:apr_bucket_alloc_aligned_floor

时间:2018-04-04 05:46:02

标签: apache

当我启动 apache服务器

时,我收到此错误
  

启动httpd:/ usr / sbin / httpd:符号查找错误:/ usr / sbin / httpd:   未定义的符号:apr_bucket_alloc_aligned_floor

请帮我解决这个问题。

2 个答案:

答案 0 :(得分:0)

今天早上我也遇到了这个错误,这是一个模块冲突。

删除了冲突的模块,然后运行easyapache 4并在WHM中重新配置了配置文件。

冲突的模块是:

  

错误:找到Multilib版本问题。这通常意味着根              原因是其他东西和multilib版本检查只是              指出存在问题。例如:

         1. You have an upgrade for ea-apache24-mod_cloudflare which is missing some
            dependency that another package requires. Yum is trying to
            solve this by installing an older version of ea-apache24-mod_cloudflare of the
            different architecture. If you exclude the bad architecture
            yum will tell you what the root cause is (which package
            requires what). You can try redoing the upgrade with
            --exclude ea-apache24-mod_cloudflare.otherarch ... this should give you an error
            message showing the root cause of the problem.

         2. You have multiple architectures of ea-apache24-mod_cloudflare installed, but
            yum can only see an upgrade for one of those arcitectures.
            If you don't want/need both architectures anymore then you
            can remove the one with the missing update and everything
            will work.

         3. You have duplicate versions of ea-apache24-mod_cloudflare installed already.
            You can use "yum check" to get yum show these errors.

       ...you can also use --setopt=protected_multilib=false to remove
       this checking, however this is almost never the correct thing to
       do as something else is very likely to go wrong (often causing
       much more problems).

       Protected multilib versions: ea-apache24-mod_cloudflare-1.2.0-.5.47.x86_64 != ea-apache24-mod_cloudflare-1.2.0-.5.37.i686

运行yum update以查看错误,或者操作系统必须检查更新的命令。

此致 托米

答案 1 :(得分:0)

如果处理cPanel,请通过yum检查更新。在我的情况下,需要更新,所以更新所有yum包。

然后我发现PHP脚本没有被解析。检查PHP处理程序是否设置为您的处理程序应该是什么。在我的例子中,处理程序设置为“无”。

我希望这有帮助!