Issue:
When you apply a siebel patch on solaris env, you may got following error message.
(Jun 9, 2011 6:09:48 PM), Setup.product.install, Utility, msg1, Launching: hostname
(Jun 9, 2011 6:09:51 PM), Setup.product.install, Initialize, err, Unable to determine OS Service Level.(SBL-STJ-00176)
ServiceException: (error code = 305; severity = 0)
(Jun 9, 2011 6:10:07 PM), Setup.product.install, Utility, msg1, Launching: ksh -c env | grep SIEBEL
(Jun 9, 2011 6:10:08 PM), Setup.product.install, Initialize, err, Please unset any Siebel related variable in your environment before running this setup.(SBL-STJ-00198)
Reason:
You didn’t hide your siebel env.
Solution:
1.Please execute command “ksh -c env | grep SIEBEL”. This command will show you all the env variables that is related to siebel.
2.Then unset each of them one by one, like
- unsetenv SIEBEL_LANGUAGE
- unsetenv SIEBEL_ROOT
- unsetenv SIEBEL_HOME
- unsetenv SIEBEL_GATEWAY
- unsetenv SIEBEL_UNIXUNICODE_DB
- unsetenv SIEBEL_LIB_DIR
3. After you setup patch, please remember re-set these env variables again, like
- setenv SIEBEL_LANGUAGE
- setenv SIEBEL_ROOT
- setenv SIEBEL_HOME
- setenv SIEBEL_GATEWAY
- setenv SIEBEL_UNIXUNICODE_DB
- setenv SIEBEL_LIB_DIR
TIP:
There is a little bit different between csh and bash.
csh | bash |
setenv | set |
unsetenv | unset |