28 Aug 2020 02:19 PM - last edited on 15 Jun 2023 01:34 PM by Karolina_Linda
Hi All,
I already to install Dynatrace Managed with installation source that was downloaded earlier, but the installation process is failed with error like this : "Installation of Nodekeeper failed with error: Failed to start Nodekeeper, error: Redirecting to /bin/systemctl start dynatrace-nodekeeper.service"
I attached log
Anyone please can help me ? whats wrong with installation process ?
Thanks
Solved! Go to Solution.
28 Aug 2020 03:11 PM
Hard to tell here. Are you maybe running SELinux? Also See "systemctl status dynatrace-nodekeeper.service" and "journalctl -xe" for details.
anyway, I recommend opening a support ticket to get it solved properly.
28 Aug 2020 03:59 PM
Hi Radoslaw,
Yes SELinux is running
This is capture from "systemctl status dynatrace-nodekeeper.service"
And this is "journalctl -xe"
[root@DCAPPDTCMGMT01 ~]# journalctl -xe
Aug 28 21:46:25 DCAPPDTCMGMT01 systemd[1]: Configuration file /etc/systemd/system/dynatrace-server.service is marked world-inaccessible. This has no effect as configur>
Aug 28 21:46:25 DCAPPDTCMGMT01 systemd[1]: Configuration file /etc/systemd/system/dynatrace-elasticsearch.service is marked world-inaccessible. This has no effect as c>
Aug 28 21:46:25 DCAPPDTCMGMT01 systemd[1]: Configuration file /etc/systemd/system/dynatrace-security-gateway.service is marked world-inaccessible. This has no effect a>
Aug 28 21:46:25 DCAPPDTCMGMT01 systemd[1]: Configuration file /etc/systemd/system/dynatrace-nginx.service is marked world-inaccessible. This has no effect as configura>
Aug 28 21:46:26 DCAPPDTCMGMT01 systemd[1]: Reloading.
Aug 28 21:46:26 DCAPPDTCMGMT01 systemd-fstab-generator[37403]: Failed to create unit file /run/systemd/generator/aps.mount, as it already exists. Duplicate entry in /e>
Aug 28 21:46:26 DCAPPDTCMGMT01 systemd[37396]: /usr/lib/systemd/system-generators/systemd-fstab-generator failed with exit status 1.
Aug 28 21:46:26 DCAPPDTCMGMT01 systemd[1]: Configuration file /etc/systemd/system/dynatrace-server.service is marked world-inaccessible. This has no effect as configur>
Aug 28 21:46:26 DCAPPDTCMGMT01 systemd[1]: Configuration file /etc/systemd/system/dynatrace-security-gateway.service is marked world-inaccessible. This has no effect a>
Aug 28 21:46:26 DCAPPDTCMGMT01 systemd[1]: Configuration file /etc/systemd/system/dynatrace-nginx.service is marked world-inaccessible. This has no effect as configura>
Aug 28 21:46:26 DCAPPDTCMGMT01 systemd[1]: Configuration file /etc/systemd/system/dynatrace-server.service is marked world-inaccessible. This has no effect as configur>
Aug 28 21:46:26 DCAPPDTCMGMT01 systemd[1]: Reloading.
Aug 28 21:46:26 DCAPPDTCMGMT01 systemd-fstab-generator[37422]: Failed to create unit file /run/systemd/generator/aps.mount, as it already exists. Duplicate entry in /e>
Aug 28 21:46:26 DCAPPDTCMGMT01 systemd[37415]: /usr/lib/systemd/system-generators/systemd-fstab-generator failed with exit status 1.
Aug 28 21:46:26 DCAPPDTCMGMT01 systemd[1]: Configuration file /etc/systemd/system/dynatrace-security-gateway.service is marked world-inaccessible. This has no effect a>
Aug 28 21:46:26 DCAPPDTCMGMT01 systemd[1]: Configuration file /etc/systemd/system/dynatrace-server.service is marked world-inaccessible. This has no effect as configur>
Aug 28 21:46:26 DCAPPDTCMGMT01 systemd[1]: Configuration file /etc/systemd/system/dynatrace-nginx.service is marked world-inaccessible. This has no effect as configura>
Aug 28 21:46:26 DCAPPDTCMGMT01 systemd[1]: Reloading.
Aug 28 21:46:26 DCAPPDTCMGMT01 systemd-fstab-generator[37442]: Failed to create unit file /run/systemd/generator/aps.mount, as it already exists. Duplicate entry in /e>
Aug 28 21:46:26 DCAPPDTCMGMT01 systemd[37435]: /usr/lib/systemd/system-generators/systemd-fstab-generator failed with exit status 1.
Aug 28 21:46:26 DCAPPDTCMGMT01 systemd[1]: Configuration file /etc/systemd/system/dynatrace-security-gateway.service is marked world-inaccessible. This has no effect a>
Aug 28 21:46:26 DCAPPDTCMGMT01 systemd[1]: Configuration file /etc/systemd/system/dynatrace-nginx.service is marked world-inaccessible. This has no effect as configura>
Aug 28 21:46:26 DCAPPDTCMGMT01 systemd[1]: Configuration file /etc/systemd/system/dynatrace-security-gateway.service is marked world-inaccessible. This has no effect a>
Aug 28 21:46:26 DCAPPDTCMGMT01 systemd[1]: Reloading.
Aug 28 21:46:26 DCAPPDTCMGMT01 systemd-fstab-generator[37462]: Failed to create unit file /run/systemd/generator/aps.mount, as it already exists. Duplicate entry in /e>
Aug 28 21:46:26 DCAPPDTCMGMT01 systemd[37454]: /usr/lib/systemd/system-generators/systemd-fstab-generator failed with exit status 1.
Aug 28 21:46:26 DCAPPDTCMGMT01 systemd[1]: Configuration file /etc/systemd/system/dynatrace-nginx.service is marked world-inaccessible. This has no effect as configura>
Aug 28 21:46:26 DCAPPDTCMGMT01 systemd[1]: Configuration file /etc/systemd/system/dynatrace-security-gateway.service is marked world-inaccessible. This has no effect a>
Aug 28 21:46:26 DCAPPDTCMGMT01 systemd[1]: Reloading.
Aug 28 21:46:26 DCAPPDTCMGMT01 systemd-fstab-generator[37481]: Failed to create unit file /run/systemd/generator/aps.mount, as it already exists. Duplicate entry in /e>
Aug 28 21:46:26 DCAPPDTCMGMT01 systemd[37474]: /usr/lib/systemd/system-generators/systemd-fstab-generator failed with exit status 1.
Aug 28 21:46:26 DCAPPDTCMGMT01 systemd[1]: Configuration file /etc/systemd/system/dynatrace-nginx.service is marked world-inaccessible. This has no effect as configura>
Aug 28 21:46:26 DCAPPDTCMGMT01 systemd[1]: Configuration file /etc/systemd/system/dynatrace-nginx.service is marked world-inaccessible. This has no effect as configura>
Aug 28 21:46:26 DCAPPDTCMGMT01 systemd[1]: Reloading.
Aug 28 21:46:26 DCAPPDTCMGMT01 systemd-fstab-generator[37500]: Failed to create unit file /run/systemd/generator/aps.mount, as it already exists. Duplicate entry in /e>
Aug 28 21:46:26 DCAPPDTCMGMT01 systemd[37493]: /usr/lib/systemd/system-generators/systemd-fstab-generator failed with exit status 1.
Aug 28 21:46:26 DCAPPDTCMGMT01 systemd[1]: Configuration file /etc/systemd/system/dynatrace-nginx.service is marked world-inaccessible. This has no effect as configura>
Aug 28 21:46:26 DCAPPDTCMGMT01 systemd[1]: Reloading.
Aug 28 21:46:26 DCAPPDTCMGMT01 systemd-fstab-generator[37520]: Failed to create unit file /run/systemd/generator/aps.mount, as it already exists. Duplicate entry in /e>
Aug 28 21:46:26 DCAPPDTCMGMT01 systemd[37513]: /usr/lib/systemd/system-generators/systemd-fstab-generator failed with exit status 1.
Aug 28 21:48:24 DCAPPDTCMGMT01 rsyslogd[1588]: cannot connect to 172.17.21.140:514: Connection timed out [v8.37.0-13.el8 try http://www.rsyslog.com/e/2027 ]
Aug 28 21:50:35 DCAPPDTCMGMT01 rsyslogd[1588]: cannot connect to 172.17.21.140:514: Connection timed out [v8.37.0-13.el8 try http://www.rsyslog.com/e/2027 ]
Aug 28 21:52:46 DCAPPDTCMGMT01 rsyslogd[1588]: cannot connect to 172.17.21.140:514: Connection timed out [v8.37.0-13.el8 try http://www.rsyslog.com/e/2027 ]
Any clue about this ? I already opening a support ticket but still nothing respond from support
Thanks
28 Aug 2020 11:02 PM
I’d recommend turning selinux into permissive mode or disabling it.
17 May 2021 01:58 PM
How did you resolve this? I just got same error messages....
17 May 2021 03:27 PM
@holst disable selinux or set it to permissive mode. I also recommend to uninstall Dynatrace Managed if it's the first-time installation. Please don't forget to unregister it from the mission control - there is a cmdline flag for the uninstall.sh script and rerun the installation. Your license may be already locked in mission control.
If you need selinux in enforcing mode for any reason, you can also install semanage and run the following (/xxx is the installation path of Dynatrace Managed in this example):
semanage fcontext -a -t usr_t "/xxx"
semanage fcontext -a -t usr_t "/xxx/.*"
restorecon -R /xxx
05 Oct 2021 11:03 AM
How did you resolve this? Even I am facing the same issue "Failed to start Nodekeeper". It's a first-time installation.
05 Oct 2021 12:29 PM - edited 28 Mar 2022 12:55 PM
Solution provided by @jullam should solve it.
However, new installation since 1.222 (https://www.dynatrace.com/support/help/whats-new/release-notes/managed/sprint-222/) should apply these commands automatically.