cancel
Showing results for 
Search instead for 
Did you mean: 

Oracle 10.2.0.4 installation

manoj_nayak2
Participant
0 Kudos

Hi ,

i am installing oracle 10.2.0.4 on RHEL 5.5.

when i am doing script.

redhat:oratst 38> su root

Password:

[root@redhat TST]# cd /oracle/TST/102_64/

[root@redhat 102_64]# ./root.sh

./root.sh: line 12: 01777: command not found

./root.sh: line 13: root: command not found

./root.sh: line 20: 01777: command not found

./root.sh: line 21: root: command not found

./root.sh: line 24: root: command not found

./root.sh: line 25: 06550: command not found

./root.sh: line 32: nobody: command not found

./root.sh: line 33: nobody: command not found

./root.sh: line 34: 6555: command not found

./root.sh: line 63: 10349 Segmentation fault $CP $ORACLE_HOME/bin/fmputl $FILEMAPLOC/bin

� main `�q "+ �:skgfxph_2.directory check failed on $ORACLE_HOME/rdbms/filemap ? �Q�?@ �:�}0�,�@ �: ` t "`�q "P�:��q "+0 @}./root.sh: line 65: 550: command not found

./root.sh: line 66: 4555: command not found

Any idea

Refards

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

>>./root.sh: line 12: 01777: command not found

view the file and check for line showed in error what command trying to execute.

also can you do su - root and try as well?

BTW: Why installing 10.2 as support ending soon. You can instal 11g.

manoj_nayak2
Participant
0 Kudos

Hi,

Thanks for reply .

I also tried

redhat:oratst 38> su - root

Password:

[root@redhat ~]# cd /oracle/TST/102_64/

[root@redhat 102_64]# ./root.sh

./root.sh: line 12: 01777: command not found

./root.sh: line 13: root: command not found

./root.sh: line 20: 01777: command not found

./root.sh: line 21: root: command not found

./root.sh: line 63: /bin/fmputl: No such file or directory

./root.sh: line 64: /bin/fmputlhp: No such file or directory

./root.sh: line 65: 550: command not found

./root.sh: line 66: 4555: command not found

Regards

Manoj

Former Member
0 Kudos

can you please paste 50 lines from your root.sh file?

manoj_nayak2
Participant
0 Kudos

Hello Sunil,

[root@redhat 102_64]# cat root.sh

#!/bin/sh

#

  1. Root Actions related to network

#

:

if [ ! -d /var/tmp/.oracle ]

then

$MKDIR -p /var/tmp/.oracle;

fi

$CHMOD 01777 /var/tmp/.oracle

$CHOWN root /var/tmp/.oracle

if [ ! -d /tmp/.oracle ]

then

$MKDIR -p /tmp/.oracle;

fi

$CHMOD 01777 /tmp/.oracle

$CHOWN root /tmp/.oracle

if [ -f $ORACLE_HOME/bin/oradism ]; then

$CHOWN root $ORACLE_HOME/bin/oradism

$CHMOD 06550 $ORACLE_HOME/bin/oradism

fi

  1. remove backup copy

if [ -f $ORACLE_HOME/bin/oradism.old ]; then

$RM -f $ORACLE_HOME/bin/oradism.old

fi

if [ -f $ORACLE_HOME/bin/extjob ]; then

$CHOWN nobody $ORACLE_HOME/bin/extjob

$CHGRP nobody $ORACLE_HOME/bin/extjob

$CHMOD 6555 $ORACLE_HOME/bin/extjob

fi

  1. The filemap binaries need to exist under /opt/ORCLfmap/prot1_X where

  2. X is either 32 for 32-bit Solaris machines and 64 for 64-bit Solaris

  3. machines.

#

  1. Other UNIX platforms will have to do something similar

RM=rm

LN=ln

ORCLFMAPLOC=/opt/ORCLfmap

