Quantcast
Channel: ejabberd - ejabberd Administration
Viewing all 782 articles
Browse latest View live

Cannot start new installation - erlang cookie not in correct location

$
0
0

I'm trying to build a new installation on a new Ubuntu server (17.04), with ejabberd 17.07.
I created a user for the service "useradd -r ejabberd".

I ran the binary installer with "sudo -u ejabberd ./ejabberd-17.07-linux-x86_64-installer.run"

But I cannot start the service. I tried "sudo -u ejabberd ./ejabberdctl start" and get this:
Failed to create cookie file /home/phil/.erlang.cookie

Obviously it is running under the wrong user context, but for 10 hours now I have not been able to straighten this out.

read more


Problem with multiple domains

$
0
0

I have a server (17.07) with multiple domains. (Ubuntu)
domain1, domain2, domain3.
Authentication is set to SQL. MySQL.

If I register a user like this:
ejabberdctl register newuser domain1 password

It creates 3 new users, one on each domain.
I end up with newuser@domain1, newuser@domain2, newuser@domain3.

If I remove any one of those, then all of them get removed.
Can anyone advise what to check to fix this?

RPC failure talking to local node when issuing join_cluster

$
0
0

Hi there. I'm stumped with getting ejabberd nodes to cluster.. It's SO CLOSE but won't make the final connection.

I've got 1 node running fine. The second node does its startup and then issues the `join_cluster` command. The script handling that looks like so:


echo "Join cluster..."

response=$(${EJABBERDCTL} ping ${erlang_cluster_node})
while [ "$response" != "pong" ]; do
echo "Waiting for ${erlang_cluster_node}..."
sleep 2
response=$(${EJABBERDCTL} ping ${erlang_cluster_node})
done

echo "Join cluster at ${erlang_cluster_node}... "

read more

Problems with auth_method: [ldap] and users

$
0
0

I have just installed ejabberd 17.06 and I'm trying to configure it to authetication by ldap
I have an old ejabberd server 2.1.9 working perfectly, but with old syntax in ejabberd.cfg as {auth_method, ldap}. etc...

I'm trying to translate the old configuration (2.1.9) to new version (17.06), and I think that it's OK. The log dowsn't give me errors.

But when I'm trying to configure an admin user for ejabberd, I don't know how to...

In the old configuration I have:

{acl, admin, {user, "example", "jabber.XXXX.XXXX"}}.

read more

Problem with mod_shared_roster

$
0
0

I've just installed ejabberd 17.06 and it works perfectly, but... suddenly, my Spark client began to reconnect again and again, writing these lines y mi ejabbers server log:

2017-08-02 12:31:51.588 [warning] <0.1126.0>@ejabberd_c2s:process_info:246 got unexpected info: {item,{<<"user">>,<<"server">>,<<>>},both}
2017-08-02 12:31:51.588 [warning] <0.1126.0>@ejabberd_c2s:process_info:246 got unexpected info: {item,{<<"user">>,<<"server">>,<<>>},both}
2017-08-02 12:31:51.588 [warning] <0.1126.0>@ejabberd_c2s:process_info:246 got unexpected info: {item,{<<"user">>,<<"server">>,<<>>},both}

read more

Using ejabberd_service in Shared Roster Group

$
0
0

Hi,
I want to make an external service (with host "something.any") available/accessible for every user. I do also authentication with external script.

In Version 15.04 i have activated "mod_shared_roster", configure the external service and create 2 groups (with help of web interface) to achieve this. It works fine for me.

Now, i want to create a docker container. So it's not useful to achieve them with web interface. I have read that i can create shared roster groups in cli when use "mod_admin_extra".

read more

domain_certfile error

$
0
0

Hello folks,
I've some problem here, I've 2 vhost on my server, domain1.com and domain2.com
I tried to add cert file for each my domain's, this is my configuration https://gist.github.com/kripul/4d6e0aa89c588501c5684ff9aca7ca63
and always show this error

2017-08-03 16:35:52.799 [error] <0.62.0>@ejabberd_config:get_plain_terms_file:270 Cannot load /etc/ejabberd/ejabberd.yml: Syntax error on line 215 at position 2: did not find expected key

How to fix this?
Thanks!

LDAP TLS issue

$
0
0

Background:
Jabber System: CentOS 7 + ejabberd 17.07.
LDAP server: Windows Server 2012

When I have ejabberd authenticate users with no encryption on port 389, everything works fine.
When I change ldap_encrypt to TLS and to port 636 the Windows Server keeps on closing the connection.

The event viewer reports a TLSv1.2 connection from ejabber but provides error 40 which means: handshake_failure.
Indicates that the sender was unable to negotiate an acceptable set of security parameters given the options available.

Has anyone seen anything similar?


New ejabberd user looking for some help

$
0
0

I'm in the process of switching over from jabberd2+mu-conference, both of which seem to be dying from neglect, to ejabberd. However, I'm running into a few problems.

First, what's done and working: I've gotten ejabberd installed and configured on Gentoo Linux, I've registered all of the users from jabberd2, I can bring up jabberd2 in place of ejabberd and users can log in and talk to each other. The SSL cert is properly configured and accepted.

What's NOT working:
— ejabberd won't use the MySQL backend DB I set up, even though I configured it to do so

