我已经安装了 mod_security。如果我简单地将 mod_security 的配置文件包含在 httpd 中,它会正常启动。事实上,如果我尝试添加SecChrootDir /mnt/chr
,httpd 将启动,但在页面请求时它会返回404 error
或The connection was reset
错误(Firefox)。httpd 错误日志不断报告:
libgcc_s.so.1 must be installed for pthread_cancel to work
libgcc_s.so.1 must be installed for pthread_cancel to work
libgcc_s.so.1 must be installed for pthread_cancel to work
libgcc_s.so.1 must be installed for pthread_cancel to work
[Fri Jun 21 23:29:09.672309 2013] [core:notice] [pid 4591:tid 140152074479488] AH00052: child pid 16365 exit signal Aborted (6)
[Fri Jun 21 23:29:09.672396 2013] [core:notice] [pid 4591:tid 140152074479488] AH00052: child pid 16366 exit signal Aborted (6)
[Fri Jun 21 23:29:09.672423 2013] [core:notice] [pid 4591:tid 140152074479488] AH00052: child pid 16367 exit signal Aborted (6)
[Fri Jun 21 23:29:09.672446 2013] [core:notice] [pid 4591:tid 140152074479488] AH00052: child pid 16369 exit signal Aborted (6)
libgcc_s.so.1 must be installed for pthread_cancel to work
[Fri Jun 21 23:29:11.675957 2013] [core:notice] [pid 4591:tid 140152074479488] AH00052: child pid 16488 exit signal Aborted (6)
libgcc_s.so.1 must be installed for pthread_cancel to work
libgcc_s.so.1 must be installed for pthread_cancel to work
[Fri Jun 21 23:29:12.678989 2013] [core:notice] [pid 4591:tid 140152074479488] AH00052: child pid 16518 exit signal Aborted (6)
[Fri Jun 21 23:29:12.679099 2013] [core:notice] [pid 4591:tid 140152074479488] AH00052: child pid 16519 exit signal Aborted (6)
我检查了这个文件,发现它在和中/lib
。如果我有索引页,我也无法理解 404 错误。我该如何解决这些问题?/lib32
lib64
答案1
您可能拥有 64 位版本,但需要 32 位版本。请参阅以下内容:
我让它工作了。显然我有该库的 64 位版本,而 TS 服务器需要 32 位版本。我从 rpm.pbone.net 获取了 Fedora 6 的 libgcc 的最后一个 32 位 rpm,然后执行以下操作:
rpm -ivh libgcc-4.1.2-13.fc6.i386.rpm
它将 32 位版本与我的 64 位版本并排安装。