Troubleshooting agent installation
Use the following information to solve issues you may encounter while installing agents:
- Error message while installing RSCD Agent with MSI installer
- Access denied errors occur during install on Windows targets
- The /etc/sudoers file cannot be configured to accept only a root password
- Unified agent installer fails due to error while loading shared libraries on Linux
- Unified agent installer fails because of Linux firewall
Error message while installing RSCD Agent with MSI installer
While trying to install RSCD Agent using the MSI installer, you receive a message to reboot the server. After rebooting, the installer does not launch, and you receive the message again.
Any application can set a pending reboot flag in the operating system through a registry key. Sometimes a reboot does not clear the flag. This is what the setup is detecting.
Use the following workaround when you receive the pending reboot requests multiple times, even though you have rebooted the server:
- Open Regedit.
- locate the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager.
- Rename the PendingFileRenameOperations value to PendingFileRenameOperations2.
Access denied errors occur during install on Windows targets
When installing agents on Microsoft Windows targets, the user specified in the automation principal for remote host authentication must have access to the admin shares of the target machine. For Windows Vista and later operating systems, if you are a local administrator on a server and you are not the default administrator account, then by default you do not have access to these shares. This results in Access Denied errors during the install.
To resolve this issue:
- Use the default administrator account
- Use a domain administrator account that has permissions for the target device
Create the following registry DWORD value and set it to 1.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\
LocalAccountTokenFilterPolicy
The /etc/sudoers file cannot be configured to accept only a root password
It is possible to configure SUDO so that it requires you to give it the root password. For many SUSE Linux installations, the /etc/sudoers file is configured this way. However, agent installation does not work with this type of configuration. If the /etc/sudoers file is configured to accept only the root password, the job fails.
To resolve this issue, configure /etc/sudoers so it accepts passwords other than the root password.
Unified agent installer fails due to error while loading shared libraries on Linux
Error message:
Warning 10/13/2015 21:13:54 /opt/bmc/bladelogic/RSCD/sbin/secadmin: error while loading shared libraries: /lib64/libnc.so: cannot restore segment prot after reloc: Permission denied
Troubleshooting steps:
Before running the unified agent installer run the following commands on you Linux machine to enable the SELinux boolean value:
Unified agent installer fails because of Linux firewall
Ensure that your Linux firewall has been disabled before running the unified agent installer. See the following steps for enabling and disabling the Linux firewall.
Disable the Linux firewall
Perform the following (with root privileges):
- Enter the following commands:
/etc/init.d/iptables save
/etc/init.d/iptables stop - Reboot the Linux machine,
- Enter the following command:
chkconfig iptables off