FILEMAPLOC=$ORCLFMAPLOC/prot1_64 # needs to be prot1_32 for 32 bit platforms

if [ ! -d $ORCLFMAPLOC ];then

$MKDIR $ORCLFMAPLOC

fi

if [ ! -d $FILEMAPLOC ];then

$MKDIR $FILEMAPLOC

fi

if [ ! -d $FILEMAPLOC/bin ];then

$MKDIR $FILEMAPLOC/bin

fi

if [ ! -d $FILEMAPLOC/etc ];then

$MKDIR $FILEMAPLOC/etc

fi

if [ ! -d $FILEMAPLOC/log ];then

$MKDIR $FILEMAPLOC/log

fi

$CP $ORACLE_HOME/bin/fmputl $FILEMAPLOC/bin

$CP $ORACLE_HOME/bin/fmputlhp $FILEMAPLOC/bin

$CHMOD 550 $FILEMAPLOC/bin/fmputl

$CHMOD 4555 $FILEMAPLOC/bin/fmputlhp

if [ ! -f $FILEMAPLOC/etc/filemap.ora ];then

$CP $ORACLE_HOME/rdbms/install/filemap.ora $FILEMAPLOC/etc

fi

/oracle/TST/102_64/rdbms/install/rootadd.sh

You have new mail in /var/spool/mail/root

Regards

Manoj

manoj_nayak2
Participant
0 Kudos

Any prerequisites i have to take?

Regards.

Edited by: manoj nayak on Jan 5, 2011 11:30 AM

manoj_nayak2
Participant
0 Kudos

Hi ,

I started the installation after patch installation but it showing me error in Create database phase

INFO 2011-01-07 21:18:42

Account oratst already exists.

INFO 2011-01-07 21:18:42

Account dba already exists.

INFO 2011-01-07 21:18:42

Account oratst already exists.

INFO 2011-01-07 21:18:42

Account dba already exists.

INFO 2011-01-07 21:18:42

Removing file /tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/ora_query3_tmp0_1.sql.

INFO 2011-01-07 21:18:42

Creating file /tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/ora_query3_tmp0_1.sql.

ERROR 2011-01-07 21:22:38

CJS-00084 SQL statement or script failed.<br>DIAGNOSIS: Error message: ORA-955 for defaultdest

SQL> Rem bnainani 11/29/00 - specify compatible=8.0 for create_queue_table

SQL> Rem liwong 10/20/00 - add def$_destination.flag

SQL> Rem bnainani 11/15/00 - specify compatible=8.0 for queue table

SQL> Rem narora 09/13/00 - add comment on new def$_destination columns

SQL> Rem liwong 09/01/00 - add master w/o quiesce: fixes

SQL> Rem liwong 07/12/00 - add total_prop_time_lat

SQL> Rem liwong 06/29/00 - add total_txn_count, total_prop_time

SQL> Rem liwong 05/17/00 - add_master_db w/o quiesce

SQL> Rem jstamos 05/17/00 - add_master_db w/o quiesce

SQL> Rem elu 01/24/00 - add column apply_init to def$_destination

SQL> Rem alakshmi 12/02/99 - Bug 979398: Before-row insert trigger on

SQL> Rem def$_propagator

SQL> Rem wesmith 10/31/98 - change shape of table def$_pushed_transactions

SQL> Rem jnath 02/23/98 - bug 601972: split anonymous pl/sql blocks

SQL> Rem wesmith 01/21/98 - create def$_pushed_transactions table for

SQL> Rem server-side RepAPI

SQL> Rem nbhatt 07/27/97 - change create_queuetable -> create_queue_table

SQL> Rem nbhatt 04/21/97 - change 'TRACKING' in CREATE_QUEUE to 'DEPENDENCY

SQL> Rem nbhatt 04/21/97 - change syntax of create_queue

SQL> Rem liwong 04/16/97 - Alter view system.AQ$DEF$_AQ{CALL,ERROR}

