The first time I installed 163 ejabberd did not work. So I went back and re-read the install instructions. They imply that you can change the host name with the command:
domain_config <new_domain_name> [<old_domain_name>]. If <old_domain_name> is not supplied, dnsdomainname is supposed to supply it, but in my case it always returns 'Unknown host'. Since domain_config essentially does a global search and replace of <old_domain_name> with <new_domain_name> in a bunch of files, it will never change the host name unless it gets the right <old_domain_name>. The key for me was issuing the command exactly as the notes say: domain_config <new_domain_name> schoolserver.random.xs.laptop.org (because that is the default name). After that ejabberd worked on the new host name. You might still have dns issues with finding the newly named host. Tim > ------------------------------ > > Message: 4 > Date: Thu, 10 Jul 2008 17:00:03 +0545 > From: Bryan Berry <[EMAIL PROTECTED]> > Subject: [Server-devel] ejabberd errors after install: RPC failed on > the node . . . nodedown > To: server-devel <server-devel@lists.laptop.org> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain > > > Hey guys, installed OLPC XS_163 today and everything went smoothly, > except ejabberd. Installed XS_163 bc haven't had a chance to play w/ any > newer builds and the install site is a ways from my office. Don't want > to have to go there too often. > > did all the dns stuff before starting ejabberd > > *but* hostname was schoolserver not schoolserver.doelab.schoolnet.gov.np > when I ran the "hostname" command it just puts out schoolserver > > setting up ejabberd: > changed hostname to fqdn hostname in /etc/ejabberd/ejabberd.cfg > chkconfig --level 345 ejabberd on > service ejabberd start > > ejabberdctl register jtest schoolserver.doelab.schoolnet.gov.np password > RPC failed on the node [EMAIL PROTECTED]: nodedown > > Then tried the following: > > /etc/init.d/ejabberd stop > killall epmd > rm -rf /var/lib/ejabberd > rpm -e --nodeps ejabberd > yum install ejabberd > Fix config files, set hostname to my hosts fqdn, put in user jtest > Start ejabberd > > ejabberdctl register jtest schoolserver.doelab.schoolnet.gov.np password > > same bloody error msg: > RPC failed on the node [EMAIL PROTECTED]: nodedown > > ideas anyone? > _______________________________________________ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel