启动apache时出现以下错误。
Can't locate /usr/sbin/webmux.pl in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 . /etc/httpd) at (eval 2) line 1.\n
Can't load Perl file: /usr/sbin/webmux.pl for server 127.0.0.1:0, exiting...
任何人都可以建议我缺少什么吗?
的mod_perl-2.0.4
答案 0 :(得分:1)
因此,看起来webmux.pl需要首先启动mysql守护进程。我在/ var / log / httpd / error_log中找到了错误消息。首先启动mysqld,然后启动Web服务器
答案 1 :(得分:0)
在Apache配置文件中搜索webmux.pl。必须尝试加载它。删除对它的引用,或安装它。
答案 2 :(得分:0)
在RT配置中找到了这个。评论之后,事情现在正在发挥作用。
答案 3 :(得分:0)
错误:
[root@localhost conf]# service httpd restart Deteniendo httpd: [FALLÓ] Iniciando httpd: [FALLÓ] [root@localhost conf]#
日志:
[error] Can't load Perl file: /usr/sbin/webmux.pl for server localhost.localdomain:0, exiting... DBI connect('dbname=rt3;host=localhost','rt_user',...) failed: Access denied for user 'rt_user'@'localhost' (using password: YES) at /usr/share/perl5/DBIx/SearchBuilder/Handle.pm line 106
解决方案:
[root@localhost conf]# mkdir /root/backup/httpd/ -p [root@localhost conf]# mv /etc/httpd/conf.d/rt3.conf /root/backup/httpd/ [root@localhost conf]# service httpd restart Deteniendo httpd: [ OK ] Iniciando httpd: [ OK ] [root@localhost conf]#
答案 4 :(得分:-1)
这是我在http://wiki.bestpractical.com/view/Troubleshooting上发现的内容 无法在@INC中找到Apache / Response.pm ... 无法加载Perl文件:bin / webmux.pl for server localhost:0,退出...
Found this issue in Aurora SPARC Linux 2.0 (Fedora Core 3 for SPARC) when trying to install... turns out that after installing all the modules for rt, I still had an ancient verion of CGI.pm, which was not intended to correctly detect the mod_perl2 modules vs. regular mod_perl. Upgrading CGI via CPAN quickly resolved this problem after an embarrassing number of hours troubleshooting. If Apache refuses to start after you add PerlRequire bin/webmux.pl to your config and you're sure you've got a valid mod_perl2 installation, try upgrading CGI to the latest version.
也许你可以先尝试更新你的CGI.pm模块。
您是否在apache conf中找到了对webmux.pl的调用?
以前无用的回应:
好吧,您可以发布尝试启动webmux.pl的脚本中的代码吗?
但如果您没有管理权限或不想要,我会建议一个简单的解决方案 进一步了解你的perl conf: 添加到您的代码顶部(但在下面使用严格...永远不要忘记这一个) 在你的脚本中代码:
use lib "/usr/sbin/"
因此您的脚本将能够使用位于/ usr / sbin /
中的库