Sergei Golovan wrote:
> On 10/19/06, Sebastian Moeller <[EMAIL PROTECTED]> wrote:
>> -----
>> delli:/etc# ps axu | egrep '(beam|epmd)'
>>
>> 118 4377 0.0 0.0 1736 460 ? S Oct16 0:00
>> /usr/lib/erlang/erts-5.5.1/bin/epmd -daemon
>> 118 8042 0.0 2.1 23660 11052 ? Sl Oct17 0:03
>> /usr/lib/erlang/erts-5.5.1/bin/beam -- -root /usr/lib/erlang -progname
>> erl -- -home /var/lib/ejabberd -sname ejabberd -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" -noshell -noshell -noinput
>> root 25382 0.0 0.1 2016 740 pts/1 R+ 19:15 0:00 grep -E
>> (beam|epmd)
>> -----
>
> It looks very suspicious that ps can convert uid 0 to root and cannot find
> username for uid 118. Do you have "ejabberd" user registered? Might it
> be the case when there are two "ejabberd" entries in the password file?
Hm, there seems to be no user with id 118, but a ejabberd-user with 107:
[EMAIL PROTECTED]:~$ less /etc/passwd | grep 118
[EMAIL PROTECTED]:~$ less /etc/passwd | grep ejabberd
ejabberd:x:107:107::/var/lib/ejabberd:/bin/sh
So, this is the problem? I didn't delete, add or change any users/groups
for at least half a year.
>> > Have you enabled firewall on localhost, which has closed port 4369 (or
>> any other port)?
>> There is no known firewall on the machine (it's runnning behind a
>> router), at least I haven't installed one. How can I check if 4369 is
>> filtered?
>
> Just telnet to localhost port 4369.
[EMAIL PROTECTED]:~$ telnet localhost 4369
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
Connection closed by foreign host.
It tries to connect for at least 20 seconds before the last line
("closed by foreign host") is shown.
>>
>> -----
>> % Default Debian ejabberd.cfg
>
> Config looks OK if I assume that some lines were broken when you copied
> them
> to email client. But to make us absolutely sure, show the difference:
>
> diff -u /usr/share/ejabberd/ejabberd.cfg /etc/ejabberd/ejabberd.cfg
>
delli:/home/smo# diff -u /usr/share/ejabberd/ejabberd.cfg
/etc/ejabberd/ejabberd.cfg
--- /usr/share/ejabberd/ejabberd.cfg 2006-10-08 12:12:21.000000000 +0200
+++ /etc/ejabberd/ejabberd.cfg 2006-10-18 21:01:59.000000000 +0200
@@ -6,10 +6,10 @@
%% ucf section
%% Admin user
-{acl, admin, {user, "__USER__", "__HOSTNAME__"}}.
+{acl, admin, {user, "admin", "delli"}}.
%% Hostname
-{hosts, ["__HOSTNAME__"]}.
+{hosts, ["delli"]}.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Sebastian
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]