ejabberd - Comments for "Can&amp;#039;t get access to web console" https://www.ejabberd.im/node/334 en I have tried installing https://www.ejabberd.im/node/334#comment-67316 <p>I have tried installing ejabberd using this link <noindex><a href="http://tecadmin.net/install-ejabberd-xmpp-server-on-ubuntu/" title="http://tecadmin.net/install-ejabberd-xmpp-server-on-ubuntu/" rel="nofollow" >http://tecadmin.net/install-ejabberd-xmpp-server-on-ubuntu/</a></noindex> and I am unable to open even my home page <noindex><a href="http://my_server_ip:5280/admin" title="http://my_server_ip:5280/admin" rel="nofollow" >http://my_server_ip:5280/admin</a></noindex>, I have tried everything. Please help</p> Thu, 09 Feb 2017 13:04:35 +0000 hemantkumar0601 comment 67316 at https://www.ejabberd.im I am unable to connect to web https://www.ejabberd.im/node/334#comment-65861 <p>I am unable to connect to web console from remove machine. I started ejabberd server on ec2 instance and I am using ejabberd 15.04. </p> <p>I have configured ejabberd.yml file like this for web console :<br /> -<br /> port: 5280<br /> module: ejabberd_http<br /> ## request_handlers:<br /> ## "/websocket": ejabberd_http_ws<br /> ## "/pub/archive": mod_http_fileserver<br /> web_admin: true<br /> http_poll: true<br /> http_bind: true<br /> register: true<br /> ## captcha: false</p> <p>I can connect using lynx on ec2 instance using localhost:5280/admin but I cannot open in remote machine browser. I have also open port in security group with 0.0.0.0. </p> <p>Am I missing something to access connection from outside? Can anyone help me with this.</p> Wed, 24 Jun 2015 21:25:41 +0000 sms1190 comment 65861 at https://www.ejabberd.im Thanks bro.. its working https://www.ejabberd.im/node/334#comment-65859 <p>Thanks bro..<br /> its working after giving full JID with Domain</p> Wed, 24 Jun 2015 10:10:26 +0000 habiburrahuman comment 65859 at https://www.ejabberd.im Yes https://www.ejabberd.im/node/334#comment-65858 <p>Yes</p> Wed, 24 Jun 2015 10:07:57 +0000 habiburrahuman comment 65858 at https://www.ejabberd.im You are using the full JID as https://www.ejabberd.im/node/334#comment-65855 <p>You are using the full JID as username "testadmin@Habiburs-Macbook-Pro.local", right ?</p> Wed, 24 Jun 2015 08:00:43 +0000 mremond comment 65855 at https://www.ejabberd.im I install the ejabberd server https://www.ejabberd.im/node/334#comment-65852 <p>I install the ejabberd server in MacBook-Pro , OS X 10.10.3.I download the package , installed it in my MAC. when installing it asked for Domain , i gave Habiburs-MacBook-Pro.local , then it asked for admin name , i gave "testadmin" , thn i set the password for the admin user.</p> <p>once the installation is done. i went to /bin folder of the application and gave ./start command in terminal. to ran the server, server run successfully. then i went to /conf folder , gave vi ejabberdctl.cfg to edit the config file for giving Access control list permission to access web console.</p> <p>Here in this config file i gave , #{acl, admin, {user, "testadmin", "Habiburs-Macbook-Pro.local"}}.</p> <p>#<br /> # In this file you can configure options that are passed by ejabberdctl<br /> # to the erlang runtime system when starting ejabberd<br /> #</p> <p>#' POLL: Kernel polling ([true|false])<br /> #<br /> # The kernel polling option requires support in the kernel.<br /> # Additionally, you need to enable this feature while compiling Erlang.<br /> #<br /> # Default: true<br /> #<br /> #POLL=true</p> <p>#.<br /> #' SMP: SMP support ([enable|auto|disable])<br /> #<br /> # Explanation in Erlang/OTP documentation:<br /> # enable: starts the Erlang runtime system with SMP support enabled.<br /> # This may fail if no runtime system with SMP support is available.<br /> # auto: starts the Erlang runtime system with SMP support enabled if it<br /> # is available and more than one logical processor are detected.<br /> # disable: starts a runtime system without SMP support.<br /> #<br /> # Default: auto<br /> #<br /> #SMP=auto</p> <p>#.<br /> #' ERL_MAX_PORTS: Maximum number of simultaneously open Erlang ports<br /> #<br /> # ejabberd consumes two or three ports for every connection, either<br /> # from a client or from another Jabber server. So take this into<br /> # account when setting this limit.<br /> #<br /> # Default: 32000<br /> # Maximum: 268435456<br /> #<br /> #ERL_MAX_PORTS=32000</p> <p>#.<br /> #' FIREWALL_WINDOW: Range of allowed ports to pass through a firewall<br /> #<br /> # If Ejabberd is configured to run in cluster, and a firewall is blocking ports,<br /> # it's possible to make Erlang use a defined range of port (instead of dynamic<br /> # ports) for node communication.<br /> #<br /> # Default: not defined<br /> # Example: 4200-4210<br /> #<br /> #FIREWALL_WINDOW=</p> <p>#.<br /> #' INET_DIST_INTERFACE: IP address where this Erlang node listens other nodes<br /> #<br /> # This communication is used by ejabberdctl command line tool,<br /> # and in a cluster of several ejabberd nodes.<br /> #<br /> # Default: 0.0.0.0<br /> #<br /> #INET_DIST_INTERFACE=127.0.0.1</p> <p>#.<br /> #' ERL_EPMD_ADDRESS: IP addresses where epmd listens for connections<br /> #<br /> # IMPORTANT: This option works only in Erlang/OTP R14B03 and newer.<br /> #<br /> # This environment variable may be set to a comma-separated<br /> # list of IP addresses, in which case the epmd daemon<br /> # will listen only on the specified address(es) and on the<br /> # loopback address (which is implicitly added to the list if it<br /> # has not been specified). The default behaviour is to listen on<br /> # all available IP addresses.<br /> #<br /> # Default: 0.0.0.0<br /> #<br /> #ERL_EPMD_ADDRESS=127.0.0.1</p> <p>#.<br /> #' ERL_PROCESSES: Maximum number of Erlang processes<br /> #<br /> # Erlang consumes a lot of lightweight processes. If there is a lot of activity<br /> # on ejabberd so that the maximum number of processes is reached, people will<br /> # experience greater latency times. As these processes are implemented in<br /> # Erlang, and therefore not related to the operating system processes, you do<br /> # not have to worry about allowing a huge number of them.<br /> #<br /> # Default: 250000<br /> # Maximum: 268435456<br /> #<br /> #ERL_PROCESSES=250000</p> <p>#.<br /> #' ERL_MAX_ETS_TABLES: Maximum number of ETS and Mnesia tables<br /> #<br /> # The number of concurrent ETS and Mnesia tables is limited. When the limit is<br /> # reached, errors will appear in the logs:<br /> # ** Too many db tables **<br /> # You can safely increase this limit when starting ejabberd. It impacts memory<br /> # consumption but the difference will be quite small.<br /> #<br /> # Default: 1400<br /> #<br /> #ERL_MAX_ETS_TABLES=1400</p> <p>#.<br /> #' ERL_OPTIONS: Additional Erlang options<br /> #<br /> # The next variable allows to specify additional options passed to erlang while<br /> # starting ejabberd. Some useful options are -noshell, -detached, -heart. When<br /> # ejabberd is started from an init.d script options -noshell and -detached are<br /> # added implicitly. See erl(1) for more info.<br /> #<br /> # It might be useful to add "-pa /usr/local/lib/ejabberd/ebin" if you<br /> # want to add local modules in this path.<br /> #<br /> # Default: ""<br /> #<br /> #ERL_OPTIONS=""</p> <p>#.<br /> #' ERLANG_NODE: Erlang node name<br /> #<br /> # The next variable allows to explicitly specify erlang node for ejabberd<br /> # It can be given in different formats:<br /> # ERLANG_NODE=ejabberd<br /> # Lets erlang add hostname to the node (ejabberd uses short name in this case)<br /> # ERLANG_NODE=ejabberd@hostname<br /> # Erlang uses node name as is (so make sure that hostname is a real<br /> # machine hostname or you'll not be able to control ejabberd)<br /> # ERLANG_NODE=ejabberd@hostname.domainname<br /> # The same as previous, but erlang will use long hostname<br /> # (see erl (1) manual for details)<br /> #<br /> # Default: ejabberd@localhost<br /> #<br /> #ERLANG_NODE=ejabberd@localhost</p> <p>#.<br /> #' EJABBERD_PID_PATH: ejabberd PID file<br /> #<br /> # Indicate the full path to the ejabberd Process identifier (PID) file.<br /> # If this variable is defined, ejabberd writes the PID file when starts,<br /> # and deletes it when stops.<br /> # Remember to create the directory and grant write permission to ejabberd.<br /> #<br /> # Default: don't write PID file<br /> #<br /> #EJABBERD_PID_PATH=/var/run/ejabberd/ejabberd.pid</p> <p>#.<br /> #' CONTRIB_MODULES_PATH: contributed ejabberd modules path<br /> #<br /> # Specify the full path to the contributed ejabberd modules. If the path is not<br /> # defined, ejabberd will use ~/.ejabberd-modules in home of user running ejabberd.</p> <p>#</p> <p>#{acl, admin, {user, "testadmin", "Habiburs-MacBook-Pro.local"}}.</p> <p># Default: $HOME/.ejabberd-modules<br /> #<br /> #CONTRIB_MODULES_PATH=/opt/ejabberd-modules</p> <p>#.<br /> #'<br /> # vim: foldmarker=#',#. foldmethod=marker:</p> <p>After saving this file . i stopped the server. started again.<br /> thn i gave this URL in browser <noindex><a href="http://localhost:5280/admin/" title="http://localhost:5280/admin/" rel="nofollow" >http://localhost:5280/admin/</a></noindex> to launch web console</p> <p>it asked for NAME and Password. i gave it .. </p> <p>it showed me::<br /> The user name or password you entered for this area on localhost:5280 was incorrect. Make sure you’re entering them correctly, and then try again.</p> <p>please help me to solve this problem..</p> <p>Thanks,</p> Wed, 24 Jun 2015 06:36:56 +0000 habiburrahuman comment 65852 at https://www.ejabberd.im If you are working on https://www.ejabberd.im/node/334#comment-63904 <p>If you are working on localhost , I think you are not accessing admin<br /> becaue panel because you are using <strong>admin</strong> instead of '<strong>admin@localhost</strong><br /> because if you just use admin as user name without domain name , access is always denied</p> Tue, 15 Apr 2014 18:59:31 +0000 gombaniro@hotmail.com comment 63904 at https://www.ejabberd.im Without detailed information https://www.ejabberd.im/node/334#comment-1809 <p>Without detailed information (all your actions) it is very dificult to help you...</p> <p>--<br /> sander</p> Mon, 29 May 2006 10:53:50 +0000 sander comment 1809 at https://www.ejabberd.im I have read all of the https://www.ejabberd.im/node/334#comment-1806 <p>I have read all of the posts, following the instructions, tryed it in lynx and tryed it in firefox, and i still cannot connect. I have edited the config and done everything i could think of. can someone please help me?</p> <p>robert</p> Sun, 28 May 2006 20:58:18 +0000 robertall comment 1806 at https://www.ejabberd.im Surf the web interface with Lynx https://www.ejabberd.im/node/334#comment-1681 <p>My Jabber server is called "localhost":</p> <pre>$ cat ejabberd.cfg | grep "^{host" {hosts, ["localhost"]}.</pre><p> I created an account with username "badlop" and password "mypass". That account has admin rigths:</p> <pre>$ cat ejabberd.cfg | grep badlop {acl, admin, {user, "badlop", "localhost"}}.</pre><p> If I try to access the web interface, ejabberd will ask me to login:</p> <pre>$ lynx <noindex><a href="http://localhost:5280/admin" title="http://localhost:5280/admin" rel="nofollow" >http://localhost:5280/admin</a></noindex> -dump HTTP: Access authorization required. Use the -auth=id:pw parameter. Looking up localhost:5280 Making HTTP connection to localhost:5280 Sending HTTP request. HTTP request sent; waiting for response. Alert!: Access without authorization denied -- retrying lynx: Can't access startfile http://localhost:5280/admin</pre><p> If I specify wrong user or password I get an error message:</p> <pre>$ lynx <noindex><a href="http://localhost:5280/admin" title="http://localhost:5280/admin" rel="nofollow" >http://localhost:5280/admin</a></noindex> -dump -auth=badlopqqqq@localhost:iforgotmypass or $ lynx <noindex><a href="http://localhost:5280/admin" title="http://localhost:5280/admin" rel="nofollow" >http://localhost:5280/admin</a></noindex> -dump -auth=badlop@localhost:iforgotmypass Looking up localhost:5280 Making HTTP connection to localhost:5280 Sending HTTP request. HTTP request sent; waiting for response. Alert!: Access without authorization denied -- retrying Retrying with access authorization information. Looking up localhost:5280 Making HTTP connection to localhost:5280 Sending HTTP request. HTTP request sent; waiting for response. Alert!: Can't retry with authorization! Contact the server's WebMaster. Can't Access `http://localhost:5280/admin' Alert!: Unable to access document. lynx: Can't access startfile</pre><p> If I specify the correct user and password, it works correctly:</p> <pre>$ lynx <noindex><a href="http://localhost:5280/admin" title="http://localhost:5280/admin" rel="nofollow" >http://localhost:5280/admin</a></noindex> -dump -auth=badlop@localhost:mypass [1]Administración * [2]Listas de Control de Acceso * [3]Reglas de Acceso * [4]Hosts Virtuales * [5]Nodos * [6]Estadísticas ... </pre> Tue, 02 May 2006 16:50:51 +0000 mfoss comment 1681 at https://www.ejabberd.im Already tried acessing locally using Lynx, no go... https://www.ejabberd.im/node/334#comment-1680 <p>This is the output of a local lynx access attempt:</p> <p>[root@NMU-IT-WSDB1 conf]# lynx <noindex><a href="http://localhost:5280/admin" title="http://localhost:5280/admin" rel="nofollow" >http://localhost:5280/admin</a></noindex> -verbose</p> <p>Looking up localhost:5280<br /> Making HTTP connection to localhost:5280<br /> Sending HTTP request.<br /> HTTP request sent; waiting for response.<br /> Alert!: Access without authorization denied -- retrying<br /> Retrying with access authorization information.<br /> Looking up localhost:5280<br /> Making HTTP connection to localhost:5280<br /> Sending HTTP request.<br /> HTTP request sent; waiting for response.<br /> Alert!: Unexpected network read error; connection aborted.<br /> Can't Access `http://localhost:5280/admin'<br /> Alert!: Unable to access document.</p> <p>lynx: Can't access startfile</p> <p>And this is what the logfile has to say about it:</p> <p>=INFO REPORT==== 2006-05-02 09:53:05 ===<br /> I(&lt;0.216.0&gt;:ejabberd_listener:90): (#Port&lt;0.1113&gt;) Accepted connection {{127,0,0<br /> ,1},38907} -&gt; {{127,0,0,1},5280}</p> <p>=INFO REPORT==== 2006-05-02 09:53:05 ===<br /> I(&lt;0.209.0&gt;:ejabberd_http:76): started: {gen_tcp,#Port&lt;0.1113&gt;}</p> <p>=INFO REPORT==== 2006-05-02 09:53:11 ===<br /> I(&lt;0.2142.0&gt;:ejabberd_http:171): (#Port&lt;0.1113&gt;) http query: 'GET' /admin</p> <p>I dont see much to go on troubleshooting from that information; any ideas?</p> Tue, 02 May 2006 15:03:13 +0000 havok1977 comment 1680 at https://www.ejabberd.im Check the ejabberd log https://www.ejabberd.im/node/334#comment-1649 <p>Check the ejabberd log files, maybe you find some usefull information. That exact error message doesn't seem to be produced by ejabberd: it isn't a problem with your password, or with your admin rights...</p> <p>You can try to do this on the same machine where ejabberd is installed, to be sure it isn't an ejabberd problem. If you don't have phisical access to the machine, maybe you can use SSH and a command-line browser like Lynx.</p> Sat, 29 Apr 2006 11:28:13 +0000 mfoss comment 1649 at https://www.ejabberd.im Similar problem https://www.ejabberd.im/node/334#comment-1647 <p>I also cant get access to my new ejabberd implementation web console; i connect on the right url, and it asks for authentication (which apparently is working correctly). But i get this from my browser right after logging in:</p> <p>An error occurred while loading <noindex><a href="http://im.metrored.com.mx:5280/admin:" title="http://im.metrored.com.mx:5280/admin:" rel="nofollow" >http://im.metrored.com.mx:5280/admin:</a></noindex><br /> Connection to host im.metrored.com.mx is broken.</p> <p>What could cause this?</p> Fri, 28 Apr 2006 22:15:12 +0000 havok1977 comment 1647 at https://www.ejabberd.im Thanks!! adding the domain https://www.ejabberd.im/node/334#comment-685 <p>Thanks!! adding the domain after the username fixed it!</p> Wed, 03 Aug 2005 14:01:09 +0000 BeerVirus comment 685 at https://www.ejabberd.im You can put as many admins https://www.ejabberd.im/node/334#comment-682 <p> <ul> <li>You can put as many admins as you want. </li><li>Take a look at the logs, too. </li><li>Instead of just <pre>{acl, admin, {user, "paulc"}}.</pre> Try with this: <pre>{acl, admin, {user, "paulc", "thedomain.com}}.</pre> </li><li>When asked for user and passwd on the wedamin, use paulc@thedomain.com </li><li>If it still says 'Not Allowed', maybe the user is not admin at all. </li></ul> </p> <p> How to check if a user is admin: <ol> <li>With a 'Jabber Discovery'-enabled client like Exodus, Tkabber, Psi login with that account </li><li>Open the Discovery/Browser. </li><li>You will be see 'conference', 'pubsub', 'vjud'... </li><li>If you can see 'online users', 'all users', 'config'... then that user has admin privileges. If no, then he hasn't. </li></ol> </p> Wed, 03 Aug 2005 08:07:14 +0000 mfoss comment 682 at https://www.ejabberd.im