ISSUE WHEN ISTALL MOD_LOG_CHAT_MYSQL5

Hi

I need to install mod_chat_log_mysql5 in my ejabberd server.
My ejabberd server version 2.1.10 .
I followed below link to install that module.

https://github.com/candy-chat/mod_log_chat_mysql5

After load modules and configuration,ejabberd service will not start.
It will showing below error
Failed RPC connection to the node ejabberd@localhost: nodedown

Give the ejabberd startup

Give the ejabberd startup log, e.g. output of live mode.

Service is working . But when

Service is working . But when we put #ejabberdctl status it will show

root@bookyour:/var/log/ejabberd# ejabberdctl status
Failed RPC connection to the node ejabberd@localhost: nodedown

Commands to start an ejabberd node:
start Start an ejabberd node in server mode
debug Attach an interactive Erlang shell to a running ejabberd node
live Start an ejabberd node in live (interactive) mode

Optional parameters when starting an ejabberd node:
--config-dir dir Config ejabberd: //etc/ejabberd
--config file Config ejabberd: //etc/ejabberd/ejabberd.cfg
--ctl-config file Config ejabberdctl: //etc/ejabberd/ejabberdctl.cfg
--logs dir Directory for logs: //var/log/ejabberd
--spool dir Database spool dir: //var/lib/ejabberd
--node nodename ejabberd node name: ejabberd@localhost

1

1

Can you explain pls?

Can you explain pls?

This was by mistake. Just

This was by mistake. Just thinking.

[quote=karthik_mahiti]Service

[quote=karthik_mahiti]Service is working . But when we put #ejabberdctl status it will show

root@server:/var/log/ejabberd# ejabberdctl status
Failed RPC connection to the node ejabberd@localhost: nodedown

# ejabberdctl live =INFO

# ejabberdctl live

=INFO REPORT==== 2-May-2012::15:17:04 ===
I(<0.41.0>:ejabberd_app:72) : ejabberd 2.1.10 is started in the node ejabberd@localhost

=PROGRESS REPORT==== 2-May-2012::15:17:04 ===
application: ejabberd
started_at: ejabberd@localhost

=INFO REPORT==== 2-May-2012::15:17:12 ===
I(<0.388.0>:ejabberd_listener:281) : (#Port<0.3302>) Accepted connection {{115,109,178,168},51122} -> {{212,113,152,97},5222}

=INFO REPORT==== 2-May-2012::15:17:13 ===
I(<0.392.0>:ejabberd_c2s:767) : ({socket_state,gen_tcp,#Port<0.3302>,<0.391.0>}) Accepted authentication for ripple_5 by ejabberd_auth_odbc

=INFO REPORT==== 2-May-2012::15:17:14 ===
I(<0.392.0>:ejabberd_c2s:938) : ({socket_state,gen_tcp,#Port<0.3302>,<0.391.0>}) Opened session for ripple_5@startripple.com/39186436641335952034257996

=ERROR REPORT==== 2-May-2012::15:17:15 ===
E(<0.372.0>:mod_pubsub_odbc:3648) : transaction return internal error: {aborted,
{undef,
[{node_flat,
get_entity_subscriptions_for_send_last,
["pubsub.startripple.com",
{jid,
"ripple_5",
"startripple.com",
"39186436641335952034257996",
"ripple_5",
"startripple.com",
"39186436641335952034257996"}]},
{mod_pubsub_odbc,
node_call,
3},
{ejabberd_odbc,
execute_bloc,
1},
{ejabberd_odbc,
run_sql_cmd,
4},
{p1_fsm,
handle_msg,
10},
{proc_lib,
init_p_do_apply,
3}]}}

Actually, this error ays that

Actually, this error ays that erlang couldn't find function get_entity_subscriptions_for_send_last in module node_flat, which was called from mod_pubsub_odbc:3648. Maybe the module you use was for another version of ejabberd? Unfortunately, I didn't use it, so I cannot say nothing more useful...

Syndicate content