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

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:

  1. Open Regedit.
  2. locate the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
    Control\Session Manager
    .
  3. 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.

Target system is in pending reboot state causing potential RSCD Agent installation problem

If the target system is in a pending reboot state (for example, from a previous patch or other software installation), you can use the PENDINGREBOOTFORCE flag to allow the MSI installer to ignore the pending reboot state and allow the installation to proceed. After you confirm that the pending reboot state on the target is not a result of a previous RSCD installation, you can set PENDINGREBOOTFORCE=1. Following is a command-line sample for the MSI installation program:

msiexec /I RSCD85-SP1-P1.WIN32.msi /
qn REBOOT=ReallySuppress PENDINGREBOOTFORCE=1


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:

setsebool -P allow_execstack=1

setsebool -P allow_execmod=1

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):

  1. Enter the following commands:
    /etc/init.d/iptables save
    /etc/init.d/iptables stop
  2. Reboot the Linux machine,
  3. Enter the following command:
    chkconfig iptables off

 Click here to see steps for enabling the Linux firewall
Enable the Linux firewall

Perform the following (with root privileges):

  1. Enter the following command:
    /etc/init.d/iptables start
  2. Reboot the Linux machine.
  3. Enter the following command:
    chkconfig iptables on

After BFF installation, operations on remote AIX server fail

Certain operations that are run against an RSCD agent on a remote AIX server fail if the agent was installed using a native BFF installer. The same operations complete successfully if the agent was intalled using a shell-based (SH) installer. For example, using nexec to run the lsdev command.

Workaround:
Restart the RSCD agent after performing the installation.

Was this page helpful? Yes No Submitting... Thank you

Comments