on 07-06-2015 11:16 AM
Hello,
after solving the first error, there is now a second one.
System is in Task Process at step "Install common system files".
At this point an error message appears:
An error occurred while processing option SAP NetWeaver 7.4 Support Release 2 > Oracle > SAP Systems > Application Server ABAP > Standard System > Standard System( Last error reported by the step: Execution of the command "/usr/bin/ksh -c ". /home/sidadm/.profile; env"" finished with return code 2. Output: [YOU HAVE NEW MAIL] Not a terminal /usr/bin/ksh: syntax error at line 103 : `=~' unexpected).
If I execute the command "/usr/bin/ksh -c ". /home/sidadm/.profile; env" as root at command line, there is no error - environment of user sidadm is shown.
Error message in sapinst.log is:
ERROR 2015-07-06 11:15:51.737 (root/sapinst) id=controller.stepExecuted errno=FCO-00011
The step createSystemDirectories with step key |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|onehost|0|NW_System|ind|ind|ind|ind|system|0|createSystemDirectories was executed with status ERROR ( Last error reported by the step: Execution of the command "/usr/bin/ksh -c ". /home/sidadm/.profile; env"" finished with return code 2. Output:
[YOU HAVE NEW MAIL]
Not a terminal
/usr/bin/ksh: syntax error at line 103 : `=~' unexpected).
Which file is used for the "syntax error at line 103"?
Regards,
Julia
rename the .profile and re-execute this step.
Also ask your UNIX system administrator to check the shell environment for sidadm
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Divyanshu,
the problem is in the files shipped by SAP .dbenv.hostname.sh.
Here are used "=~" as bash regex match operators, which can't be interpreted by ksh.
With your solution to rename the profiles the environment for the sidadm and orasid is not correct.
So a better workaround would be to use bash for sidadm and orasid. But this is not a final solution.
Regards,
Julia
Hello,
final solution was delivered by SAP.
.dbenv*.sh Files in SWPM10SP08_3-20009697.SAR are buggy. The problem are the calls
# if [[ $ORACLE_HOME =~ "121" ]]; then
# elif [[ $ORACLE_HOME =~ "112" ]]; then
These were changed to
str1=121
str2=112
if [ "${ORACLE_HOME#*$str1}" != "$ORACLE_HOME" ]; then
elif [ "${ORACLE_HOME#*$str2}" != "$ORACLE_HOME" ]; then
With next SWPM Patch this problem is solved.
Regards
Julia
User | Count |
---|---|
72 | |
11 | |
10 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.