[ejabberd] basic questions

Joakim Seeberg kontakt at seebergit.dk
Wed May 5 13:05:21 MSD 2010


Den 05-05-2010 10:25, Evgeniy Khramtsov skrev:
> Joakim Seeberg wrote:
>> Thank you for the answer. My next question is about configuring 
>> ejabberd on lenny. I can start ejabber with no errors but nmap -p 
>> 5222 "myhost" shows that the port is closed. In ejabberd.cfg I have:
>>
>> {listen,
>>  [
>>   {5222, ejabberd_c2s, [
>>                         {access, c2s},
>>                         {shaper, c2s_shaper},
>>                         {max_stanza_size, 65536},
>>                         starttls, {certfile, 
>> "/etc/ejabberd/ejabberd.pem"}
>>                        ]},
>> The default is to listen on all ip adresses right? So I should not 
>> change anything here am I right??
>>
>
> The snippet above looks correctly. So the problem might come from 
> another place. Increase loglevel and look into the log file.
>

There is nothing logged in ejabberd.log when restaring (loglevel 5)
Dont think it starts at all, "ps aux | grep ejabberd" is the same before 
and after I start/stop ejabberd:

ps aux | grep ejabberd
ejabberd  2317  0.0  0.0   1944   476 ?        S    May04   0:00 
/usr/lib/erlang/erts-5.6.3/bin/epmd -daemon
ejabberd  2338  0.0  0.5  26708 21328 ?        Sl   May04   0:02 
/usr/lib/erlang/erts-5.6.3/bin/beam -K false -P 250000 -- -root 
/usr/lib/erlang -progname erl -- -home /var/lib/ejabberd -sname ejabberd 
-pa /usr/lib/ejabberd/ebin -s ejabberd -kernel inetrc 
"/etc/ejabberd/inetrc" -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" -smp 
disable -noshell -noshell -noinput
root     19424  0.0  0.0   3112   712 pts/1    R+   10:51   0:00 grep 
ejabberd



More information about the ejabberd mailing list