Git Product home page Git Product logo

Comments (22)

gilbertwong96 avatar gilbertwong96 commented on August 24, 2024

Is there other processes occuping port 18083 ?

from emqx-rel.

Xwiam avatar Xwiam commented on August 24, 2024

emqttd 2.3.11 is running now
Eshell V9.3 (abort with ^G)
([email protected])1> Load emq_mod_presence module successfully.
dashboard:http listen on 0.0.0.0:18083 with 4 acceptors.

emq can start successfully.but when I request 18083,it doesn't work,as the log above presented.
@gilbert-wong

from emqx-rel.

gilbertwong96 avatar gilbertwong96 commented on August 24, 2024

Is there any more logs? The log shows that dashboard's listeners has been started successfully. Run lsof -i:18083 -i:1883 -i:11883 -i:8083 -i:8883 -i:8084 -i:8080 in terminal. The result should be like this:

image

from emqx-rel.

Xwiam avatar Xwiam commented on August 24, 2024

This is the log screenshot.It seemly shows nothing different.

_20180808140008
@gilbert-wong

from emqx-rel.

gilbertwong96 avatar gilbertwong96 commented on August 24, 2024

Of course there is some thing different. What is the process called ibm-mqisdp?

from emqx-rel.

Xwiam avatar Xwiam commented on August 24, 2024

The log shows that the ibm-mqisdp process is listening port 1883,but I don't know why it shows ibm-mqisdp.

_20180808154311

@gilbert-wong

from emqx-rel.

gilbertwong96 avatar gilbertwong96 commented on August 24, 2024

So ibm-mqisdp occupy the port 1883 and it triggers abnormal actions of emqttd.

from emqx-rel.

Xwiam avatar Xwiam commented on August 24, 2024

I agree with you.How can I find out the abnormal cause?
@gilbert-wong

from emqx-rel.

gilbertwong96 avatar gilbertwong96 commented on August 24, 2024

Try to kill the process which occupies the port emqttd needs and restart emqttd.

from emqx-rel.

Xwiam avatar Xwiam commented on August 24, 2024

The process PID is 16189.Should i killed it? I have tried restart emqttd many times.But it still doesn't work.

from emqx-rel.

gilbertwong96 avatar gilbertwong96 commented on August 24, 2024

If the process is useless to you, killed it. If it is useful, read the emq documentation and modify the default ports emqttd have to use.

from emqx-rel.

Xwiam avatar Xwiam commented on August 24, 2024

The process is listening port 18083,1883,8080,8083,8084,11883,8883.If I kill it,how does it work? Maybe I get it wrong.Please make it clear, thank you.
@gilbert-wong

from emqx-rel.

gilbertwong96 avatar gilbertwong96 commented on August 24, 2024

Kill all other processes unrelated with emqttd which occupies the port emqttd needs and restart emqttd.

from emqx-rel.

Xwiam avatar Xwiam commented on August 24, 2024

(1) I download the source code from https://github.com/emqtt/emq-relx.git and make.It doesn't work.
(2)If i download the binary code from https://github.com/emqtt/emqttd.git. It work well.
(3)And I remove the plugin emq_dashboard from the deps directory and reload it. It still dosen't work.
(4)Should I remove all the plugins and reload all?Are there some plugins the dashborad rely on?

@gilbert-wong

from emqx-rel.

gilbertwong96 avatar gilbertwong96 commented on August 24, 2024

Sorry, I don't understand what you mean. Why it doesn't work when you make emq-relx ? Did it make failed?

from emqx-rel.

Xwiam avatar Xwiam commented on August 24, 2024

I'm sorry.The source code can make success.What I mean is the dashboard plugin dosen't work.

@gilbert-wong

from emqx-rel.

gilbertwong96 avatar gilbertwong96 commented on August 24, 2024

Which otp version do you use? Which platform do you run emqttd and give me more detailed information. There is no problem when I run emqttd on debian, mac os x , centos, etc.

from emqx-rel.

Xwiam avatar Xwiam commented on August 24, 2024

This is the relx.config file.I add some plugins,these plugins work well.But I don't know if these plugins will influence the dashboard plugin.
@gilbert-wong
This is the centos version.
_20180811102609

