
Question:
I am getting following error while starting 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...
Can anyone please suggest me what i am missing ?
mod_perl-2.0.4
Solution:1
So, it looks like webmux.pl needs the mysql daemon started first. I found the error message in /var/log/httpd/error_log. Start mysqld first and then the web server will start
Solution:2
Search your Apache config files for webmux.pl. Something must be trying to load it. Either remove the reference to it, or install it.
Solution:3
Found this in RT configs. After comment it, things are working now.
Solution:4
Error:
[root@localhost conf]# service httpd restart Deteniendo httpd: [FALLÃ"] Iniciando httpd: [FALLÃ"] [root@localhost conf]#
Log:
[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
Solution:
[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]#
Solution:5
here is what i found on http://wiki.bestpractical.com/view/Troubleshooting
Can't locate Apache/Response.pm in @INC ... Can't load Perl file: bin/webmux.pl for server localhost:0, exiting...
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.
maybe you can try first to update your CGI.pm module.
Did you find your call to webmux.pl in your apache conf ?
old previous useless response :
well, can you post the code from the script that tries to launch webmux.pl ?
but i would suggest a simple solution, if you don't have administrative rights or don't want to go further in your perl conf : add at top of your code (but below use strict...never forget this one) in your script the code :
use lib "/usr/sbin/"
so you script will be able to use libraries located in /usr/sbin/
Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
EmoticonEmoticon