Can't run ejabberd on FreeBSD 6.2

I have updated my ports, then installed erlang-lite and ejabberd and started ejabbed and have the error:
It writes in /var/log/mesages:
Oct 17 20:19:49 B403 epmd: epmd: epmd running - daemon = 1
Oct 17 20:19:50 B403 epmd: epmd: node name already occupied ejabberd

When I killall epmd and killall beam and remove -detached parameter from start command in rc.d/ejabberd I can run ejabberd.
Without -detached it runs.
With -detached it simply dies.

Tell me please what should I do to use ejabberd with -detached option?

Anonymous wrote: Oct 17

Anonymous wrote:

Oct 17 20:19:50 B403 epmd: epmd: node name already occupied ejabberd

So, epmd reports that a node name is already used? Maybe you already have an ejabberd running?

Check ejabberd log files, they may report meaningful error messages.

ejabberd not starting on openSUSE 10.3

I'm having the same problem on openSUSE 10.3. ejabberd starts, then exits immediately with these warnings...

Oct 31 07:59:15 linuxpc epmd: epmd: epmd running - daemon = 1
Oct 31 07:59:15 linuxpc epmd: epmd: node name already occupied ejabberd

The following processes are left running, however...

beam       root  /usr/lib/erlang/erts-5.5.5/bin/beam
epmd       root  /usr/lib/erlang/erts-5.5.5/bin/epmd
ssl_esock  root  /usr/lib/erlang/lib/ssl-3.1.1.1/priv/bin/ssl_esock

My ejabberd.log file is completely empty, but the sasl.log has the following...

/var/log/ejabberd/sasl.log

=PROGRESS REPORT==== 31-Oct-2007::08:16:26 ===
          supervisor: {local,sasl_safe_sup}
             started: [{pid,<0.45.0>},
                       {name,alarm_handler},
                       {mfa,{alarm_handler,start_link,[]}},
                       {restart_type,permanent},
                       {shutdown,2000},
                       {child_type,worker}]

...

=PROGRESS REPORT==== 31-Oct-2007::08:16:27 ===
          supervisor: {local,ejabberd_sup}
             started: [{pid,<0.263.0>},
                       {name,ejabberd_mod_pubsub_localhost},
                       {mfa,
                           {mod_pubsub,
                               start_link,
                               ["localhost",
                                [{access_createnode,pubsub_createnode}]]}},
                       {restart_type,temporary},
                       {shutdown,1000},
                       {child_type,worker}]

=PROGRESS REPORT==== 31-Oct-2007::08:16:27 ===
         application: ejabberd
          started_at: ejabberd@linuxpc

I am using the erlang and ejabberd packages from the openSUSE Build Service, here:

RepoView: Server Messaging (openSUSE_10.3)
http://download.opensuse.org/repositories/server:/messaging/openSUSE_10....

Anyone here know what this means?

Thanks,
Brett

It seems I have solved my

It seems I have solved my problem.
I've replace exec command with daemon command in /usr/local/bin/ejabberd and now I can start and restart server without any problem.

Syndicate content