Hi,
I successfully installed ejabberd 1.1.1 on rhel. I works pretty well and I even managed to authenticate the users via LDAP.
Now I'm trying to make my installation work with other jabber servers. From what I understand, I need to use the "name" parameter instead of "sname" to make my server visible to other servers (outside of my domain). So I try to launch :
erl -pa /var/lib/ejabberd/ebin \
-name ejabberd \
-s ejabberd \
-ejabberd config \"/etc/ejabberd/ejabberd.cfg\" \
log_path \"/var/log/ejabberd/ejabberd.log\" \
-sasl sasl_error_logger \{file,\"/var/log/ejabberd/sasl.log\"\} \
-mnesia dir \"/var/lib/ejabberd/spool\"
But I get this :
Erlang (BEAM) emulator version 5.3.6.3 [source] [hipe]
Eshell V5.3.6.3 (abort with ^G)
(
=ERROR REPORT==== 11-May-2006::16:34:48 ===
** System running to use fully qualified hostnames **
** Hostname markgaudreau is illegal **
=ERROR REPORT==== 11-May-2006::16:34:48 ===
** System running to use fully qualified hostnames **
** Hostname markgaudreau is illegal **
=INFO REPORT==== 11-May-2006::16:34:49 ===
application: ejabberd
exited: "invalid return value from ejabberd_app:start(normal,[]) -> {'EXIT',\n {{badmatch,{aborted,{no_exists,config}}},\n [{ejabberd_config,set_opts,1},\n {ejabberd_app,start,2},\n {application_master,start_it_old,4}]}}"
type: temporary
(
(
Any ideas?
Thanks for your help.
Shouldn't need to be changed
-name
versus-sname
is irrelevant to communicating with other servers. As long as the JID of the jabber server resolves to the proper IP address through DNS, and no firewall is blocking port 5269, it should work automatically.RE: Shouldn't need to be changed
Thanks for your answer.
It's working now. It was a simple firewall problem... :)