Home » RDBMS Server » Server Administration » Rc-50004 error when executing adcfgclone.pl (OEBS 12.0.6, red hat 4,)
Rc-50004 error when executing adcfgclone.pl [message #408139] Sun, 14 June 2009 13:06 Go to next message
oernstrup
Messages: 2
Registered: June 2009
Junior Member
Hi OraFaq

Im trying to clone my 12.0.6 Oracle Ebusiness suite,I have followed the Metalink note 406982.1(Cloning Oracle Applications Release 12 with Rapid Clone) note from Metalink as my cloning-guide.

Every thing went ok, until i got to the "config the target system" part here is it asiking med to execute the adcfgclone.pl script on the target system:

"perl adcfgclone.pl dbTier"


but when i'm executing this scripte does i keep getting this error:
"50 % complete : Rc-50004 Fatal: Error occurred in ApplyDatabase
Error while running Apply..."


I have checked the ApplyDbTier log for error an found this one:

---------------------------------------------------------------
                   ADX Database Utility                        
---------------------------------------------------------------

getConnection() -->
    sDbHost    : oracle380
    sDbDomain  : readsoft.local
    sDbPort    : 1523
    sDbSid     : rs380
    sDbUser    : apps
    Trying to connect using SID...
getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@oracle380.readsoft.local:1523:rs380
    Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory


I have attached the ApplyDbTier-log for further investigation. Razz

PS: I have sourced the environment with any Oracle specific environment files, and executing the script as the oracle user.

I hope somebody can help me with this problem?

best regards

Jakob

Re: Rc-50004 error when executing adcfgclone.pl [message #408140 is a reply to message #408139] Sun, 14 June 2009 13:22 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
Is the source DB up & running?

CUT the commands below & then paste into a terminal/command window

env | sort
lsnrctl status
lsnrctl servive
pwd

Now CUT the commands & results & PASTE (post) them back here.
Re: Rc-50004 error when executing adcfgclone.pl [message #408143 is a reply to message #408140] Sun, 14 June 2009 14:40 Go to previous messageGo to next message
oernstrup
Messages: 2
Registered: June 2009
Junior Member
ENV |SORT RESULT:

[oracle@oracle380 oracle]$ env | sort
_=/bin/env
G_BROKEN_FILENAMES=1
HISTSIZE=1000
HOME=/home/oracle
HOSTNAME=oracle380.readsoft.local
INPUTRC=/etc/inputrc
LANG=en_US.UTF-8
LESSOPEN=|/usr/bin/lesspipe.sh %s
LOGNAME=oracle
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:
MAIL=/var/spool/mail/oracle
PATH=/oracle/jst/jdk1.5.0_05/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oracle/bin
PWD=/home/oracle
QTDIR=/usr/lib/qt-3.1
SHELL=/bin/bash
SHLVL=1
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SSH_CLIENT=176.2.3.2 2940 22
SSH_CONNECTION=176.2.3.2 2940 172.20.1.151 22
SSH_TTY=/dev/pts/0
TERM=vt100
USER=oracle


sourcing the environment:. /oracle/db/tech_st/10.2.0/rs380_oracle30.env

LSNRCTL STATUS RESULT:
[oracle@oracle380 10.2.0]$ lsnrctl status

LSNRCTL for Linux: Version 10.2.0.3.0 - Production on 18-MAY-2009 22:04:00

Copyright (c) 1991, 2006, Oracle.  All rights reserved.

Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
------------------------
Alias                     rs380
Version                   TNSLSNR for Linux: Version 10.2.0.3.0 - Production
Start Date                18-MAY-2009 19:47:24
Uptime                    0 days 2 hr. 16 min. 36 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /oracle/db/tech_st/10.2.0/network/admin/rs380_oracle380/listener.ora
Listener Log File         /oracle/db/tech_st/10.2.0/network/admin/rs380.log
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle380.readsoft.local)(PORT=1521)))
Services Summary...
Service "rs380" has 1 instance(s).
  Instance "rs380", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
[oracle@oracle380 10.2.0]$ 


LSNRCTL SERVICE RESULT:
[oracle@oracle380 10.2.0]$ lsnrctl service

LSNRCTL for Linux: Version 10.2.0.3.0 - Production on 18-MAY-2009 22:04:53

Copyright (c) 1991, 2006, Oracle.  All rights reserved.

Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
Services Summary...
Service "rs380" has 1 instance(s).
  Instance "rs380", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
      "DEDICATED" established:0 refused:0
         LOCAL SERVER
The command completed successfully
[oracle@oracle380 10.2.0]$ 



Re: Rc-50004 error when executing adcfgclone.pl [message #408144 is a reply to message #408139] Sun, 14 June 2009 14:55 Go to previous message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
I wanted to see your environment after
>sourcing the environment:
>. /oracle/db/tech_st/10.2.0/rs380_oracle30.env

Is the source DB up & running?
remains unanswered.

Post results from the following:

ps -ef | grep -i oracle | grep -i mon

> Metalink note 406982.1(Cloning Oracle Applications Release 12 with Rapid Clone)
I'll confess I have no 1st hand knowledge of Oracle Apps or utilities.
Previous Topic: resource_limit problem
Next Topic: DBCA on Putty
Goto Forum:
  


Current Time: Fri Nov 29 13:25:48 CST 2024