on 2016 Nov 17 3:16 PM
Hello All,
I am installing Solution Manager 7.2. As part of that, I am bringing all of the Diagnostic Agents up-to-current. I have a NW7.4 new install that has been sitting a while until I got Solution Manager running and it has a Diagnostics agent that was down 1 level. I removed the old diagnostics agent.
When I attempt to install the newer version using SWPM, it ends with the following error:
Execution of the command "/bin/csh -c "source /home/daaadm/.cshrc; env" finished with status TST_ERROR.
I am running SWPM as user root, which is also in group sapinst. I attempted the command as user root in /home/daaadm, and it works correctly. I tried it as user daaadm, and it works correctly. I run it from root doing su to user daaadm "su - daaadm -c "command above" and it also works.
I looked at a few notes, including 1875902, and I can't see where there is an issue with the .dbenv_hostname.csh or .sapenv_hostname.csh profiles. I compared to systems where it worked, and the profiles look identical. Environments look correct. Directory ownership and permissions look correct. Any ideas here?
I did see someone suggesting that if the HOST agent was reinstalled first it would fix problems with Diagnostics agent. When I attempted to reinstall the host agent, I received the same TST_ERROR.
Thanks.
Danny Hearn
Dematic Corp
Request clarification before answering.
Hi Danny,
I have a similar problem. Can you please help me with a solution?
The error is:
Execution of the command "/bin/sh -c "source /usr/sap/SHD/home/.profile; env"" finished with status TST_ERROR).
I tried applying your suggestion, but without any luck. Any other ideas?
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
And I've already found the answer. I continued searching and I found out that you need to switch user root to csh before starting sapinst.
Found the answer in this ticket:
1 : Login as root
2 : csh
3 : setenv SHELL /bin/csh
4 : continue with sapinst
https://archive.sap.com/discussions/message/13555908#13555908
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.