在与Drupal Commons犯了可怕的错误之后,我决定安装标准版Drupal开发快照(从1月12日起)。

原始的.htaccess是不可接受的。换句话说,使用原始的.htaccess文件,它根本不显示网站。我根本看不到安装站点。

我用 一个被黑的人.

安装后,我得到了以下结果:

  • 最终站点为空白(http://www.linux-board.com/install.php?profile=minimal&locale = en&op = start&id=1)

  • 访问基本site-linux-board.com后,我看到以下错误消息:

    警告:opendir(模块/simpletest/tests/tests/test_theme)[function.opendir]:无法打开dir:file_scan_directory()中的太多打开文件(/home/vhost/vhost/wwww/linux-board.com/行2034行包括/file.inc)。
    警告:opendir(模块/field/模块/列表/测试)[function.opendir]:无法打开dir:file_scan_directory()中的太多打开文件(/home/vhost/vhost/wwww/linux-board.com/行2034 line 2034包括/file.inc)。
    警告:opendir(模块/update/tests/temes/update_test_subtheme)[function.opendir]:无法打开dir:file_scan_directory()中的太多打开文件包括/file.inc)。
    警告:opendir(模块/update/tests/temes/update_test_basetheme)[function.opendir]:无法打开dir:file_scan_directory()中的太多打开文件包括/file.inc)。
    警告:opendir(模块/block/tests/themes/block_test_theme)[function.opendir]:无法打开dir:file_scan_directory()中的太多打开文件(/home/vhost/of/home/vhost/of/home/vhost/wwww/linux-board.com/行包括/file.inc)。
    警告:opendir(模块/simpletest/tests/tests/test_theme)[function.opendir]:无法打开dir:file_scan_directory()中的太多打开文件(/home/vhost/vhost/wwww/linux-board.com/行2034行包括/file.inc)。
    警告:opendir(模块/field/模块/列表/测试)[function.opendir]:无法打开dir:file_scan_directory()中的太多打开文件(/home/vhost/vhost/wwww/linux-board.com/行2034 line 2034包括/file.inc)。
    警告:opendir(模块/update/tests/temes/update_test_subtheme)[function.opendir]:无法打开dir:file_scan_directory()中的太多打开文件包括/file.inc)。
    警告:opendir(模块/update/tests/temes/update_test_basetheme)[function.opendir]:无法打开dir:file_scan_directory()中的太多打开文件包括/file.inc)。
    警告:opendir(模块/block/tests/themes/block_test_theme)[function.opendir]:无法打开dir:file_scan_directory()中的太多打开文件(/home/vhost/of/home/vhost/of/home/vhost/wwww/linux-board.com/行包括/file.inc)。

我可以修补Drupal以解决太多的文件打开问题,还是必须升级服务器,该服务器已有六年的历史?

PS:有关服务器的信息如下:

  • Web服务器:Apache/1.3.41(UNIX)mod_gzip/1.3.26.1a mod_throttle/3.1.2 mod_ssl/2.8.31 openssl/0.9.8a
    • PHP 5.3.8
    • PHP注册全局:禁用
    • PHP扩展:启用
    • 数据库支持:启用
    • PHP内存限制:64m

我想可以将Apache的文件处理程序设置为更高的限制。

有帮助吗?

解决方案

  1. Apache 1.3被考虑 弃用. 。我要尝试的第一件事是升级到2。*版本,最好是2.2,然后尝试使用标准.htaccess文件安装。考虑到运行Drupal的大量Apache服务器,标准文件 应该 工作。
  2. “ cat/proc/sys/fs/file-nr”的输出是什么?这对于跟踪许多开放文件问题很有用,这可能是服务器广泛的问题,而与Drupal无关。
  3. 而所有核心的补丁 应该 通过所有测试,可能是您偶然发现了一个破碎的提交。为什么要安装-dev?改为安装7.10。
许可以下: CC-BY-SA归因
scroll top