on 12-29-2007 9:32 PM
Hi
I trying to install SAP Solution manager 4.0 SR3:
OS: Linux RHEL4u4
DB: Oracle
SAPinst now stops the installation.
To proceed with the installation, install the Oracle database as follows:
1.Log in as user orassm.
2.Set the DISPLAY variable.
3.Change to directory /oracle/stage/102_32/database/SAP.
4.Start './RUNINSTALLER'.
After you installed the Oracle database software, proceed with the database instance
installation by choosing 'OK' in this dialog box.
./RUNINSTALLER
oracle_stage is not set (OK)
oracle_base is not set (OK)
oracle_home is not set (OK)
oracle_sid is not set (OK)
oracle_home_name is not set (OK)
oracle_inst_group is not set (OK)
from_location is not set (OK)
tmp_netca_file is not set (OK)
tmp_dbca_file is not set (OK)
Working in /oracle/stage/102_32/database/SAP ...
The environment variable ORACLE_HOME is not set! abort ...
How to set environment variable ORACLE_HOME ?
Regards
Eric
Hi
Finaly find the issue, due to my JAVA environment setting for csh.
Corrected as following:
setenv JAVA_HOME /usr/java/j2sdk1.4.2_16
setenv PATH $:$/bin
Regards
Eric
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you tried to log on ora<sid> directly?
If not, don't switch(su - ora<sid>) user from root but just try to logon with user ora<sid> in your screen of terminal directly.
Thanks,
Matt
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i
Switch shell to bash:
orassm:x:502:503:SAP Database Administrator:/oracle/SSM:/bin/bash
[root@csp-p-sm00 ~]# su - orassm
[orassm@csp-p-sm00 ~]$
But when try to run ./RUNINSTALL
[orassm@csp-p-sm00 SAP]$ ./RUNINSTALLER
oracle_stage is not set (OK)
oracle_base is not set (OK)
oracle_home is not set (OK)
oracle_sid is not set (OK)
oracle_home_name is not set (OK)
oracle_inst_group is not set (OK)
from_location is not set (OK)
tmp_netca_file is not set (OK)
tmp_dbca_file is not set (OK)
Working in /oracle/stage/102_32/database/SAP ...
The environment variable ORACLE_HOME is not set! abort ...
Additionaly I've post csh.cshrc and csh.login
/etc/cshrc
#
csh configuration for all shell invocations.
by default, we want this to get set.
Even for non-interactive, non-login shells.
[ "`id -gn`" = "`id -un`" -a `id -u` -gt 99 ]
if $status then
umask 022
else
umask 002
endif
if ($?prompt) then
if ($?tcsh) then
set prompt='[%n@%m %c]$ '
else
set prompt=\[`id -nu`@`hostname -s`\]\$\
endif
endif
if ( $?tcsh ) then
bindkey "^[[3~" delete-char
endif
setenv MAIL "/var/spool/mail/$USER"
limit coredumpsize 0
if ( -d /etc/profile.d ) then
set nonomatch
foreach i ( /etc/profile.d/*.csh )
if ( -r $i ) then
source $i
endif
end
unset i nonomatch
endif
-
/etc/csh.login
System wide environment and startup programs, for login setup
if ($?PATH) then
if ( "$" !~ /usr/X11R6/bin ) then
setenv PATH "$:/usr/X11R6/bin"
endif
else
if ( $uid == 0 ) then
setenv PATH "/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin"
else
setenv PATH "/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin"
endif
endif
setenv HOSTNAME `/bin/hostname`
set history=1000
if ( ! -f $HOME/.inputrc ) then
setenv INPUTRC /etc/inputrc
endif
Regards
Eric
Hello
I've proceed to a new installation with RHEL 5 instead of RHEL 4
OS: RHEL 5 (32bits)
DB: Oracle
Met the same error on Phase 8 of 44 / Install database server software
[root@csppsm00 ~]# su - orassm
Bad : modifier in $ ($).
[orassm@csppsm00 ~]$
can it be due to the java setting or version ?
Any ideas or support to help me ?
Regards
Eric
Hello
Error message solved when shell /bin/bash configured for ora<sid> but Oracle environnement variable not set
[root@csppsm00 ~]# su - orassm
[orassm@csppsm00 ~]$
[orassm@csppsm00 SAP]$ ./RUNINSTALLER
oracle_stage is not set (OK)
oracle_base is not set (OK)
oracle_home is not set (OK)
oracle_sid is not set (OK)
oracle_home_name is not set (OK)
oracle_inst_group is not set (OK)
from_location is not set (OK)
tmp_netca_file is not set (OK)
tmp_dbca_file is not set (OK)
Working in /oracle/stage/102_32/database/SAP ...
The environment variable ORACLE_HOME is not set! abort ...
Regards
Eric
Eric
do not install as ROOT but as given user ora<SID>.
- Open a new shell
- su - ora<SID>
- setenv DISPLAY <IP>
then step to /oracle/stage/102_64/database/Disk1/SAP and execute
./RUNINSTALLER
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Usually it´s not necessary to modify this files. If you follow the installation guide, the user ora will have all the necessary environment set after sapinst prompts you to install the database.
If you logged on earlier with this user (before the environment was set) - logout and login again and then execute ./RUNINSTALLER in the SAP subdirectory.
Markus
When I connect as ora<SID> I've the following error ? Bad : modifier in $ ($).
[root@csppsm02 ~]# su - orassm
Bad : modifier in $ ($).
[orassm@csppsm02 ~]$
I start ./RUNINSTALL from . /oracle/stage/102_32/database/SAP but same error
[orassm@csppsm02 SAP]$ ./RUNINSTALLER
oracle_stage is not set (OK)
oracle_base is not set (OK)
oracle_home is not set (OK)
oracle_sid is not set (OK)
oracle_home_name is not set (OK)
oracle_inst_group is not set (OK)
from_location is not set (OK)
tmp_netca_file is not set (OK)
tmp_dbca_file is not set (OK)
Working in /oracle/stage/102_32/database/SAP ...
The environment variable ORACLE_HOME is not set! abort ...
Regards
Eric
Hello
I've completely restart OS + SAP installation :
- following "install guide inst_solman_40_sr3_lnx_ora" and sap note 722273
- phase 8 of 44 " install database server software"
SAPinst now stops the installation.
To proceed with the installation, install the Oracle database as follows:
Log in as user orassm.
Set the DISPLAY variable.
Change to directory /oracle/stage/102_32/database/SAP.
Start './RUNINSTALLER'.
After you installed the Oracle database software, proceed with the database instance installation by choosing 'OK' in this dialog box.
Same issue when login with ora<SID>
su - orassm
Bad : modifier in $ ($)
/etc/passwd
ssmadm:x:501:502:SAP System Administrator:/home/ssmadm:/bin/csh
orassm:x:502:503:SAP Database Administrator:/oracle/SSM:/bin/csh
Regards
Eric
Same error with shell /bin/tcsh
ssmadm:x:501:505:SAP System Administrator:/home/ssmadm:/bin/csh
orassm:x:502:503:SAP Database Administrator:/oracle/SSM:/bin/tcsh
[root@csp-p-sm00 ~]# su - orassm
Bad : modifier in $ ($).
[orassm@csp-p-sm00 ~]$
Work for /bin/bash
ssmadm:x:501:505:SAP System Administrator:/home/ssmadm:/bin/csh
orassm:x:502:503:SAP Database Administrator:/oracle/SSM:/bin/bash
[orassm@csp-p-sm00 ~]$ su - orassm
Password:
[orassm@csp-p-sm00 ~]$
Hi,
Please use set env ORACLE_HOME= PATH.
Regards,
iqbal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.