Share the content if you found it is useful (You can share using 300 community websites) click "share" at the end of the post.

You are encouraged to leave a comment.








Thursday, September 24, 2015

txkCloneAcquirePort.pl ERROR : Input server name does not match with system host name

While fs_clone at 12.2.4,

We receive an error,

Cause: Server Hostname in capital. (example ABCDEFG.hijk.com)

Context hostname in Small letters (eg: abcdefg.hijk.com)


Error:

Executing command: /u01/install/VISION/fs2/FMW_Home/webtier/perl/bin/perl -I /u01/install/VISION/fs2/FMW_Home/webtier/perl/lib/5.10.0 -I /u01/install/VISION/fs2/FMW_Home/webtier/perl/lib/site_perl/5.10.0 -I /u01/install/VISION/fs2/EBSapps/appl/au/12.0.0/perl -I /u01/install/VISION/fs2/FMW_Home/webtier/ohs/mod_perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi /u01/install/VISION/fs1/inst/apps/VIS12243_lo64blwv3/admin/install/txkCloneAcquirePort.pl -option=close -server=lo64blwv3.apploadcloud.com -ports=7411,7611,7811,7211,5566,7011 -log=/u01/install/VISION/fs1/inst/apps/VIS12243_lo64blwv3/admin/log/clone/wlsT2PApply/txkCloneAcquirePort.log


cript Executed in 201 milliseconds, returning status 1
ERROR: Script /u01/install/VISION/fs1/inst/apps/VIS12243_lo64blwv3/admin/install/txkCloneAcquirePort.pl failed, exit code 1
[oracle@LO64BLWV3 wlsConfig_apply]$ cat /u01/install/VISION/fs1/inst/apps/VIS12243_lo64blwv3/admin/log/clone/wlsT2PApply/txkCloneAcquirePort.log
Script Name    : txkCloneAcquirePort.pl
Started        : Wed Sep 23 08:23:42 EDT 2015

ERROR : Input server name does not match with system host name

Completed      : Wed Sep 23 08:23:42 EDT 2015



Fix:

Edit the file

/u01/install/VISION/fs1/inst/apps/VIS12243_lo64blwv3/admin/log/clone/wlsT2PApply/txkCloneAcquirePort.log

#######################################
# validate if servername supplied is
# same as localhost
#######################################
sub validateLocalHost{

        my @srvArray1 = split('\.', $gConfig{$server});
        my $inputSrvHostName = $srvArray1[0];

        my $systemHost = lc(hostname());
        my @srvArray2 = split('\.', $systemHost);
        my $systemHostName = $srvArray2[0];

        if ("$inputSrvHostName" ne "$systemHostName"){
                logMessage ("\nERROR : Input server name does not match with system host name\n");
                exitFromScript(1);
        }
}


This will go off after an autoconfig.

So, make a permenant change in the file.

$AD_TOP/admin/template/txkCloneAcquirePort_pl.tmp




Cheers!!!

Wednesday, September 09, 2015

After AD.C.Delta 6 and TXK.6 the issue with adop phase=fs_clone

After AD.C.Delta.6 and TXK.6,

when running

$adop phase=fs_clone,

we hit with an issue:

Validating system setup...
Node registry is valid.

Checking for pending adop sessions...
No pending session exists.
Staging new adop session...
[ERROR] Failed to execute SQL statement :
begin
ad_zd_adop.INSERT_ADD_NODE_RECORDS;
end;

[ERROR] Error Message :
[ERROR] ORA-20010: ORA-01403: no data found
[ERROR] ORA-06512: at "APPS.AD_ZD_ADOP", line 2790
[ERROR] ORA-06512: at line 2 (DBD ERROR: OCIStmtExecute)
[UNEXPECTED]Error occurred while adding new node information
[UNEXPECTED]Unrecoverable error occured. Exiting the current session.


[STATEMENT] Please run adopscanlog utility, using the command

"adopscanlog -latest=yes"

to get the list of the log files along with snippet of the error message corresponding to each log file.


adop exiting with status = 2 (Fail)


When we open the AD_ZD_ADOP package body and changed the lines

From this
cursor new_nodes is
        select node_name
          from adop_valid_nodes
         where node_name not in (select node_name from ad_adop_sessions
                                  where adop_session_id = (select max(adop_session_id) from
                                                           ad_adop_sessions));

  cursor available_nodes is
        select node_name from ad_adop_sessions
         where adop_session_id = (select max(adop_session_id) from
                                  ad_adop_sessions)
           and node_name in (select node_name from
                             adop_valid_nodes)
         order by node_name;


to
 cursor new_nodes is
        select UPPER(node_name) node_name
          from adop_valid_nodes
         where node_name not in (select node_name from ad_adop_sessions
                                  where adop_session_id = (select max(adop_session_id) from
                                                           ad_adop_sessions));

  cursor available_nodes is
        select node_name from ad_adop_sessions
         where adop_session_id = (select max(adop_session_id) from
                                  ad_adop_sessions)
           and node_name in (select UPPER(node_name) from
                             adop_valid_nodes)
         order by node_name;