read more

Migrate of Mnesia to SqlServer

$
0
0

How can I migration from Mnesia to SqlServer by putting in order the .yml file and Web admin on windows OS?I did it but I con't login?
.yml...
auth_method: odbc
sql_type: sql
sql_server: "localhost"
sql_database: "Ejabberd"
sql_username: "sa"
sql_password: "a@123456"

Ejabberd 17.04 archive timestamp issue

$
0
0

We are using Ejabberd 17.04 with Mysql databse.
We are facing a issue with the message archive module.
When the messages are archived, then the time stamp in the message payload is larger than the time at which the archive record is created.

Please see the following data example from the archive table.

{"callHistoryId":0,"callKind":0,"callType":0,"displayPic":"","endTime":0,"groupId":0,"isIdentityVerified":0,"message":"13","messageId":"1502272247264-68","messageType":0,"startTime":0,"userId":,"userName":""} | 2017-08-09 02:50:42

read more

How to allow users to send or receive messages with their roster only?

ejabberd authentication with ldap doesn't work!

$
0
0

I'm on FreeBSD 11. few days ago I install openldap24-server on my system.
after that I install ejabberd from port. now I cannot connect to ejabberd.
# ee //usr/local/etc/ejabberd/ejabberd.yml
hosts:
- "localhost"
- "192.168.*.*"
comment :auth_method: internal
auth_method: ldap
ldap_servers:
- "localhost"
- "ldap://192.168.*.*"
ldap_encrypt: none
ldap_port: 389
ldap_rootdn: "cn=Manager,dc=example,dc=com"
ldap_password: 4QrcOUm6Wau+VuBX8g+IPg==
ldap_base: "ou=Users,dc=example,dc=com"

I define a user in my ldif file(this is a part of my ldif file):

read more

Message rate

$
0
0

Our solution has a high volume requirement in messages exchanged, as in thousands of messages between two particular users per second. However, we have failed to configure ejabberd to serve more than meager 10 messages per second to a given user. We tried to increase the shaper limits in the yml with no effect. How can we configure the server for high performance message throughput?

Problem in Instalation

$
0
0

I’ve recently know Ejabberd and I,ve read its documents.So I’ve faced a lot of problems :
I installed Installing ejabberd with Binary Installer on Win7.
After Installing service with shortcuts it didn’t start and gave some errors.
I tried to use command So I run C:\Program Files\ejabberd-17.07\bin>ejabberdctl ...
But I faced with this error :
Failed RPC connection to the node ejabberd@localhost: nodedown

I forced stop/start the service by handle.
I underestood that I can use web admin interface for managing Ejabberd.

read more


How to use mod_push in Ejabberd 17.08

$
0
0

Hi All,

Do you have any ideas how to use mod_push to send PUSH notifications to mobile clients? Right now we have our own simple implementation and I'm wondering do we need to switch to mod_push (and how).

Thank you,
Grigory

mod_shared_roster_ldap broken?

$
0
0

System:
CentOS 7
Ejabberd 17.07

Hello:
I have been trying to get mode_shared_roster_ldap to work with our Active Directory with no luck. LDAP authentication works fine when TLS auth is off but I cannot get the shared roster ldap to work in pretty much all of the suggested configurations in the wild. I saw some references suggesting that shared roster ldap is broken past version 16.x. Is that the case?
Thank you!

MySQL refuses connection randomly and Ejabberd needs to be restarted.

$
0
0

Hi,

My Ejabberd version: 17.04

I am encountering some variations of MySQL connection refusals. Please refer to the error snippets at the end of this message.

I am clueless as to why this is happening, although this seems to be some configuration issue.
Restarting the Ejabberd server solves the issue, but I am looking for a peoper way to resolve this issue.

Thank you.

[error] p1_mysql_conn: p1_mysql_recv: socket was closed {<0.463.0>,normal}
[error] transaction return internal error: {aborted,"p1_mysql_recv: socket was closed"}

read more

MySQL refuses connection randomly and Ejabberd needs to be restarted.

$
0
0

Hi,

My Ejabberd version: 17.04

I am encountering some variations of MySQL connection refusals. Please refer to the error snippets at the end of this message.

I am clueless as to why this is happening, although this seems to be some configuration issue.
Restarting the Ejabberd server solves the issue, but I am looking for a peoper way to resolve this issue.

Thank you.

[error] p1_mysql_conn: p1_mysql_recv: socket was closed {<0.463.0>,normal}
[error] transaction return internal error: {aborted,"p1_mysql_recv: socket was closed"}

read more

Problems with auth_method: [ldap] and users

$
0
0

I have just installed ejabberd 17.06 and I'm trying to configure it to authetication by ldap
I have an old ejabberd server 2.1.9 working perfectly, but with old syntax in ejabberd.cfg as {auth_method, ldap}. etc...

I'm trying to translate the old configuration (2.1.9) to new version (17.06), and I think that it's OK. The log dowsn't give me errors.

But when I'm trying to configure an admin user for ejabberd, I don't know how to...

In the old configuration I have:

    {acl, admin, {user, "example", "jabber.XXXX.XXXX"}}.

read more

Viewing all 782 articles
Browse latest View live