[LON-CAPA-admin] installation problems

Martin Siegert siegert at sfu.ca
Fri Apr 25 16:57:51 EDT 2003

On Fri, Apr 25, 2003 at 02:06:19PM -0400, Guy Albertelli II wrote:
> > I am trying to install an access server here at SFU. And I am trying
> > do this "by the book", i.e., follow the instructions at
> > 
> > http://install.loncapa.org/docs/install/index.html
> You probably shouldn't do that.
> You should probably follow:
> http://install.loncapa.org/docs/install/rh73.html

This didn't work much better. The reason may be that I already had done
everything upto the ./UPDATE according to 
and since the loncapa-rh73install.tar tarball includes a few outdated
packages (apache, mysql) I did not even try to to install the rpms
included in that tarball - just made sure that I have the corresponding
packages installed (question: is it correct that only gnuplot-3.7.1-5.i386.rpm,
libgd-1.3-4.i386.rpm, and LON-CAPA-systemperl-3.5-rh7.i386.rpm are
specific to loncapa, whereas all the other packages are either identical
or can be replaced with the corresponding newer RH7.3 versions?).

Also the mysql code cannot work since I already had set a root password,
thus I just completed the remaining steps.

No problems up to this point.

The copied httpd.conf from the loncapa-rh73install.tar into place and
ran ./UPDATE. That fails again:

make webserverconf
make[1]: Entering directory `/usr/local/src/loncapa-0.6.2/loncom/build'
cat ../../doc/loncapafiles/webserver.piml | \
perl piml_parse.pl "development" `perl ./distprobe` """" | perl
**** ERROR **** httpd.conf has an overlapping definition of DocumentRoot (it is incorrectly set to "/var/www/html").
This conflicts with loncapa_apache.conf.
make[1]: *** [webserverconf] Error 1
make[1]: Leaving directory `/usr/local/src/loncapa-0.6.2/loncom/build'
make: *** [postinstall] Error 2
cat ../../loncom/license/about.html | \
perl -e '$d=`date +"%Y%m%d"`;chomp($d);while(<>){s/\<\!\-\- VERSION \-\-\>/0.6.2-$d/; print;}' > \
mv -v ../../loncom/license/about.html.new \
`../../loncom/license/about.html.new' -> `../../loncom/license/about.html'

It seems to me that the httpd.conf file that comes with the
loncapa-rh73install.tar is too old. It contains lines like:

User apache
Group apache


DocumentRoot "/var/www/html"

This seems to be incorrect. Our library server dalton.chem.sfu.ca has

User www
Group users

and no "DocumentRoot" at all. Can I just copy the httpd.conf file from
the library server to the access server and then run UPDATE?

Thanks again,

More information about the LON-CAPA-admin mailing list