精通
英语
和
开源
,
擅长
开发
与
培训
,
胸怀四海
第一信赖
锐英源精品开源心得,转载请注明:“锐英源www.wisestudy.cn,孙老师作品,电话13803810136。需要全文内容也请联系孙老师。
This problem is experienced by users on certain Solaris versions. When the server is built with modules that use the __floatdisf symbol it can’t be started. e.g.:
此故障是由某些Solaris版本的用户体验。当服务器构建模块使用__floatdisf符号时,不能启动。例如:
Cannot load /usr/local/apache/libexec/libproxy.so into server:
ld.so.1: ../bin/httpd: fatal: relocation error: file
/usr/local/apache/libexec/libproxy.so: symbol __floatdisf: referenced
symbol not found
The missing symbol is in libgcc.a. Use 在libgcc.a中缺少符号。使用
% gcc -print-libgcc-file-name
to see where that file is. Once found you have to relink the module with that file. You can also look for it in the gcc tree, e.g. under gcc-3.2.1/gcc. 看该文件的位置。一旦发现你必须重新编译模块文件。你也可以在gcc tree, e.g. 目录下的 gcc-3.2.1/gcc中寻找它。
First, configure and install Apache. Next, relink mod_proxy.so or mod_negotiation.so, or whatever the module that reports the problem with libgcc.a. 首先,配置和安装Apache。接下来,重新链接mod_proxy.so或mod_negotiation.so。libgcc.a模块的问题报告等等。
% cd apache_1.3.27/src/modules % ld -G -o mod_proxy.so mod_proxy.lo /pathto/libgcc.a
(adjust the /pathto/ to point to the right file from the gcc output stage.) You can now verify with nm that mod_proxy.so includes that symbol. (调整/路径/指向由GCC输出级正确的文件)你现在可以验证mod_proxy.so文件包含的符号。
RegistryLoader: Translation of uri [/home/httpd/perl/test.pl] to filename
failed [tried: /home/httpd/docs/home/httpd/perl/test.pl]
This error shows up when Apache::RegistryLoader fails to translate the URI into the corresponding filesystem path. Most failures happen when one passes a file path instead of URI. (A reminder: /home/httpd/perl/test.pl is a file path, while /perl/test.pl is a URI). In most cases all you have to do is to pass something that Apache::RegistryLoader expects to get - the URI, but there are more complex cases. Apache::RegistryLoader’s man page shows how to handle these cases as well (look for the trans() sub).
这个错误出现在当Apache::RegistryLoader未能将URI转化为相应的文件系统路径时。大多数故障发生在通过文件路径时,而不是URI。(提醒:/home/httpd/perl/test.pl是一个文件路径, /perl/test.pl是一个URI)。在大多数情况下,你所要做的就是通过一些Apache::RegistryLoader希望得到 URI,但有更复杂的情况。Apache::RegistryLoader的手册页显示了如何处理这些情况也有(寻找rans() sub)。
If your server startup fails with: 如果您的服务器启动失败:
Apache.pm failed to load!
try adding this to httpd.conf: 尝试添加到httpd.conf:
PerlModule Apache