ejabberd - Comments for "Web interface Users manage dont work." https://www.ejabberd.im/node/2612 en Trying again https://www.ejabberd.im/node/2612#comment-52194 <p>Hi jcanosa, rigth now i trying reconfiguring my server with a clean installation.<br /> Tomorrow i will send a message ... if this dosent work then must we go toggueter to the ejabberd Room </p> <p>My Regards johnny</p> Wed, 16 Apr 2008 20:49:39 +0000 yllsuarez comment 52194 at https://www.ejabberd.im Web Admin "Users" Link https://www.ejabberd.im/node/2612#comment-52183 <p>Is there a solution to this? I know this is an old post but I am having the same problem:<br /> ejabberd 2.0.0<br /> MySQL</p> <p>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.</p> <p>The relevant log file entries are as follows:<br /> ___________________________________________________________________________<br /> =INFO REPORT==== 2008-04-14 17:07:55 ===<br /> D(&lt;0.365.0&gt;:ejabberd_http:224) : (#Port&lt;0.441&gt;) http query: 'GET' /admin/server/localhost.localdomain/users/</p> <p>=INFO REPORT==== 2008-04-14 17:07:55 ===<br /> D(&lt;0.365.0&gt;:ejabberd_http:263) : ["admin","server","localhost.localdomain",<br /> "users"] matches ["admin"]</p> <p>=INFO REPORT==== 2008-04-14 17:08:05 ===<br /> I(&lt;0.335.0&gt;:mod_pubsub:221) : ** terminate default plugin</p> <p>=INFO REPORT==== 2008-04-14 17:08:05 ===<br /> I(&lt;0.335.0&gt;:mod_pubsub:221) : ** terminate pep plugin</p> <p>=ERROR REPORT==== 2008-04-14 17:08:05 ===<br /> ** Generic server 'ejabberd_mod_webpresence_localhost.localdomain' terminating<br /> ** Last message in was stop<br /> ** When Server state == {state,"webpresence.localhost.localdomain",<br /> "localhost.localdomain",<br /> [104,116,116,112,58,47,47,<br /> "localhost.localdomain",58,"5280",47,<br /> "presence",47],<br /> local}<br /> ** Reason for termination ==<br /> ** {'function not exported',<br /> [{ejabberd_hooks,remove,<br /> [remove_user,"webpresence.localhost.localdomain",<br /> mod_webpresence,remove_user,50]},<br /> {mod_webpresence,terminate,2},<br /> {gen_server,terminate,6},<br /> {gen_server,handle_msg,5},<br /> {proc_lib,init_p,5}]}</p> <p>=ERROR REPORT==== 2008-04-14 17:08:05 ===<br /> E(&lt;0.37.0&gt;:gen_mod:78) : {undef,<br /> [{supervisor,stop_child,<br /> [ejabberd_sup,<br /> 'ejabberd_mod_webpresence_localhost.localdomain']},<br /> {gen_mod,stop_module,2},<br /> {lists,foreach,2},<br /> {ejabberd_app,prep_stop,1},<br /> {application_master,prep_stop,2},<br /> {application_master,loop_it,4}]}<br /> ______________________________________________________________________________</p> <p>Can anyone help me out? Thanks.</p> Mon, 14 Apr 2008 22:03:44 +0000 jcanosa comment 52183 at https://www.ejabberd.im errata https://www.ejabberd.im/node/2612#comment-51155 <p>really is a blank page like before</p> Tue, 30 Oct 2007 15:00:05 +0000 yllsuarez comment 51155 at https://www.ejabberd.im Web Interface almost functional https://www.ejabberd.im/node/2612#comment-51154 <p>Baplop i apreciate so much that u see this error, with your help i can get my ejabberd almost ready to work.</p> <p>Thanks</p> Tue, 30 Oct 2007 14:53:41 +0000 yllsuarez comment 51154 at https://www.ejabberd.im Web Interface https://www.ejabberd.im/node/2612#comment-51074 <p>Finally configure ejabberd with this change and work .. i can manage users more less ... i can add users and see a list of groups ... </p> <p>example :</p> <p><noindex><a href="mailto:ahilyn_t@chat.copextel.com.cu" rel="nofollow" >ahilyn_t@chat.copextel.com.cu</a></noindex> — <noindex><a href="mailto:alexandercfg@chat.copextel.com.cu" rel="nofollow" >alexandercfg@chat.copextel.com.cu</a></noindex><br /> <noindex><a href="mailto:alexanderg_em@chat.copextel.com.cu" rel="nofollow" >alexanderg_em@chat.copextel.com.cu</a></noindex> — <noindex><a href="mailto:almenteros@chat.copextel.com.cu" rel="nofollow" >almenteros@chat.copextel.com.cu</a></noindex></p> <p> but when i try to enter to the groups not web page was found at this</p> <p><noindex><a href="http://192.168.7.11:5280/admin/server/chat.copextel.com.cu/users/81-160/" title="http://192.168.7.11:5280/admin/server/chat.copextel.com.cu/users/81-160/" rel="nofollow" >http://192.168.7.11:5280/admin/server/chat.copextel.com.cu/users/81-160/</a></noindex></p> Fri, 12 Oct 2007 16:48:07 +0000 yllsuarez comment 51074 at https://www.ejabberd.im Ubuntu Feisty https://www.ejabberd.im/node/2612#comment-50947 <p>By the way.</p> <p>I use Ubuntu Feisty, by the way,<br /> there is some script for automatic start the ejabberd? </p> <p>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. </p> <p>Is ironic, and dont want stop fithing. Just need your help.</p> <p>I get this went try user ejabberdctl</p> <p>root@webmail:~# ejabberdctl ejabberd@weebmail status<br /> /sbin/ejabberdctl: 18: function: not found<br /> /sbin/ejabberdctl: 31: function: not found<br /> Erlang (BEAM) emulator version 5.5.2 [source] [async-threads:0] [kernel-poll:false]</p> <p>*** ERROR: Shell process terminated! (^G to start new job) ***</p> <p>Sorry if i make many questions.<br /> Thanks.<br /> johnny</p> Mon, 24 Sep 2007 19:04:52 +0000 yllsuarez comment 50947 at https://www.ejabberd.im Badlop I make the change and https://www.ejabberd.im/node/2612#comment-50946 <p>Badlop</p> <p>I make the change and run<br /> cd /install/ejabberd/src/</p> <p>./configure --enable-odbc<br /> i am working with a localhost domain, testing 4 later migrate mi company domain from jabberd2.</p> <p>Well the page apeear now, thanks a lot, but work only one time.</p> <p>=INFO REPORT==== 24-Sep-2007::14:36:46 ===<br /> I(&lt;0.374.0&gt;:ejabberd_http:202) : (#Port&lt;0.485&gt;) http query: 'GET' /admin/server/localhost/users/</p> <p>=CRASH REPORT==== 24-Sep-2007::14:36:46 ===<br /> crasher:<br /> pid: &lt;0.374.0&gt;<br /> registered_name: []<br /> error_info: {aborted,{no_exists,[last_activity,{"zulema","localhost"}]}}<br /> initial_call: {ejabberd_http,receive_headers,<br /> [{state,<br /> gen_tcp,<br /> #Port&lt;0.485&gt;,<br /> undefined,<br /> undefined,<br /> undefined,<br /> undefined,<br /> undefined,<br /> undefined,<br /> "en",<br /> [{["admin"],ejabberd_web_admin},<br /> {["http-poll"],ejabberd_http_poll}],<br /> false,<br /> []}]}<br /> ancestors: [ejabberd_http_sup,ejabberd_sup,&lt;0.33.0&gt;]<br /> messages: []<br /> links: [&lt;0.212.0&gt;,#Port&lt;0.485&gt;]<br /> dictionary: []<br /> trap_exit: false<br /> status: running<br /> heap_size: 1597<br /> stack_size: 21<br /> reductions: 3590<br /> neighbours:</p> <p>the user is created in database but </p> <p><noindex><a href="http://localhost:5280/admin/server/localhost/users/" title="http://localhost:5280/admin/server/localhost/users/" rel="nofollow" >http://localhost:5280/admin/server/localhost/users/</a></noindex></p> <p>show again in blank again.</p> <p>login with zulema@localhost by jabberd client was succefully, but Web Admin Interface didnt work again.</p> <p>Although my admin@localhost is the admin in acl. this report is recieved.</p> <p>=SUPERVISOR REPORT==== 24-Sep-2007::14:48:28 ===<br /> Supervisor: {local,ejabberd_http_sup}<br /> Context: child_terminated<br /> Reason: {aborted,{no_exists,[last_activity,{"armando","localhost"}]}}<br /> Offender: [{pid,&lt;0.405.0&gt;},<br /> {name,undefined},<br /> {mfa,{ejabberd_http,start_link,<br /> [{gen_tcp,#Port&lt;0.516&gt;},<br /> [http_poll,web_admin]]}},<br /> {restart_type,temporary},<br /> {shutdown,brutal_kill},<br /> {child_type,worker}]</p> <p>thanks johnny</p> Mon, 24 Sep 2007 18:50:58 +0000 yllsuarez comment 50946 at https://www.ejabberd.im Thanks a lot badlop. SOrry https://www.ejabberd.im/node/2612#comment-50945 <p>Thanks a lot badlop.<br /> SOrry about my ENGLISH,<br /> i am spanish native language.</p> <p>Must recompile after make the change?<br /> Thanks a lot.</p> Mon, 24 Sep 2007 17:47:24 +0000 yllsuarez comment 50945 at https://www.ejabberd.im Quick solution https://www.ejabberd.im/node/2612#comment-50919 <p>'offilne_mesg'? Are you sure the error says that?</p> <p>The module mod_offline uses the table offline_msg which is stored in the internal databse (Mnesia).</p> <p>If you use mod_offline_odbc instead, the table is stored in the database you specify.</p> <p>This same problem is described here:<br /> <a href="http://www.ejabberd.im/node/835">http query: 'GET' /admin/server/vhost/users/ failing?</a></p> <p>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.</p> <p>I've submitted the bug to the bug tracker:<br /> <noindex><a href="https://support.process-one.net/browse/EJAB-377" rel="nofollow" >Web Admin tries to look for Mnesia table offline_msg</a></noindex></p> <p>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:</p> <pre> QueueLen = length(mnesia:dirty_read({offline_msg, US})),</pre><p>with this line:</p> <pre> QueueLen = 0,</pre> Fri, 21 Sep 2007 20:08:04 +0000 mfoss comment 50919 at https://www.ejabberd.im