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

Guy Albertelli II guy at albertelli.com
Wed Aug 21 22:21:17 EDT 2002

Hi Martin,

> 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

You need the older gnuplot.

> #        libgd-1.3-4.i386.rpm
> package libgd is not installed

You need this older libgd

> #        libungif-progs-4.1.0-9.i386.rpm
> libungif-progs-4.1.0-10

This should be okay.

> #        readline-2.2.1-6.i386.rpm
> #        readline-4.2a-4.i386.rpm

This is beacuse you need some compat stuff for the older gnuplot/libgd

> #        perl-DBD-MySQL-1.2216-4.i386.rpm
> perl-DBD-MySQL-1.2219-6

This should be okay.

> I guess having newer versions for gnuplot, 
> is not a problem.

It is.

gnuplot/libgd are trying to remove gif as a viable output mechanism,
 however all of the alternatives jpg/png are pretty poor interms of
 features that the support.

You really do need the older version of gnuplot, and you need to pick
 up the libgd stuff, you can get it from the tar file the install.pl
 is distrubted with.

> 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?

the older libgd rpm needs it.

> 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?

You probably will need to have both installed, both the version 1.3
and the version 1.8

> 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?

They are different, but have the same internal name, one probably can
argue that this should get fixed.

Scott is in the process of revamping the perlmodule install
process. and thus we are moving away from the systemperl

> I did a "rpm -Uvh --force LON-CAPA-systemperl-3.4-rh72.i386.rpm". Now
> "rpm -V perl-libwww-perl" shows
> Should I worry about this?


> 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?

You need to deinstall the lon-capa mysql, and use the redhat ones.

rpm -e LON-CAPA-mysql-3.1-1

and then I would reinstall 

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

This seems to be running on dalton right now.

guy at albertelli.com          BM: n^20 t20 z20 qS 
Guy Albertelli -7-8-4-  O-
    In the force if Yoda's so strong, construct a sentence
    with words in the proper order then why can't he?

More information about the LON-CAPA-admin mailing list