This is the relx.config
{release, {emqttd, "2.3.11"}, [
kernel,
sasl,
crypto,
public_key,
asn1,
syntax_tools,
ssl,
xmerl,
os_mon,
inets,
goldrush,
compiler,
runtime_tools,
{observer, load},
%%{wx, load},
pbkdf2,
bcrypt,
lager,
luerl,
syslog,
gen_logger,
gproc,
esockd,
cuttlefish,
jsx,
### kafkamocker,
###ekaf,

{gen_coap, load},
mochiweb,
{mnesia, load},
{ekka, load},
emqttd,
{emq_sn, load},
{emq_coap, load},
{emq_recon, load},
{emq_stomp, load},
{emq_modules, load},
{emq_retainer, load},
{emq_reloader, load},
{emq_dashboard, load},
{emq_web_hook, load},
{emq_lua_hook, load},
%%{emq_elixir_plugin, load},
{emq_auth_clientid, load},
{emq_auth_username, load},
{emq_auth_ldap, load},
{emq_auth_http, load},
{emq_auth_mongo, load},
{emq_auth_mysql, load},
{emq_auth_pgsql, load},
{emq_auth_redis, load},
{emq_auth_jwt, load},
{emq_plugin_template, load},
###{emq_plugin_wunaozai, load}
]}.

{include_src, false}.

{extended_start_script, false}.

{generate_start_script, false}.

{sys_config, false}.

{vm_args, false}.

{overlay_vars, "vars.config"}.

{overlay, [
{mkdir, "etc/"},
{mkdir, "log/"},
{mkdir, "data/"},
{mkdir, "data/mnesia"},
{mkdir, "data/configs"},
{mkdir, "hook_lua"},
{template, "bin/emqenv", "bin/emqenv"},
{template, "bin/emqttd", "bin/emqttd"},
{template, "bin/emqttd_ctl", "bin/emqttd_ctl"},
{template, "bin/emqttd.cmd", "bin/emqttd.cmd"},
{template, "bin/emqttd_ctl.cmd", "bin/emqttd_ctl.cmd"},
{copy, "rel/conf/plugins", "etc/"},
{copy, "deps/emqttd/etc/certs", "etc/"},
{template, "rel/conf/emq.conf", "etc/emq.conf"},
{template, "rel/conf/ssl_dist.conf", "etc/ssl_dist.conf"},
{template, "rel/conf/plugins/emq_coap.conf", "etc/plugins/emq_coap.conf"},
{copy, "rel/conf/acl.conf", "etc/acl.conf"},
{copy, "data/loaded_plugins", "data/loaded_plugins"},
{copy, "bin/cuttlefish", "bin/cuttlefish"},
{copy, "bin/nodetool", "bin/nodetool"},
{copy, "rel/schema", "releases/{{rel_vsn}}/"},
{copy, "bin/install_upgrade_escript", "bin/install_upgrade_escript"}
]}.

from emqx-rel.

gilbertwong96 avatar gilbertwong96 commented on August 24, 2024

It is unnecessary to add these plugins. I recommend you to add issue from this template. It makes your issue more clear.

I notice that 3 days ago you said you

remove the plugin emq_dashboard from the deps directory

You thought that emq_dashboard cause the problem so you want to remove this dependency from emq-relx? I do not recommend you to do like this because emq_dashboard is an important component of emqttd.

from emqx-rel.

Xwiam avatar Xwiam commented on August 24, 2024

Sorry,I download emq-relx from https://github.com/emqtt/emq-relx.git,so it is better to add issue here ,I think.Here are three questions:
(1)I remove the emq_dashboard from the deps and reload it from https://github.com/emqtt/emq-dashboard.git.
(2)I just want to know why it doesn't work.If I remove the plugin,will it influence the use of emqttd?
(3)If i reload it from https://github.com/emqtt/emq-dashboard.git,will it work well?

And I will add issue from that template as you say.Thank you very much.
@gilbert-wong

from emqx-rel.

gilbertwong96 avatar gilbertwong96 commented on August 24, 2024

Of course it will influence the use of emqttd ! Why did you need to remove the emq_dashboard from the deps ? The emq-dashboard include erlang code. You need to remake the emq-relx first, then restart emqttd.

from emqx-rel.

Xwiam avatar Xwiam commented on August 24, 2024

Sorry,I don't know erlang very well.I will reload the emq-relx and remake it.Thank you.

@gilbert-wong

from emqx-rel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.