Cannot log in to Web interface

Good day!

I have installed ejabberd successfuly and my clients can connect and IM each other but I cannot get into the web interface. I have tried using the syntax : admin@mydomain.com with the password I entered during installation but I still don't get access.

Could the password I entered be too complex? Does ejabberd support characters like the & symbol, uppercase, lowercase combinations, etc?
If necessary is there perhaps a way to reset/remove the password?

Any help would be greatly appreciated.

Jonathan

Several possibilities

The binary installer creates a normal Jabber account in your server, and gives it administrative privileges.

Can you login to that Jabber account using a normal Jabber client?

The problem can be:

  • The Jabber account was not created
  • The password was not correctly set due to an unknown bug in ejabberd
  • The password was set, but you now forgot it
  • The Jabber account doesn't have administrative privileges. Check the ejabberd Guide, because it explains that you should have a line in ejabberd.cfg: {acl, admin, {user, "admin", "mydomain.com"}}.

There are several ways to change the password, both if you know the current one or even if you forgot it. Let's first know if this is your problem or not.

Cannot log in to Web interface

Thanks for your response.

No I cannot login into that account using a Jabber client. Get the following error : Invalid Login: Not-Authorized.

Is the Jabber account a physical user account in Windows or is it something that gets created for the deamon only? the reason why I ask this is because if i look in local users and groups the admin user does not exist. I am experiencing exactly the same problem on my Linux server.

I have removed ejabberd and reloaded it using a more simple password but it still does the same thing.

The following line does exist in my config file :
{acl, admin, {user, "admin", "ITBJOVDW"}}.
Where ITBJOVDW is the exact hostname of the workstation on which ejabberd is installed.

The problem obviously lies in the creation of the admin account. But I don't know how to fix it. Could you please shed some light on this for me?

Greetings,

Jonathan.

Create the Jabber account as usual

jonathan.vanderwatt wrote:

Is the Jabber account a physical user account in Windows or is it something that gets created for the deamon only? the reason why I ask this is because if i look in local users and groups the admin user does not exist. I am experiencing exactly the same problem on my Linux server.

They are Jabber accounts, created inside the ejabberd daemon only. They are completely unrelated to the operating system.

jonathan.vanderwatt wrote:

I have removed ejabberd and reloaded it using a more simple password but it still does the same thing.

The following line does exist in my config file :
{acl, admin, {user, "admin", "ITBJOVDW"}}.
Where ITBJOVDW is the exact hostname of the workstation on which ejabberd is installed.

One recommendation: use lowercase in ejabberd.cfg. Note that Jabber IDs are case insensitive: bob@localhost is the same that BoB@localhost. That may not be related to your problem.

jonathan.vanderwatt wrote:

The problem obviously lies in the creation of the admin account. But I don't know how to fix it. Could you please shed some light on this for me?

So ejabberd.cfg gives admin privileges to a Jabber account admin@itbjovdw that doesn't exist yet? Then create the Jabber account. You can create it the same way that your users created their Jabber accounts.

Syndicate content