nrpe-ng fails to install in Noble

Bug #2061898 reported by Sudip Mukherjee
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nrpe-ng (Ubuntu)
New
Undecided
Unassigned

Bug Description

Setting up nrpe-ng (0.2.0-1.1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/nrpe-ng.service → /usr/lib/systemd/system/nrpe-ng.service.
Job for nrpe-ng.service failed because the control process exited with error code.
See "systemctl status nrpe-ng.service" and "journalctl -xeu nrpe-ng.service" for details.
invoke-rc.d: initscript nrpe-ng, action "start" failed.
× nrpe-ng.service - The next generation Nagios Remote Plugin Executor
     Loaded: loaded (/usr/lib/systemd/system/nrpe-ng.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Tue 2024-04-16 20:24:37 BST; 6ms ago
       Docs: man:nrpe-ng(1)
    Process: 3440 ExecStart=/usr/sbin/nrpe-ng --config /etc/nagios/nrpe-ng.cfg --daemon (code=exited, status=1/FAILURE)
        CPU: 860ms

Apr 16 20:24:37 noble nrpe-ng[3440]: File "/usr/lib/python3/dist-packages/nrpe_ng/config.py", line 180, in read_config_file
Apr 16 20:24:37 noble nrpe-ng[3440]: config.readfp(fp, f)
Apr 16 20:24:37 noble nrpe-ng[3440]: ^^^^^^^^^^^^^
Apr 16 20:24:37 noble nrpe-ng[3440]: File "/usr/lib/python3/dist-packages/nrpe_ng/config.py", line 33, in __getattr__
Apr 16 20:24:37 noble nrpe-ng[3440]: return self.get(self.main_section, self.main_section, name)
Apr 16 20:24:37 noble nrpe-ng[3440]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Apr 16 20:24:37 noble nrpe-ng[3440]: TypeError: RawConfigParser.get() takes 3 positional arguments but 4 were given
Apr 16 20:24:37 noble systemd[1]: nrpe-ng.service: Control process exited, code=exited, status=1/FAILURE
Apr 16 20:24:37 noble systemd[1]: nrpe-ng.service: Failed with result 'exit-code'.
Apr 16 20:24:37 noble systemd[1]: Failed to start nrpe-ng.service - The next generation Nagios Remote Plugin Executor.
dpkg: error processing package nrpe-ng (--configure):
 installed nrpe-ng package post-installation script subprocess returned error exit status 1
Processing triggers for man-db (2.12.0-4build1) ...
Errors were encountered while processing:
 nrpe-ng
E: Sub-process /usr/bin/dpkg returned an error code (1)

Tags: noble
tags: added: noble
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.