and compile the package and package body.



We were able to complete the fs_clone successfully.
 Generating log report...
    Output: /u01/install/APPS/fs_ne/EBSapps/log/adop/26/fs_clone_20150909_040049/PRD12241_LO64BLWPA1/adzdshowlog.out

adop phase=fs_clone - Completed Successfully

Issue identified,

May be because of our hostname all in caps.

Monday, September 07, 2015

Process finder by Port

Process finder by port and killing

If port assignments are all in order and you need to diagnose what process is holding the port, on Linux use the following commands.  If an Oracle Knowledge process did not shut down completely it could still be holding onto the port.  In this case collect the diagnostic information below and open an SR to Oracle Knowledge support.
- To see if something is holding the port where the port is 8009
netstat -al | grep 8009
- To find all processes holding on to ports
lsof -i -n -P
- To find the process holding the port this will return a process type and pid
lsof -i tcp:8009
- To see what process it is.
ps -ef | grep -i
- To produce a dump of what the process could be doing to submit to Oracle support.
kill -3




Configuration of JAVA MIssion Control (JMX) for multiple Managed Servers installed in the same Server

While configuring, the JMX for the developers,

I got the error like:
Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: ; 
nested exception is:
java.net.BindException: Address already in use: JVM_Bind


If we need to monitor the Java using JMC (Java Mission Control), you need 1.7.0 U40 or higher.

Install the latest Java SE Development Kit in your laptop.

Edit the startWeblogic.sh at $DOMAIN_HOME/bin



Hashout all the lines starting from
#START WEBLOGIC to
Before
stopAll


It will be like:
# START WEBLOGIC
echo "starting weblogic with Java version:"

${JAVA_HOME}/bin/java ${JAVA_VM} -version

if [ "${WLS_REDIRECT_LOG}" = "" ] ; then
        echo "Starting WLS with line:"

        echo "${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} -Dweblogic.Name=${SERVER_NAME} -Djava.security.policy=${WL_HOME}/server/lib/weblogic.policy ${JAVA_OPTIONS} ${PROXY_SETTINGS} ${SERVER_CLASS}"


echo $JAVA_OPTIONS

        ${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} -Dweblogic.Name=${SERVER_NAME} -Djava.security.policy=${WL_HOME}/server/lib/weblogic.policy ${JAVA_OPTIONS} ${PROXY_SETTINGS} ${SERVER_CLASS}
else
        echo "Redirecting output from WLS window to ${WLS_REDIRECT_LOG}"
        ${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} -Dweblogic.Name=${SERVER_NAME} -Djava.security.policy=${WL_HOME}/server/lib/weblogic.policy ${JAVA_OPTIONS} ${PROXY_SETTINGS} ${SERVER_CLASS}  >"${WLS_REDIRECT_LOG}" 2>&1
fi
 
stopAll

TO

# START WEBLOGIC

echo "starting weblogic with Java version:"

${JAVA_HOME}/bin/java ${JAVA_VM} -version
if [ "${WLS_REDIRECT_LOG}" = "" ] ; then
        echo "Starting WLS with line:"
if [ "${SERVER_NAME}" = "" ] ; then
        SERVER_NAME="AdminServer"
        export SERVER_NAME
fi
echo  "${SERVER_NAME}"
sleep 10
if [ "${SERVER_NAME}" = "AdminServer" ]; then
echo "Inside AdminServer***********************************************"
        echo "${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} -Dweblogic.Name=${SERVER_NAME} -Djava.security.policy=${WL_HOME}/server/lib/weblogic.policy ${JAVA_OPTIONS} ${PROXY_SETTINGS} ${SERVER_CLASS}"
JAVA_OPTIONS="${JAVA_OPTIONS} -Djava.rmi.server.hostname=voim01ay.chainsys.com -Dcom.sun.management.jmxremote.port=7091 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false"
echo $JAVA_OPTIONS

        ${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} -Dweblogic.Name=${SERVER_NAME} -Djava.security.policy=${WL_HOME}/server/lib/weblogic.policy ${JAVA_OPTIONS} ${PROXY_SETTINGS} ${SERVER_CLASS}
else
echo "Inside Other Domains **********************************************"
        ${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} -Dweblogic.Name=${SERVER_NAME} -Djava.security.policy=${WL_HOME}/server/lib/weblogic.policy ${JAVA_OPTIONS} ${PROXY_SETTINGS} ${SERVER_CLASS}
fi

else
        echo "Redirecting output from WLS window to ${WLS_REDIRECT_LOG}"

if [ "${SERVER_NAME}" = ="AdminServer"] ; then
echo "Inside AdminServer***********************************************"
        echo "${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} -Dweblogic.Name=${SERVER_NAME} -Djava.security.policy=${WL_HOME}/server/lib/weblogic.policy ${JAVA_OPTIONS} -Djava.rmi.server.hostname=voim01ay.chainsys.com -Dcom.sun.management.jmxremote.port=7091 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false ${PROXY_SETTINGS}  ${SERVER_CLASS} >"${WLS_REDIRECT_LOG}"" 2>&1

