ejabberdctl error running reopen_log, connected_users (StackTrace)

I recently noticed I needed to rotate my logs so I setup logrotate and added the command ejabberdctl reopen_log to reopen the log file. Whenever I run that command I get the following error

ejabberdctl reopen_log

Problem 'error undef' occurred executing the command.
Stacktrace: [{re,replace,["reopen_log","-","_",[global,{return,list}]]},
             {ejabberd_ctl,call_command,3},
             {ejabberd_ctl,try_call_command,3},
             {ejabberd_ctl,process2,3},
             {ejabberd_ctl,process,1},
             {rpc,'-handle_call/3-fun-0-',5}]

I get a similar error if I try to run ejabberdctl connected_users:

Problem 'error undef' occurred executing the command.
Stacktrace: [{re,replace,
                 ["connected_users","-","_",[global,{return,list}]]},
             {ejabberd_ctl,call_command,3},
             {ejabberd_ctl,try_call_command,3},
             {ejabberd_ctl,process2,3},
             {ejabberd_ctl,process,1},
             {rpc,'-handle_call/3-fun-0-',5}]

Anyone have this problem before or know what it might be? I'm running one Ubuntu 8.1, using ejabberd 2.1.0 built from source, and storing our user information in a mysql database.

Thank you,
-Eric

esteimle wrote: I'm running

esteimle wrote:

I'm running one Ubuntu 8.1, using ejabberd 2.1.0 built from source

Are you completely sure it's ejabberd 2.1.0? Where did you download that source code: source code package, old SVN repo, new Git repo, Ubuntu source package, ...?

I think that error could only happen if you're using ejabberd 'master' branch from Git.

Syndicate content