help with consul di...
 
Notifications
Clear all

[Solved] help with consul dial tcp 127.0.0.1:8500: connect: connection refused

19 Posts
3 Users
4 Reactions
953 Views
(@jajaish)
New Member
Joined: 3 months ago
Posts: 16
Topic starter  

@sharif 

thx thx - but may i ask?  i do not recall installing it specifically.  i do recall following this link to install the monitoring.

https://docs.zextras.com/carbonio-ce/html/install/roles/role-monit.html

i either mistyped one of the commands/steps, or maybe there is some error in the steps?

not complaining, but just flagging my steps.

thank you all again for your help.


   
ReplyQuote
(@sharif)
Reputable Member Admin
Joined: 3 years ago
Posts: 693
 

@jajaish 

Please don't worry about being complaining 😊 A healthy discussion could clear doubt from users mind and provide us improvement points. The package service-discover-agent exists in the monitoring role, may bee that's why it got installed in the system.

The roles description and installation processes are explained individually, therefore you can see each role installation has service-discover-agent package. But the key facts are:

  • If you are installing all the roles on the same server/node along with service-discover-server package, you do not need to install service-discover-agent as service-discover-server can be both server/agent.
  • If you are installing few roles on the same server/node where service-discover-server does not exist, you can install service-discover-agent once but not for all roles individually.

Hope it helps.

Regards,


   
ReplyQuote
(@jajaish)
New Member
Joined: 3 months ago
Posts: 16
Topic starter  

hiya all - i thought i fixed this, but i think when i restart the server or if there is something that is automatically applying patches the service discover stops again.  it works with the below, but im wondering if there is something i installed or set that is triggering the shutdown of service discover (with probably the "service discover agent" being installed/started again?

# apt purge service-discover-agent
# apt clean
# apt autoremove

   
ReplyQuote
(@jajaish)
New Member
Joined: 3 months ago
Posts: 16
Topic starter  

also on another note what is odd is when i did "sudo apt autoremove"

i got the below....  (I think there is something wrong with my APT queue or something... im not so knowledgable on that.... but have a hunch)

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 54 not upgraded.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:3
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:3
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:3
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:3
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:3
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:4
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:4
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:4
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:4
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:4
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:4
This post was modified 3 weeks ago by jajaish

   
ReplyQuote
Page 2 / 2