[Server-devel] failed to register
Holt
holt at laptop.org
Tue Jun 5 22:08:59 EDT 2012
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 at 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 at schoolserver ~]# xs-domain-config
[root at schoolserver ~]# service named restart
2) Turn off all Internet except pings for our 4- and 5- year olds, at
XS's firewall:
[root at 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 at schoolserver ~]# xs-setup-network
[root at schoolserver ~]# service iptables restart
[root at 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 at schoolserver ~]# mv /etc/httpd/conf.d/munin.conf
/etc/httpd/conf.d/munin.conf.SAVE
[root at 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 at schoolserver ~]# service moodle restart
Disabling Moodle access and cron job: [ OK ]
Enabling Moodle access and cron job: [ OK ]
[root at schoolserver ~]# service pgsql-xs restart
Stopping pgsql-xs service: [ OK ]
Starting pgsql-xs service: . [ OK ]
[root at schoolserver ~]# service ejabberd-xs restart
Shutting down ejabberd: already stopped [WARNING]
Starting ejabberd: [ OK ]
[root at schoolserver ~]# ejabberdctl registered-users `hostname -f`
*The node ejabberd at 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 at schoolserver ~]# cp -pr /var/lib/ejabberd/spool
/var/lib/ejabberd/spool.SAVE
[root at schoolserver ~]# rm -f /var/lib/ejabberd/spool/*
/var/lib/ejabberd/spool/.erlang.cookie
[root at schoolserver ~]# cat /etc/sysconfig/ejabberd_domain_name
providence.uwimona.edu.jm
[root at schoolserver ~]# rm -f /etc/sysconfig/ejabberd_domain_name
[root at schoolserver ~]# cat > /etc/sysconfig/ejabberd_domain_name
INTENTIONALLYBOGUSprovidence.uwimona.edu.jm
[root at 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 at schoolserver: nodedown*
[SNIP]
[root at schoolserver ~]# ejabberdctl registered-users `hostname -f`
*Failed RPC connection to the node ejabberd at schoolserver: nodedown*
[SNIP]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laptop.org/pipermail/server-devel/attachments/20120605/ae455aa3/attachment.html>
More information about the Server-devel
mailing list