[Catalyst] Strange Question when using catalyst with apache
Cookie
xiaoquqi at gmail.com
Mon Jun 11 09:28:09 GMT 2007
When I start apache,the strange the error output comming,it's very
odd.Idon't know why,please help me.
*If I don't setenv PERL5LIB,it cannot find the Catalyst::Runtime:*
[flexdb at lnxtst02 apache]$ ./start_apache.sh
HOSTNAME=3Dlnxtst02
TERM=3Dxterm
SHELL=3D/bin/bash
HISTSIZE=3D1000
QTDIR=3D/usr/lib/qt-3.3
USER=3Dflexdb
LS_COLORS=3Dno=3D00:fi=3D00:di=3D00;34:ln=3D00;36:pi=3D40;33:so=3D00;35:bd=
=3D40;33;01:cd=3D40;33;01:or=3D01;05;37;41:mi=3D01;05;37;41:ex=3D00;32:*.cm=
d=3D00;32:*.exe=3D00;32:*.com=3D00;32:*.btm=3D00;32:*.bat=3D00;32:*.sh=3D00=
;32:*.csh=3D00;32:*.tar=3D00;31:*.tgz=3D00;31:*.arj=3D00;31:*.taz=3D00;31:*=
.lzh=3D00;31:*.zip=3D00;31:*.z=3D00;31:*.Z=3D00;31:*.gz=3D00;31:*.bz2=3D00;=
31:*.bz=3D00;31:*.tz=3D00;31:*.rpm=3D00;31:*.cpio=3D00;31:*.jpg=3D00;35:*.g=
if=3D00;35:*.bmp=3D00;35:*.xbm=3D00;35:*.xpm=3D00;35:*.png=3D00;35:*.tif=3D=
00;35:
KDEDIR=3D/usr
VOBS=3D/vobs/ezx_tools/apps/web_ap_flex_tool/ezxap_flex_config
PATH=3D/flex/perl-
5.8.8:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:./:/sbi=
n:/flex/svn/bin
MAIL=3D/var/spool/mail/flexdb
PWD=3D/flex/apache
INPUTRC=3D/etc/inputrc
JAVA_HOME=3D/opt/j2sdk1.4.2_11
LANG=3DC
SSH_ASKPASS=3D/usr/libexec/openssh/gnome-ssh-askpass
HOME=3D/home/flexdb
SHLVL=3D2
LOGNAME=3Dflexdb
LESSOPEN=3D|/usr/bin/lesspipe.sh %s
G_BROKEN_FILENAMES=3D1
_=3D/bin/env
[Mon Jun 11 03:27:28 2007] [error] Can't locate Catalyst/Runtime.pm in @INC
(@INC contains: /flex/www/html/lj/catalyst/lib
/usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4
/usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2
/usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4
/usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2
/usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl . /flex/apache/ /flex/apache/lib/perl) at
/flex/www/html/lj/catalyst/lib/Add.pm line 6.\nBEGIN failed--compilation
aborted at /flex/www/html/lj/catalyst/lib/Add.pm line 6.\nCompilation failed
in require at (eval 2) line 3.\n
[Mon Jun 11 03:27:28 2007] [error] Can't load Perl module Add for server
ljflex.cig.mot.com:8080, exiting...
[flexdb at lnxtst02 apache]$
*Here's the apache conf:*
PerlSwitches -I/flex/www/html/lj/catalyst/lib
PerlModule Add
<Location /catalyst>
SetHandler modperl
PerlResponseHandler Add
</Location>
*If I setenv PERL5LIB Here's the error output.*
[flexdb at lnxtst02 apache]$ ./start_apache.sh
HOSTNAME=3Dlnxtst02
TERM=3Dxterm
SHELL=3D/bin/bash
HISTSIZE=3D1000
PERL5LIB=3D/flex/perl/lib/5.8.8/i686-linux:/flex/perl/lib/5.8.8:/flex/perl/=
lib/site_perl/5.8.8/i686-linux:/flex/perl/lib/site_perl/5.8.8:/flex/perl/li=
b/site_perl
QTDIR=3D/usr/lib/qt-3.3
USER=3Dflexdb
LS_COLORS=3Dno=3D00:fi=3D00:di=3D00;34:ln=3D00;36:pi=3D40;33:so=3D00;35:bd=
=3D40;33;01:cd=3D40;33;01:or=3D01;05;37;41:mi=3D01;05;37;41:ex=3D00;32:*.cm=
d=3D00;32:*.exe=3D00;32:*.com=3D00;32:*.btm=3D00;32:*.bat=3D00;32:*.sh=3D00=
;32:*.csh=3D00;32:*.tar=3D00;31:*.tgz=3D00;31:*.arj=3D00;31:*.taz=3D00;31:*=
.lzh=3D00;31:*.zip=3D00;31:*.z=3D00;31:*.Z=3D00;31:*.gz=3D00;31:*.bz2=3D00;=
31:*.bz=3D00;31:*.tz=3D00;31:*.rpm=3D00;31:*.cpio=3D00;31:*.jpg=3D00;35:*.g=
if=3D00;35:*.bmp=3D00;35:*.xbm=3D00;35:*.xpm=3D00;35:*.png=3D00;35:*.tif=3D=
00;35:
KDEDIR=3D/usr
VOBS=3D/vobs/ezx_tools/apps/web_ap_flex_tool/ezxap_flex_config
PATH=3D/flex/perl-
5.8.8:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:./:/sbi=
n:/flex/svn/bin
MAIL=3D/var/spool/mail/flexdb
PWD=3D/flex/apache
INPUTRC=3D/etc/inputrc
JAVA_HOME=3D/opt/j2sdk1.4.2_11
LANG=3DC
SSH_ASKPASS=3D/usr/libexec/openssh/gnome-ssh-askpass
HOME=3D/home/flexdb
SHLVL=3D2
LOGNAME=3Dflexdb
LESSOPEN=3D|/usr/bin/lesspipe.sh %s
G_BROKEN_FILENAMES=3D1
_=3D/bin/env
[Mon Jun 11 03:17:04 2007] [error] DynaLoader object version 1.05 does not
match $DynaLoader::VERSION at /flex/perl/lib/5.8.8/i686-linux/XSLoader.pm
line 18.\nCompilation failed in require at
/flex/perl/lib/5.8.8/i686-linux/IO.pm line 5.\nBEGIN failed--compilation
aborted at /flex/perl/lib/5.8.8/i686-linux/IO.pm line 5.\nCompilation failed
in require at /flex/perl/lib/5.8.8/i686-linux/IO/Handle.pm line 263.\nBEGIN
failed--compilation aborted at /flex/perl/lib/5.8.8/i686-linux/IO/Handle.pm
line 263.\nCompilation failed in require at
/flex/perl/lib/5.8.8/i686-linux/IO/Seekable.pm line 101.\nBEGIN
failed--compilation aborted at
/flex/perl/lib/5.8.8/i686-linux/IO/Seekable.pm line 101.\nCompilation failed
in require at /flex/perl/lib/5.8.8/i686-linux/IO/File.pm line 133.\nBEGIN
failed--compilation aborted at /flex/perl/lib/5.8.8/i686-linux/IO/File.pm
line 133.\nCompilation failed in require at
/flex/perl/lib/5.8.8/i686-linux/IO/Dir.pm line 15.\nBEGIN
failed--compilation aborted at /flex/perl/lib/5.8.8/i686-linux/IO/Dir.pm
line 15.\nCompilation failed in require at
/flex/perl/lib/site_perl/5.8.8/Path/Class/Dir.pm line 9.\nBEGIN
failed--compilation aborted at
/flex/perl/lib/site_perl/5.8.8/Path/Class/Dir.pm line 9.\nCompilation failed
in require at /flex/perl/lib/site_perl/5.8.8/Path/Class/File.pm line
4.\nBEGIN failed--compilation aborted at
/flex/perl/lib/site_perl/5.8.8/Path/Class/File.pm line 4.\nCompilation
failed in require at /flex/perl/lib/site_perl/5.8.8/Path/Class.pm line
10.\nBEGIN failed--compilation aborted at
/flex/perl/lib/site_perl/5.8.8/Path/Class.pm line 10.\nCompilation failed in
require at /flex/perl/lib/site_perl/5.8.8/Catalyst/Utils.pm line 7.\nBEGIN
failed--compilation aborted at
/flex/perl/lib/site_perl/5.8.8/Catalyst/Utils.pm line 7.\nCompilation failed
in require at /flex/perl/lib/site_perl/5.8.8/Catalyst/Component.pm line
6.\nBEGIN failed--compilation aborted at
/flex/perl/lib/site_perl/5.8.8/Catalyst/Component.pm line 6.\nCompilation
failed in require at (eval 3) line 3.\n\t...propagated at
/flex/perl/lib/5.8.8/base.pm line 85.\nBEGIN failed--compilation aborted at
/flex/perl/lib/site_perl/5.8.8/Catalyst.pm line 4.\nCompilation failed in
require at /flex/www/html/lj/catalyst/lib/Add.pm line 31.\nBEGIN
failed--compilation aborted at /flex/www/html/lj/catalyst/lib/Add.pm line
31.\nCompilation failed in require at (eval 2) line 3.\n
[Mon Jun 11 03:17:04 2007] [error] Can't load Perl module Add for server
hostname:8080, exiting...
[flexdb at lnxtst02 apache]$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20070611/f8840=
022/attachment-0001.htm
More information about the Catalyst
mailing list