TSM 7.1.1 server Installation error - The su command disabled on aix

anandgmenon

ADSM.ORG Member
Joined
Jun 27, 2011
Messages
100
Reaction score
0
Points
0
Hi Team

We are trying to install TSM Server 7.1.1. on aix 7.1 and we getting the following error .

appreciate your help in fixing this error .

We using the following tsm server codes

1. TSM_7111_AIX_AGT_ML.bin
2. AIX Level - 7100-03-04-1441



=====> IBM Installation Manager> Install> Prerequisites
Validation results:
* [WARNING] IBM Tivoli Storage Manager server 7.1.1.20141123_0822 contains validation warning.
1. WARNING: The su command is required to create DB2 instances, but the command is disabled.
Enter the number of the error or warning message above to view more details.
 
We are logged in as root user on the tsm server .

We installed IBM Installation manager 1.7.2 first .

below are the TSM packages we choose to install.

Select packages to install:
1. [X] IBM Tivoli Storage Manager server 7.1.1.20141123_0822
2. [ ] IBM Tivoli Storage Manager languages 7.1.1.20141123_0819
3. [X] IBM Tivoli Storage Manager license 7.1.1.20141123_0818
4. [ ] IBM Tivoli Storage Manager storage agent 7.1.1.20141123_0818
5. [X] IBM Tivoli Storage Manager device driver 7.1.1.20141123_0819
 
The 'su' message is a warning since you need to assume instance owner status (not root) to install an instance.

To test if 'su' is really disabled, as root enter 'su - <a_known_account>'. If you assumed this account, then 'su' IS not disabled. Otherwise, enable it.

If 'su' is NOT disabled, then TSM is reporting a false alert. Proceed with the install and see if you can create an instance.
 
i am able to su to the instance user id .

But the server install is failing and the installer is terminating as below

=====> IBM Installation Manager> Install
Select packages to install:
1. [X] IBM Tivoli Storage Manager server 7.1.1.20141123_0822
2. [ ] IBM Tivoli Storage Manager languages 7.1.1.20141123_0819
3. [X] IBM Tivoli Storage Manager license 7.1.1.20141123_0818
4. [ ] IBM Tivoli Storage Manager storage agent 7.1.1.20141123_0818
5. [X] IBM Tivoli Storage Manager device driver 7.1.1.20141123_0819
O. Check for Other Versions, Fixes, and Extensions
N. Next, C. Cancel
-----> [N] N
Loading fixes...
Loading fixes...
Loading fixes...
Validating package prerequisites...
Terminated
root@xxxtsm /pngtsm/tsmstg/TSM711 #


The log file has the below entries

<entry num='178' time='1444764137948' elapsed='00:32.97' level='INFO' thread='main'>
<logger>com.tivoli.dsm.prereq.server.SuCheck</logger>
<class>com.ibm.cic.agent.internal.core.IMLoggerImpl</class>
<method>info</method>
<message>INFO: com.tivoli.dsm.prereq.server.SuCheck.isSuAvailable(155) : The 'su' command is not available or does not work as expected</message>
</entry>
<entry num='179' time='1444764137948' elapsed='00:32.97' level='INFO' thread='main'>
<logger>com.tivoli.dsm.server.install.utils.CmdUtils</logger>
<class>com.ibm.cic.agent.internal.core.IMLoggerImpl</class>
<method>info</method>
<message>INFO: com.tivoli.dsm.server.install.utils.CmdUtils.issueShellCommandInternal(926) : Command: ps -ef | grep [d]b2sysc</message>
</entry>
<entry num='180' time='1444764137994' elapsed='00:33.02' level='INFO' thread='main'>
<logger>com.tivoli.dsm.server.install.utils.CmdUtils</logger>
<class>com.ibm.cic.agent.internal.core.IMLoggerImpl</class>
<method>info</method>
<message>INFO: com.tivoli.dsm.server.install.utils.CmdUtils.issueShellCommandInternal(989) : Command: ps -ef | grep [d]b2sysc</message>
</entry>
<entry num='181' time='1444764137994' elapsed='00:33.02' level='INFO' thread='main'>
<logger>com.tivoli.dsm.server.install.utils.CmdUtils</logger>
<class>com.ibm.cic.agent.internal.core.IMLoggerImpl</class>
<method>info</method>
<message>INFO: com.tivoli.dsm.server.install.utils.CmdUtils.issueShellCommandInternal(990) : stdout:</message>
</entry>
<entry num='182' time='1444764137995' elapsed='00:33.02' level='INFO' thread='main'>
<logger>com.tivoli.dsm.server.install.utils.CmdUtils</logger>
<class>com.ibm.cic.agent.internal.core.IMLoggerImpl</class>
<method>info</method>
<message>INFO: com.tivoli.dsm.server.install.utils.CmdUtils.issueShellCommandInternal(991) : stderr:</message>
</entry>
<entry num='183' time='1444764137995' elapsed='00:33.02' level='INFO' thread='main'>
<logger>com.tivoli.dsm.server.install.utils.CmdUtils</logger>
<class>com.ibm.cic.agent.internal.core.IMLoggerImpl</class>
<method>info</method>
<message>INFO: com.tivoli.dsm.server.install.utils.CmdUtils.issueShellCommandInternal(992) : RC: 1</message>
</entry>
<entry num='184' time='1444764137996' elapsed='00:33.02' level='INFO' thread='main'>
<logger>com.tivoli.dsm.server.install.utils.CmdUtils</logger>
<class>com.ibm.cic.agent.internal.core.IMLoggerImpl</class>
<method>info</method>
<message>INFO: com.tivoli.dsm.server.install.utils.CmdUtils.issueShellCommandInternal(926) : Command: su - root -c "ls -la"</message>
</entry>
</log>
 
Try running the command manually as root to see if you get any errors ( and check the return code: echo $? ): su - root -c "ls -la"
 
I am running into the exact same issue. My log files look pretty much the same. Has any headway been made on this?
 
Hello
I had the same problem. The problem was solved by removing "bash" from .profile of the root user.

In fact running bash in the .profile have given us serious problems when we vere upgrading. So my advice is to NOT run bash automatically from .profile.

Of cause you don't want bash in the instance-owner either!
 
Back
Top