[LON-CAPA-admin] ./TEST fails - how to fix?

Guy Albertelli II guy at albertelli.com
Mon Feb 7 17:42:35 EST 2005


Hi John,

> when i run ./TEST i get 4 failed tests.  output is listed below.  do i 
> need to fix this? if so, how can i fix this?  i am running version 
> version 1.2.1 on redhat 7.3.

No we need to fix ./TEST is unfortunately out of date and hasn't been
well maintained.

./UPDATE actaully does most to all of the important checks right now.



> lonnet.log shows a lot of this message - <font color=blue>WARNING: 
> Critical message to unknown server ()</font>

I am not sure where those are coming from, but they seem to be
gerenated on machines that are not allowed to connect to rest of the
network.

> is that related to the failed tests?

No.

>  is it something to worry about?

No.

> on another note, can i update to running the latest lon-capa version 
> and fedora core (from redhat) without losing all of my students' 
> assessment data?

Yes.

> if so, can anyone can talk me baby-steps through 
> this, i would appreciate it?

Here are tsome good instructions: (let me know if any of this sounds
unclear)

1. Back up your /home directory and make sure any code that you use
  which is not part of the base LON-CAPA installation (local
  authentication code, for example) is backed up as well.  Backup
  /etc/passwd, /etc/shadow, /etc/group, and /etc/gshadow, as well as
  any other configuration files you have (samba, sendmail, etc).
  Backup /etc/httpd/conf/loncapa.conf, to someplace where you can
  retrieve it easily.  If you have implemented auto-enrollment ensure
  that any required utilities, configuration files, and your custom
  version of localenroll.pm are backed up. 

2. Do a clean install (not an upgrade) of the operating system as per
  the instructions 
         http://install.loncapa.org/FC3_install.html
  If /home is a separate partition you can leave it unformatted
  to avoid step 3  below.

3. Restore your /home directory 

4. Restore your /etc/httpd/conf/loncapa.conf 

5. Install LON-CAPA as per the instructions. 
     http://install.loncapa.org/FC3_install.html

6. Install whatever else you need (authentication code, samba config
  files, etc).  If you have filesystem authenticated users to restore
  them do so by copying the appropriate lines from the saved passwd,
  shadow, groups, and gshadow files.  If you have users with
  old-style crypt passwords you should probably re-create the users
  and give them MD5 passwords. 

  If you have implemented auto-enrollment, install your custom
  version of localenroll.pm and any utilities required to connect to
  institutional data sources. 



-- 
guy at albertelli.com  LON-CAPA Developer  0-7-3-2-



More information about the LON-CAPA-admin mailing list