I just noticed that my RSCD agents are installing and having the same issues. Did you ever figure this out?
What installer are you using and what is the OS you're installing on?
RHEL 5.9...using RPM installer. Would a unmask cause the issue? Noticed umask was set to 0077. So I set umask to 0022 like it should be but the installer still gives bzip2 permission denied when it tries to install "native installer". I'm on 8.3 SP2. Application server, console and agents are all same version. The bash script gives same error. Selinux is off....IP tables/ip6tables is off and I can validate server/agent from console. I also get permission denied when I try to patch analyse any of my RHEL 5/6 systems. Is there anyway to debug a patch analysis job? Agent debug doesn't really give me good information as far as I can tell. Im thinking RSCD "native installer" and patch analysis "permission denied" are related. Also, I have automation principles setup. Could that be a possibility?
One last thing....I'm executing RSCD install from /tmp
The more info you can give us, the better. I'm assuming you're attempting to install the agent through the BSA console. Is this a new install or an upgrade? How are you deploying this? As a File Deploy, Software Deploy, BLPackage Deploy, Agent Installer Job? And yes, the Role and user you are mapping to (root, domain account) will also impact how the agent gets installed. Are you using an AP and leveraging a service account?
Using both users.local and AP. Trying to install manually using root
account through SSH terminal.
OK, so let's simplify.
You're logged in as root on a RHEL 5.9 server?
You have the rpm installer (RSCD83-SP2-LIN64.rpm) in /tmp?
Does the md5sum = c058fd310c8766234d6013993c54e9eb ?
What command are you running to install it?
What error does it throw?
What are the contents of the install log file?
I have not checked the md5 value. The command I'm running is rpm -Uvh
RSCD83-SP2-LIN64.rpm. Everything installs without any errors but when I
look in the /opt/BMC/bladelogic/RSCD/SysInfo_Install.log I see an error
saying something about nativeinstaller failed - bzip2 permission
denied....Im not at work any longer?
can you attach the SysInfo_install.log ?
also can you attach the log message that you get w/ the patching job ?
I figured it out...
I changed my umask to 0022, but that did not fix my problem. It's actually set in two places: 1) globally set in /etc/profile and 2)set in each users profile $USERHOME/.bash_profile.
I then extracted the RPM and tried to execute part of the files using the debug feature of bash:
/bin/bash -x /native_installer/sysinfoinstaller and noticed that I was continuing to get "permission denied" erros when the "native installer" component was executing. I didn't realize how many applications use the /tmp directory to perform certain portions of the main installation.....so I asked myself why multiple occasions of disparate applications continued to give "permission denied" errors......
So I check /etc/fstab and noticed that the "noexec" option was set on the /tmp partition.....
So I edited the /etc/fstab configuration file and removed the "noexec" option for /tmp and issue the following command to remount the /tmp directory:
# mount -o remount,nodev,nosuid /tmp
***nodev/nosuid may not apply to anyone elses environment...you have been warned!
After I removed the BladelogicRSCD rpm agent and reinstalled, I now check the /opt/bmc/bladelogic/RSCD/SysInfo_Install.log and everything shows as being installed correctly.