ejabberd - Comments for "ejabberd_mod_muc_sup Supervisor causing crash " https://www.ejabberd.im/forum/25299/ejabberdmodmucsup-supervisor-causing-crash en I have mention this on https://www.ejabberd.im/forum/25299/ejabberdmodmucsup-supervisor-causing-crash#comment-66478 <p>I have mention this on stackoverflow and also on github to get help .<br /> Log which i have shared on stackoverflow : </p> <p><noindex><a href="http://stackoverflow.com/questions/34469754/ejabberd-15-11-crash-cause-of-missing-local-config" title="http://stackoverflow.com/questions/34469754/ejabberd-15-11-crash-cause-of-missing-local-config" rel="nofollow" >http://stackoverflow.com/questions/34469754/ejabberd-15-11-crash-cause-o...</a></noindex></p> <p><noindex><a href="https://github.com/processone/ejabberd/issues/884#issuecomment-167534944" title="https://github.com/processone/ejabberd/issues/884#issuecomment-167534944" rel="nofollow" >https://github.com/processone/ejabberd/issues/884#issuecomment-167534944</a></noindex></p> Mon, 28 Dec 2015 10:35:59 +0000 Nikhil comment 66478 at https://www.ejabberd.im After making a fresh https://www.ejabberd.im/forum/25299/ejabberdmodmucsup-supervisor-causing-crash#comment-66475 <p>After making a fresh installation , My ejab(15.11) server still getting crashed .</p> <p>tail -f /opt/ejabberd-15.11/logs/crash.log<br /> Offender: [{pid,{restarting,&lt;0.366.0&gt;}},{name,ejabberd_listener},{mfargs,{ejabberd_listener,start_link,[]}},{restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]</p> <p>2015-12-26 08:26:54 =ERROR REPORT====<br /> Error in process &lt;0.631.1&gt; on node 'ejabberd@archie' with exit value: {badarg,[{ets,lookup,[local_config,{hosts,global}],[]},{ejabberd_config,get_option,3,[{file,"src/ejabberd_config.erl"},{line,749}]},{ejabberd_system_monitor,process_large_heap,2,[{file,"src/ejabberd_system_monitor.er...</p> <p>2015-12-26 08:26:54 =ERROR REPORT====<br /> Error in process &lt;0.632.1&gt; on node 'ejabberd@archie' with exit value: {badarg,[{ets,lookup,[local_config,{hosts,global}],[]},{ejabberd_config,get_option,3,[{file,"src/ejabberd_config.erl"},{line,749}]},{ejabberd_system_monitor,process_large_heap,2,[{file,"src/ejabberd_system_monitor.er...</p> <p>2015-12-26 08:26:54 =ERROR REPORT====<br /> [{application_master,shutdown_error},{ejabberd_app,{prep_stop,[[]]}},{error_info,{badarg,[{ets,lookup,[local_config,{listen,global}],[]},{ejabberd_config,get_option,3,[{file,"src/ejabberd_config.erl"},{line,749}]},{ejabberd_listener,stop_listeners,0,[{file,"src/ejabberd_listener.erl"},{line,380}]},{ejabberd_app,prep_stop,1,[{file,"src/ejabberd_app.erl"},{line,84}]},{application_master,prep_stop,2,[{file,"application_master.erl"},{line,376}]},{application_master,loop_it,4,[{file,"application_master.erl"},{line,368}]}]}}]</p> Sat, 26 Dec 2015 08:31:34 +0000 Nikhil comment 66475 at https://www.ejabberd.im I thought it was related with https://www.ejabberd.im/forum/25299/ejabberdmodmucsup-supervisor-causing-crash#comment-66474 <p>I thought it was related with local_config after monitoring it whole day , i found issue has not been resolved and still there . i am sharing mnesia database looup here .<br /> please see this if you can found anything .</p> <p>[{access_module,mnesia},<br /> {auto_repair,true},<br /> {backup_module,mnesia_backup},<br /> {checkpoints,[]},<br /> {db_nodes,[ejabberd@jughead]},<br /> {debug,none},<br /> {directory,"/opt/ejabberd-15.11/database/ejabberd@jughead"},<br /> {dump_log_load_regulation,false},<br /> {dump_log_time_threshold,180000},<br /> {dump_log_update_in_place,true},<br /> {dump_log_write_threshold,1000},<br /> {event_module,mnesia_event},<br /> {extra_db_nodes,[]},<br /> {fallback_activated,false},<br /> {held_locks,[]},<br /> {ignore_fallback_at_startup,false},<br /> {fallback_error_function,{mnesia,lkill}},<br /> {is_running,yes},<br /> {local_tables,[sql_pool,mod_register_ip,local_config,caps_features,acl,<br /> access,shaper,carboncopy,last_activity,pubsub_index,<br /> vcard_search,http_bind,sr_user,schema,session,<br /> pubsub_last_item,route,private_storage,sr_group,oauth_token,<br /> privacy,iq_response,temporarily_blocked,s2s,multicastc,<br /> session_counter,muc_online_room,vcard,route_multicast]},<br /> {lock_queue,[]},<br /> {log_version,"4.3"},<br /> {master_node_tables,[]},<br /> {max_wait_for_decision,infinity},<br /> {protocol_version,{8,1}},<br /> {running_db_nodes,[ejabberd@jughead]},<br /> {schema_location,opt_disc},<br /> {schema_version,{2,0}},<br /> {subscribers,[&lt;6107.144.0&gt;,&lt;6107.416.0&gt;,&lt;6107.341.0&gt;,&lt;6107.304.0&gt;]},<br /> {tables,[sql_pool,carboncopy,last_activity,pubsub_index,vcard_search,<br /> http_bind,sr_user,schema,session,pubsub_last_item,route,<br /> private_storage,access,caps_features,sr_group,oauth_token,acl,<br /> privacy,local_config,iq_response,temporarily_blocked,s2s,multicastc,<br /> session_counter,mod_register_ip,muc_online_room,vcard,<br /> route_multicast,shaper]},<br /> {transaction_commits,4221},<br /> {transaction_failures,62},<br /> {transaction_log_writes,52},<br /> {transaction_restarts,0},<br /> {transactions,[]},<br /> {use_dir,true},<br /> {core_dir,false},<br /> {no_table_loaders,2},<br /> {dc_dump_limit,4},<br /> {send_compressed,0},<br /> {version,"4.12.5"}]<br /> ==============end</p> Thu, 24 Dec 2015 12:53:13 +0000 Nikhil comment 66474 at https://www.ejabberd.im Thanks badlop , It was great https://www.ejabberd.im/forum/25299/ejabberdmodmucsup-supervisor-causing-crash#comment-66473 <p>Thanks badlop ,</p> <p>It was great help for me and i become able to solve this crash which was caused due to local_config.</p> Thu, 24 Dec 2015 11:34:50 +0000 Nikhil comment 66473 at https://www.ejabberd.im The first error reason shown https://www.ejabberd.im/forum/25299/ejabberdmodmucsup-supervisor-causing-crash#comment-66471 <p>The first error reason shown in all those lines is this one:</p> <p>{error_info,{badarg,[{ets,lookup,[local_config,{listen,global}],[]}</p> <p>It probably indicates that the Mnesi table (an internal Erlang database table) called "local_config" does not exist. This table is created when ejabbed is started, and the table is never deleted, because it is important.</p> <p>How can it be that this table does not exist? Check your log files, maybe there is a previous line with some clue.</p> Wed, 23 Dec 2015 21:43:33 +0000 badlop comment 66471 at https://www.ejabberd.im