<div dir="ltr"><div><div><div><div>Stuart,<br><br></div>There was a typo in /home/httpd/lonTabs/domain.tab that I missed. Things look proper again, and I can access the user status pages.<br><br></div>One other note, all of my /home/httpd/lonTabs look like this:<br><br># domain:Domain Name:auth mechanism:auth parameters:Language:City:Geo1:Geo2:main library<br>binghamton:Binghamton University:::::::binghamtonl1<br><br></div>there isn't a 'en-US' in one of the fields. How does that get filled in?<br><br></div><div>Once again, thank you for the help.<br><br></div><div>Bob<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 22, 2016 at 2:09 PM, Stuart Raeburn <span dir="ltr"><<a href="mailto:raeburn@msu.edu" target="_blank">raeburn@msu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Bob,<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I still get cannot access the user status pages on<br>
<a href="http://loncapa6.chem.binghamton.edu" rel="noreferrer" target="_blank">loncapa6.chem.binghamton.edu</a> while I can access all of the others.<br>
<br>
</blockquote>
<br></span>
Comparing <a href="http://loncapa6.chem.binghamton.edu/adm/login" rel="noreferrer" target="_blank">http://loncapa6.chem.binghamton.edu/adm/login</a> with <a href="http://loncapa5.chem.binghamton.edu/adm/login" rel="noreferrer" target="_blank">http://loncapa5.chem.binghamton.edu/adm/login</a> it is evident that loncapa6 is unable to retrieve domain configuration information from the binghamton domain's primary library server.<br>
<br>
You'll see that loncapa6 has no custom logo at bottom right of the log-in page, but does include a link to "Course/Community Catalog" as the fourth item below the Log in button (it is not shown on the log-in pages for your other servers).<br>
<br>
Can you check if there is a typo in: /home/httpd/lonTabs/domain.tab on loncapa6.<br>
That file should contain:<br>
<br>
binghamton:Binghamton University:::en-US::::binghamtonl1<br>
<br>
(The last item, after the eighth colon, is the lonHostID of the primary library server).<br>
<br>
You might also look in /home/httpd/perl/logs/lonnet.log on loncapa6 for this message: get_dom failed - no homeserver and/or domain (binghamton)<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
Stuart Raeburn<br>
LON-CAPA Academic Consortium<br>
<br>
<br>
Quoting Bob Gonzales <<a href="mailto:rgonzal@binghamton.edu" target="_blank">rgonzal@binghamton.edu</a>>:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Stuart,<br>
<br>
I still get cannot access the user status pages on<br>
<a href="http://loncapa6.chem.binghamton.edu" rel="noreferrer" target="_blank">loncapa6.chem.binghamton.edu</a> while I can access all of the others.<br>
<br>
I dumped memcache and compared the following entries to those on another<br>
server and they look the same.<br>
<br>
dns%3a%2fadm%2fdns%2fdomain<br>
dns%3a%2fadm%2fdns%2fhosts<br>
iphost%3aiphost<br>
<br>
There are no entries in lonmemcached_errors.<br>
<br>
I killed and restarted lonmemcached. No changes, the Specific ip's' field<br>
on the is still blank on the 'Display/Edit Settings' page is still blank.<br>
<br>
Something that is different about this server, compared to my other ones,<br>
is that I had a disk failure and I reinstalled centos and loncapa. This<br>
machine is at the same level of centos, with the latest updates, just as my<br>
other servers are. The loncapa string on the login page for all of the<br>
servers is 2.11.<a href="tel:1-2015053018" value="+12015053018" target="_blank">1-2015053018</a>.<br>
<br>
One other difference between this machine and the others, related to the<br>
re-install, is that the library moved to another subnet back in January,<br>
and the reinstall on loncapa6 happened in February. I don't know what<br>
difference this might make but I thought I'd include the info.<br>
<br>
Bob<br>
<br>
<br>
<br>
<br>
<br>
On Sun, Feb 21, 2016 at 11:28 AM, Stuart Raeburn <<a href="mailto:raeburn@msu.edu" target="_blank">raeburn@msu.edu</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Bob,<br>
<br>
I expect expiration of caches will have fixed this issue on binghamtona6<br>
by now, but if not ...<br>
<br>
... The page it returns has the text 'Your<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
cookie information is incorrect.' in the body of the page.<br>
<br>
</blockquote>
<br>
You will see that message if you attempt to access the user status page<br>
outside of a authenticated session (e.g., using wget) from an IP address<br>
that either (a) does not belong to one of your domain's LON-CAPA servers,<br>
or (b) is not one of the IP addresses for which access to the user status<br>
page has been specified in the domain configuration for your domain.<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If I log onto loncapa6 and go to the 'Display/Edit Settings' page, the<br>
'Specific ip's' field is blank. It is not blank if I do that on the other<br>
servers, it has the correct address in it.<br>
<br>
<br>
</blockquote>
That indicates that on binghamtona6 the current domain configuration was<br>
not retrieved from the primary library server in in your domain (i.e.,<br>
binghamtonl1).<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
An error occurred saving access settings for server status pages:<br>
no_such_host.<br>
<br>
<br>
</blockquote>
That error message tells me that when binghamtona6 attempted to save the<br>
domain configuration settings for the binghamton domain to the primary<br>
library server in your domain (i.e., binghamtonl1), it failed to obtain a<br>
hostname for that server. That is consistent with the failure to retrieve<br>
the domain configuration information originally.<br>
<br>
In the case of failure to retrieve a hostname, given a lonhostID, I would<br>
recommend checking that the information cached in memcache on binghamtona6<br>
for the items:<br>
<br>
dns%3a%2fadm%2fdns%2fdomain<br>
dns%3a%2fadm%2fdns%2fhosts<br>
iphost%3aiphost<br>
<br>
look correct.<br>
<br>
My 2/9/2015 post to this mailing list included a perl script which can be<br>
run to dump the contents of memcached. See:<br>
<a href="http://mail.lon-capa.org/pipermail/lon-capa-admin/2015-February/003005.html" rel="noreferrer" target="_blank">http://mail.lon-capa.org/pipermail/lon-capa-admin/2015-February/003005.html</a><br>
.<br>
<br>
If it's not correct you might look in<br>
/home/httpd/perl/logs/lonmemcached_errors on binghamtona6 to see if<br>
anything is logged there.<br>
<br>
You can restart memcached on binghamtona6, either by restarting all the<br>
LON-CAPA daemons using /etc/init.d/loncontrol restart, or by restarting<br>
just memcached, by retrieving the process ID (pid), killing that pid, and<br>
then starting loncontrol, i.e.,<br>
<br>
cat /home/httpd/perl/logs/lonmemcached.pid<br>
kill <pid><br>
/etc/init.d/loncontrol start<br>
<br>
<br>
Stuart Raeburn<br>
LON-CAPA Academic Consortium<br>
<br>
<br>
<br>
Quoting Bob Gonzales <<a href="mailto:rgonzal@binghamton.edu" target="_blank">rgonzal@binghamton.edu</a>>:<br>
<br>
I can't access the user status page on one of my servers from a remote<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
machine. The server that is not allowing access is<br>
<a href="http://loncapa6.chem.binghamton.edu" rel="noreferrer" target="_blank">loncapa6.chem.binghamton.edu</a>. The page it returns has the text 'Your<br>
cookie information is incorrect.' in the body of the page. I can access<br>
it correctly from the command line on loncapa6.<br>
<br>
I can access all of my other server's user status page.<br>
<br>
The remote machine's that is requesting the pages was setup via the gui<br>
'Display/Edit Settings' page.<br>
<br>
If I log onto loncapa6 and go to the 'Display/Edit Settings' page, the<br>
'Specific ip's' field is blank. It is not blank if I do that on the other<br>
servers, it has the correct address in it. From loncapa6, if I try to set<br>
it to any value then I get the following message:<br>
<br>
An error occurred saving access settings for server status pages:<br>
no_such_host.<br>
<br>
loncapa6 seems to be working OK. I can log on an choose various roles and<br>
do normal things.<br>
<br>
The system files /etc/hosts, and /etc/resolv.conf match up with the other<br>
servers. The files in /home/httpd/lonTabs also seem consistent with the<br>
same on the other access servers.<br>
<br>
Anyone have any suggestions on what else I can check?<br>
<br>
Thanks,<br>
Bob Gonzales<br>
Binghamton University<br>
Chemistry Dept<br>
<br>
</blockquote>
<br>
_______________________________________________<br>
LON-CAPA-admin mailing list<br>
<a href="mailto:LON-CAPA-admin@mail.lon-capa.org" target="_blank">LON-CAPA-admin@mail.lon-capa.org</a><br>
<a href="http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin" rel="noreferrer" target="_blank">http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin</a><br>
</blockquote></blockquote>
<br>
_______________________________________________<br>
LON-CAPA-admin mailing list<br>
<a href="mailto:LON-CAPA-admin@mail.lon-capa.org" target="_blank">LON-CAPA-admin@mail.lon-capa.org</a><br>
<a href="http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin" rel="noreferrer" target="_blank">http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin</a><br>
</div></div></blockquote></div><br></div>