I've try and install nagios on a freshly updated Ubuntu 21.04 and the
same error appeared:
nagios4.service - nagios4
Loaded: loaded (/lib/systemd/system/nagios4.service; disabled; vendor
preset: enabled)
Active: failed (Result: timeout) since Mon 2021-04-19 11:45:13 UTC; 10ms
ago
Docs: man:nagios4
Process: 12026 ExecStartPre=bash -c nagiospipe=$$(sed -n
"s/^command_file=\(.*\)/\1/p" ${NAGIOSCFG}) ; [ -z "$${nagiospipe}" -o ! -e
"$${nagiospipe}" ] || rm -f "$${nagiospipe}" (code=exited, status=0/SUCCESS)
Process: 12028 ExecStart=/usr/sbin/nagios4 ${NAGIOSCFG} (code=exited,
status=0/SUCCESS)
Process: 12029 ExecStartPost=bash -c nagiospipe=$$(sed -n
"s/^command_file=\(.*\)/\1/p" ${NAGIOSCFG}) ; [ -z "$${nagiospipe}" -o ! -e
"$${nagiospipe}" ] || rm -f "$${nagiospipe}" (code=exited, status=0/SUCCESS)
Main PID: 12028 (code=exited, status=0/SUCCESS)
Apr 19 11:43:44 ip-172-31-20-40 nagios4[12028]: Successfully launched command
file worker with pid 12035
Apr 19 11:45:13 ip-172-31-20-40 systemd[1]: nagios4.service: start-post
operation timed out. Terminating.
Apr 19 11:45:13 ip-172-31-20-40 nagios4[12028]: Caught SIGTERM, shutting down...
Apr 19 11:45:13 ip-172-31-20-40 nagios4[12028]: Caught SIGTERM, shutting down...
Apr 19 11:45:13 ip-172-31-20-40 nagios4[12028]: Successfully shutdown...
(PID=12028)
Apr 19 11:45:13 ip-172-31-20-40 nagios4[12028]: Successfully shutdown...
(PID=12028)
Apr 19 11:45:13 ip-172-31-20-40 systemd[1]: nagios4.service: Killing process
12035 (nagios4) with signal SIGKILL.
Apr 19 11:45:13 ip-172-31-20-40 systemd[1]: nagios4.service: Failed with result
'timeout'.
Apr 19 11:45:13 ip-172-31-20-40 systemd[1]: nagios4.service: Unit process 12035
(nagios4) remains running after unit stopped.
Apr 19 11:45:13 ip-172-31-20-40 systemd[1]: Failed to start nagios4.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1924996
Title:
package nagios4-common 4.4.6-2 failed to install/upgrade: installed
nagios4-common package post-installation script subprocess returned
error exit status 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nagios4/+bug/1924996/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs