Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

default conf file missing in ganglia-monitor 3.7.2-6 (in Ubuntu 22) #371

Open
ntmoore opened this issue Mar 29, 2024 · 0 comments
Open

default conf file missing in ganglia-monitor 3.7.2-6 (in Ubuntu 22) #371

ntmoore opened this issue Mar 29, 2024 · 0 comments

Comments

@ntmoore
Copy link

ntmoore commented Mar 29, 2024

Hello,

Via apt, I installed ganglia-monitor on a machine running Ubuntu 22. ganglia-monitor contains a gmond service. Normally(?) install puts a config file for gmond in /etc?

So far as I can tell, no default config files for gmond or gmetad are installed via this package. When I start up ganglia, I get an error message about no config file being present.

In past ubuntu releases (20, 18?) a default config file was included as part of the apt install package.

I can't find mention of this in the documentation - should I run "gmond -t" and pipe the output to /etc/gmond.conf? Is that what the install script normally does?

System details

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.4 LTS"
nathan@physlin6:~$ lsb_release -rd
Description: Ubuntu 22.04.4 LTS
Release: 22.04

nathan@physlin6:~$ apt-cache policy ganglia-monitor
ganglia-monitor:
Installed: 3.7.2-6
Candidate: 3.7.2-6
Version table:
*** 3.7.2-6 500
500 http://us.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
100 /var/lib/dpkg/status

nathan@physlin6:~$ tree -a /etc/ganglia
/etc/ganglia
└── conf.d

1 directory, 0 files

nathan@physlin6:~$ sudo systemctl restart ganglia-monitor.service
[sudo] password for nathan:
Job for ganglia-monitor.service failed because the control process exited with error code.
See "systemctl status ganglia-monitor.service" and "journalctl -xeu ganglia-monitor.service" for details.

nathan@physlin6:~$ systemctl status ganglia-monitor.service
× ganglia-monitor.service - Ganglia Monitor Daemon
Loaded: loaded (/lib/systemd/system/ganglia-monitor.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2024-03-28 19:28:28 CDT; 7s ago
Docs: man:gmond(1)
Process: 40226 ExecStart=/usr/sbin/gmond -c /etc/ganglia/gmond.conf (code=exited, status=1/FAILURE)
CPU: 3ms

Mar 28 19:28:28 physlin6 systemd[1]: Starting Ganglia Monitor Daemon...
Mar 28 19:28:28 physlin6 gmond[40226]: Configuration file '/etc/ganglia/gmond.conf' not found.
Mar 28 19:28:28 physlin6 systemd[1]: ganglia-monitor.service: Control process exited, code=exited, status=1/FAILURE
Mar 28 19:28:28 physlin6 systemd[1]: ganglia-monitor.service: Failed with result 'exit-code'.
Mar 28 19:28:28 physlin6 systemd[1]: Failed to start Ganglia Monitor Daemon.

nathan@physlin6:~$ journalctl -xeu ganglia-monitor.service
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit ganglia-monitor.service has begun execution.
░░
░░ The job identifier is 42989.
Mar 28 19:28:28 physlin6 gmond[40226]: Configuration file '/etc/ganglia/gmond.conf' not found.
Mar 28 19:28:28 physlin6 systemd[1]: ganglia-monitor.service: Control process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit ganglia-monitor.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Mar 28 19:28:28 physlin6 systemd[1]: ganglia-monitor.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit ganglia-monitor.service has entered the 'failed' state with result 'exit-code'.
Mar 28 19:28:28 physlin6 systemd[1]: Failed to start Ganglia Monitor Daemon.
░░ Subject: A start job for unit ganglia-monitor.service has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit ganglia-monitor.service has finished with a failure.
░░
░░ The job identifier is 42989 and the job result is failed.

nathan@physlin6:$ apt info ganglia-monitor
Package: ganglia-monitor
Version: 3.7.2-6
Priority: optional
Section: universe/net
Source: ganglia
Origin: Ubuntu
Maintainer: Ubuntu Developers [email protected]
Original-Maintainer: Marcos Fouces [email protected]
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 264 kB
Pre-Depends: init-system-helpers (>= 1.54
)
Depends: libapr1 (>= 1.2.7), libc6 (>= 2.34), libconfuse2 (>= 3.2.1~), libganglia1 (= 3.7.2-6), libpcre3, libtirpc3 (>= 1.0.2), zlib1g (>= 1:1.1.4), adduser, lsb-base
Homepage: http://ganglia.info/
Download-Size: 78.4 kB
APT-Manual-Installed: yes
APT-Sources: http://us.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
Description: cluster monitoring toolkit - node daemon
Ganglia is a scalable, real-time cluster monitoring environment
that collects cluster statistics in an open and well-defined XML format.
.
This package contains the monitor core program.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant