[ejabberd] change the nod name in ejabberd

Manuel Mely mmelyp at gmail.com
Mon Apr 9 00:58:51 MSD 2007

mattias jonsson wrote:
> thanks but where to write it?

You have this ejabberd in a BSD system right? You installed using ports?
For example, i have had installed from sources, and i have a config file 
called ejabberdctl.cfg that have parameters to start ejabberd using 
In this file there's a variable called NODE_NAME_TYPE with value "-sname 
" and other NODE_NAME with value "ejabberd at hostname"
and when i do ejabberdctl start it basically contruct a command like this:

erl -pa /var/lib/ejabberd/ebin -noinput -sname xanthe -s ejabberd 
-kernel inetrc \"/etc/ejabberd/ejabberd.inetrc\" -ejabberd config 
\"/etc/ejabberd/ejabberd.cfg\" -mnesia dir \"var/lib/ejabberd/data\" 
-setcookie homenetcookie

with more variables of course.

Yo should see if you have this file, or maybe it's in some place like 
/etc/default/ejabberd (like ubuntu does).

Other way is to take a look to the rc script. Maybe you should publish.


Manuel Mely Pérez
2do Año Ingeniería en Telecomunicaciones. CUJAE
Email1: mmelyp at gmail.com
Email2: manuel.mp at feestudiantes.cujae.edu.cu
xmpp:mely at softwarelibre.cu
xmpp:mely at jabber.cujae.edu.cu
Registered Linux User: #312357
Registered Ubuntu User: #4750
My Blog: http://mmelyp.blogspot.com
Site: http://www.minbas.cu/

...pero dos no es igual que uno mas uno ...

More information about the ejabberd mailing list