I manage to compile ejabberd 17-01 from source on FreeBSD 11 (guest on Mac's VirtualBox) as "root".
So I login as "ejabberd" and try to run "ejabberdctl foreground". Then, I got the following error: ejabberd application controller syntax error before log_rotate_size
Any idea? Thank you for you help!