Login  Register

Re: Upgrade R12.1.3 to R12.2

Posted by satish on Feb 25, 2023; 4:15am
URL: http://erman-arslan-s-oracle-forum.124.s1.nabble.com/Upgrade-R12-1-3-to-R12-2-tp11648p11651.html

Dear Erman,


We are following --->https://docs.oracle.com/cd/E26401_01/doc.122/e73540.pdf

Step Finishing the 12.2.0 Upgrade.
Update the DB ORACLE_HOME file system with AutoConfig and Clone files--->Failed



We have ran adbldxml.pl as ran autoconfig,it went fine. Not sure what happened internally.I think,even we are using existing home while upgrading,it is mandatory to run adbldxml.pl?


[oracrp@sssterpdev1 bin]$ perl adbldxml.pl

Starting context file generation for db tier.
Using JVM from /u02/CRP/db/tech_st/11.2.0/appsutil/jre/bin/java to execute java programs..
APPS Password:

The log file for this adbldxml session is located at:
/u02/CRP/db/tech_st/11.2.0/appsutil/log/adbldxml_02251841.log
Java HotSpot(TM) Server VM warning: You have loaded library /u02/CRP/db/tech_st/11.2.0/lib/libnjni11.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
UnsatisfiedLinkError exception loading native library: njni11
java.lang.UnsatisfiedLinkError: /u02/CRP/db/tech_st/11.2.0/lib/libnjni11.so: /u02/CRP/db/tech_st/11.2.0/lib/libnjni11.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)

Could not Connect to the Database with the above parameters, Please answer the Questions below


Enter Hostname of Database server: sssterpdev1

Enter Port of Database server: 1526

Enter SID of Database server: SSSEBSTR

Enter Database Service Name: SSSEBSTR

Enter the value for Display Variable:

Invalid input, reenter the value for Display Variable: sssterpdev1:0.0

Context File  /u02/CRP/db/tech_st/11.2.0/appsutil/SSSEBSTR_sssterpdev1.xml
 already exists.

Overwriting Context File may cause loss of existing settings, hence
 backing it up as: /u02/CRP/db/tech_st/11.2.0/appsutil/SSSEBSTR_sssterpdev1.xml.bak



The context file has been created at:
/u02/CRP/db/tech_st/11.2.0/appsutil/SSSEBSTR_sssterpdev1.xml
[oracrp@sssterpdev1 bin]$


[oracrp@sssterpdev1 bin]$ adconfig.sh
Enter the full path to the Context file: /u02/CRP/db/tech_st/11.2.0/appsutil/SSSEBSTR_sssterpdev1.xml
Enter the APPS user password:
The log file for this session is located at: /u02/CRP/db/tech_st/11.2.0/appsutil/log/SSSEBSTR_sssterpdev1/02251843/adconfig.log

AutoConfig is configuring the Database environment...

AutoConfig will consider the custom templates if present.
        Using ORACLE_HOME location : /u02/CRP/db/tech_st/11.2.0
        Classpath                   : :/u02/CRP/db/tech_st/11.2.0/jdbc/lib/ojdbc6.jar:/u02/CRP/db/tech_st/11.2.0/appsutil/java/xmlparserv2.jar:/u02/CRP/db/tech_st/11.2.0/appsutil/java:/u02/CRP/db/tech_st/11.2.0/jlib/netcfg.jar:/u02/CRP/db/tech_st/11.2.0/jlib/ldapjclnt11.jar

        Using Context file          : /u02/CRP/db/tech_st/11.2.0/appsutil/SSSEBSTR_sssterpdev1.xml

Context Value Management will now update the Context file
Java HotSpot(TM) Server VM warning: You have loaded library /u02/CRP/db/tech_st/11.2.0/lib/libnjni11.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
UnsatisfiedLinkError exception loading native library: njni11
java.lang.UnsatisfiedLinkError: /u02/CRP/db/tech_st/11.2.0/lib/libnjni11.so: /u02/CRP/db/tech_st/11.2.0/lib/libnjni11.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)

        Updating Context file...COMPLETED

        Attempting upload of Context file and templates to database...COMPLETED

Updating rdbms version in Context file to db112
Updating rdbms type in Context file to 64 bits
Configuring templates from ORACLE_HOME ...

AutoConfig completed successfully.
[oracrp@sssterpdev1 bin]$
[oracrp@sssterpdev1 bin]$

Thanks,
Satish