Comments (22)
Is there other processes occuping port 18083 ?
from emqx-rel.
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.
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:
from emqx-rel.
This is the log screenshot.It seemly shows nothing different.
from emqx-rel.
Of course there is some thing different. What is the process called ibm-mqisdp
?
from emqx-rel.
The log shows that the ibm-mqisdp process is listening port 1883,but I don't know why it shows ibm-mqisdp.
from emqx-rel.
So ibm-mqisdp
occupy the port 1883 and it triggers abnormal actions of emqttd.
from emqx-rel.
I agree with you.How can I find out the abnormal cause?
@gilbert-wong
from emqx-rel.
Try to kill the process which occupies the port emqttd needs and restart emqttd.
from emqx-rel.
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.
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.
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.
Kill all other processes unrelated with emqttd which occupies the port emqttd needs and restart emqttd.
from emqx-rel.
(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?
from emqx-rel.
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.
I'm sorry.The source code can make success.What I mean is the dashboard plugin dosen't work.
from emqx-rel.
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.
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.
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.
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.
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.
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.
Sorry,I don't know erlang very well.I will reload the emq-relx and remake it.Thank you.
from emqx-rel.
Related Issues (20)
- ....
- problem setting auth.jwt.verify_claims using environment variables
- Start EMQX without start.sh in Dockerfile HOT 1
- Help using plugin HOT 1
- ERROR: Docker Build Instructions HOT 2
- Error in compiling Elixir plugin
- docker-compose.yaml configure dashboard is not valid. HOT 2
- imagePullSecrets per Container HOT 7
- Configuration changes don't restart Kubernetes pod HOT 4
- Configuration broke in 4.3 HOT 2
- Cannot find plugins: [emqx_auth_username] HOT 1
- How to update emqx enterprise license without restart pod HOT 3
- Plugin is not loaded automatically
- helm install emqx Custom EMQX_LOADED_PLUGINS HOT 15
- Persistence not work !!! HOT 4
- Error on networking api on Kube 1.19
- Support podAnnotations
- Failed to install on K8s 1.22
- emqx docker images run fail HOT 1
- is EMQX support my dev environment? (armhf, armv7l) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emqx-rel.