El Mié 19 Dic 2007, Sergei Golovan escribió:
> severity 457097 normal
> thanks
>
> On 12/19/07, Fernando Toledo <[EMAIL PROTECTED]> wrote:
> > Package: ejabberd
> > Version: 1.1.2-6
> > Severity: grave
> > Justification: renders package unusable
>
> I guess it's not ejabberd fault.
>
> > hi, i start the ejabberd service and seems to die
> >
> > scarlet:~# /etc/init.d/ejabberd start
> > Starting jabber server: ejabberd.
>
> It's started.
>
> > scarlet:~# ejabberdctl
> > RPC failed on the node [EMAIL PROTECTED]: {'EXIT',
>
> It looks that there's something wrong with your networking setup. Does
> your server have a hostname other than localhost?
yes, my server hostname are:
bbs.docksud.com.ar
scarlet.docksud.com.ar
bbs.docksud.com.ar is the only jabber domain
.. and another services(bbs, http, mail, etc) work fine
>
> > how to i can increase more log level for debug and get more info?
> > i have a empty /var/log/ejabberd/
>
> It's a bad symptom. Who is an owner of /var/lib/ejabberd and
> /var/log/ejabberd?
boot are ownered by ejabber
scarlet:/var/log/ejabberd# ll /var/log|grep jab
drwxr-x--- 2 ejabberd adm 4096 2007-12-20 19:20 ejabberd
scarlet:/var/log/ejabberd# ll /var/lib/|grep jab
drwx------ 2 ejabberd ejabberd 4096 2007-12-20 19:23 ejabberd
>
> > i try to manual start:
> > scarlet:~# su - ejabberd -c "/usr/sbin/ejabberd -noshell -s"
> > {error_logger,{{2007,12,19},{16,25,25}},"Protocol: ~p: register error:
> > ~p~n",["i
> > net_tcp",{{badmatch,{error,duplicate_name}}
>
> This (duplicate_name) means that another ejabberd instance is already
> running.
maybe, in these tests i forgot to kill beam
>
> Please, show the ejabberd config, doublecheck the owner and
> permissions of /var/log/ejabberd and /var/lib/ejabberd, and also show
> your networking settings (hostname, /etc/hosts, /etc/resolv.conf).
scarlet:/var/log/ejabberd# cat /etc/hostname
scarlet
scarlet:/var/log/ejabberd# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost scarlet bbs
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
my config (i strip out the comments):
{registration_watchers, ["[EMAIL PROTECTED]",
"[EMAIL PROTECTED]"]}.
{access, announce, [{allow, admin}]}.
{access, c2s, [{deny, blocked},
{allow, all}]}.
{shaper, normal, {maxrate, 1000}}.
{shaper, fast, {maxrate, 50000}}.
{access, c2s_shaper, [{none, admin},
{normal, all}]}.
{access, s2s_shaper, [{fast, all}]}.
{access, muc_admin, [{allow, admin}]}.
{access, muc, [{allow, all}]}.
{access, local, [{allow, local}]}.
{auth_method, internal}.
{hosts, ["bbs.docksud.com.ar"]}.
{language, "es"}.
{listen,
[{5222, ejabberd_c2s, [
{max_stanza_size, 65536},
{shaper, c2s_shaper}]},
{5269, ejabberd_s2s_in, [{shaper, s2s_shaper},
{max_stanza_size, 131072}]},
{5280, ejabberd_http, [http_poll, web_admin]}
]}.
{s2s_use_starttls, true}.
{s2s_certfile, "/etc/ejabberd/server.pem"}.
{outgoing_s2s_port, 5269}.
{modules,
[
{mod_adhoc, []},
{mod_announce, [{access, announce}]}, % Depends on mod_adhoc
{mod_register, [{access, register}]},
{mod_roster, []},
{mod_privacy, []},
{mod_configure, []}, % Depends on mod_adhoc
{mod_configure2, []},
{mod_disco, [{extra_domains,
["users.jabber.org","jud.jabber.pressenter.com.ar"]}]},
{mod_stats, []},
{mod_vcard, []},
{mod_offline, []},
{mod_echo, []},
{mod_private, []},
{mod_irc, [{access, all}]},
{mod_muc, [{access, muc},
{access_create, muc},
{access_admin, muc_admin}]},
{mod_shared_roster, []},
{mod_pubsub, []},
{mod_time, []},
{mod_last, []},
{mod_version, []}
]}.
maybe have i to force the ERLANG_NODE variable to bbs.docksud.com.ar
in /etc/default/ejabberd ?
--
Dock Sud BBS
http://bbs.docksud.com.ar
telnet://bbs.docksud.com.ar
signature.asc
Description: This is a digitally signed message part.

