Skip to content
This repository has been archived by the owner on Jun 14, 2021. It is now read-only.

Error spawning /usr/lib/erlang/erts-5.8.5/bin/epmd -daemon (error 10) #5

Open
thomaspapiernik opened this issue Mar 26, 2013 · 6 comments

Comments

@thomaspapiernik
Copy link

Mar 26 10:18:52 p1 collectd[9181]: rabbitmq_info: read_callback
Mar 26 10:18:52 p1 collectd[9181]: rabbitmq_info: Line: Error spawning /usr/lib/erlang/erts-5.8.5/bin/epmd -daemon (error 10)
Mar 26 10:18:52 p1 collectd[9181]: rabbitmq_info: /usr/sbin/rabbitmqctl reports 0 memory usage. This is probably incorrect.
Mar 26 10:18:52 p1 collectd[9181]: rabbitmq_info: [rmqctl] Messages: 0, Memory: 0, Consumers: 0
Mar 26 10:18:52 p1 collectd[9181]: rabbitmq_info: [pmap] Mapped: 2376908, Used: 130316, Shared: 0
Mar 26 10:18:52 p1 collectd[9181]: rabbitmq_info: About to trigger the dispatch..
Mar 26 10:18:52 p1 collectd[9181]: rabbitmq_info: Dispatching pmap_used : 130316
Mar 26 10:18:52 p1 collectd[9181]: rabbitmq_info: Dispatching ctl_messages : 0
Mar 26 10:18:52 p1 collectd[9181]: rabbitmq_info: Dispatching ctl_memory : 0
Mar 26 10:18:52 p1 collectd[9181]: rabbitmq_info: Dispatching pmap_mapped : 2376908
Mar 26 10:18:52 p1 collectd[9181]: rabbitmq_info: Dispatching ctl_consumers : 0
Mar 26 10:18:52 p1 collectd[9181]: rabbitmq_info: Dispatching pmap_shared : 0

@phrawzty
Copy link
Owner

I realise that this is an old issue by now; however, I have looked into it, and to be honest, I can't seem to re-create the behaviour you've described at all. Is this still a problem for you ? If so, please describe your environment in as much detail as possible.

@dhardy92
Copy link

Hello,
I get this error too on wheezy (debian 7.5)
rabbitmq-server 3.3.2-1 from rabbitmq repository
erlang-nox 1:15.b.1-dfsg-4+deb7u1
(get the same with erlang-nox from wheezy-backport 1:16.b.3.1-dfsg-3~bpo70+1)

collectd config is /etc/collectd/conf.d/rabbitmq.conf :

# Configure the rabbitmq_info-collectd-plugin
<LoadPlugin python>
  Globals true
</LoadPlugin>

<Plugin python>
  ModulePath "/usr/lib/collectd/"
  Import "rabbitmq_info"

  <Module rabbitmq_info>
    Vhost demo
    Verbose true
  </Module>
</Plugin>

@dhardy92
Copy link

to get the error in log I just added line 59

        logger('verb',line)

@phrawzty phrawzty reopened this Jun 19, 2014
@jerryz1982
Copy link

I got the error as well on a centos6.5 environment.

@jerryz1982
Copy link

In the end, i replaced rabbitmqctl with http api to collect statistics and it worked. I can send a pull request if needed.

@phrawzty
Copy link
Owner

@jerryz1982 I'd be interested in seeing what modifications you've made, certainly!

jerryz1982 pushed a commit to jerryz1982/rabbitmq-collectd-plugin that referenced this issue Aug 26, 2014
some people including me met with the following problem while
using rabbitmqctl inside collectd python plugin to collectd statistics:
phrawzty#5
http api seems to be a clean way to collect the information.
jerryz1982 pushed a commit to jerryz1982/rabbitmq-collectd-plugin that referenced this issue Aug 26, 2014
some people including me met with the following problem while
using rabbitmqctl inside collectd python plugin to collectd statistics:
phrawzty#5
http api seems to be a clean way to collect the information.
jerryz1982 pushed a commit to jerryz1982/rabbitmq-collectd-plugin that referenced this issue Aug 26, 2014
some people including me met with the following problem while
using rabbitmqctl inside collectd python plugin to collectd statistics:
phrawzty#5
http api seems to be a clean way to collect the information.
@jerryz1982 jerryz1982 mentioned this issue Aug 26, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants