Hi all!!!
I get my ejabberd server ready, using Mysql DB.
All work fine, except that can not manages users by the web interface. Is so important have this module working becasuse my server have nos allowed automatic registration.
This message appear in the console.
Supervisor: {local, ejabberd_http_sup}
Context child_terminated
Reason: {aborted,{no_exists,[offilne_mesg,{"admin","localhost"}]}}
Offender: [{pid,0.345.0.},
{name, undifined},
{mfa,{ejabberd_http,start_link}},
[{gen_tcp,#port<0.452>}],
[http_poll,web_admin]]}
{restart_type, temporary},
{shutdown,brutal_kill},
{child_type,worker}
Some help please.
Regards.
jonny
Quick solution
'offilne_mesg'? Are you sure the error says that?
The module mod_offline uses the table offline_msg which is stored in the internal databse (Mnesia).
If you use mod_offline_odbc instead, the table is stored in the database you specify.
This same problem is described here:
http query: 'GET' /admin/server/vhost/users/ failing?
It seems a bug in ejabberd: in the ejabberd web admin, the Users page tries to look for the table offline_msg in the Mnesia database, even if you are using mod_offline_odbc. So, erlang complains that the table doesn't exist.
I've submitted the bug to the bug tracker:
Web Admin tries to look for Mnesia table offline_msg
I can tell you a quick fix, until the code is finally fixed. Look in ejabberd/src/web/ejabberd_web_admin.erl, and replace the line:
with this line:
Thanks a lot badlop. SOrry
Thanks a lot badlop.
SOrry about my ENGLISH,
i am spanish native language.
Must recompile after make the change?
Thanks a lot.
Badlop I make the change and
Badlop
I make the change and run
cd /install/ejabberd/src/
./configure --enable-odbc
i am working with a localhost domain, testing 4 later migrate mi company domain from jabberd2.
Well the page apeear now, thanks a lot, but work only one time.
=INFO REPORT==== 24-Sep-2007::14:36:46 ===
I(<0.374.0>:ejabberd_http:202) : (#Port<0.485>) http query: 'GET' /admin/server/localhost/users/
=CRASH REPORT==== 24-Sep-2007::14:36:46 ===
crasher:
pid: <0.374.0>
registered_name: []
error_info: {aborted,{no_exists,[last_activity,{"zulema","localhost"}]}}
initial_call: {ejabberd_http,receive_headers,
[{state,
gen_tcp,
#Port<0.485>,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
"en",
[{["admin"],ejabberd_web_admin},
{["http-poll"],ejabberd_http_poll}],
false,
[]}]}
ancestors: [ejabberd_http_sup,ejabberd_sup,<0.33.0>]
messages: []
links: [<0.212.0>,#Port<0.485>]
dictionary: []
trap_exit: false
status: running
heap_size: 1597
stack_size: 21
reductions: 3590
neighbours:
the user is created in database but
show again in blank again.
login with zulema@localhost by jabberd client was succefully, but Web Admin Interface didnt work again.
Although my admin@localhost is the admin in acl. this report is recieved.
=SUPERVISOR REPORT==== 24-Sep-2007::14:48:28 ===
Supervisor: {local,ejabberd_http_sup}
Context: child_terminated
Reason: {aborted,{no_exists,[last_activity,{"armando","localhost"}]}}
Offender: [{pid,<0.405.0>},
{name,undefined},
{mfa,{ejabberd_http,start_link,
[{gen_tcp,#Port<0.516>},
[http_poll,web_admin]]}},
{restart_type,temporary},
{shutdown,brutal_kill},
{child_type,worker}]
thanks johnny
Ubuntu Feisty
By the way.
I use Ubuntu Feisty, by the way,
there is some script for automatic start the ejabberd?
I have installed jabberd2 and this provide an script for start and stop. I try to migrate to ejabberd for the web interface admin and the ejabbeerctl, and the ejabberd work but this 2 tools not.
Is ironic, and dont want stop fithing. Just need your help.
I get this went try user ejabberdctl
root@webmail:~# ejabberdctl ejabberd@weebmail status
/sbin/ejabberdctl: 18: function: not found
/sbin/ejabberdctl: 31: function: not found
Erlang (BEAM) emulator version 5.5.2 [source] [async-threads:0] [kernel-poll:false]
*** ERROR: Shell process terminated! (^G to start new job) ***
Sorry if i make many questions.
Thanks.
johnny
Web Interface
Finally configure ejabberd with this change and work .. i can manage users more less ... i can add users and see a list of groups ...
example :
but when i try to enter to the groups not web page was found at this
Web Interface almost functional
Baplop i apreciate so much that u see this error, with your help i can get my ejabberd almost ready to work.
Thanks
errata
really is a blank page like before
Web Admin "Users" Link
Is there a solution to this? I know this is an old post but I am having the same problem:
ejabberd 2.0.0
MySQL
The Web Admin Users link seems to be broken. "Online Users" works fine, but "Users" doesn't. I tried it with both the mod_offline and mod_offline_odbc mdoules and get the same result. I also tried the fix mentioned in this thread with the QueueLen, but that didn't seem to help either.
The relevant log file entries are as follows:
___________________________________________________________________________
=INFO REPORT==== 2008-04-14 17:07:55 ===
D(<0.365.0>:ejabberd_http:224) : (#Port<0.441>) http query: 'GET' /admin/server/localhost.localdomain/users/
=INFO REPORT==== 2008-04-14 17:07:55 ===
D(<0.365.0>:ejabberd_http:263) : ["admin","server","localhost.localdomain",
"users"] matches ["admin"]
=INFO REPORT==== 2008-04-14 17:08:05 ===
I(<0.335.0>:mod_pubsub:221) : ** terminate default plugin
=INFO REPORT==== 2008-04-14 17:08:05 ===
I(<0.335.0>:mod_pubsub:221) : ** terminate pep plugin
=ERROR REPORT==== 2008-04-14 17:08:05 ===
** Generic server 'ejabberd_mod_webpresence_localhost.localdomain' terminating
** Last message in was stop
** When Server state == {state,"webpresence.localhost.localdomain",
"localhost.localdomain",
[104,116,116,112,58,47,47,
"localhost.localdomain",58,"5280",47,
"presence",47],
local}
** Reason for termination ==
** {'function not exported',
[{ejabberd_hooks,remove,
[remove_user,"webpresence.localhost.localdomain",
mod_webpresence,remove_user,50]},
{mod_webpresence,terminate,2},
{gen_server,terminate,6},
{gen_server,handle_msg,5},
{proc_lib,init_p,5}]}
=ERROR REPORT==== 2008-04-14 17:08:05 ===
E(<0.37.0>:gen_mod:78) : {undef,
[{supervisor,stop_child,
[ejabberd_sup,
'ejabberd_mod_webpresence_localhost.localdomain']},
{gen_mod,stop_module,2},
{lists,foreach,2},
{ejabberd_app,prep_stop,1},
{application_master,prep_stop,2},
{application_master,loop_it,4}]}
______________________________________________________________________________
Can anyone help me out? Thanks.
Trying again
Hi jcanosa, rigth now i trying reconfiguring my server with a clean installation.
Tomorrow i will send a message ... if this dosent work then must we go toggueter to the ejabberd Room
My Regards johnny