On 6/5/2012 7:22 AM, Holt wrote:
XO-1.5s do not show a "Register Again" option, except on that 1 single
machine that registered successfully back on Saturday.
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.
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.
Anything else I can try?
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.
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.
Workaround:
1) Turn on DNS in /etc/named-xs.conf.in then run:
[root@schoolserver ~]# nano /etc/named-xs.conf.in
changing this line...
forwarders {196.2.1.2; 196.2.1.3;};
to this line...
forwarders { 192.168.1.1; };
[root@schoolserver ~]# xs-domain-config
[root@schoolserver ~]# service named restart
2) Turn off all Internet except pings for our 4- and 5- year olds, at
XS's firewall:
[root@schoolserver ~]# nano /etc/sysconfig/olpc-scripts/iptables-xs.in
# COMMENTED OUT THESE LINES BELOW, TO BLOCK KIDS FROM INTERNET
# -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
# -A FORWARD -o @@WAN@@ -j ACCEPT
[root@schoolserver ~]# xs-setup-network
[root@schoolserver ~]# service iptables restart
[root@schoolserver ~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere state
RELATED,ESTABLISHED
ACCEPT icmp -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere state NEW
tcp dpt:ssh
ACCEPT all -- anywhere anywhere state NEW
REJECT all -- anywhere anywhere reject-with
icmp-host-prohibited
Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT icmp -- anywhere anywhere
ACCEPT all -- anywhere anywhere
REJECT all -- anywhere anywhere reject-with
icmp-host-prohibited
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
3) APACHE WOULD NOT START; was misconfigured, so...
[root@schoolserver ~]# mv /etc/httpd/conf.d/munin.conf
/etc/httpd/conf.d/munin.conf.SAVE
[root@schoolserver ~]# service httpd restart
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:
[root@schoolserver ~]# service moodle restart
Disabling Moodle access and cron job: [ OK ]
Enabling Moodle access and cron job: [ OK ]
[root@schoolserver ~]# service pgsql-xs restart
Stopping pgsql-xs service: [ OK ]
Starting pgsql-xs service: . [ OK ]
[root@schoolserver ~]# service ejabberd-xs restart
Shutting down ejabberd: already stopped [WARNING]
Starting ejabberd: [ OK ]
[root@schoolserver ~]# ejabberdctl registered-users `hostname -f`
*The node ejabberd@schoolserver is started with status: started
ejabberd is not running in that node
Check for error messages: /var/log/ejabberd/ejabberd.log
or other files in that directory.*
[SNIP]
[root@schoolserver ~]# cp -pr /var/lib/ejabberd/spool
/var/lib/ejabberd/spool.SAVE
[root@schoolserver ~]# rm -f /var/lib/ejabberd/spool/*
/var/lib/ejabberd/spool/.erlang.cookie
[root@schoolserver ~]# cat /etc/sysconfig/ejabberd_domain_name
providence.uwimona.edu.jm
[root@schoolserver ~]# rm -f /etc/sysconfig/ejabberd_domain_name
[root@schoolserver ~]# cat > /etc/sysconfig/ejabberd_domain_name
INTENTIONALLYBOGUSprovidence.uwimona.edu.jm
[root@schoolserver ~]# service ejabberd-xs start
Starting ejabberd: /etc/sysconfig/xs_domain_name
/etc/sysconfig/ejabberd_domain_name differ: byte 1, line 1
[ OK ]
*Failed RPC connection to the node ejabberd@schoolserver: nodedown*
[SNIP]
[root@schoolserver ~]# ejabberdctl registered-users `hostname -f`
*Failed RPC connection to the node ejabberd@schoolserver: nodedown*
[SNIP]
_______________________________________________
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel