Giter Site home page Giter Site logo

Comments (2)

creisor avatar creisor commented on July 24, 2024

I'm seeing similar errors, but it mostly seems to be due to connection refused:

creisor@hostname ~/Documents/troubleshooting/gmond $ grep "= -1" gmond.errs  | sort | uniq -c
  14 connect(27, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
 122 lseek(25, 0, SEEK_CUR)                  = -1 ESPIPE (Illegal seek)
  61 lseek(28, 0, SEEK_CUR)                  = -1 ESPIPE (Illegal seek)
   9 write(7, "\0\0\0\200\0\0\0\16hostname\0\0\0\0\0\17net_"..., 184) = -1 ECONNREFUSED (Connection refused)
   5 write(7, "\0\0\0\200\0\0\0\16hostname\0\0\0\0\0\21proc"..., 200) = -1 ECONNREFUSED (Connection refused)
   1 write(7, "\0\0\0\200\0\0\0\16hostname\0\0\0\0\0\fredi"..., 168) = -1 ECONNREFUSED (Connection refused)
   9 write(7, "\0\0\0\200\0\0\0\16hostname\0\0\0\0\0\ncpu_"..., 168) = -1 ECONNREFUSED (Connection refused)
   2 write(7, "\0\0\0\200\0\0\0\16hostname\0\0\0\0\0\thear"..., 168) = -1 ECONNREFUSED (Connection refused)
   2 write(7, "\0\0\0\203\0\0\0\16hostname\0\0\0\0\0\17net_"..., 60) = -1 ECONNREFUSED (Connection refused)
   4 write(7, "\0\0\0\203\0\0\0\16hostname\0\0\0\0\0\21proc"..., 64) = -1 ECONNREFUSED (Connection refused)
   2 write(7, "\0\0\0\203\0\0\0\16hostname\0\0\0\0\0\ncpu_"..., 56) = -1 ECONNREFUSED (Connection refused)
   1 write(7, "\0\0\0\203\0\0\0\16hostname\0\0\0\0\0\nntp_"..., 56) = -1 ECONNREFUSED (Connection refused)
   7 write(7, "\0\0\0\204\0\0\0\16hostname\0\0\0\0\0\thear"..., 56) = -1 ECONNREFUSED (Connection refused)
   1 write(7, "\0\0\0\205\0\0\0\16hostname\0\0\0\0\0\17net_"..., 272) = -1 ECONNREFUSED (Connection refused)
   2 write(7, "\0\0\0\205\0\0\0\16hostname\0\0\0\0\0\21proc"..., 152) = -1 ECONNREFUSED (Connection refused)
   1 write(7, "\0\0\0\205\0\0\0\16hostname\0\0\0\0\0\5gexe"..., 56) = -1 ECONNREFUSED (Connection refused)
   1 write(7, "\0\0\0\205\0\0\0\16hostname\0\0\0\0\0\ncpu_"..., 172) = -1 ECONNREFUSED (Connection refused)
   1 write(7, "\0\0\0\205\0\0\0\16hostname\0\0\0\0\0\nntp_"..., 128) = -1 ECONNREFUSED (Connection refused)

FD 7 is a UDP channel to our central ganglia server

gmond   4519 ganglia    7u  IPv4          348817372      0t0        UDP 10.20.40.104:38381->10.20.43.22:8706

man 2 connect says:

ECONNREFUSED
No one listening on the remote address.

from monitor-core.

pmigrala avatar pmigrala commented on July 24, 2024

Late reply, but may help some poor soul ...

get pid of gmond:
systemctl status gmond.service

"lsof -p 20606" revealed:
gmond 20606 ganglia 7u IPv6 385361 0t0 UDP localhost:50101->localhost:8649

Notice type IPv6.
Disabling ipv6 and restarting gmond corrected my ECONNREFUSED errors.
The ganglia graphs are now being rendered.

Disabled ipv6 like this:
vi /etc/sysctl.conf

add the following:
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1

restart network:
systemctl restart network

restart gmond:
systemctl restart gmond.service

from monitor-core.

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.