[LON-CAPA-admin] Map not loaded error on Ub12

Stuart Raeburn raeburn at msu.edu
Sun Dec 21 17:00:44 EST 2014


Hi Maged,

Ubuntu 12 uses LWP 6.0, so if you have included https in the entry for  
the library server in /home/httpd/lonTabs/dns_hosts.tab on  
uiuclibrary12, then the library server will need to have an SSL  
certificate installed (which has been signed by a recognized signer,  
e.g., InCommon), and the access servers will need to either (a) have  
the ca-certificates package installed (sudo apt-get install  
ca-certificates), or (b) have:

PERL_LWP_SSL_VERIFY_HOSTNAME=0

in /etc/environment

in order for the access server to be able to replicate content (such  
as a course's default.sequence file) from the library server.

> The only strange thing, and I am not sure if relevant or not, the   
> directory is trying to create is 5282125afdd416duiuclibrary1

In LON-CAPA a course number, such as "5282125afdd416duiuclibrary1"  
ends with the lonHostID of the server where the session was running  
for the user when he/she created the course.  However, that part of  
the course number does not need to match the lonHostID of the server  
in your separate dev. cluster, just as long as the corresponding:

/home/httpd/lonUsers/uiuc/5/2/8/5282125afdd416duiuclibrary1/userfiles/default.sequence

file exists on the library server (uiuclibrary12) in the development cluster.


Stuart Raeburn
LON-CAPA Academic Consortium


Quoting "Abdel Messeh, Maged" <mmesseh at illinois.edu>:

> I also have checked the permissions on that directory and they seem OK:
>
> /home/httpd# ls -lRa html/userfiles/*
> html/userfiles/uiuc:
> total 16
> drwxr-x--- 4 www www 4096 Dec 19 15:32 .
> drwxr-xr-x 3 www www 4096 Dec 19 14:37 ..
> drwxr-x--- 2 www www 4096 Dec 19 15:32 5282125afdd416duiuclibrary1
> drwxr-x--- 2 www www 4096 Dec 19 14:37 974815464c84133uiuclibrary1
>
> html/userfiles/uiuc/5282125afdd416duiuclibrary1:
> total 8
> drwxr-x--- 2 www www 4096 Dec 19 15:32 .
> drwxr-x--- 4 www www 4096 Dec 19 15:32 ..
>
> html/userfiles/uiuc/974815464c84133uiuclibrary1:
> total 8
> drwxr-x--- 2 www www 4096 Dec 19 14:37 .
> drwxr-x--- 4 www www 4096 Dec 19 15:32 ..
>
>
> As all the processes on the access node are running as www:
>
> /home/httpd# ps -ef|grep -i apa
> root      3301     1  0 Dec19 ?        00:00:12 /usr/sbin/apache2 -k start
> www       4760  3301  0 06:25 ?        00:00:00 /usr/sbin/apache2 -k start
> www       4761  3301  0 06:25 ?        00:00:00 /usr/sbin/apache2 -k start
> www       4762  3301  0 06:25 ?        00:00:00 /usr/sbin/apache2 -k start
> www       4766  3301  0 06:25 ?        00:00:00 /usr/sbin/apache2 -k start
> www       4768  3301  0 06:25 ?        00:00:00 /usr/sbin/apache2 -k start
> www       5370  3301  0 09:56 ?        00:00:00 /usr/sbin/apache2 -k start
> www       5374  3301  0 09:56 ?        00:00:00 /usr/sbin/apache2 -k start
>
> /home/httpd# ps -ef|grep -i lon
> www       1451     1  0 Dec19 ?        00:00:00 /usr/bin/perl   
> /home/httpd/perl/lonsql
> www       1452  1451  0 Dec19 ?        00:00:00 /usr/bin/perl   
> /home/httpd/perl/lonsql
> www       1453  1451  0 Dec19 ?        00:00:00 /usr/bin/perl   
> /home/httpd/perl/lonsql
> www       1454  1451  0 Dec19 ?        00:00:00 /usr/bin/perl   
> /home/httpd/perl/lonsql
> www       1455  1451  0 Dec19 ?        00:00:00 /usr/bin/perl   
> /home/httpd/perl/lonsql
> www       1531     1  0 Dec19 ?        00:00:00 lond: Starting   
> accept Sun Dec 21 05:15:16 2014
> www       1540     1  0 Dec19 ?        00:00:00 lonc: Parent keeping  
>  the flock Sun Dec 21 05:10:12 2014
> www       1547     1  0 Dec19 ?        00:00:00 lonmaxima: Parent   
> process, sleeping Fri Dec 19 14:34:39 2014
> www       1548  1547  0 Dec19 ?        00:00:00 lonmaxima: Accepting  
>  connections Fri Dec 19 14:34:43 2014
> www       1549  1547  0 Dec19 ?        00:00:00 lonmaxima: Accepting  
>  connections Fri Dec 19 14:34:43 2014
> www       1550  1547  0 Dec19 ?        00:00:00 lonmaxima: Accepting  
>  connections Fri Dec 19 14:34:43 2014
> www       1551  1547  0 Dec19 ?        00:00:00 lonmaxima: Accepting  
>  connections Fri Dec 19 14:34:43 2014
> www       1552  1547  0 Dec19 ?        00:00:00 lonmaxima: Accepting  
>  connections Fri Dec 19 14:34:43 2014
> www       1644     1  0 Dec19 ?        00:00:00 lonr: Parent   
> process, sleeping Fri Dec 19 14:34:41 2014
> www       1645  1644  0 Dec19 ?        00:00:00 lonr: Accepting   
> connections Fri Dec 19 14:34:42 2014
> www       1646  1644  0 Dec19 ?        00:00:00 lonr: Accepting   
> connections Fri Dec 19 14:34:42 2014
> www       1647  1644  0 Dec19 ?        00:00:00 lonr: Accepting   
> connections Fri Dec 19 14:34:42 2014
> www       1648  1644  0 Dec19 ?        00:00:00 lonr: Accepting   
> connections Fri Dec 19 14:34:42 2014
> www       1649  1644  0 Dec19 ?        00:00:00 lonr: Accepting   
> connections Fri Dec 19 14:34:42 2014
>
>
> The only strange thing, and I am not sure if relevant or not, the   
> directory is trying to create is 5282125afdd416duiuclibrary1, which   
> has the name of our old library server, that is uiuclibrary1 where   
> we copied the data from?  However, our new library server is   
> uiuclibrary12, to which the above access node is trying to connect.
>
> Thanks,
>
> Maged
>
> -----Original Message-----
> From: lon-capa-admin-bounces at mail.lon-capa.org   
> [mailto:lon-capa-admin-bounces at mail.lon-capa.org] On Behalf Of   
> Bynum, Lee Hamilton
> Sent: Saturday, December 20, 2014 5:08 PM
> To: list about administration and system updating
> Subject: Re: [LON-CAPA-admin] Map not loaded error on Ub12
>
> While selecting a role in a course results in that error on the   
> access servers, selecting an author space works just fine.
>
> Lee Bynum
> ________________________________________
> From: lon-capa-admin-bounces at mail.lon-capa.org   
> [lon-capa-admin-bounces at mail.lon-capa.org] on behalf of Abdel   
> Messeh, Maged [mmesseh at illinois.edu]
> Sent: Saturday, December 20, 2014 11:10 AM
> To: lon-capa-admin at mail.lon-capa.org
> Subject: [LON-CAPA-admin] Map not loaded error on Ub12
>
> Hi All,
>
> I have configured a test cluster, one standalone library and 2   
> access nodes.  I can work fine from the library, however when I work  
>  on the access nodes I get an error when I attempt to view a course:
>
> Map not loaded: The file   
> /home/httpd/html/userfiles/uiuc/2m286089f12d4520auiucaccess1/default.sequence does not   
> exist.
>
> In lonnet.log, I found:
>         Fri Dec 19 15:02:38 2014 (1664): Userfile repcopy failed for  
>  uploaded/uiuc/2m286089f12d4520auiucaccess1/default.sequence
>
> Below is a directory listing:
>
> /home/httpd/html/userfiles# du -a
> 4       ./uiuc/5282125afdd416duiuclibrary1
> 4       ./uiuc/2m286089f12d4520auiucaccess1
> 4       ./uiuc/1H194910598fe5263uiucaccess2
> 4       ./uiuc/2u206861b7c7f547cuiuclibrary12
> 20      ./uiuc
> 24      .
>
> So the default.sequence does not get created for some reason.
>
> Thanks in advance for all your help.
>
> Maged
> _______________________________________________
> LON-CAPA-admin mailing list
> LON-CAPA-admin at mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin
> _______________________________________________
> LON-CAPA-admin mailing list
> LON-CAPA-admin at mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin
> _______________________________________________
> 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