On 12/21/07, Ragnarok <[EMAIL PROTECTED]> wrote: > > > > > 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
Looks OK. > > > > > > 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 Also, remove all /var/lib/ejabberd/* files (if it's a fresh install and your database isn't populated yet). > > > > > 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 What is the output of 'hostname -f' and 'hostname -s'. Also, run 'erl -sname temp' and show the output (including shell prompt). > > 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): Config looks OK to me. -- Sergei Golovan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]