[LON-CAPA-admin] upgrading from RH 6.2 to 7.3 (continuation)

Martin Siegert siegert at sfu.ca
Wed Aug 21 20:39:39 EDT 2002


By now I have replaced the two lines

LoadModule php3_module        modules/libphp3.so
...
AddModule mod_php3.c

in /etc/httpd/conf/httpd.conf

with 

LoadModule php4_module        modules/libphp4.so
...
AddModule mod_php4.c

I also installed perl-CGI, perl-DB_File, perl-CPAN, perl-NDBM_File, which
probably should be added to the list of absolutely necessary RPMS in
loncapa/doc/install/redhat7.3/install.pl

After that "/etc/init.d/httpd start" gives:

Starting httpd: [Wed Aug 21 17:15:21 2002] [warn] module perl_module is already loaded, skipping
[Wed Aug 21 17:15:21 2002] [warn] module mod_perl.c is already added, skipping
[Wed Aug 21 17:15:22 2002] [error] Can't locate tth.pm in @INC (@INC contains: /home/httpd/lib/perl /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl . /etc/httpd/ /etc/httpd/lib/perl) at /home/httpd/lib/perl/Apache/lontexconvert.pm line 46.
BEGIN failed--compilation aborted at /home/httpd/lib/perl/Apache/lontexconvert.pm line 46.
Compilation failed in require at /home/httpd/lib/perl/Apache/lonxml.pm line 93.
BEGIN failed--compilation aborted at /home/httpd/lib/perl/Apache/lonxml.pm line 93.
Compilation failed in require at /etc/httpd//conf/startup.pl line 29.
BEGIN failed--compilation aborted at /etc/httpd//conf/startup.pl line 29.
Compilation failed in require at (eval 3) line 1.

Syntax error on line 630 of /etc/httpd/conf/loncapa_apache.conf:
Can't locate tth.pm in @INC (@INC contains: /home/httpd/lib/perl /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl . /etc/httpd/ /etc/httpd/lib/perl) at /home/httpd/lib/perl/Apache/lontexconvert.pm line 46.
BEGIN failed--compilation aborted at /home/httpd/lib/perl/Apache/lontexconvert.pm line 46.
Compilation failed in require at /home/httpd/lib/perl/Apache/lonxml.pm line 93.
BEGIN failed--compilation aborted at /home/httpd/lib/perl/Apache/lonxml.pm line 93.
Compilation failed in require at /etc/httpd//conf/startup.pl line 29.
BEGIN failed--compilation aborted at /etc/httpd//conf/startup.pl line 29.
Compilation failed in require at (eval 3) line 1.

                                                           [FAILED]

I continued with 

cp /usr/lib/perl5/site_perl/5.005/tth.pm /usr/lib/perl5/site_perl/5.6.1
cp /usr/lib/perl5/site_perl/5.005/tth.so /usr/lib/perl5/site_perl/5.6.1

which then results in:

Starting httpd: [Wed Aug 21 17:26:20 2002] [warn] module perl_module is already loaded, skipping
[Wed Aug 21 17:26:20 2002] [warn] module mod_perl.c is already added, skipping
[Wed Aug 21 17:26:21 2002] [error] Can't locate capa.pm in @INC (@INC contains: /home/httpd/lib/perl /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl . /etc/httpd/ /etc/httpd/lib/perl) at /home/httpd/lib/perl/Apache/hint.pm line 33.
BEGIN failed--compilation aborted at /home/httpd/lib/perl/Apache/hint.pm line 33.
Compilation failed in require at /home/httpd/lib/perl/Apache/lonhomework.pm line 43.
BEGIN failed--compilation aborted at /home/httpd/lib/perl/Apache/lonhomework.pm line 43.
Compilation failed in require at /etc/httpd//conf/startup.pl line 30.
BEGIN failed--compilation aborted at /etc/httpd//conf/startup.pl line 30.
Compilation failed in require at (eval 3) line 1.

Syntax error on line 630 of /etc/httpd/conf/loncapa_apache.conf:
Can't locate capa.pm in @INC (@INC contains: /home/httpd/lib/perl /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl . /etc/httpd/ /etc/httpd/lib/perl) at /home/httpd/lib/perl/Apache/hint.pm line 33.
BEGIN failed--compilation aborted at /home/httpd/lib/perl/Apache/hint.pm line 33.
Compilation failed in require at /home/httpd/lib/perl/Apache/lonhomework.pm line 43.
BEGIN failed--compilation aborted at /home/httpd/lib/perl/Apache/lonhomework.pm line 43.
Compilation failed in require at /etc/httpd//conf/startup.pl line 30.
BEGIN failed--compilation aborted at /etc/httpd//conf/startup.pl line 30.
Compilation failed in require at (eval 3) line 1.

                                                           [FAILED]

At this point I am wondering whether I should also copy capa.pm, capa.so
to /usr/lib/perl5/site_perl/5.6.1 or whether a complete reinstall of
loncapa is required ... at which point I am getting somewhat desperate.

Cheers,
Martin



More information about the LON-CAPA-admin mailing list