OS --Rhel 6.3
Installed this package ejabberd-16.02-linux-x86_64-installer.run.
Error When starting.
2016-03-10 22:09:44.759 [info] <0.408.0> Application lager started on node 'ejabberd@xmpp
2016-03-10 22:09:44.760 [error] <0.474.0> Unable to load crypto library. Failed with error:
"load_failed, Failed to load NIF library: '/opt/ejabberd-16.02/lib/crypto-3.5/priv/lib/crypto.so: symbol EC_GROUP_new_curve_GF2m, version OPENSSL_1.0.0 not defined in file libcrypto.so.1.0.0 with link time reference'"
OpenSSL might not be installed on this system.
2016-03-10 22:09:44.761 [error] <0.475.0> The on_load function for module crypto returned {error,{load_failed,"Failed to load NIF library: '/opt/ejabberd-16.02/lib/crypto-3.5/priv/lib/crypto.so: symbol EC_GROUP_new_curve_GF2m, version OPENSSL_1.0.0 not defined in file libcrypto.so.1.0.0 with link time reference'"}}
2016-03-10 22:09:44.761 [error] <0.437.0> CRASH REPORT Process <0.437.0> with 0 neighbours exited with reason: call to undefined function crypto:start() in application_master:init/4 line 133
2016-03-10 22:09:44.761 [info] <0.408.0> Application ejabberd exited with reason: call to undefined function crypto:start()
Also
root@xmpp /opt/ejabberd-16.02/bin # ./ejabberdctl restart
/opt/ejabberd-16.02/bin/beam.smp: /lib64/libz.so.1: no version information available (required by /opt/ejabberd-16.02/bin/beam.smp)
Basic Idea. Im trying to get 2 servers stood up clustered using mysql. I need them to sync amongst devices. I can get these clustered and up and going. WHen I added the mysql setup I had errors. I did uncomment a few more modules than the default config had enabled by default.
My ejabberd.yml
loglevel: 4
log_rotate_size: 10485760
log_rotate_date: ""
log_rotate_count: 1
log_rate_limit: 100
hosts:
- ".net"
listen:
-
port: 5222
module: ejabberd_c2s
certfile: "/opt/ejabberd-16.02/conf/server.pem"
starttls: true
protocol_options:
- "no_sslv3"
max_stanza_size: 65536
shaper: c2s_shaper
access: c2s
-
port: 5269
module: ejabberd_s2s_in
max_stanza_size: 131072
shaper: s2s_shaper
-
port: 5280
module: ejabberd_http
request_handlers:
"/websocket": ejabberd_http_ws
web_admin: true
http_bind: true
captcha: false
auth_method: odbc
odbc_type: mysql
odbc_server: "localhost"
odbc_database: "******"
odbc_username: "*****"
odbc_password: "*****"
shaper:
normal: 1000
fast: 50000
max_fsm_queue: 1000
acl:
admin:
user:
- "admin": "****"
local:
user_regexp: ""
loopback:
ip:
- "127.0.0.0/8"
access:
max_user_sessions:
all: 10
max_user_offline_messages:
admin: 5000
all: 100
local:
local: allow
c2s:
blocked: deny
all: allow
c2s_shaper:
admin: none
all: normal
s2s_shaper:
all: fast
announce:
admin: allow
configure:
admin: allow
muc_admin:
admin: allow
muc_create:
local: allow
muc:
all: allow
pubsub_createnode:
local: allow
register:
all: allow
trusted_network:
loopback: allow
language: "en"
modules:
mod_adhoc: {}
mod_admin_extra: {}
mod_announce: # recommends mod_adhoc
access: announce
mod_blocking: {} # requires mod_privacy
mod_caps: {}
mod_carboncopy: {}
mod_client_state: {}
mod_configure: {} # requires mod_adhoc
mod_disco: {}
mod_echo: {}
mod_irc: {}
mod_http_bind: {}
mod_last_odbc: {}
mod_muc:
access: muc
access_create: muc_create
access_persistent: muc_create
access_admin: muc_admin
mod_muc_admin: {}
mod_muc_log: {}
mod_offline_odbc:
access_max_user_messages: max_user_offline_messages
mod_ping: {}
mod_pres_counter:
count: 5
interval: 60
mod_privacy_odbc: {}
mod_private_odbc: {}
mod_pubsub_odbc:
access_createnode: pubsub_createnode
ignore_pep_from_offline: true
last_item_cache: false
plugins:
- "flat"
- "hometree"
- "pep" # pep requires mod_caps
mod_register:
welcome_message:
subject: "Welcome!"
body: |-
Hi.
Welcome to this XMPP server.
ip_access: trusted_network
access: register
mod_roster_odbc: {}
mod_shared_roster_odbc: {}
mod_stats: {}
mod_time: {}
mod_vcard_odbc: {}
mod_version: {}
allow_contrib_modules: true
Any help would be awesome.