JAVA_OPTIONS="${JAVA_OPTIONS} -Djava.rmi.server.hostname=voim01ay.chainsys.com -Dcom.sun.management.jmxremote.port=7091 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false"
echo $JAVA_OPTIONS

        ${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} -Dweblogic.Name=${SERVER_NAME} -Djava.security.policy=${WL_HOME}/server/lib/weblogic.policy ${JAVA_OPTIONS}  ${PROXY_SETTINGS} ${SERVER_CLASS} >"${WLS_REDIRECT_LOG}" 2>&1
else
echo "Inside Other Domains **********************************************"
        ${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} -Dweblogic.Name=${SERVER_NAME} -Djava.security.policy=${WL_HOME}/server/lib/weblogic.policy ${JAVA_OPTIONS} ${PROXY_SETTINGS} ${SERVER_CLASS}  >"${WLS_REDIRECT_LOG}" 2>&1
fi
fi

stopAll

After this, start the weblogic 
Check the port 7091 has been listening

[oracle@voim01ay bin]$ netstat -an |grep 7091

tcp        0      0 :::7091                     :::*                        LISTEN

Restart all the servers
 



From the Client (Desktop) start the Java Mission Control
 Click the Icon mentioned

Fill in the machine name and port
The connection details.

 




 



Click Next
Start JMXConsole
 
 




Related Posts Plugin for WordPress, Blogger...

Let us be Friends...

Share |

Popular Posts

Labels

11.5.1. to 11.5.5 Cloning Procedure. 11g 11i 11i and R12 11i Autoconfig 11i Cloning 12.1.1 SSL 2 Node RAC Adconfig.sh errors out adgennls.pl adop Advanced Replication Apache version Apex Apex for Oracle database Apex Installation Apex Installation on Oracle E Business Suite. 11i with Apex Apex on 11i Apex on Oracle 11i Apex402 apexins.sql APPL_TOP Character Application Express Application server Issue APPLSYS password Apps Password Asynchronous Replication Autoconfig Autoconfig Managed Beehive Bit of operating system Block block media corrupt BPEL Central Inventory Character Set Conversion Cloning of 11i Cloning of Oracle Applications Clusterware Concurrent CPU 2011 CPU 2012 April CPU 2012 January. CPU 2012 October CRS custom top Custom Top Creation Database . Database Query Dataguard DBMS_REPAIR Demantra . Domain Name E Business Suite Migration EBS 12.2 EPM exp/imp Oracle Applications Flashback table flows_020200 FND_TOP/resource FNDCPASS FNDCPUCF Forms server upgrade Forms startup FRM-92101 Fusion Middleware Hostname Hot Backup Hot cloning HotBackup Hotbackup Cloning of Oracle Apps hrglobal.drv. NLS Saudi Arabian HRMS hyperion Import and Export Oracle Applications Install Oracle Installation of R12 Installation Steps integration Oracle EBS Issues Database issues Oracle EBS Issues with Upgrade 12.1.1 Java Mission Control Java Upgrade java/sql/SavePoint JInitiator Junk Characters Language Translation Linux Linux Migration listener trace Listner version Local Inventory Login Page Master-Master Replication Memory Tuning Multiple Language NLS Non-Autoconfig Enabled OBIEE 11g Installation OBIEE Issues OIM Opatch version OpenSSL ora-01031 Oracle oracle 11g Oracle Announcement Oracle Application servers Oracle Application services Oracle Applications Oracle Applications 11i oracle applications 12.2 Oracle Applications Cloning Oracle Applications Upgrade Oracle Applications. Oracle Apps cloning Oracle BPEL oracle certifications oracle database Oracle Database RMAN Oracle Database upgradation Oracle DB oracle E Business suite 12.2 Oracle EBS oracle EPM Oracle Forms Logo oracle Fusion Applications Oracle Inventory oracle news Oracle OUI Oracle R12 oracle Sun Solaris Oracle Tuning Oracle Virtual Box Oracle Webgate Oracle WMA configuration orcladmin password for Oracle Applications Pasta Configuration pasta.cfg patch PDF Performance Physical Standby Platform migration Printer Configuration Profile Option R12 RAC Rapid Install Rapidwiz Real Application Clusters 10g Recovery RMAN RMAN Recovery SA Gosi Service Oriented Architecture SOA SQLTXPLAIN SSL Configuration step-by-step upgrade Sun solaris Swap Tablespace Trace Enable Trace file Translation Synchronization Patch transport tablespace tuning Tuning SGA uifont.ali Underscore Universal Content Management updates.oracle.com Upgradation of 12.0.5 to 12.1.1 Upgrade Upgrade 11g Upgrade Apps Upgrade DB Upgrade to 11g UTF8 version of oracle applications versions Web server upgrade weblogic windows workflow version XML Publisher version