SQL> Rem liwong 04/11/97 - Fixing defaultdest_primary typo

SQL> Rem jstamos 04/10/97 - remove unneeded indexes

SQL> Rem nbhatt 04/08/97 - change create_qtable to create_queuetable

SQL> Rem jstamos 04/04/97 - tighter AQ integration

SQL> Rem liwong 04/02/97 - Add schema_name, package_name in def$_calldest

SQL> Rem ato 03/31/97 - create_qtable interface change

SQL> Rem liwong 03/25/97 - remove batch_no from def$_tranorder

SQL> Rem liwong 02/24/97 - pctversion --> 0 for def$_aqcall, def$_aqerror

SQL> Rem liwong 02/22/97 - Remove dropping view aq$def$_aqcall

SQL> Rem ademers 02/07/97 - Remove constraint def$_calldest_call

SQL> Rem liwong 01/11/97 - drop and create aq$def$_aqcall (temporary)

SQL> Rem liwong 01/10/97 - Alter view aq$def$_aqcall

SQL> Rem liwong 01/07/97 - Alter default value for batch_no

SQL> Rem jstamos 12/23/96 - change temp$nclob col

SQL> Rem jstamos 11/21/96 - nchar support

SQL> Rem sjain 11/11/96 - Remove dummy buffer # comment

SQL> Rem asgoel 11/05/96 - Disable misc_tracking in def$_aqerror

SQL> Rem sjain 11/06/96 - deferror changes

SQL> Rem vkrishna 10/28/96 - change STORED IN to STORE AS for lob

SQL> Rem sjain 10/02/96 - Aq conversion

SQL> Rem sbalaram 09/24/96 - ARPC performance - add foreign key index

SQL> Rem jstamos 09/06/96 - rename temp$lob and temporarily change nclob

SQL> Rem sjain 09/03/96 - AQ converson

SQL> Rem ademers 08/02/96 - queue_batch default in def_destination

SQL> Rem ademers 07/29/96 - queue_batch default in def_call

SQL> Rem ademers 07/29/96 - queue_batch default

SQL> Rem jstamos 07/24/96 - add system.temp$lob

SQL> Rem sbalaram 07/22/96 - create def$_aqcall and def$_aqerror tables

SQL> Rem jstamos 06/12/96 - LOB support for deferred RPCs

SQL> Rem ldoo 06/28/96 - Comment out queue_table from def_tranorder

SQL> Rem ademers 05/30/96 - create def_origin

SQL> Rem ademers 05/28/96 - fix def_destination col names

SQL> Rem ldoo 05/09/96 - New security model

SQL> Rem sjain 05/01/96 - add seq col to def_destination

SQL> Rem ademers 04/29/96 - add batch_no, dep_scn to def_call

SQL> Rem jstamos 12/04/95 - 324303: use index to avoid sorting the queue

SQL> Rem jstamos 08/17/95 - code review changes

SQL> Rem jstamos 08/16/95 - add comments to tables

SQL> Rem wmaimone 01/04/96 - 7.3 merge

SQL> Rem hasun 01/31/95 - Modify tables.<br>SOLUTION: See ora_sql_results.log and the Oracle documentation for details.

ERROR 2011-01-07 21:22:38

MUT-03025 Caught ESAPinstException in Modulecall: ESAPinstException: error text undefined.

ERROR 2011-01-07 21:22:38

FCO-00011 The step runCatprocSql with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|3|0|NW_OraDbBuild|ind|ind|ind|ind|5|0|runCatprocSql was executed with status ERROR .

Regards

Answers (4)

Answers (4)

Former Member
0 Kudos

On your initial issue- If you executed all of the Root.sh commands manually, why again you are running Root.sh?

And on your create database error -- This is a well known error, just check SAP Note 972263

Apply below solution:

Solution:

There are two ways to resolve this problem:

o Modify control.xml and restart the installation

1. Edit file control.xml in your installation directory (default

sapinst_instdir).

