ejabberd - Comments for "Am I going crazy or does the current version not work with MSSQL 2005?" https://www.ejabberd.im/node/3163 en Binary installers fixed. https://www.ejabberd.im/node/3163#comment-53527 <div class="quote-msg"> <div class="quote-author"><em>badlop</em> wrote:</div> <p>But it would be preferable if the ejabberd binary installer is complete :) so I'll report tomorrow. Once an updated installer is published, I'll add a comment here.</p></div> <p>The updated binary installers that include the 'odbc' library were uploaded.</p> Wed, 03 Sep 2008 17:46:19 +0000 mfoss comment 53527 at https://www.ejabberd.im Yahoo.... It's working Now! https://www.ejabberd.im/node/3163#comment-53522 <p>Ok so i downloaded the full erlang binary windows install and installed it on my system. Then copied C:\Program Files\erl5.6.3\lib\odbc-2.10.2 to C:\Program Files\ejabberd-2.0.2\lib\odbc-2.10.2 </p> <p>and now we're in business!</p> <p>Thanks guys!</p> Sun, 31 Aug 2008 13:30:17 +0000 polobruce comment 53522 at https://www.ejabberd.im Oh, installer forgot odbc library https://www.ejabberd.im/node/3163#comment-53521 <div class="quote-msg"> <div class="quote-author"><em>polobruce</em> wrote:</div> <p>I used the windows binary install</p> <pre> =PROGRESS REPORT==== 30-Aug-2008::19:41:00 === supervisor: {local,stringprep_sup} started: [{pid,&lt;0.196.0&gt;}, {name,stringprep}, {mfa,{stringprep,start_link,[]}}, {restart_type,permanent}, {shutdown,brutal_kill}, {child_type,worker}] =CRASH REPORT==== 30-Aug-2008::19:41:00 === crasher: pid: &lt;0.35.0&gt; registered_name: [] exception exit: {bad_return,{{ejabberd_app,start,[normal,[]]}, {'EXIT',database_module_missing}}} in function application_master:init/4 initial call: application_master:init(&lt;0.5.0&gt;,&lt;0.34.0&gt;, </pre></div> <p>As explained by Teo, it seems the installer didn't include some required ODBC library.</p> <p>I've checked, and the directory ejabberd-2.0.2/lib/odbc-2.10.2 doesn't include ebin/ with the required odbc.beam, odbc_app.beam, ...</p> <p>Those files were included in ejabberd 2.0.1 installer, so this seems some problem in the new installer. As mentioned by Teo, you could download the full Windows Erlang/OTP R12B-3 installer and get those files from there.</p> <p>But it would be preferable if the ejabberd binary installer is complete :) so I'll report tomorrow. Once an updated installer is published, I'll add a comment here. (And let's hope after that the MSSQL connection finally works! ;)</p> Sun, 31 Aug 2008 10:53:54 +0000 mfoss comment 53521 at https://www.ejabberd.im {'EXIT',database_module_missi https://www.ejabberd.im/node/3163#comment-53520 <p>{'EXIT',database_module_missing}}} means that Erlang ODBC application isn't included into ejabberd binary installer. So, you're out of luck (because now it's virtually imposiible to build ejabberd from the released source on Windows using Erlang distribution from <noindex><a href="http://www.erlang.org" title="http://www.erlang.org" rel="nofollow" >http://www.erlang.org</a></noindex>). Though you could try to download it (the same version as in installer), extract ODBC module and add it to your installed ejabberd. (Or ask badlop, who seems to like these quests of adding missing dependencies to the installer.)</p> Sun, 31 Aug 2008 06:25:07 +0000 teo comment 53520 at https://www.ejabberd.im Here it is https://www.ejabberd.im/node/3163#comment-53519 <p>I used the windows binary install</p> <p>ejabberd.cfg<br /> ---------------</p> <p>%%%<br /> %%% ejabberd configuration file<br /> %%%</p> <p>%%% The parameters used in this configuration file are explained in more detail<br /> %%% in the ejabberd Installation and Operation Guide.<br /> %%% Please consult the Guide in case of doubts, it is included in<br /> %%% your copy of ejabberd, and is also available online at<br /> %%% <noindex><a href="http://www.process-one.net/en/ejabberd/docs/" title="http://www.process-one.net/en/ejabberd/docs/" rel="nofollow" >http://www.process-one.net/en/ejabberd/docs/</a></noindex></p> <p>%%% This configuration file contains Erlang terms.<br /> %%% In case you want to understand the syntax, here are the concepts:<br /> %%%<br /> %%% - The character to comment a line is %<br /> %%%<br /> %%% - Each term ends in a dot, for example:<br /> %%% override_global.<br /> %%%<br /> %%% - A tuple has a fixed definition, its elements are<br /> %%% enclosed in {}, and separated with commas:<br /> %%% {loglevel, 4}.<br /> %%%<br /> %%% - A list can have as many elements as you want,<br /> %%% and is enclosed in [], for example:<br /> %%% [http_poll, web_admin, tls]<br /> %%%<br /> %%% - A keyword of ejabberd is a word in lowercase.<br /> %%% The strings are enclosed in "" and can have spaces, dots...<br /> %%% {language, "en"}.<br /> %%% {ldap_rootdn, "dc=example,dc=com"}.<br /> %%%<br /> %%% - This term includes a tuple, a keyword, a list and two strings:<br /> %%% {hosts, ["jabber.example.net", "im.example.com"]}.<br /> %%%</p> <p>%%% =======================<br /> %%% OVERRIDE STORED OPTIONS</p> <p>%%<br /> %% Override the old values stored in the database.<br /> %%</p> <p>%%<br /> %% Override global options (shared by all ejabberd nodes in a cluster).<br /> %%<br /> %%override_global.</p> <p>%%<br /> %% Override local options (specific for this particular ejabberd node).<br /> %%<br /> %%override_local.</p> <p>%%<br /> %% Remove the Access Control Lists before new ones are added.<br /> %%<br /> %%override_acls.</p> <p>%%% =========<br /> %%% DEBUGGING</p> <p>%%<br /> %% loglevel: Verbosity of log files generated by ejabberd.<br /> %% 0: No ejabberd log at all (not recommended)<br /> %% 1: Critical<br /> %% 2: Error<br /> %% 3: Warning<br /> %% 4: Info<br /> %% 5: Debug<br /> %%<br /> {loglevel, 4}.</p> <p>%%<br /> %% watchdog_admins: If an ejabberd process consumes too much memory,<br /> %% send live notifications to those Jabber accounts.<br /> %%<br /> %%{watchdog_admins, ["admin@secretdomain.com"]}.</p> <p>%%% ================<br /> %%% SERVED HOSTNAMES</p> <p>%%<br /> %% hosts: Domains served by ejabberd.<br /> %% You can define one or several, for example:<br /> %% {hosts, ["example.net", "example.com", "example.org"]}.<br /> %%<br /> {hosts, ["secretdomain.com"]}.</p> <p>%%<br /> %% route_subdomains: Delegate subdomains to other Jabber server.<br /> %% For example, if this ejabberd serves example.org and you want<br /> %% to allow communication with a Jabber server called im.example.org.<br /> %%<br /> %%{route_subdomains, s2s}.</p> <p>%%% ===============<br /> %%% LISTENING PORTS</p> <p>%%<br /> %% listen: Which ports will ejabberd listen, which service handles it<br /> %% and what options to start it with.<br /> %%<br /> {listen,<br /> [</p> <p> {5222, ejabberd_c2s, [<br /> {certfile, "C:\\Program Files\\ejabberd-2.0.2\\conf\\server.pem"}, starttls,<br /> {access, c2s},<br /> {shaper, c2s_shaper},<br /> {max_stanza_size, 65536}<br /> ]},</p> <p> %%<br /> %% To enable the old SSL connection method in port 5223:<br /> %%<br /> {5223, ejabberd_c2s, [<br /> {certfile, "C:\\Program Files\\ejabberd-2.0.2\\conf\\server.pem"}, tls,<br /> {access, c2s},<br /> {shaper, c2s_shaper},<br /> {max_stanza_size, 65536}<br /> ]},</p> <p> {5269, ejabberd_s2s_in, [<br /> {shaper, s2s_shaper},<br /> {max_stanza_size, 131072}<br /> ]},</p> <p> %%<br /> %% ejabberd_service: Interact with external components (transports...)<br /> %%<br /> %%{8888, ejabberd_service, [<br /> %% {access, all},<br /> %% {shaper_rule, fast},<br /> %% {ip, {127, 0, 0, 1}},<br /> %% {hosts, ["icq.example.org", "sms.example.org"],<br /> %% [{password, "secret"}]<br /> %% }<br /> %% ]},</p> <p> {5280, ejabberd_http, [<br /> http_bind,<br /> http_poll,<br /> web_admin<br /> ]}</p> <p> ]}.</p> <p>%%<br /> %% s2s_use_starttls: Enable STARTTLS + Dialback for S2S connections.<br /> %% Allowed values are: true or false.<br /> %% You must specify a certificate file.<br /> %%<br /> {s2s_use_starttls, true}.</p> <p>%%<br /> %% s2s_certfile: Specify a certificate file.<br /> %%<br /> {s2s_certfile, "C:\\Program Files\\ejabberd-2.0.2\\conf\\server.pem"}.</p> <p>%%<br /> %% domain_certfile: Specify a different certificate for each served hostname.<br /> %%<br /> %%{domain_certfile, "example.org", "C:\\Program Files\\ejabberd-2.0.2\\conf\\example_org.pem"}.<br /> %%{domain_certfile, "example.com", "C:\\Program Files\\ejabberd-2.0.2\\conf\\example_com.pem"}.</p> <p>%%<br /> %% S2S whitelist or blacklist<br /> %%<br /> %% Default s2s policy for undefined hosts.<br /> %%<br /> {s2s_default_policy, allow}.</p> <p>%%<br /> %% Allow or deny communication with specific servers.<br /> %%<br /> %%{{s2s_host, "goodhost.org"}, allow}.<br /> %%{{s2s_host, "badhost.org"}, deny}.</p> <p>%%% ==============<br /> %%% AUTHENTICATION</p> <p>%%<br /> %% auth_method: Method used to authenticate the users.<br /> %% The default method is the internal.<br /> %% If you want to use a different method,<br /> %% comment this line and enable the correct ones.<br /> %%<br /> %%{auth_method, internal}.</p> <p>%%<br /> %% Authentication using external script<br /> %% Make sure the script is executable by ejabberd.<br /> %%<br /> %%{auth_method, external}.<br /> %%{extauth_program, "\\path\\to\\authentication\\script"}.</p> <p>%%<br /> %% Authentication using ODBC<br /> %% Remember to setup a database in the next section.<br /> %%<br /> {auth_method, odbc}.</p> <p>%%<br /> %% Authentication using PAM<br /> %%<br /> %%{auth_method, pam}.<br /> %%{pam_service, "pamservicename"}.</p> <p>%%<br /> %% Authentication using LDAP<br /> %%<br /> %%{auth_method, ldap}.<br /> %%<br /> %% List of LDAP servers:<br /> %%{ldap_servers, ["secretdomain.com"]}.<br /> %%<br /> %% LDAP attribute that holds user ID:<br /> %%{ldap_uids, [{"mail", "%u@mail.example.org"}]}.<br /> %%<br /> %% Search base of LDAP directory:<br /> %%{ldap_base, "dc=example,dc=com"}.<br /> %%<br /> %% LDAP manager:<br /> %%{ldap_rootdn, "dc=example,dc=com"}.<br /> %%<br /> %% Password to LDAP manager:<br /> %%{ldap_password, "******"}. </p> <p>%%<br /> %% Anonymous login support:<br /> %% auth_method: anonymous<br /> %% anonymous_protocol: sasl_anon | login_anon | both<br /> %% allow_multiple_connections: true | false<br /> %%<br /> %%{host_config, "public.example.org", [{auth_method, anonymous},<br /> %% {allow_multiple_connections, false},<br /> %% {anonymous_protocol, sasl_anon}]}.<br /> %%<br /> %% To use both anonymous and internal authentication:<br /> %%<br /> %%{host_config, "public.example.org", [{auth_method, [internal, anonymous]}]}.</p> <p>%%% ==============<br /> %%% DATABASE SETUP</p> <p>%% ejabberd uses by default the internal Mnesia database,<br /> %% so you can avoid this section.<br /> %% This section provides configuration examples in case<br /> %% you want to use other database backends.<br /> %% Please consult the ejabberd Guide for details about database creation.</p> <p>%%<br /> %% MySQL server:<br /> %%<br /> %%{odbc_server, {mysql, "server", "database", "username", "password"}}.<br /> %%<br /> %% If you want to specify the port:<br /> %%{odbc_server, {mysql, "server", 1234, "database", "username", "password"}}.</p> <p>%%<br /> %% PostgreSQL server:<br /> %%<br /> %%{odbc_server, {pgsql, "server", "database", "username", "password"}}.<br /> %%<br /> %% If you want to specify the port:<br /> %%{odbc_server, {pgsql, "server", 1234, "database", "username", "password"}}.<br /> %%<br /> %% If you use PostgreSQL, have a large database, and need a<br /> %% faster but inexact replacement for "select count(*) from users"<br /> %%<br /> %%{pgsql_users_number_estimate, true}.</p> <p>%%<br /> %% ODBC compatible or MSSQL server:<br /> %%<br /> {odbc_server, "DSN=ejabberd;UID=ejabberd;PWD=password"}.</p> <p>%%% ===============<br /> %%% TRAFFIC SHAPERS</p> <p>%%<br /> %% The "normal" shaper limits traffic speed to 1.000 B/s<br /> %%<br /> {shaper, normal, {maxrate, 1000}}.</p> <p>%%<br /> %% The "fast" shaper limits traffic speed to 50.000 B/s<br /> %%<br /> {shaper, fast, {maxrate, 50000}}.</p> <p>%%% ====================<br /> %%% ACCESS CONTROL LISTS</p> <p>%%<br /> %% The 'admin' ACL grants administrative privileges to Jabber accounts.<br /> %% You can put as many accounts as you want.<br /> %%<br /> {acl, admin, {user, "admin", "secretdomain.com"}}.</p> <p>%%<br /> %% Blocked users<br /> %%<br /> %%{acl, blocked, {user, "baduser", "example.org"}}.<br /> %%{acl, blocked, {user, "test"}}.</p> <p>%%<br /> %% Local users: don't modify this line.<br /> %%<br /> {acl, local, {user_regexp, ""}}.</p> <p>%%<br /> %% More examples of ACLs<br /> %%<br /> %%{acl, jabberorg, {server, "jabber.org"}}.<br /> %%{acl, aleksey, {user, "aleksey", "jabber.ru"}}.<br /> %%{acl, test, {user_regexp, "^test"}}.<br /> %%{acl, test, {user_glob, "test*"}}.</p> <p>%%% ============<br /> %%% ACCESS RULES</p> <p>%% Define the maximum number of time a single user is allowed to connect:<br /> {access, max_user_sessions, [{10, all}]}.</p> <p>%% This rule allows access only for local users:<br /> {access, local, [{allow, local}]}.</p> <p>%% Only non-blocked users can use c2s connections:<br /> {access, c2s, [{deny, blocked},<br /> {allow, all}]}.</p> <p>%% For all users except admins used "normal" shaper<br /> {access, c2s_shaper, [{none, admin},<br /> {normal, all}]}.</p> <p>%% For all S2S connections used "fast" shaper<br /> {access, s2s_shaper, [{fast, all}]}.</p> <p>%% Only admins can send announcement messages:<br /> {access, announce, [{allow, admin}]}.</p> <p>%% Only admins can use configuration interface:<br /> {access, configure, [{allow, admin}]}.</p> <p>%% Admins of this server are also admins of MUC service:<br /> {access, muc_admin, [{allow, admin}]}.</p> <p>%% All users are allowed to use MUC service:<br /> {access, muc, [{allow, all}]}.</p> <p>%% Every username can be registered via in-band registration:<br /> %% To disable in-band registration, replace 'allow' with 'deny'.<br /> {access, register, [{allow, all}]}.</p> <p>%% Everybody can create pubsub nodes<br /> {access, pubsub_createnode, [{allow, all}]}.</p> <p>%%% ================<br /> %%% DEFAULT LANGUAGE</p> <p>%%<br /> %% language: Default language used for server messages.<br /> %%<br /> {language, "en"}.</p> <p>%%% =======<br /> %%% MODULES</p> <p>%%<br /> %% Modules enabled in all ejabberd virtual hosts.<br /> %%<br /> {modules,<br /> [<br /> {mod_adhoc, []},<br /> {mod_announce, [{access, announce}]}, % requires mod_adhoc<br /> {mod_caps, []},<br /> {mod_configure,[]}, % requires mod_adhoc<br /> {mod_disco, []},<br /> %%{mod_echo, [{host, "echo.secretdomain.com"}]},<br /> {mod_http_bind,[]},<br /> %%{mod_http_fileserver, [{docroot, "C:\\Program Files\\ejabberd-2.0.2\\www"}]},<br /> {mod_irc, []},<br /> {mod_last, []},<br /> {mod_muc, [<br /> %%{host, "conference.@HOST@"},<br /> {access, muc},<br /> {access_create, muc},<br /> {access_persistent, muc},<br /> {access_admin, muc_admin}<br /> ]},<br /> %%{mod_muc_log,[]},<br /> {mod_offline, []},<br /> {mod_privacy, []},<br /> {mod_private, []},<br /> %%{mod_proxy65,[]},<br /> {mod_pubsub, [ % requires mod_caps<br /> {access_createnode, pubsub_createnode},<br /> {plugins, ["default", "pep"]}<br /> ]},<br /> {mod_register, [<br /> %%<br /> %% After successful registration, the user receives<br /> %% a message with this subject and body.<br /> %%<br /> {welcome_message, {"Welcome!",<br /> "Welcome to this Jabber server."}},</p> <p> %%<br /> %% When a user registers, send a notification to<br /> %% these Jabber accounts.<br /> %%<br /> %%{registration_watchers, ["admin1@example.org"]},</p> <p> {access, register}<br /> ]},<br /> {mod_roster, []},<br /> %%{mod_service_log,[]},<br /> {mod_shared_roster,[]},<br /> %%{mod_stats, []},<br /> {mod_time, []},<br /> {mod_vcard, []},<br /> {mod_version, []}<br /> ]}.</p> <p>%%% $Id: ejabberd.cfg.example 1073 2007-12-17 11:03:22Z badlop $</p> <p>%%% Local Variables:<br /> %%% mode: erlang<br /> %%% End:<br /> %%% vim: set filetype=erlang tabstop=8:</p> <p>Sasl.log<br /> -------------</p> <p>=PROGRESS REPORT==== 30-Aug-2008::19:40:59 ===<br /> supervisor: {local,sasl_safe_sup}<br /> started: [{pid,&lt;0.46.0&gt;},<br /> {name,alarm_handler},<br /> {mfa,{alarm_handler,start_link,[]}},<br /> {restart_type,permanent},<br /> {shutdown,2000},<br /> {child_type,worker}]</p> <p>=PROGRESS REPORT==== 30-Aug-2008::19:41:00 ===<br /> supervisor: {local,sasl_safe_sup}<br /> started: [{pid,&lt;0.47.0&gt;},<br /> {name,overload},<br /> {mfa,{overload,start_link,[]}},<br /> {restart_type,permanent},<br /> {shutdown,2000},<br /> {child_type,worker}]</p> <p>=PROGRESS REPORT==== 30-Aug-2008::19:41:00 ===<br /> supervisor: {local,sasl_sup}<br /> started: [{pid,&lt;0.45.0&gt;},<br /> {name,sasl_safe_sup},<br /> {mfa,<br /> {supervisor,start_link,<br /> [{local,sasl_safe_sup},sasl,safe]}},<br /> {restart_type,permanent},<br /> {shutdown,infinity},<br /> {child_type,supervisor}]</p> <p>=PROGRESS REPORT==== 30-Aug-2008::19:41:00 ===<br /> supervisor: {local,sasl_sup}<br /> started: [{pid,&lt;0.48.0&gt;},<br /> {name,release_handler},<br /> {mfa,{release_handler,start_link,[]}},<br /> {restart_type,permanent},<br /> {shutdown,2000},<br /> {child_type,worker}]</p> <p>=PROGRESS REPORT==== 30-Aug-2008::19:41:00 ===<br /> application: sasl<br /> started_at: ejabberd@localhost</p> <p>=PROGRESS REPORT==== 30-Aug-2008::19:41:00 ===<br /> supervisor: {local,kernel_safe_sup}<br /> started: [{pid,&lt;0.52.0&gt;},<br /> {name,dets_sup},<br /> {mfa,{dets_sup,start_link,[]}},<br /> {restart_type,permanent},<br /> {shutdown,1000},<br /> {child_type,supervisor}]</p> <p>=PROGRESS REPORT==== 30-Aug-2008::19:41:00 ===<br /> supervisor: {local,kernel_safe_sup}<br /> started: [{pid,&lt;0.53.0&gt;},<br /> {name,dets},<br /> {mfa,{dets_server,start_link,[]}},<br /> {restart_type,permanent},<br /> {shutdown,2000},<br /> {child_type,worker}]</p> <p>=PROGRESS REPORT==== 30-Aug-2008::19:41:00 ===<br /> supervisor: {local,mnesia_sup}<br /> started: [{pid,&lt;0.61.0&gt;},<br /> {name,mnesia_event},<br /> {mfa,{mnesia_sup,start_event,[]}},<br /> {restart_type,permanent},<br /> {shutdown,30000},<br /> {child_type,worker}]</p> <p>=PROGRESS REPORT==== 30-Aug-2008::19:41:00 ===<br /> supervisor: {local,mnesia_kernel_sup}<br /> started: [{pid,&lt;0.63.0&gt;},<br /> {name,mnesia_monitor},<br /> {mfa,{mnesia_monitor,start,[]}},<br /> {restart_type,permanent},<br /> {shutdown,3000},<br /> {child_type,worker}]</p> <p>=PROGRESS REPORT==== 30-Aug-2008::19:41:00 ===<br /> supervisor: {local,mnesia_kernel_sup}<br /> started: [{pid,&lt;0.64.0&gt;},<br /> {name,mnesia_subscr},<br /> {mfa,{mnesia_subscr,start,[]}},<br /> {restart_type,permanent},<br /> {shutdown,3000},<br /> {child_type,worker}]</p> <p>=PROGRESS REPORT==== 30-Aug-2008::19:41:00 ===<br /> supervisor: {local,mnesia_kernel_sup}<br /> started: [{pid,&lt;0.65.0&gt;},<br /> {name,mnesia_locker},<br /> {mfa,{mnesia_locker,start,[]}},<br /> {restart_type,permanent},<br /> {shutdown,3000},<br /> {child_type,worker}]</p> <p>=PROGRESS REPORT==== 30-Aug-2008::19:41:00 ===<br /> supervisor: {local,mnesia_kernel_sup}<br /> started: [{pid,&lt;0.66.0&gt;},<br /> {name,mnesia_recover},<br /> {mfa,{mnesia_recover,start,[]}},<br /> {restart_type,permanent},<br /> {shutdown,180000},<br /> {child_type,worker}]</p> <p>=PROGRESS REPORT==== 30-Aug-2008::19:41:00 ===<br /> supervisor: {local,kernel_safe_sup}<br /> started: [{pid,&lt;0.71.0&gt;},<br /> {name,disk_log_sup},<br /> {mfa,{disk_log_sup,start_link,[]}},<br /> {restart_type,permanent},<br /> {shutdown,1000},<br /> {child_type,supervisor}]</p> <p>=PROGRESS REPORT==== 30-Aug-2008::19:41:00 ===<br /> supervisor: {local,kernel_safe_sup}<br /> started: [{pid,&lt;0.72.0&gt;},<br /> {name,disk_log_server},<br /> {mfa,{disk_log_server,start_link,[]}},<br /> {restart_type,permanent},<br /> {shutdown,2000},<br /> {child_type,worker}]</p> <p>=PROGRESS REPORT==== 30-Aug-2008::19:41:00 ===<br /> supervisor: {local,kernel_safe_sup}<br /> started: [{pid,&lt;0.89.0&gt;},<br /> {name,timer_server},<br /> {mfa,{timer,start_link,[]}},<br /> {restart_type,permanent},<br /> {shutdown,1000},<br /> {child_type,worker}]</p> <p>=PROGRESS REPORT==== 30-Aug-2008::19:41:00 ===<br /> supervisor: {local,mnesia_kernel_sup}<br /> started: [{pid,&lt;0.67.0&gt;},<br /> {name,mnesia_tm},<br /> {mfa,{mnesia_tm,start,[]}},<br /> {restart_type,permanent},<br /> {shutdown,30000},<br /> {child_type,worker}]</p> <p>=PROGRESS REPORT==== 30-Aug-2008::19:41:00 ===<br /> supervisor: {local,mnesia_kernel_sup}<br /> started: [{pid,&lt;0.90.0&gt;},<br /> {name,mnesia_checkpoint_sup},<br /> {mfa,{mnesia_checkpoint_sup,start,[]}},<br /> {restart_type,permanent},<br /> {shutdown,infinity},<br /> {child_type,supervisor}]</p> <p>=PROGRESS REPORT==== 30-Aug-2008::19:41:00 ===<br /> supervisor: {local,mnesia_kernel_sup}<br /> started: [{pid,&lt;0.91.0&gt;},<br /> {name,mnesia_snmp_sup},<br /> {mfa,{mnesia_snmp_sup,start,[]}},<br /> {restart_type,permanent},<br /> {shutdown,infinity},<br /> {child_type,supervisor}]</p> <p>=PROGRESS REPORT==== 30-Aug-2008::19:41:00 ===<br /> supervisor: {local,mnesia_kernel_sup}<br /> started: [{pid,&lt;0.92.0&gt;},<br /> {name,mnesia_controller},<br /> {mfa,{mnesia_controller,start,[]}},<br /> {restart_type,permanent},<br /> {shutdown,3000},<br /> {child_type,worker}]</p> <p>=PROGRESS REPORT==== 30-Aug-2008::19:41:00 ===<br /> supervisor: {local,mnesia_kernel_sup}<br /> started: [{pid,&lt;0.93.0&gt;},<br /> {name,mnesia_late_loader},<br /> {mfa,{mnesia_late_loader,start,[]}},<br /> {restart_type,permanent},<br /> {shutdown,3000},<br /> {child_type,worker}]</p> <p>=PROGRESS REPORT==== 30-Aug-2008::19:41:00 ===<br /> supervisor: {local,mnesia_sup}<br /> started: [{pid,&lt;0.62.0&gt;},<br /> {name,mnesia_kernel_sup},<br /> {mfa,{mnesia_kernel_sup,start,[]}},<br /> {restart_type,permanent},<br /> {shutdown,infinity},<br /> {child_type,supervisor}]</p> <p>=PROGRESS REPORT==== 30-Aug-2008::19:41:00 ===<br /> application: mnesia<br /> started_at: ejabberd@localhost</p> <p>=PROGRESS REPORT==== 30-Aug-2008::19:41:00 ===<br /> supervisor: {local,crypto_sup}<br /> started: [{pid,&lt;0.186.0&gt;},<br /> {name,crypto_server},<br /> {mfa,{crypto_server,start_link,[]}},<br /> {restart_type,permanent},<br /> {shutdown,2000},<br /> {child_type,worker}]</p> <p>=PROGRESS REPORT==== 30-Aug-2008::19:41:00 ===<br /> application: crypto<br /> started_at: ejabberd@localhost</p> <p>=PROGRESS REPORT==== 30-Aug-2008::19:41:00 ===<br /> supervisor: {local,ssl_sup}<br /> started: [{pid,&lt;0.192.0&gt;},<br /> {name,ssl_broker_sup},<br /> {mfa,{ssl_broker_sup,start_link,[]}},<br /> {restart_type,permanent},<br /> {shutdown,2000},<br /> {child_type,supervisor}]</p> <p>=PROGRESS REPORT==== 30-Aug-2008::19:41:00 ===<br /> supervisor: {local,ssl_sup}<br /> started: [{pid,&lt;0.193.0&gt;},<br /> {name,ssl_manager},<br /> {mfa,{ssl_manager,start_link,[]}},<br /> {restart_type,permanent},<br /> {shutdown,4000},<br /> {child_type,worker}]</p> <p>=PROGRESS REPORT==== 30-Aug-2008::19:41:00 ===<br /> supervisor: {local,ssl_sup}<br /> started: [{pid,&lt;0.194.0&gt;},<br /> {name,ssl_connection},<br /> {mfa,{ssl_connection_sup,start_link,[]}},<br /> {restart_type,permanent},<br /> {shutdown,4000},<br /> {child_type,supervisor}]</p> <p>=PROGRESS REPORT==== 30-Aug-2008::19:41:00 ===<br /> application: ssl<br /> started_at: ejabberd@localhost</p> <p>=PROGRESS REPORT==== 30-Aug-2008::19:41:00 ===<br /> supervisor: {local,stringprep_sup}<br /> started: [{pid,&lt;0.196.0&gt;},<br /> {name,stringprep},<br /> {mfa,{stringprep,start_link,[]}},<br /> {restart_type,permanent},<br /> {shutdown,brutal_kill},<br /> {child_type,worker}]</p> <p>=CRASH REPORT==== 30-Aug-2008::19:41:00 ===<br /> crasher:<br /> pid: &lt;0.35.0&gt;<br /> registered_name: []<br /> exception exit: {bad_return,{{ejabberd_app,start,[normal,[]]},<br /> {'EXIT',database_module_missing}}}<br /> in function application_master:init/4<br /> initial call: application_master:init(&lt;0.5.0&gt;,&lt;0.34.0&gt;,<br /> {appl_data,ejabberd,<br /> [ejabberd,ejabberd_sup,<br /> ejabberd_auth,ejabberd_router,<br /> ejabberd_sm,ejabberd_s2s,<br /> ejabberd_local,ejabberd_listeners,<br /> ejabberd_iq_sup,<br /> ejabberd_service_sup,<br /> ejabberd_s2s_out_sup,<br /> ejabberd_s2s_in_sup,<br /> ejabberd_c2s_sup,<br /> ejabberd_mod_roster,<br /> ejabberd_mod_echo,<br /> ejabberd_mod_pubsub,<br /> ejabberd_mod_irc,ejabberd_mod_muc,<br /> ejabberd_offline,random_generator],<br /> undefined,<br /> {ejabberd_app,[]},<br /> [acl,adhoc,configure,<br /> cyrsasl_anonymous,cyrsasl,<br /> cyrsasl_digest,cyrsasl_plain,<br /> ejabberd_admin,ejabberd_app,<br /> ejabberd_auth_anonymous,<br /> ejabberd_auth,<br /> ejabberd_auth_external,<br /> ejabberd_auth_internal,<br /> ejabberd_auth_ldap,<br /> ejabberd_auth_odbc,<br /> ejabberd_auth_pam,ejabberd,<br /> ejabberd_c2s,ejabberd_c2s_config,<br /> ejabberd_config,ejabberd_ctl,<br /> ejabberd_frontend_socket,<br /> ejabberd_hooks,ejabberd_http,<br /> ejabberd_http_bind,<br /> ejabberd_http_poll,<br /> ejabberd_listener,ejabberd_local,<br /> ejabberd_logger_h,<br /> ejabberd_loglevel,<br /> ejabberd_node_groups,<br /> ejabberd_rdbms,ejabberd_receiver,<br /> ejabberd_router,ejabberd_s2s,<br /> ejabberd_s2s_in,ejabberd_s2s_out,<br /> ejabberd_service,ejabberd_sm,<br /> ejabberd_socket,ejabberd_sup,<br /> ejabberd_system_monitor,<br /> ejabberd_tmp_sup,ejabberd_update,<br /> ejabberd_web_admin,ejabberd_web,<br /> ejabberd_zlib,ejd2odbc,eldap,<br /> eldap_filter,eldap_pool,<br /> eldap_utils,'ELDAPv3',extauth,<br /> gen_iq_handler,gen_mod,<br /> gen_pubsub_node,<br /> gen_pubsub_nodetree,iconv,idna,<br /> jd2ejd,jlib,mod_adhoc,<br /> mod_announce,mod_caps,<br /> mod_configure2,mod_configure,<br /> mod_disco,mod_echo,mod_http_bind,<br /> mod_http_fileserver,mod_irc,<br /> mod_irc_connection,mod_last,<br /> mod_last_odbc,mod_muc,mod_muc_log,<br /> mod_muc_room,mod_offline,<br /> mod_offline_odbc,mod_privacy,<br /> mod_privacy_odbc,mod_private,<br /> mod_private_odbc,mod_proxy65,<br /> mod_proxy65_lib,<br /> mod_proxy65_service,<br /> mod_proxy65_sm,mod_proxy65_stream,<br /> mod_pubsub,mod_register,<br /> mod_roster,mod_roster_odbc,<br /> mod_service_log,mod_shared_roster,<br /> mod_stats,mod_time,mod_vcard,<br /> mod_vcard_ldap,mod_vcard_odbc,<br /> mod_version,node_buddy,node_club,<br /> node_default,node_dispatch,<br /> node_pep,node_private,node_public,<br /> nodetree_default,nodetree_virtual,<br /> p1_fsm,p1_mnesia,<br /> ram_file_io_server,randoms,sha,<br /> shaper,stringprep,stringprep_sup,<br /> tls,translate,xml,xml_stream,<br /> 'XmppAddr'],<br /> [],infinity,infinity},<br /> normal)<br /> ancestors: [&lt;0.34.0&gt;]<br /> messages: [{'EXIT',&lt;0.36.0&gt;,normal}]<br /> links: [&lt;0.34.0&gt;,&lt;0.5.0&gt;]<br /> dictionary: []<br /> trap_exit: true<br /> status: running<br /> heap_size: 987<br /> stack_size: 23<br /> reductions: 149<br /> neighbours:</p> <p>ejabberd.log<br /> -------------------</p> <p>=INFO REPORT==== 2008-08-30 19:23:12 ===<br /> I(&lt;0.313.0&gt;:mod_pubsub:154) : pubsub init "secretdomain.com" [{access_createnode,<br /> pubsub_createnode},<br /> {plugins,<br /> ["default","pep"]}]</p> <p>=INFO REPORT==== 2008-08-30 19:23:12 ===<br /> I(&lt;0.313.0&gt;:mod_pubsub:209) : ** tree plugin is nodetree_default</p> <p>=INFO REPORT==== 2008-08-30 19:23:12 ===<br /> I(&lt;0.313.0&gt;:mod_pubsub:213) : ** init default plugin</p> <p>=INFO REPORT==== 2008-08-30 19:23:12 ===<br /> I(&lt;0.313.0&gt;:mod_pubsub:213) : ** init pep plugin</p> <p>=INFO REPORT==== 2008-08-30 19:23:50 ===<br /> I(&lt;0.271.0&gt;:ejabberd_listener:112) : (#Port&lt;0.405&gt;) Accepted connection {{208,81,189,119},15538} -&gt; {{192,168,1,110},5222}</p> <p>=INFO REPORT==== 2008-08-30 19:23:52 ===<br /> I(&lt;0.357.0&gt;:ejabberd_c2s:693) : ({socket_state,tls,{tlssock,#Port&lt;0.405&gt;,#Port&lt;0.415&gt;},&lt;0.356.0&gt;}) Accepted authentication for bruce</p> <p>=INFO REPORT==== 2008-08-30 19:23:52 ===<br /> I(&lt;0.357.0&gt;:ejabberd_c2s:805) : ({socket_state,tls,{tlssock,#Port&lt;0.405&gt;,#Port&lt;0.415&gt;},&lt;0.356.0&gt;}) Opened session for bruce@secretdomain.com/Meebo</p> <p>=INFO REPORT==== 2008-08-30 19:24:00 ===<br /> I(&lt;0.271.0&gt;:ejabberd_listener:112) : (#Port&lt;0.418&gt;) Accepted connection {{192,168,1,1},53604} -&gt; {{192,168,1,110},5222}</p> <p>=INFO REPORT==== 2008-08-30 19:24:01 ===<br /> I(&lt;0.359.0&gt;:ejabberd_c2s:693) : ({socket_state,tls,{tlssock,#Port&lt;0.418&gt;,#Port&lt;0.420&gt;},&lt;0.358.0&gt;}) Accepted authentication for admin</p> <p>=INFO REPORT==== 2008-08-30 19:24:01 ===<br /> I(&lt;0.359.0&gt;:ejabberd_c2s:805) : ({socket_state,tls,{tlssock,#Port&lt;0.418&gt;,#Port&lt;0.420&gt;},&lt;0.358.0&gt;}) Opened session for admin@secretdomain.com/Bruce smith’s iMac</p> <p>=INFO REPORT==== 2008-08-30 19:25:37 ===<br /> I(&lt;0.273.0&gt;:ejabberd_listener:112) : (#Port&lt;0.423&gt;) Accepted connection {{72,14,252,129},18153} -&gt; {{192,168,1,110},5269}</p> <p>=INFO REPORT==== 2008-08-30 19:25:37 ===<br /> I(&lt;0.273.0&gt;:ejabberd_listener:112) : (#Port&lt;0.426&gt;) Accepted connection {{72,14,252,129},18154} -&gt; {{192,168,1,110},5269}</p> <p>=INFO REPORT==== 2008-08-30 19:25:58 ===<br /> I(&lt;0.364.0&gt;:ejabberd_s2s_out:224) : s2s connection: secretdomain.com -&gt; gmail.com (remote server not found)</p> <p>=INFO REPORT==== 2008-08-30 19:26:01 ===<br /> I(&lt;0.364.0&gt;:ejabberd_s2s_out:777) : Reconnect delay expired: Will now retry to connect to gmail.com when needed.</p> <p>=INFO REPORT==== 2008-08-30 19:32:20 ===<br /> I(&lt;0.273.0&gt;:ejabberd_listener:112) : (#Port&lt;0.462&gt;) Accepted connection {{72,14,252,129},18203} -&gt; {{192,168,1,110},5269}</p> <p>=INFO REPORT==== 2008-08-30 19:32:20 ===<br /> I(&lt;0.273.0&gt;:ejabberd_listener:112) : (#Port&lt;0.464&gt;) Accepted connection {{72,14,252,129},18204} -&gt; {{192,168,1,110},5269}</p> Sat, 30 Aug 2008 23:50:25 +0000 polobruce comment 53519 at https://www.ejabberd.im Strange. It should be fixed https://www.ejabberd.im/node/3163#comment-53518 <div class="quote-msg"> <div class="quote-author"><em>polobruce</em> wrote:</div> <p>I've upgraded to 2.0.2 but the issue is still there so any help would be great!</p></div> <p>The source code in ejabberd 2.0.2 includes the proposed patch, which was expected to solve the problem.</p> <p>I tried this in ejabberd.cfg</p> <pre> {auth_method, odbc}. {odbc_server, "DSN=ejabberd;UID=ejabberd;PWD=ejabberd"}. </pre><p> and the error message is this one:</p> <pre> =ERROR REPORT==== 31-Aug-2008::00:42:50 === E(&lt;0.265.0&gt;:ejabberd_odbc:269) : ODBC connection (DSN=ejabberd;UID=ejabberd;PWD=ejabberd) failed: "No SQL-driver information available. Connection to database failed." </pre><p> How did you install ejabberd 2.0.2 (source package, windows binary installer, ...)? You can also show your full ejabberd.cfg, and again the log file.</p> Sat, 30 Aug 2008 22:55:05 +0000 mfoss comment 53518 at https://www.ejabberd.im can't find the file https://www.ejabberd.im/node/3163#comment-53517 <p>When I click on <a href="http://www.ejabberd.im/files/ejabberd_check.beam" title="http://www.ejabberd.im/files/ejabberd_check.beam">http://www.ejabberd.im/files/ejabberd_check.beam</a> it says there's no file there. </p> <p>I've upgraded to 2.0.2 but the issue is still there so any help would be great!</p> Sat, 30 Aug 2008 19:28:54 +0000 polobruce comment 53517 at https://www.ejabberd.im You found a bug. Try the proposed solution. https://www.ejabberd.im/node/3163#comment-53471 <p>It seems you found a bug introduced in ejabberd 2.0.1. I've just reported it here: <noindex><a href="https://support.process-one.net/browse/EJAB-710" rel="nofollow" >Detect correctly MSSQL and ODBC configuration</a></noindex>.</p> <p>I tried to solve the problem. The patch is attached in that page.</p> <p>I also uploaded a binary file with the patch applied, so you can simply replace this file in your installation if you prefer: <a href="http://www.ejabberd.im/files/ejabberd_check.beam" title="http://www.ejabberd.im/files/ejabberd_check.beam">http://www.ejabberd.im/files/ejabberd_check.beam</a></p> <p>If you try this, please tell me if it finally works for you.</p> <p>Thanks.</p> Fri, 01 Aug 2008 22:21:16 +0000 mfoss comment 53471 at https://www.ejabberd.im