ejabberd dont listen at any ports

Hi!

I have installed ejabberd and jwchat with the tutorial on http://www.ejabberd.im/node/11
The problem is that ejabberd doens't seems to listen at any ports, but I see ejabberd running as a process.
I have tried /etc/init.d/ejabberd restart but it doesn't help.

I stopped the ejabberd process and started it, this time running as user ejabberd from directory /etc/ejabberd/, running command "erl -pa /var/lib/ejabberd/ebin -name ejabberd -s ejabberd".

Then I got the following message:

=INFO REPORT==== 2-May-2005::16:08:26 ===
application: ejabberd
exited: "invalid return value from ejabberd_app:start(normal,[]) -> {'EXIT',\"premature end\"}"
type: temporary

Can you give some more inform

Can you give some more information about how you installed and start ejabberd?

--
sander

it just crashes upon startup

and in full ejabberd log there should be some more messages before INFO one, smth. like this sequence for example:

=ERROR REPORT==== 3-May-2005::02:01:54 ===
E(<0.891.0>:ejabberd_config:58): Can't load config file "ejabberd.cfg": {4,
                                                                         erl_scan,
                                                                         scan}
=CRASH REPORT==== 3-May-2005::02:01:54 ===
  crasher:
    pid: <0.890.0>
    registered_name: []
    error_info: "invalid return value from ejabberd_app:start(normal,[]) -> {'EXIT',\"premature end\"}"
    initial_call: {application_master,init,

[..skipped..]

=INFO REPORT==== 3-May-2005::02:11:54 ===
    application: ejabberd
    exited: "invalid return value from ejabberd_app:start(normal,[]) -> {'EXIT',\"premature end\"}"
    type: temporary

this means you have an error in ejabberd configuration file, most probably because of unmatched brackets or missed dot before the end of the file

Syndicate content