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

Martin Siegert siegert at sfu.ca
Wed Aug 21 19:24:07 EDT 2002


Hi Scott, Guy,
and everybody else who would like to jump in here:

I have just upgraded dalton.chem.sfu.ca from RH6.2 to RH7.3 (i.e.,
I did not reinstall from scratch but chose "upgrade" in the RH install
procedure). The upgrade proceeded without problems.

Now to the problems getting lon-capa working again:

1) from the list of RPMS in loncapa/doc/install/redhat7.3/install.pl:

The following differences appear (rpm -q <pkgname>)
#        gnuplot-3.7.1-5.i386.rpm
gnuplot-3.7.1-17
#        libgd-1.3-4.i386.rpm
package libgd is not installed
#        libungif-progs-4.1.0-9.i386.rpm
libungif-progs-4.1.0-10
#        readline-2.2.1-6.i386.rpm
#        readline-4.2a-4.i386.rpm
readline-4.2a-4
#        perl-DBD-MySQL-1.2216-4.i386.rpm
perl-DBD-MySQL-1.2219-6

I guess having newer versions for gnuplot, libungif-progs and perl-DBD-MySQL
is not a problem. However do I really need to have two versions of readline
installed (I cannot image how that should work)? Or is readline-4.2a-4 alone
good enough? libgd does not appear to be a RedHat 7.3 package. I do have 
gd-1.8.4-4 which contains /usr/lib/libgd.so.1.8.4. Is that what I am supposed
to have?

2) output from "rpm -Uvh LON-CAPA-systemperl-3.4-rh72.i386.rpm":

Preparing...                ########################################### [100%]
file /usr/bin/GET from install of LON-CAPA-systemperl-3.4-1 conflicts with file from package perl-libwww-perl-5.63-9
file /usr/bin/HEAD from install of LON-CAPA-systemperl-3.4-1 conflicts with file from package perl-libwww-perl-5.63-9
file /usr/bin/POST from install of LON-CAPA-systemperl-3.4-1 conflicts with file from package perl-libwww-perl-5.63-9
file /usr/bin/lwp-request from install of LON-CAPA-systemperl-3.4-1 conflicts with file from package perl-libwww-perl-5.63-9

First of all: there seems to be something wrong with the build of this
package: 

# ls LON-CAPA-systemperl*
LON-CAPA-systemperl-3.4-rh72.i386.rpm
# rpm -q --qf RPMVERSION -p LON-CAPA-systemperl-3.4-rh72.i386.rpm
LON-CAPA-systemperl-3.4-1

Is this the real thing (in which case it should be rebuilt to show the correct
verion) or did somebody just rename the LON-CAPA-systemperl-3.4-1 rpm?

I did a "rpm -Uvh --force LON-CAPA-systemperl-3.4-rh72.i386.rpm". Now
"rpm -V perl-libwww-perl" shows
S.5....T   /usr/bin/GET
S.5....T   /usr/bin/HEAD
S.5....T   /usr/bin/POST
.......T   /usr/bin/lwp-download
.......T   /usr/bin/lwp-mirror
S.5....T   /usr/bin/lwp-request
.......T   /usr/bin/lwp-rget

Should I worry about this?

3) When booted httpd does not come up:

Aug 21 15:25:03 dalton httpd: Syntax error on line 130 of /etc/httpd/conf/httpd.conf:
Aug 21 15:25:03 dalton httpd: Cannot load /etc/httpd/modules/libphp3.so into server: /etc/httpd/modules/libphp3.so: cannot open shared object file: No such file or directory
Aug 21 15:25:03 dalton httpd: httpd startup failed

Line 130 of /etc/httpd/conf/httpd.conf reads:
LoadModule php3_module        modules/libphp3.so

but "ls /etc/httpd/modules/libphp*" shows /etc/httpd/modules/libphp4.so.
In which way should Line 130 be changed?
Will
LoadModule php3_module        modules/libphp4.so
work?

4) mysqld does not start either. From /var/log/mysqld.log:

020821 15:25:05  mysqld started
020821 15:25:07  Can't start server : Bind on unix socket: Permission denied
020821 15:25:07  Do you already have another mysqld server running on socket: /var/lib/mysql/mysql.sock ?
020821 15:25:07  Aborting

020821 15:25:07  mysqld ended

Any ideas what is going wrong here?

5) lond does not start either. But after 3) and 4) I am not surprised.

Any advice to any of these points would be greatly appreciated!
Thanks in advance!

Cheers,
Martin

========================================================================
Martin Siegert
Academic Computing Services                        phone: (604) 291-4691
Simon Fraser University                            fax:   (604) 291-4242
Burnaby, British Columbia                          email: siegert at sfu.ca
Canada  V5A 1S6
========================================================================



More information about the LON-CAPA-admin mailing list