Public bug reported: 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. Details online https://github.com/ganglia/monitor-core/wiki/Ganglia-Quick-Start 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. Ganglia has been around forever, and I can't tell if it is under active development. https://github.com/ganglia/ In past ubuntu releases (20, 18?) a default config file was included as part of the apt install package. 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 <ubuntu-devel-disc...@lists.ubuntu.com> Original-Maintainer: Marcos Fouces <mar...@debian.org> 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. ** Affects: ganglia (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2059736 Title: ganglia-monitor is missing default config file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ganglia/+bug/2059736/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs