Bimal asked me about this one. While running adconfig on an R12 clone, the following error was being reported:
Unique constraint error (00001) is OK if key already exists
Creating the DBC file...
java.sql.SQLException: SO Exception was generated
Database connection to jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS=(PROTOCOL=tcp)(HOST=R1213q2.justanexample.com)(PORT=1553)))(CONNECT_DATA=)) failed
ADD call failed with exit code 1
Updating Server Security Authentication
java.sql.SQLException: Invalid number format for port number
Database connection to jdbc:oracle:thin:@host_name:port_number:database failed
Updating Server Security Authentication failed with exit code 1
Restoring DBC file from backed up location $INST_TOP/appltmp/TXK/R1213q2_Wed_Aug_17_14_32_2011.dbc
adgendbc.sh ended at Wed Aug 17 14:32:04 EDT 2011
adgendbc.sh exiting with status 1
ERRORCODE = 1 ERRORCODE_END
.end std out.
.end err out.
****************************************************
We noticed the blank CONNECT_DATA and did node cleanup and re-ran autoconfig. However it still failed:
Unique constraint error (00001) is OK if key already exists
Creating the DBC file...
java.sql.SQLRecoverableException: No more data to read from socket raised getting GUEST_USER_PWD - ignoring
java.sql.SQLRecoverableException: No more data to read from socket- Database error performing ADD
ADD call failed with exit code 1
Updating Server Security Authentication
java.sql.SQLException: Invalid number format for port number
Database connection to jdbc:oracle:thin:@host_name:port_number:database failed
Updating Server Security Authentication failed with exit code 1
Restoring DBC file from backed up location $INST_TOP/appltmp/TXK/R1213q2_Wed_Aug_17_16_11_2011.dbc
adgendbc.sh ended at Wed Aug 17 16:11:16 EDT 2011
adgendbc.sh exiting with status 1
ERRORCODE = 1 ERRORCODE_END
.end std out.
Unable to update GUEST_USER_PWD in database to GUEST/ORACLE - java.sql.SQLRecoverableException: No more data to read from socket
After a lot of searching in My Oracle Support I found this article: Adgendbc Fails With Database Connection Failure [ID 1302708.1]. It asked us to do this:
The following change to the database parameters allows Autoconfig, and specifically adgenfbc.sh, to complete successfully. Please make this change and then re-run autoconfig.
alter system set JAVA_JIT_ENABLED= FALSE scope = both;
We did this, but the error still appeared.
So we bounced the database. After bouncing the database it worked fine:
$ cd $INST_TOP/admin/install
$ ./adgendbc.sh
adgendbc.sh started at Wed Aug 17 16:20:52 EDT 2011
Enter the APPS username: apps
Enter the APPS password:
SQL*Plus: Release 10.1.0.5.0 - Production on Wed Aug 17 16:21:02 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter value for 1: Enter value for 2: Enter value for 3: Connected.
[ APPS_DATABASE_ID ]
Application Id : 0
Profile Value : orpogpq2
Level Name: SITE
INFO : Updated/created profile option value.
.
PL/SQL procedure successfully completed.
Commit complete.
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, Oracle Label Security, OLAP, Data Mining
and Real Application Testing options
==============================
* * * * DBC PARAMETERS * * * *
==============================
fnd_jdbc_buffer_min=1
fnd_jdbc_buffer_max=5
fnd_jdbc_buffer_decay_interval=300
fnd_jdbc_buffer_decay_size=5
fnd_jdbc_usable_check=false
fnd_jdbc_context_check=true
fnd_jdbc_plsql_reset=false
====================================
* * * * NO CUSTOM PARAMETERS * * * *
====================================
Unique constraint error (00001) is OK if key already exists
Creating the DBC file...
ADD executed successfully - $INST_TOP/appl/fnd/12.0.0/secure/orpogpq2.dbc
Updating Server Security Authentication
AUTHENTICATION SECURE executed successfully - $INST_TOP/appl/fnd/12.0.0/secure/R1213q2.dbc
adgendbc.sh ended at Wed Aug 17 16:21:39 EDT 2011
adgendbc.sh exiting with status 0
ERRORCODE = 0 ERRORCODE_END
Blog dedicated to Oracle Applications (E-Business Suite) Technology; covers Apps Architecture, Administration and third party bolt-ons to Apps
Showing posts with label R12. Show all posts
Showing posts with label R12. Show all posts
Wednesday, August 17, 2011
Friday, August 21, 2009
AC-00002: Error: Unable to create log file
Makarand was doing a Fresh R12 install. The install was successful on the Database Node and Primary Application Node. On Primary Application node only 'Batch Processing Services' are enabled.
However while installing on the additonal application node the rapidwiz was giving errors
'AC-00002: Error: Unable to create log file - $INST_TOP/$CONTEXT_NAME/logs/08031631.log
Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: AC-00002: Unable to create log file -
$INST_TOP/$CONTEXT_NAME/logs/08031631.log
Makarand had tried installing multiple times but every time it failed with the same message
The truss of the rapidwiz process showed this:
/40: open64("$INST_TOP/$CONTEXT_NAME/logs/08200953.log",
O_WRONLY|O_APPEND|O_CREAT, 0666) Err#13 EACCES
Here’s the reason for the failure:
apps11i is the app tier and you are trying to write to an NFS mount. If you access an NFS mount from a server other than its origin, the root user of the application server is treated as nobody user. I verified this by touching a file while logged in as root:
-rw-r--r-- 1 nobody nobody 0 Aug 20 10:59 abc
This happens if the NFS share is shared without root= in the NFS mount command.
An examination of the /etc/dfs/dfstab file revealed that:
share -F nfs -o rw=visionerp.justanexample.com,root=visionerp.justanexample.com /gpshpc76/custom
share -F nfs -o rw=erpr12.justanexample.com,root=erpr12.justanexample.com /erpr12/erpapp
share -F nfs -o rw=erp11i.justanexample.com,root=erp11i.justanexample.com /erp11i/erpapp
If you compare the last line with a line for other instances it clearly shows that the application server has no read write rights and no root equivalence. I corrected this by executing this command:
share -F nfs -o rw=apps11i.justanexample.com,root=apps11i.justanexample.com /arpsysd1/erpapp
I also corrected it in the /etc/dfs/dfstab.
After this we retried the rapidwiz and it worked.
However while installing on the additonal application node the rapidwiz was giving errors
'AC-00002: Error: Unable to create log file - $INST_TOP/$CONTEXT_NAME/logs/08031631.log
Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: AC-00002: Unable to create log file -
$INST_TOP/$CONTEXT_NAME/logs/08031631.log
Makarand had tried installing multiple times but every time it failed with the same message
The truss of the rapidwiz process showed this:
/40: open64("$INST_TOP/$CONTEXT_NAME/logs/08200953.log",
O_WRONLY|O_APPEND|O_CREAT, 0666) Err#13 EACCES
Here’s the reason for the failure:
apps11i is the app tier and you are trying to write to an NFS mount. If you access an NFS mount from a server other than its origin, the root user of the application server is treated as nobody user. I verified this by touching a file while logged in as root:
-rw-r--r-- 1 nobody nobody 0 Aug 20 10:59 abc
This happens if the NFS share is shared without root=
An examination of the /etc/dfs/dfstab file revealed that:
share -F nfs -o rw=visionerp.justanexample.com,root=visionerp.justanexample.com /gpshpc76/custom
share -F nfs -o rw=erpr12.justanexample.com,root=erpr12.justanexample.com /erpr12/erpapp
share -F nfs -o rw=erp11i.justanexample.com,root=erp11i.justanexample.com /erp11i/erpapp
If you compare the last line with a line for other instances it clearly shows that the application server has no read write rights and no root equivalence. I corrected this by executing this command:
share -F nfs -o rw=apps11i.justanexample.com,root=apps11i.justanexample.com /arpsysd1/erpapp
I also corrected it in the /etc/dfs/dfstab.
After this we retried the rapidwiz and it worked.
Monday, February 2, 2009
Version Conflicts utility failed
Mohan pinged me about one issue in R12 upgrade. He had successfully installed R12 on DB node and primary node file system. However he was facing issues on secondary node.
Here are the steps for the workaround:
1. Do the installation using the setting that you require. This will fail due to the bug. (if you have a current failed installation then use that)
2. Copy the config file ($INST_TOP/conf_.txt) from the failed Installation file to a different location and modify the s_javatop variable with the correct value :
For example :
change from:
s_javatop=/u00/TEST/apps/apps_st/comn/java/classes
to:
s_javatop=/u00/TEST/maxcomn/java/classes
(Change other variables if they are incorrect if any)
3. Delete the failed install but preserve the modified conf_.txt . ie delete evrything but the altered config file.
4. Point the /etc/oraInst.loc to a new location to create a new oraInventory, or delete if you are using a single oraInventory for each installation. If this is the only installation on this Node then delete the current oraInventory.
5. Install using the modified config file as follows :
rapidwiz -silent -config.txt
For Example :
$ rapidwiz -silent -config /u00/TEST/conf_TEST.txt
The current s_javatop in config file was
/R12/appl/apps_st/apps/apps_st/comn/java/classes
This was changed to
/R12/appl/apps_st/R12comn/java/classes
Mohan said that it is really a bug. He had checked config file for the other two nodes and s_javatop was correctly set on those, but for 3rd node it is set differently
Mohan deleted the sid_host directory from inst_top and started rapidwiz
This was a shared application file system. This was the error:
RW-50016: Error: - APPL_TOP environment file was not created:
File = /R12/appl/apps_st/R12appl/$CONTEXT_NAME.env
ADOVARS environment file passes instantiated variables test:
File = $APPL_TOP/admin/adovars.env
APPSCONFIG passes instantiated variables test:
File = $APPL_TOP/admin/adconfig.txt
File = /R12/appl/apps_st/R12appl/$CONTEXT_NAME.env
ADOVARS environment file passes instantiated variables test:
File = $APPL_TOP/admin/adovars.env
APPSCONFIG passes instantiated variables test:
File = $APPL_TOP/admin/adconfig.txt
in autoconfig log file is see this error
Starting AutoConfig at Thu Feb 5 13:22:01 2009
Using adconfig.pl version 120.16.12000000.8
Classpath : $OA_JAVA/lib/appsborg2.zip:$OA_JAVA/classes
ERROR: Version Conflicts utility failed.
Terminate.
A quick search on metalink yielded note 559806.1
Using adconfig.pl version 120.16.12000000.8
Classpath : $OA_JAVA/lib/appsborg2.zip:$OA_JAVA/classes
ERROR: Version Conflicts utility failed.
Terminate.
A quick search on metalink yielded note 559806.1
Here are the steps for the workaround:
1. Do the installation using the setting that you require. This will fail due to the bug. (if you have a current failed installation then use that)
2. Copy the config file ($INST_TOP/conf_
For example :
change from:
s_javatop=/u00/TEST/apps/apps_st/comn/java/classes
to:
s_javatop=/u00/TEST/maxcomn/java/classes
(Change other variables if they are incorrect if any)
3. Delete the failed install but preserve the modified conf_
4. Point the /etc/oraInst.loc to a new location to create a new oraInventory, or delete if you are using a single oraInventory for each installation. If this is the only installation on this Node then delete the current oraInventory.
5. Install using the modified config file as follows :
rapidwiz -silent -config
For Example :
$ rapidwiz -silent -config /u00/TEST/conf_TEST.txt
The current s_javatop in config file was
It ran fine and generated the env file.
Subscribe to:
Posts (Atom)