on 07-28-2008 5:39 PM
We are not able run SAPINST , can any one help me.
We are on HPunix/Oracleinstalling 4.7, installed java and also entered the env variable for java, followed the SAP doc , but still we are not able to run SAPINST. There is no error message .
Please help me .
thanks in advance
Hi,
I think you are not able to start SAPINST GUI , is it rite?
If that is the case: please follow below things to make SAPINST works:
1. Include the java environment variable in PATH environment variable and also with /bin and /jre directory means <javapath>/bin and <javapath>/jre .
2. check whether xmanager is installed or not, if installed set the DISPLAY variable. Give the DISPLAY variable as <IP address>:1.0 or 0.1 or 2.0 or 0.2, if still its not working put <IP address>:0.0
3. Be in root, means : root> cd
afterwards, root> ls -lart
then you can find .Xauthority file, please copy that to your home directory of <sid>adm.
means logon with sidadm and do pwd, you can get the home directory of sidadm, like /home/<sid>adm
copy means : from root > cp .Xauthority /home/sidadm/ ( check home directory)
Then set the DISPLAY variable and then check whether it is working or not using /usr/openwin/bin/xclock
4.And also check ulimit -a, if all are in unlimited then fine.
Please do all the above steps and let me know if still issue persists.
Thanks
Kishore
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have already entered the java envirmonemnt variable.
I am still not able to run SAPINST
i have created a directory for SAPINST and copied the files to sapinst and tried to run but no success.
Host >cd /INST/SAPINST/UNIX/HP11_64/INSTALL
/sbin/sh: /inst/SAPINST/UNIX/HP11_64/INSTALL: The specified path name is not a directory.
Thanks,
pl help
Hi,
Thanks for the reply,
I am trying to execute as u said, but not successfull.
Host >cd /INST/SAPINST/UNIX/HP11_64
Host >ls
CONTROL.DTD INSTALL KEYDB.XML PACKAGES.XML SAPPROD.SAR
CONTROL.XML INSTGUI.SAR MESSAGES.DTD PRODUCT.XML TOPLEVEL.XML
DIALOG.XML INSTPFLCI.XML MESSAGES.XML SAPCAR
DOC.DTD INSTPFLDI.XML ORADBPAR.XML SAPINST.SAR
EXPORTCDS.XML KEYDB.DTD PACKAGES.DTD SAPINSTGUI.DTD
Host >cd /INST/SAPINST/UNIX/HP11_64/SAPINST
/sbin/sh: /INST/SAPINST/UNIX/HP11_64/SAPINST : The specified path name is not a directory.
Host >cd /INST/SAPINST/UNIX/HP11_64/SAPINSTGUI
/sbin/sh: /INST/SAPINST/UNIX/HP11_64/SAPINSTGUI: The specified path name is not a directory.
I donu2019t understand what to do. Do you have any notes or documentation regd the same.
thanks
It seems you are installing from an OLD CD set - not using sapinst but R3setup - this must be called
./R3SETUP -f CENTRAL.R3S for the central instance and
./R3SETUP -f DATABASE.R3S for the database instance
I HIGHLY suggest you download a new installation CD/DVD set from the service marketplace, the version you seem to use is ancient!
Markus
Here are the details
-rw-r----- 1 root sys 75 Jul 25 09:42 CDLABEL.ASC
-rw-r----- 1 root sys 75 Jul 25 09:42 CDLABEL.EBC
-rw-r----- 1 root sys 7929 Jul 25 09:42 COPY_TM.HTM
-rw-r----- 1 root sys 4092 Jul 25 09:42 COPY_TM.TXT
-rw-r----- 1 root sys 4092 Jul 25 09:42 COPY_TM.txt
-rw-r----- 1 root sys 8508 Jul 25 09:42 CRCFILE.DAT
-rw-r----- 1 root sys 46 Jul 25 09:42 LABEL.ASC
-rw-r----- 1 root sys 46 Jul 25 09:42 LABEL.EBC
drwxr-x--- 4 root sys 96 Jul 25 09:41 NT
drwxr-x--- 4 root sys 96 Jul 25 09:42 SAPINST
drwxr-x--- 2 root sys 96 Jul 25 09:51 TRANS
drwxr-x--- 8 root sys 8192 Jul 25 09:41 UNIX
-rw-r----- 1 root sys 44 Jul 25 09:42 VERSION.ASC
-rw-r----- 1 root sys 44 Jul 25 09:42 VERSION.EBC
Under /SAPINST/UNIX/HP11_64
-rw-r----- 1 root sys 5688 Jul 25 09:47 CONTROL.DTD
-rw-r----- 1 root sys 1987054 Jul 25 09:47 CONTROL.XML
-rw-r----- 1 root sys 387177 Jul 25 09:47 DIALOG.XML
-rw-r----- 1 root sys 3027 Jul 25 09:47 DOC.DTD
-rw-r----- 1 root sys 2878 Jul 25 09:47 EXPORTCDS.XML
-rw-r----- 1 root sys 20050 Jul 25 09:47 INSTALL
-rw-r----- 1 root sys 914580 Jul 25 09:47 INSTGUI.SAR
-rw-r----- 1 root sys 329 Jul 25 09:47 INSTPFLCI.XML
-rw-r----- 1 root sys 329 Jul 25 09:47 INSTPFLDI.XML
-rw-r----- 1 root sys 1698 Jul 25 09:47 KEYDB.DTD
-rw-r----- 1 root sys 3244674 Jul 25 09:47 KEYDB.XML
-rw-r----- 1 root sys 1035 Jul 25 09:47 MESSAGES.DTD
-rw-r----- 1 root sys 267799 Jul 25 09:47 MESSAGES.XML
-rw-r----- 1 root sys 82937 Jul 25 09:47 ORADBPAR.XML
-rw-r----- 1 root sys 266 Jul 25 09:47 PACKAGES.DTD
-rw-r----- 1 root sys 3785 Jul 25 09:47 PACKAGES.XML
-rw-r----- 1 root sys 2052 Jul 25 09:47 PRODUCT.XML
-rw-r----- 1 root sys 16209824 Jul 25 09:48 SAPCAR
-rw-r----- 1 root sys 18175221 Jul 25 09:49 SAPINST.SAR
-rw-r----- 1 root sys 7546 Jul 25 09:49 SAPINSTGUI.DTD
-rw-r----- 1 root sys 4398903 Jul 25 09:49 SAPPROD.SAR
-rw-r----- 1 root sys 584 Jul 25 09:49 TOPLEVEL.XML
Even though i do
HOST >pwd
SAPINST/UNIX/HP11_64
HOST >ls
CONTROL.DTD EXPORTCDS.XML INSTPFLDI.XML MESSAGES.XML PRODUCT.XML SAPPROD.SAR
CONTROL.XML INSTALL KEYDB.DTD ORADBPAR.XML SAPCAR TOPLEVEL.XML
DIALOG.XML INSTGUI.SAR KEYDB.XML PACKAGES.DTD SAPINST.SAR
DOC.DTD INSTPFLCI.XML MESSAGES.DTD PACKAGES.XML SAPINSTGUI.DTD
HOST >./SAPINST
/sbin/sh: ./SAPINST: not found.
Hi,
Solved the problem, it is because i haven't created SAPINST directory, after creating, i was able to execute SAPinst.
Now i have another problem, when i am installing the Database instance, installation stops at this point
The authorizations have been set for /install/SAPinst/CROCLLNK.
INFO 2008-07-30 11:52:34
Creating file /install/SAPinst/crocllnk.log.
INFO 2008-07-30 11:52:34
See './CROCLLNK -v -b 64' output in 'crocllnk.log'.
ERROR 2008-07-30 11:52:34
MOS-01012 PROBLEM: './CROCLLNK -v -b 64' returned with '1' which is not a defined as a success code.
ERROR 2008-07-30 11:52:34
FJS-00012 Error when executing script.
I have checked the notes 874149. and other notes,
but still not successffull
please help.
Thanks for your help
YEs i got saying to install oracle, so i have started installing oracle,
i have logged as ora<SID> and trying to set the env DISPLAY<HOST>:0:0 but all the time i get set env not found
HEre are the details
logged in ORA<SID>
.profile[35]: SHLIB_PATH: Parameter not set.
$ setenv DISPLAY <host>:0.0
su: setenv: not found.
thanks a lot.
You have quite a number of different problems on your box. Somehow the users don't have the correct home directories, your environment is not set correctly and other things. Your machine seems to be a bit "hosed"
It's very difficult to help you without system access. As you can see you get the first error when you login as ora<SID>, before this error is not corrected all further tries of continuing will be pointless.
First let's check the user ora<SID>:
try
grep ora<SID> /etc/passwd
check if the user was created and if the user has a valid home directory, write permissions for it and a valid shell.
Markus
All variables are usually set by sapinst, there's no need to set them manually.
I saw you used "setenv" to set environments (DISPLAY) - that is for csh - but you use /usr/bin/sh. I'd try to change the default shell of ora<sid> to use /bin/csh, logout and login with that user and see if ORACLE_HOME is set. If not, then I would suggest to start from scratch because something went wrong during the installation...
Markus
Did you do
su - ora<sid>
or just
su ora<sid>
It's VERY important, that you use the first one, otherwise the new environment will not set. If you're logged in check first if the environment is set:
echo $ORACLE_HOME
echo $ORACLE_SID
Then try as root
cd /oracle/stage
chown -R ora<SID>:dba 920_64
Markus
YES the files are there in the home directory
16 drwxr-xr-x 2 ora<sid> dba 8192 Jul 30 13:04 .
2 0 drwxr-xr-x 6 root root 96 Jul 25 08:47 ..
14 16 -rw-r-xr-x 1 ora<sid> dba 1674 Jul 30 11:15 .cshrc
11 16 -rw-r-xr-x 1 ora<sid> dba 3361 Jul 30 11:15 .dbenv_host.csh
10 16 -rw-r-xr-x 1 ora<sid> dba 3375 Jul 30 11:15 .dbenv_host.sh
33 16 -rw-r-xr-x 1 ora<sid> dba 175 Jul 25 09:52 .dbsrc_host.csh
32 16 -rw-r-xr-x 1 ora<sid> dba 158 Jul 25 09:52 .dbsrc_host.sh
17 16 -rrr-- 1 ora<sid> dba 347 Nov 14 2000 .exrc
15 16 -rw-r-xr-x 1 ora<sid> dba 1176 Jul 30 11:15 .login
16 16 -rw-r-xr-x 1 ora<sid> dba 1161 Jul 30 11:15 .profile
19 16 -rw-r-xr-x 1 ora<sid> dba 7381 Jul 30 11:15 .sapenv_host.csh
18 16 -rw-r-xr-x 1 ora<sid> dba 6904 Jul 30 11:15 .sapenv_host.sh
31 16 -rw-r-xr-x 1 ora<sid> dba 667 Jul 25 09:52 .sapsrc_host.csh
30 16 -rw-r-xr-x 1 ora<sid> dba 564 Jul 25 09:52 .sapsrc_host.sh
34 16 -rw------- 1 ora<sid> dba 2958 Jul 30 16:22 .sh_history
I have also checked the file dbenv and could see the ORACLE_SID.
But i don't understand why it is not taking into account when running the ./RUNINSTALLER.
It seems, that the dot-files are not taken into account... are you running a high security system? Usually - at that point of installation and after logging in the prompt for the csh looks like
<hostname:user>
and not just
$
Something is wrong with your environment but manually setting it won't solve the problem. I'd check with your sysadmin why the dot-files are not executed during login.
Markus
Hi,
After checking with the adminsitrator i was able to run ./RUNINSTALLER, but now again iget another errror
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using '10.1.70.75:0.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:63)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58)
at java.awt.Window.<init>(Window.java:188)
at java.awt.Frame.<init>(Frame.java:315)
at java.awt.Frame.<init>(Frame.java:294)
at oracle.ewt.popup.PopupFrame.<init>(Unknown Source)
at oracle.ewt.lwAWT.BufferedFrame.<init>(Unknown Source)
at oracle.sysman.oii.oiif.oiifm.OiifmMainFrame.<init>(OiifmMainFrame.java:296)
at oracle.sysman.oii.oiic.OiicInstaller.<init>(OiicInstaller.java:231)
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:599)
Thanks a lot
Hi,
Oracle is successfully installed. Regd the patchset , what is the correct patch set i should install, there are several notes, i went through all of them , i am confused.pl help. the oracle version installed is 9.2, should i install 9.2.0.6 or 9.2.0.7, do i need to do any parameter changes for the oracle before installing the path.I am just worried if in case correct patch is not installed i am again land up with the performance problems.
I need your advice and suggestion. pl help
thanks.
It's suggested to install the LATEST patchset available + the LATEST patches for that patchset.
Check the central note 938986 - Oracle Database 9.2: Patches for 9.2.0
I would suggest you install 9.2.0.8 + all the 22 patches listed in the above note.
BTW: Oracle 9.2 runs TODAY out of standard maintenance...
Markus
Thanks for the suggestion,
As per your suggestion i am installing 9.2.0.8+patches.
When i went to service .sap.com , i could see 16patchset not 22 patchs set level.
As this are in zip files , can i unzip in the windows and copy the files in the unix at the oracle directory and install the ORacle 9.2.0.8 and the 16 patches.
Please correct me if i am wrong.
Thanks for your help.
> As per your suggestion i am installing 9.2.0.8+patches.
> When i went to service .sap.com , i could see 16patchset not 22 patchs set level.
yes - the other 6 are "Generic" patches (read the note!!) - they are in the "generic" patch directory.
> As this are in zip files , can i unzip in the windows and copy the files in the unix at the oracle directory and install the ORacle 9.2.0.8 and the 16 patches.
Note 306408 - OPatch: Oracle tool for patch installation describes how you need to install those.
Markus
Hi MArkus,
I am facing lot of troubles in installing the patches,
I have downloaded the patches and used the cat command to combine the aa.bin and ab.bin file. To unzip as i could n't find the unzip command at the unix level i have copied the file on the my PC and unzipped and put it back on the unix system.
now i have run ./runInstaller,it says permission denied
this is the error message.
./runInstaller[37]: /oracle/stage/9208/Disk1/runInstaller: Execute permission denied.
I have checked the permission and changed to 777 and 775 and also changed the chown to ora<SID> :dba .
but still the same problem.
Please help me.
thanks
> now i have run ./runInstaller,it says permission denied
> this is the error message.
> ./runInstaller[37]: /oracle/stage/9208/Disk1/runInstaller: Execute permission denied.
> I have checked the permission and changed to 777 and 775 and also changed the chown to ora<SID> :dba .
Please post the output of
ls -l /oracle/stage/9208/Disk1/runInstaller
Markus
Here are the details:-
#!/usr/bin/sh
The environment variable $SRCHOME cannot be set during the installation
unset SRCHOME
CMDDIR=`dirname $0`
if [ "$CMDDIR" = "." ]; then
CMDDIR=`pwd`;
fi
Replace relative path with fully qualified path.
if [ ! "`echo $CMDDIR|grep '^/'`" ]; then
CMDDIR=`pwd`/$CMDDIR;
fi
if [ x$ != x ]; then
PATH=/usr/bin:/usr/ccs/bin:$PATH:$CMDDIR/install
export PATH
else
PATH=/usr/bin:/usr/ccs/bin:$CMDDIR/install
export PATH
fi
if [ x$ != x ]; then
LD_LIBRARY_PATH=/usr/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
else
LD_LIBRARY_PATH=/usr/lib
export LD_LIBRARY_PATH
fi
One-click: only if there is no cmd line argument and it's not on CRS node
if [ $# -gt 0 -o -r /var/opt/oracle/ocr.loc -o \
! -r $CMDDIR/install/oneclick.properties ]; then
$CMDDIR/install/runInstaller -DTRACING.ENABLED=TRUE -DTRACING.LEVEL=2 $*
else
$CMDDIR/install/runInstaller -oneclick
fi
~
~
~
~
~
"runInstaller" 40 lines, 952 characters
Please post what happens when you execute sapinst.
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.