[ejabberd] Ejabberd crash report

Gonçalo Duarte pingu22 at gmail.com
Fri Jul 4 14:22:36 MSD 2008


I'm using erlang-R11B-2.3.

I already tried this solution

*A solution is to edit Emakefile of mod_http_fileserver and remove this: *

*{d,'SSL39'},
*

but it didn't solve my problem.

I applied the patch but I can't see anything different. In which log should
that info appear? ejabberd.log or sasl.log?


2008/7/4 Badlop <badlop at gmail.com>:

> On Fri, Jul 4, 2008 at 11:36 AM, Gonçalo Duarte <pingu22 at gmail.com> wrote:
> > I can't understand the error log so I hope someone could help me with
> this
> > error.
> >
> > =CRASH REPORT==== 4-Jul-2008::10:27:32 ===
> >   crasher:
> >     pid: <0.341.0>
> >     registered_name: []
> >     error_info:
> {function_clause,[{lists,thing_to_list,[{89,180,179,244}]},
> >                                    {lists,flatmap,2},
> >                                    {lists,foldl,3},
> >                                    {mod_http_fileserver,log,3},
> >                                    {mod_http_fileserver,process,2},
> >                                    {ejabberd_http,process_request,1},
> >                                    {ejabberd_http,process_header,2},
> >                                    {ejabberd_http,receive_headers,1}]}
> >
> > This happens when I try to access to jwchat via web. I installed ejabberd
> > from source (last svn version) and added 3 modules (bind-http, fileserver
> > and mysql).
> > I can access ejabberd admin with no problem so I think it is some problem
> > with fileserver.
>
> What version of Erlang/OTP?
>
> You can apply this patch, and let's see the result. It may help to
> find the problem is:
>
> ***********************
> --- src/web/mod_http_fileserver.erl     (revisión: 671)
> +++ src/web/mod_http_fileserver.erl     (copia de trabajo)
> @@ -108,6 +108,9 @@
>
>  log(File, Code, Request) ->
>     {{Year, Month, Day}, {Hour, Minute, Second}} = calendar:local_time(),
> +    ?INFO_MSG("Request.ip: ~p", [Request#request.ip]),
> +    ?INFO_MSG("List: ~p", [tuple_to_list(Request#request.ip)]),
> +    ?INFO_MSG("Joined: ~p", [join(tuple_to_list(Request#request.ip),
> ".")]),
>     IP = join(tuple_to_list(Request#request.ip), "."),
>     Path = join(Request#request.path, "/"),
>     Query = case join(lists:map(fun(E) -> lists:concat([element(1,
> E), "=", element(2, E)]) end,
> *********************
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
>



-- 
Gonçalo Duarte
-----------------------
A humanidade está a perder os seus maiores génios...Aristóteles faleceu...
Newton bateu as botas... Einstein morreu... e eu não me estou a sentir lá
muito bem...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jabber.ru/pipermail/ejabberd/attachments/20080704/299fac10/attachment.htm 


More information about the ejabberd mailing list