2. Search for "this.runCatproc = "

3. Go to "script.execute_AbortOnFailure();" some lines below.

4. Replace "script.execute_AbortOnFailure();" with "script.execute();".

5. Restart Sapinst and choose "Continue with the Old Option"

Suggest you to close this thread and open a new thread if you face any issue in next phases, Do not create confusion to experts.

Regards,

Nick Loy

Former Member
0 Kudos

Just read the entire Root.sh, there you will get the FILEMAPLOC (Check where script is adding as env).

Regards,

NIck Loy

manoj_nayak2
Participant
0 Kudos

Hello Nick,

I executed

[root@redhat install]# chmod 01777 /var/tmp/.oracle/

[root@redhat install]# chown root /var/tmp/.oracle/

[root@redhat 102_64]# cp /oracle/TST/102_64/bin/fmputl /opt/ORCLfmap/prot1_64/bin

cp: overwrite `/opt/ORCLfmap/prot1_64/bin/fmputl'? Y

[root@redhat 102_64]# cp /oracle/TST/102_64/bin/fmputlhp /opt/ORCLfmap/prot1_64/bin

cp: overwrite `/opt/ORCLfmap/prot1_64/bin/fmputlhp'? Y

[root@redhat 102_64]# chmod 550 /opt/ORCLfmap/prot1_64/bin/fmputl

[root@redhat 102_64]# chmod 4555 /opt/ORCLfmap/prot1_64/bin/fmputlhp

Again i executed

[root@redhat 102_64]# ./root.sh

./root.sh: line 12: 01777: command not found

./root.sh: line 13: root: command not found

./root.sh: line 20: 01777: command not found

./root.sh: line 21: root: command not found

./root.sh: line 63: /bin/fmputl: No such file or directory

./root.sh: line 64: /bin/fmputlhp: No such file or directory

./root.sh: line 65: 550: command not found

./root.sh: line 66: 4555: command not found

Regards

Manoj

Former Member
0 Kudos
root@redhat 102_64# chmod 01777 /var/tmp/.oracle
root@redhat 102_64# pwd

Seems command executed succesfully

Download Root.sh and re-run......do not forget to keep original one as it is with some other name.

OR

Execute all the commands whatever are there in your Root.sh

Regards,

Nick Loy

manoj_nayak2
Participant
0 Kudos

Hi Nick,

-> Execute all the commands whatever are there in your Root.sh

i excuted one by one command but in line 63

$CP $ORACLE_HOME/bin/gmputl $FILEMAPLOC/bin

so i have to execute

#cp /oracle/<SID>/102_64/bin/fmputl $FILEMAPLOC/bin

but where is the $FILEMAPLOC/bin directory?

Regards

Manoj

Former Member
0 Kudos

Execute this command with root user and let us know.

chmod 01777 /var/tmp/oracle

Regards,

Nick Loy

manoj_nayak2
Participant
0 Kudos

Hi Nick,

But oracle directory not exist in /var/tmp

Plz advice.

Regards

Manoj

former_member204746
Active Contributor
0 Kudos

Nick forgot the "dot":

chmod 01777 /var/tmp/.oracle

manoj_nayak2
Participant
0 Kudos

Hi,

i executed same but

[root@redhat 102_64]# chmod 01777 /var/tmp/.oracle

[root@redhat 102_64]# pwd

/oracle/TST/102_64

[root@redhat 102_64]# ./root.sh

./root.sh: line 12: 01777: command not found

./root.sh: line 13: root: command not found

./root.sh: line 20: 01777: command not found

./root.sh: line 21: root: command not found

./root.sh: line 63: /bin/fmputl: No such file or directory

./root.sh: line 64: /bin/fmputlhp: No such file or directory

./root.sh: line 65: 550: command not found

./root.sh: line 66: 4555: command not found

[root@redhat 102_64]#

Any steps i need to follow...

Regards

Manoj