# Make sure the script is executable by ejabberd. # Define the FQDN if ejabberd doesn't detect it: # Store the plain passwords or hashed for SCRAM: # comment this line and enable the correct ones. # auth_method: Method used to authenticate the users. # Preferred address families (which to try first) and connect timeout # Default s2s policy for undefined hosts. # domain_certfile: "/path/to/example_com.pem" # domain_certfile: "/path/to/example_org.pem" # domain_certfile: Specify a different certificate for each served hostname. # s2s_certfile: Specify a certificate file. # Allowed values are: false optional required required_trusted # s2s_use_starttls: Enable STARTTLS + Dialback for S2S connections. # To handle XML-RPC requests that provide admin credentials: # ejabberd_stun: Handles STUN Binding requests # ejabberd_service: Interact with external components (transports. # use this instead of the "starttls" option: ![]() # To enforce TLS encryption for client connections, # certificate, specify the full path to the # If TLS is compiled in and you installed a SSL # listen: The ports ejabberd will listen on, which service each is handled # to allow communication with an XMPP server called im. # For example, if this ejabberd serves and you want # route_subdomains: Delegate subdomains to other XMPP servers. # You can define one or several, for example: # identical value on all nodes, and in most cases shouldn't be changed at all from # net_ticktime: Specifies net_kernel tick time in seconds. # consumes a lot of memory, send live notifications to these XMPP # watchdog_admins: Only useful for developers: if an ejabberd process # of messages when system is overloaded, you can set a limit. # allowed from error_logger, which is a good idea if you want to avoid a flood # overload protection: If you want to limit the number of messages per second # $M5D6 rotate on every 5th day of the month at 6:00 hr # $M1D0 rotate on the first day of every month at midnight # $W5D16 rotate every week on Friday at 16:00 hr # $W0D23 rotate every week on Sunday at 23:00 hr # Date syntax is taken from the syntax newsyslog uses in nf. # To disable rotation set the size to 0 and the date to "" Setting size to X rotate log when it reaches X bytes. # does not disable rotation, it instead rotates the file and keeps no previous ![]() # 0: No ejabberd log at all (not recommended) ![]() # loglevel: Verbosity of log files generated by ejabberd. # Examples of quoted string: "Lizzard", "orange". ![]() # However, ejabberd treats different literals as different types: # The configuration file is written in YAML. # your copy of ejabberd, and is also available online at # Please consult the Guide in case of doubts, it is included with # in the ejabberd Installation and Operation Guide. # The parameters used in this configuration file are explained in more detail This is my ejabberd yml file and it works for me. check port number 3306 for odbc.Ĭheck also that you have created ejjaberd database. Then, try to connect with ip address in yml file. The above shown is my configuration file.What is missing here?įirst try to connect ejabberd with localhost. Am trying to connect Ejabberd server with mysql.I have done all the configuration.And when i try to login ejjaberd its not logging in,its showing following error:Įjabberd Log File: =ERROR REPORT= 10:20:52 =Į(:ejabberd_odbc:552) : mysql_conn: Failed connecting to "192.168.5.109":3306 : % pep requires mod_caps
0 Comments
Leave a Reply. |