<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
George Hunt may have identified the same "XOs don't quite register"
XS bug 2 months ago in the Philippines here??<br>
<a class="moz-txt-link-freetext" href="http://schoolserver.wordpress.com/2012/03/26/registration-problem-corrected-but-not-solved/">http://schoolserver.wordpress.com/2012/03/26/registration-problem-corrected-but-not-solved/</a><br>
<br>
<br>
On 6/5/2012 10:08 PM, Holt wrote:
<blockquote cite="mid:4FCEBBBB.3040003@laptop.org" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
On 6/5/2012 7:22 AM, Holt wrote:
<blockquote cite="mid:4FCDEBDB.4030807@laptop.org" type="cite">XO-1.5s
do not show a "Register Again" option, except on that 1 single
machine that registered successfully back on Saturday. <br>
<br>
That single XO-1.5 registered successfully (back on Saturday)
regardless whether its My Settings -> Network -> Server
was set to schoolserver.providence.uwimona.edu.jm or was not set
to anything at all. <br>
<br>
As of Monday/now however, XO-1.5s cannot similarly register, no
matter if My Settings -> Network -> Server is set or not,
even with schoolserver.providence.uwimona.edu.jm remaining
pingable. <br>
<br>
Anything else I can try? <br>
<br>
<br>
Aside: all XO-1.5s are running 11.2.0, and if we can resolve
this register-then-backup dilemma, our intent is to reflash all
to 11.3.1. <br>
</blockquote>
<br>
<br>
Jerry Vonau's not only Canajun, he also has PAPAL powers (!)
exposing a serious bug blocking Jamaica's XO-1.5s (Release 11.2.0
for now) from registering with their XS 0.7 _unless_ live DNS is
turned on.<br>
<br>
Workaround:<br>
<br>
<br>
1) Turn on DNS in /etc/named-xs.conf.in then run:<br>
[root@schoolserver ~]# nano /etc/named-xs.conf.in<br>
changing this line...<br>
forwarders {196.2.1.2; 196.2.1.3;};<br>
to this line...<br>
forwarders { 192.168.1.1; };<br>
[root@schoolserver ~]# xs-domain-config<br>
[root@schoolserver ~]# service named restart<br>
<br>
<br>
2) Turn off all Internet except pings for our 4- and 5- year olds,
at XS's firewall:<br>
[root@schoolserver ~]# nano
/etc/sysconfig/olpc-scripts/iptables-xs.in<br>
# COMMENTED OUT THESE LINES BELOW, TO BLOCK KIDS FROM INTERNET<br>
# -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT<br>
# -A FORWARD -o @@WAN@@ -j ACCEPT<br>
[root@schoolserver ~]# xs-setup-network<br>
[root@schoolserver ~]# service iptables restart<br>
[root@schoolserver ~]# iptables -L<br>
Chain INPUT (policy ACCEPT)<br>
target prot opt source destination<br>
ACCEPT all -- anywhere anywhere state
RELATED,ESTABLISHED<br>
ACCEPT icmp -- anywhere anywhere<br>
ACCEPT all -- anywhere anywhere<br>
ACCEPT tcp -- anywhere anywhere state
NEW tcp dpt:ssh<br>
ACCEPT all -- anywhere anywhere state
NEW<br>
REJECT all -- anywhere anywhere
reject-with icmp-host-prohibited<br>
<br>
Chain FORWARD (policy ACCEPT)<br>
target prot opt source destination<br>
ACCEPT icmp -- anywhere anywhere<br>
ACCEPT all -- anywhere anywhere<br>
REJECT all -- anywhere anywhere
reject-with icmp-host-prohibited<br>
<br>
Chain OUTPUT (policy ACCEPT)<br>
target prot opt source destination<br>
<br>
<br>
3) APACHE WOULD NOT START; was misconfigured, so...<br>
[root@schoolserver ~]# mv /etc/httpd/conf.d/munin.conf
/etc/httpd/conf.d/munin.conf.SAVE<br>
[root@schoolserver ~]# service httpd restart<br>
<br>
<br>
4) Jerry hasn't yet figured out why ejabberd (collaboration) isn't
working, but will try to hack thru these error msgs with me
tomorrow, when I can get back inside the school:<br>
[root@schoolserver ~]# service moodle restart<br>
Disabling Moodle access and cron job: [ OK
]<br>
Enabling Moodle access and cron job: [ OK
]<br>
[root@schoolserver ~]# service pgsql-xs restart<br>
Stopping pgsql-xs service: [ OK
]<br>
Starting pgsql-xs service: . [ OK
]<br>
[root@schoolserver ~]# service ejabberd-xs restart<br>
Shutting down ejabberd: already stopped
[WARNING]<br>
Starting ejabberd: [ OK
]<br>
[root@schoolserver ~]# ejabberdctl registered-users `hostname -f`<br>
<b>The node ejabberd@schoolserver is started with status: started<br>
ejabberd is not running in that node<br>
Check for error messages: /var/log/ejabberd/ejabberd.log<br>
or other files in that directory.</b><br>
[SNIP]<br>
[root@schoolserver ~]# cp -pr /var/lib/ejabberd/spool
/var/lib/ejabberd/spool.SAVE<br>
[root@schoolserver ~]# rm -f /var/lib/ejabberd/spool/*
/var/lib/ejabberd/spool/.erlang.cookie<br>
[root@schoolserver ~]# cat /etc/sysconfig/ejabberd_domain_name<br>
providence.uwimona.edu.jm<br>
[root@schoolserver ~]# rm -f /etc/sysconfig/ejabberd_domain_name<br>
[root@schoolserver ~]# cat >
/etc/sysconfig/ejabberd_domain_name<br>
INTENTIONALLYBOGUSprovidence.uwimona.edu.jm<br>
[root@schoolserver ~]# service ejabberd-xs start<br>
Starting ejabberd: /etc/sysconfig/xs_domain_name
/etc/sysconfig/ejabberd_domain_name differ: byte 1, line 1<br>
[ OK
]<br>
<b>Failed RPC connection to the node ejabberd@schoolserver:
nodedown</b><br>
[SNIP]<br>
[root@schoolserver ~]# ejabberdctl registered-users `hostname -f`<br>
<b>Failed RPC connection to the node ejabberd@schoolserver:
nodedown</b><br>
[SNIP]<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Server-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Server-devel@lists.laptop.org">Server-devel@lists.laptop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.laptop.org/listinfo/server-devel">http://lists.laptop.org/listinfo/server-devel</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Help kids everywhere map their world, at <a class="moz-txt-link-freetext" href="http://olpcMAP.net">http://olpcMAP.net</a> !</pre>
</body>
</html>