[LON-CAPA-admin] Course Editing Followup

Stuart Raeburn raeburn at msu.edu
Tue Jan 27 18:37:06 EST 2015


Could you look in /home/httpd/perl/logs/lond.log on capa4?

The error messages you have posted indicate this problem is occurring  
during the final transaction in lonnet::finishuserfileupload() when:


is called to prompt lond to request the edited and/or new .sequence  
file from the session-hosting server (the file being requested is at:  

The file is retrieved by lond on the course's homeserver using an LWP  
request to the session-hosting server, and then saved in  
on the course's homeserver.

On the lond side the fetch_user_file_handler() routine is the one  
which handles fetchuserfile requests.  If it is returning "failed",  
then you should find either:

(a) "LWP GET: $message for $fname ($remoteurl)"


(b) "Unable to move $transname to $destname"

logged in /home/httpd/perl/logs/lond.log

I'm guessing (a) and I would be interested to know what is logged for  
$message and also for $remoteurl.

If LWP is sending the request then you'll find something in the web  
server logs relating to this transaction.  It is likely an access  
control issue -- see:
/home/httpd/lib/perl/Apache/lontokacc.pm which i the AccessHandler --  
in which case your suspicion that it's a network identification issue  
would be correct.

Look in the Apache error log /etc/httpd/logs/error_log for lines  
containing "Unable to find a host for ".

Does /etc/hosts contain:       localhost.localdomain   localhost

In the particular case where you see this error, although the  
session-hosting server and the course's homeserver are the same  
machine, LON-CAPA currently still uses an LWP web request.

Stuart Raeburn
LON-CAPA Academic Consortium

Quoting "Lucas, Mark" <lucasm at ohio.edu>:

> A quick followup on the previous note:
> Editing the course on a different server works just fine (capa2).
> A course on ohiouk12l1 under the qvhs domain gives the following error
> when I try to add a new folder to the course:
> * Map not saved: A network error occurred when trying to save the new map.
> but this works just fine from capa2.
> I get the feeling that ohiouk12l1 is not happy with it's multiple   
> domains, perhaps due
> to a networking identification issue. Any hints as to other things to try?
> Mark
> --
> Mark Lucas 								email: lucasm at ohiou.edu
> 252D Clippinger Lab						phone: (740)597-2984
> Department of Physics and Astronomy		fax: (740)593-0433
> Ohio University
> Athens, OH 45701
> _______________________________________________
> LON-CAPA-admin mailing list
> LON-CAPA-admin at mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin

More information about the LON-CAPA-admin mailing list