Documente Academic
Documente Profesional
Documente Cultură
ATTRIBUTE6 VARCHAR2(150)
ATTRIBUTE7 VARCHAR2(150)
ATTRIBUTE8 VARCHAR2(150)
ATTRIBUTE9 VARCHAR2(150)
ATTRIBUTE10 VARCHAR2(150)
ATTRIBUTE11 VARCHAR2(150)
ATTRIBUTE12 VARCHAR2(150)
ATTRIBUTE13 VARCHAR2(150)
ATTRIBUTE14 VARCHAR2(150)
ATTRIBUTE15 VARCHAR2(150)
COLUMN1 VARCHAR2(30)
APP_SOURCE_VERSION VARCHAR2(255)
CATEGORY_ID NUMBER
STATUS VARCHAR2(30)
In our largest environment, this table has 12752217 rows. We have had performanc
e issues with patches which try to update this table. A datafix patch specifical
ly developed by Oracle for our environment hangs while executing this statement:
UPDATE fnd_attached_documents fad
SET (created_by, last_updated_by) =
(SELECT nvl(paha.created_by,fad.created_by), nvl(paha.created_by,fad.last_updat
ed_by)
FROM pon_auction_headers_all paha
WHERE fad.pk1_value = paha.auction_header_id
)
WHERE fad.entity_name = 'PON_AUCTION_ITEM_PRICES_ALL'
AND fad.created_by = 1
AND exists
(SELECT '1'
FROM pon_auction_item_prices_all pai,
pon_auction_headers_all paha1
WHERE fad.pk1_value = to_char(pai.auction_header_id)
AND fad.pk2_value = to_char(pai.line_number)
AND paha1.auction_header_id = pai.auction_header_id
AND pai.rowid BETWEEN l_start_rowid AND l_end_rowid);
We have waited for 24 hours before aborting the patch. Oracle is yet to give us
a good reason why this query hangs.
at 6:59 AM
3 comments:
Labels: FND_ATTACHED_DOCUMENTS
This is one of my favorite problems. I have posted about this problem before. Th
e problem exhibited is same but the cause is always different. Here's the latest
one I found. In one of the releases last year, I had tried to push Sun JRE clie
nt and replace Jinitiator. At that time, Sun JRE client was an early adopter pro
gram and was not certified. During testing, the team faced the lost focus proble
m and there was so much hue and cry that it was abandoned. In 2008, a new releas
e and a new clone, I am told about a problem where Jinitiator doesn't launch on
clicking any of the forms based options. Strangely it works on some PCs and does
n't work on others. It works on all DBA's PCs but doesn't work on the PCs of the
people who have to do the actual testing. One common thing I noticed is that on
the PCs where this was working, it was working with IE but not with Firefox. La
unching with Firefox would give the message, you require to install Sun JRE 1.5.
0_07. After almost half a day of trying out different stuff, Akhilesh suggested
that we check the appsweb.cfg file and found that it had the plugin=jdk instead
of plugin=jinit. Once this was changed to plugin=jinit and Apache was bounced, i
t started working for everyone. And yes it started working in Firefox browser to
o. A quick comparison of the context files revealed the variable s_sun_plugin wh
ose value was set to jinit in a working instance and set to jdk in case of this
instance.
Posted by Vikram Das
at 9:06 AM
No comments:
at 8:52 AM
5 comments:
After a fresh clone, notification mails sent through Workflow Notification Maile
r were not going out. These were the steps taken to fix this issue:
a. Shut down the workflow listeners.
b. Follow the Note 372933.1 and recreate the wf_notification_out queue as follow
s:
sqlplus apps/ @$FND_TOP/patch/115/sql/wfntfqup.sql APPS
APPLSYS
c. Start up the workflow listeners.
The note 372933.1 describes How to purge e-mail notifications from the workflow
queue so the e-mail is not sent.
I found another metalink note 432663.1 (Best Practice for Enabling Email Events
in an Oracle EBS Testing Environment) authored by an Oracle customer which recom
mends:
Infrastructure Setups (One-time)
1. Created a generic email account TestOracle@yourdomain.com. In our case, we us
e Microsoft Exchange/Outlook with Active Directory.
2. Set the permissions of the INBOX folder of the generic email account to allow
a development team distribution list (DL) to have OWNER privilege.
a. It's easier to use a distribution list to open up and manage access to the IN
BOX folder. This is an added benefit as it exposes the whole team to email activ
ity generated during testing.
b. The OWNER privilege will allow any test team member of the distribution list
to read and reply to Oracle generated email notifications.
3. If running Purchasing, we take the additional steps of setting up these defau
lt usernames in the system. By doing this in production, we establish default te
sting accounts. In production these accounts are disabled and re-enabled only in
our testing environments. How to structure these accounts as people within the
Purchasing Hierarchy is beyond the scope of this document. Listed below are some
suggested people and levels:
TEST_APPROVER I
TEST_APPROVER II
TEST_APPROVER III
TEST_BUYER
TEST_REQ
Post Cloning Setups (After Each Clone)
There are numerous post cloning activities that are performed on an instance tak
en from the production copy. Below are the specific steps we used to enable emai
l events and the use of a generic email account.
1. Update wf_notifications
set status = 'CLOSED',
mail_status = 'SENT',
end_date = sysdate;
2. Update fnd_user
set email_address = 'TestOracle@yourdomain.com ';
3. Update per_people_f
set email_address = 'TestOracle@yourdomain.com ';
4. Update po_vendor_sites_all =
email_address = 'TestOracle@yourdomain.com',
remittance_email = 'TestOracle@yourdomain.com';
5. Purge Workflow data :
Run the "Purge Obsolete Workflow Runtime Data" concurrent program
6. If test usernames are implemented, re-enable these accounts with the followin
g code snippet:
UPDATE apps.fnd_user
SET last_update_date = SYSDATE,
-- set update date
last_updated_by = -1,
-- set to ANONYMOUS
password_accesses_left = NULL,
password_lifespan_accesses = NULL,
password_lifespan_days = NULL,
end_date = NULL
-- activate user account
WHERE user_name = 'TEST_APPROVER I'
OR user_name = 'TEST_APPROVER II'
OR user_name = 'TEST_APPROVER III'
OR user_name = 'TEST_BUYER'
OR user_name = 'TEST_REQ'
7. Alerts can be selectively disabled or changed based on your preferences and t
he type of alert.
Using the generic email account
Based on the version of Microsoft Outlook, the command to open another user's fo
lder might be different.
File > Open > Other User's Folder
Summary
These simple steps allow us full use of email services in our testing environme
nts and provide our developers with testing accounts for use in Requisition/PO c
reation, approval and generation.
I am pretty sure if the DBAs had purged the workflow data and cleaned up workflo
w tables as suggested above, this problem would not have occurred.
at 3:36 PM
No comments:
at 3:21 PM
No comments:
Many enterprise applications encounter a major obstacle when they deploy multipl
e servers for scalability: the challenge of maintaining session persistence. A t
ransaction typically consists of several TCP connections between the client brow
ser and the servers. Once multiple servers are deployed, connections for a given
transaction could go to any of the servers. While many load balancers solve the
problem of balancing load across multiple servers, not every one supports the d
at 2:46 PM
No comments:
For most of the day today we were trying to figure out why the ASCP Direct loade
r was failing with this error:
APP-MRP-22130: Cannot connect to database
Cause: The current routine cannot connect to the database.
Action: Contact your system administrator or customer support representative.
Concurrent program returned no reason for failure.
ORACLE error 1012 in FDPCLS
Cause: FDPCLS failed due to ORA-01012: not logged on
.
The SQL statement being executed at the time of the error was: and was executed
from the file .
$MSC_TOP/bin/MSCPLD.sh
Program exited with status 1
We had configured direct load as per metalink note 307443.1:
Set profile options in ASCP instance:
MRP:Use Direct Load Option = Yes
MSC: Launch System Sql Loader = Yes
Uncomment these lines from $MSC_TOP/bin/MSCPLD.sh and ensure that they are point
ing to the 10.2.0 RDBMS ORACLE_HOME. 10g Database doesn't accept a loader from a
n Oracle home below 9.0
export ORACLE_HOME=10.2.0 ORACLE_HOME
export LD_LIBRARY_PATH=$ORACLE_HOME/lib;$ORACLE_HOME/ctx/lib:$LD_LIBRARY_PATH
export PATH=$ORACLE_HOME/bin:$PATH
However the error was occuring even after we relinked the MSCSLD binary. The fol
lowing environment variables were already set as per metalink note 254810.1
# APS64_ORACLE_HOME=$MSO_TOP/bin/nls8174
# APS64_ORA_NLS33=$MSO_TOP/bin/nls8174/ocommon/nls/admin/data
Finally a truss of MSCSLD binary revealed that it was looking for ORA_NLS33 envi
ronment variable. After we set the environment variable as
ORA_NLS33=$MSO_TOP/bin/nls8174/ocommon/nls/admin/data
in the customization section of adovars.env
the issue got resolved.
at 9:13 PM
No comments:
Here's the query to identify locally managed tablespaces and dictionary managed
tablespaces in your instance.
SQL> SELECT tablespace_name,extent_management
FROM dba_tablespaces;
TABLESPACE_NAME
EXTENT_MAN
------------------------------ ---------SYSTEM
DICTIONARY
TEMP
LOCAL
USERS
DICTIONARY
TAB
DICTIONARY
IDX
DICTIONARY
SYSAUX
LOCAL
UNDO
LOCAL
Ari Kaplan has written an excellent article describing the process of migrating
dictionary managed tablespaces to locally managed.
Its possible that all your tablespaces may be locally managed. But it doesn't hu
rt to run this query and check. In one of our non-OATM environments I found thes
e tablespaces still being dictionary managed:
1 SELECT tablespace_name,extent_management
2 FROM dba_tablespaces
3* where extent_management='DICTIONARY'
SQL> /
TABLESPACE_NAME EXTENT_MAN
------------------------------ ---------SYSTEM DICTIONARY
AMWD DICTIONARY
AMWX DICTIONARY
ASND DICTIONARY
ASNX DICTIONARY
FPAD DICTIONARY
FPAX DICTIONARY
FUND DICTIONARY
FUNX DICTIONARY
GCSD DICTIONARY
GCSX DICTIONARY
IAD DICTIONARY
IAX DICTIONARY
LNSD DICTIONARY
ZPBX DICTIONARY
ZXD DICTIONARY
ZXX DICTIONARY
LNSX DICTIONARY
MSTD DICTIONARY
MSTX DICTIONARY
XLED DICTIONARY
XLEX DICTIONARY
ZPBD DICTIONARY
23 rows selected.
In OATM enabled instance only SYSTEM tablespace was dictionary managed:
SQL> SELECT tablespace_name,extent_management
FROM dba_tablespaces
where extent_management='DICTIONARY'
/
2 3 4
TABLESPACE_NAME EXTENT_MAN
------------------------------ ---------SYSTEM DICTIONARY
Ari's article describes in detail how to migrate SYSTEM tablespace from dictiona
ry managed to local.
Posted by Vikram Das
at 4:03 PM
No comments:
Labels: LMT
at 5:02 PM
No comments:
Access to the requested URI has been blocked by the URL Firewall.
If you believe that you have reached this page while performing valid operations
within the application, please send mail to applmgr@justanexample.com explainin
g what you were doing when you got this error.
This is expected because the url firewall file doesn't have this entry. To allow
this we made the following change indicated in bold in the $IAS_ORACLE_HOME/Apa
che/Apache/conf/url_fw.conf file present on the extranet web tiers:
On line 617 of url_fw.conf:
#==========================================================
#Include all Custom files
#==========================================================
# Third party link
RewriteRule https://www.thirdpartysite.com - [L]
# If not allowed by list above - go away! [G] is '410 Gone'
RewriteRule .* - [G]
# END Positive list of URLs
After making this change, the Gone error stopped coming.
Posted by Vikram Das
at 12:20 PM
2 comments:
Anand called me today and informed me about the errors they were getting in a ne
w clone:
Following errors appeared during adcfgclone:
adgendbc.sh started at Wed Feb 13 19:58:15 EST 2008
.end std out.
ld.so.1: adident: fatal: libm.so.2: open failed: No such file or directory
$COMMON_TOP/admin/install/$CONTEXT_NAME/adgendbc.sh: test: argument expected
.end err out.
Uploading Metadata file $AD_TOP/admin/template/adctxinf.tmp
Metadata file $AD_TOP/admin/template/adctxinf.tmp upload failed.
Check log file created by FNDCPUCF program.
ERRORCODE = 137 ERRORCODE_END
.end std out.
ld.so.1: FNDCPUCF: fatal: libm.so.2: open failed: No such file or directory
Killed
ld.so.1: FNDCPUCF: fatal: libm.so.2: open failed: No such file or directory
Killed
I did an ldd to see what libraries were being called by the binaries that were f
ailing
$ ldd $AD_TOP/bin/adident
libclntsh.so.1.0 => $ORACLE_HOME/lib/libclntsh.so.1.0
libnsl.so.1 => /usr/lib/libnsl.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libgen.so.1 => /usr/lib/libgen.so.1
libdl.so.1 => /usr/lib/libdl.so.1
libc.so.1 => /usr/lib/libc.so.1
libaio.so.1 => /usr/lib/libaio.so.1
libm.so.2 => (file not found)
libm.so.1 => /usr/lib/libm.so.1
libmp.so.2 => /usr/lib/libmp.so.2
/usr/platform/SUNW,Sun-Fire-15000/lib/libc_psr.so.1
On inquring about the OS version of the source instance and the target instance,
I learned that source instance is on Solaris 8 OS and target instance is on Sol
aris 10.
The first workaround I suggested was to simply copy /usr/lib/libm.so.1 as /usr/l
ib/libm.so.2. This worked, but since we were not sure this was the correct metho
d, I googled some more. This link on sunfreeware.com advises in red:
The SPARC/Solaris 8 package may need /usr/lib/libm.so.2 which may not exist on s
ome systems. You can use libm.so.1 by just doing ln -s /usr/lib/libm.so.1 /usr/l
ib/libm.so.2.
Sun fixed bug 6380587 which has these comments:
Currently the official builds on Solaris 8 use -lm or /usr/lib/libm.so in links
of libraries or programs that need libm (math library functions). On Solaris 8 t
his ends up being a dependency on libm.so.1 because libm.so is a softlink to lib
m.so.1. But when you build on Solaris 9/10/11, libm.so is a softlink to libm.so.
2, which is a library that does not exist on Solaris 8.
On Solaris 8 and 9, /usr/lib/libm.so is a softlink to /usr/lib/libm.so.1.
On Solaris 10, /usr/lib/libm.so is a softlink to /usr/lib/libm.so.2.
This softlink is resolved at the time the library is built with -lm (which is 'a
s if' you listed /usr/lib/libm.so on your link line), so this dependency on eith
er libm.so.1 or libm.so.2 becomes permanent in what you build.
libm.so.2 is actually the Standard C math library. (A new .2 version had to be a
dded when adding C99 support in Solaris 10 since it was incompatible with some o
f the existing functions in libm.so.1.)
After learning so much, I realized that I had not searched on metalink yet. So I
searched with keyword libm.so.2 and voila note 403543.1 appeared in the results
and gives the best solution:
Symptoms
When starting services (e.g., webserver, concurrent manager server or report ser
ver), they fail with the following errors:
adapcctl.sh version 115.50
Apache Web Server Listener is not running.
out.
FNDSVCRG: fatal: libm.so.2: open failed: No such file or directory
FNDSVCRG: fatal: libm.so.2: open failed: No such file or directory
FNDSVCRG: fatal: libm.so.2: open failed: No such file or directory
FNDSVCRG: fatal: libm.so.2: open failed: No such file or directory
Note : While trying to correct the iss it was found that ADADMIN utility was not
working.
Changes
Cloned from Solaris 10 to solaris 8
Cause
Due to the different versions of the operating systems used, the libraries will
not match.
Solution
To implement the solution, please execute the following steps:
1. adrelink.sh force=y "fnd FNDSVCRG"
2. adrelink.sh force=y "ad adadmin"
3. adrelink.sh force=y "ad all"
Based on the above note, we first ran adrelink.sh force=y "ad adadmin"
ldd command confirmed that libm.so.2 was gone from the library list being refere
nced:
$ ldd $AD_TOP/bin/adadmin
libclntsh.so.1.0 => $ORACLE_HOME/lib/libclntsh.so.1.0
libnsl.so.1 => /usr/lib/libnsl.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libgen.so.1 => /usr/lib/libgen.so.1
libdl.so.1 => /usr/lib/libdl.so.1
libc.so.1 => /usr/lib/libc.so.1
libaio.so.1 => /usr/lib/libaio.so.1
libm.so.1 => /usr/lib/libm.so.1
libmp.so.2 => /usr/lib/libmp.so.2
/usr/platform/SUNW,Sun-Fire-15000/lib/libc_psr.so.1
Based on the above, we ran adadmin and relinked all binaries with force option.
Posted by Vikram Das
at 5:38 PM
4 comments:
CPU
Memory
Disk Sizing
Network
CPU
===
No. of CPU required = (No.of Business events per hr / 275 ) + 2 CPU
15 Active Users/CPU (super users)
50 Logged Users/CPU
1 CPU Dedicated
Database and Application Processes (DB, Forms,
Web, Concurrent Managers)
Memory
======
For OS = 1 Gb
For Apps
Basic = 2 GB
6 user = 128 mb
Apache = 20 mb / user
PL/SQL = 1 mb / user
25 mb per concurrent user
15MB for every active user
15MB for concurrent manager processes
20MB for database background processes
500MB SGA (pinning packages and sequences)
Disk Sizing
===========
Tier Space Required
Application tier file system (includes iAS 26 GB
ORACLE_HOME, 8.0.6 ORACLE_HOME,
COMMON_TOP, and APPL_TOP)
Database tier file system (fresh install with a 31 GB
production database)
Database tier file system (fresh install with a 65 GB
Vision Demo database)
Net Work
========
Data Entry = 1.4 kbps
Data Navigation = 2.4 kbps
at 9:49 PM
1 comment:
While applying 11.5.10.2 maintenance pack 3480000, the worker running ponUpgAucI
temPrc.sql failed with following error:
ORA-01407: cannot update
("APPLSYS"."FND_ATTACHED_DOCUMENTS"."CREATED_BY") to NULL
ORA-06512: at line 230
Oracle had originally provided a datafix patch 6490593, which used to fix the pr
oblem in previous iterations of the upgrade. However in the current iteration wh
ich is done on a latest clone of Production, the same error appears when the dat
afix patch 6490593 is applied. After a long SR, Oracle provided the following di
rection:
CAUSE DETERMINATION
===================
The cause of the issue is invalid / incorrect data in fnd_attached_documents wrt
to auction lines and fnd_attached_documents wrt to bid lines.
0. Apply patch 6691493
1. Apply the following sql file:
-- Query to update fnd_attached_documents wrt to auction lines.
Update fnd_attached_documents fad
Set fad.created_by = -1
WHERE fad.entity_name = 'PON_AUCTION_ITEM_PRICES_ALL'
AND fad.pk1_value not in
(SELECT to_char(paha.auction_header_id)
FROM pon_auction_headers_all paha);
-- Query to update fnd_attached_documents wrt to bid lines.
Update fnd_attached_documents fad
Set fad.created_by = -1
WHERE fad.entity_name = 'PON_BID_ITEM_PRICES'
AND fad.pk2_value not in
(SELECT to_char(pbh.bid_number)
FROM pon_bid_headers pbh);
Commit;
exit;
.
2. Apply Patch 6490593.
at 9:32 PM
No comments:
hastatus -summaryIf this command could NOT be found, add the following to root's
path in /.profile: vi /.profile
add /opt/VRTSvcs/bin to your PATH variable If /.profile does not already exist,
use this one: PATH=/usr/bin:/usr/sbin:/usr/ucb:/usr/local/bin:/opt/VRTSvcs/bin:
/sbin:$PATH
export PATH . /.profileRe-verify command now runs if you changed /.profile:
hastatus -summary
Here is the expected result (your SYSTEMs/GROUPs may vary):
One system should be OFFLINE and one system should be ONLINE ie:
# hastatus -summary
-- SYSTEM STATE
-- System
State
Frozen
A e4500a
A e4500b
RUNNING
RUNNING
0
0
-- GROUP STATE
-- Group
System
Probed
AutoDisabled
State
B oragrp
e4500a
ONLINE
B oragrp
e4500b
OFFLINE
If your systems do not show the above status, try these debugging steps:
If NO systems are up, run hastart on both systems and run hastatus -summary agai
n.
If only one system is shown, start other system with hastart. Note: one system s
hould ALWAYS be OFFLINE for the way we configure systems here. (If we ran oracle
parallel server, this could change -- but currently we run standard oracle serv
er)
If both systems are up but are OFFLINE and hastart did NOT correct the problem a
nd oracle filesystems are not running on either system, the cluster needs to be
reset. (This happens under strange network situations with GE Access.) [You ran
hastart and that wasn't enough to get full cluster to work.]
Verify that the systems have the following EXACT status (though your machine nam
es will vary for other customers):
gedb002# hastatus -summary
-- SYSTEM STATE
-- System
State
Frozen
A gedb001
A gedb002
RUNNING
RUNNING
0
0
-- GROUP STATE
-- Group
System
Probed
AutoDisabled
State
B oragrp
gedb001
OFFLINE
B oragrp
gedb002
OFFLINE
Recovery Commands:
hastop -all
on one machine hastart
wait a few minutes
on other machine hastart
hastatus -summary (make sure one is OFFLINE && one is ONLINE)
If none of these steps resolved the situation, contact Lorraine or Luke (possibl
y Russ Button or Jen Redman if they made it to Veritas Cluster class) or a Verit
as Consultant.
ps -ef | grep LISTENEROutput should be like: root 1415 600 0 20:43:58 pts/
0
0:00 grep LISTENER
oracle 831
1 0 20:27:06 ?
0:00 /apps/oracle/product/8.1.5/bin/tns
lsnr LISTENER -inherit
kill -9 process-id (the first # in list - in this case 831) Failover will take a
few minutes
You will note that system 2 is faulted -- and system 1 is now online
You need to CLEAR the fault before trying to fail back over.
hares -display | grep FAULT
for the resource that is failed (in this case, LISTENER)
Clear the fault
hares -clear resource-name -sys faulted-system [ie: hares -clear LISTENER -sys e
4500b]
6. Test Actual Failover For System 1 (and pray db is okay)
Now we do same thing for the other system first verify that the other system is
NOT faulted
hastatus -summaryNow do the same thing on this system... To do this, we will kil
l off the listener process, which should force a failover.
On system that is online (should be system2), kill off ORACLE LISTENER Process
ps -ef | grep LISTENEROutput should be like: oracle 987
1 0 20:49:19 ?
0:00 /apps/oracle/product/8.1.5/bin/tnslsnr LISTENER -inherit
root 1330 631 0 20:58:29 pts/0
0:00 grep LISTENER
kill -9 process-id (the first # in list - in this case 987) Failover will take a
few minutes
You will note that system 1 is faulted -- and system 1 is now online
You need to CLEAR the fault before trying to fail back over.
hares -display | grep FAULT for the resource that is failed (in this case, LISTE
NER)
Clear the fault
hares -clear resource-name -sys faulted-system [ie: hares -clear LISTENER -sys e
4500a]
Run:
hastatus -summaryto make sure everything is okay.
Posted by Vikram Das
at 11:51 PM
No comments:
Here is the command to find out the names of the nodes in a veritas cluster:
grep SystemList /etc/VRTSvcs/conf/config/main.cf
or
sys system_name]
hagrp Disable a service group # /opt/VRTSvcs/bin/hagrp -disable (service_group)
[-sys system_name]
hagrp Enable all resources in a service group # /opt/VRTSvcs/bin/hagrp -enablere
sources (service_group)
hagrp Disable all resources in a service group # /opt/VRTSvcs/bin/hagrp -disable
resources (service_group)
hagrp Specify dependenciy between 2 svc groups # /opt/VRTSvcs/bin/hagrp -link (p
arent_group) (child_group) (relationship)
hagrp Remove dependenciy between 2 svc groups # /opt/VRTSvcs/bin/hagrp -unlink (
parent_group) (child_group)
hagrp Auto-Enable a servicegroup marked # /opt/VRTSvcs/bin/hagrp -autoenable (se
rvice_group) [-sys system_name]
disabled due to prob with system_name.
hatype List resource types # /opt/VRTSvcs/bin/hatype -list
hatype Detailed info on a resource type # /opt/VRTSvcs/bin/hatype -display (reso
urce_type)
hatype List all resources of a part. type # /opt/VRTSvcs/bin/hatype -resources (
resource_type)
hatype Add a resource type # /opt/VRTSvcs/bin/hatype -add (resource_type)
hatype Set static attribute values # /opt/VRTSvcs/bin/hatype -modify ...
hatype Delete a resource type # /opt/VRTSvcs/bin/hatype -delete (resource_type)
haattr Add Attribute to a Type definition # /opt/VRTSvcs/bin/haattr -add (resour
ce_type) (attribute_name) (attribute_type -integer, -string, -vector)
haattr Delete a Entry in a Type definition # /opt/VRTSvcs/bin/haattr -delete (re
source_type) (attribute_name)
haconf Set VCS configuration file to r/w mode # /opt/VRTSvcs/bin/haconf -makerw
haconf Set VCS configuration file to read mode # /opt/VRTSvcs/bin/haconf -dump makero
hauser Add a user with r/w access to VCS # /opt/VRTSvcs/bin/hauser -add (user_na
me)
hauser Add a user with read access only to VCS # /opt/VRTSvcs/bin/hauser -add VC
SGuest
hauser Update a user # /opt/VRTSvcs/bin/hauser -update (user_name)
hauser Delete a user # /opt/VRTSvcs/bin/hauser -delete (user_name)
hauser Display all users # /opt/VRTSvcs/bin/hauser -display
haagent Start agents manually # haagent -start (agent_name) -sys (system_name)
haagent Stop agents manually # haagent -stop (agent_name) -sys (system_name)
hagui Start Cluster Manager # /opt/VRTSvcs/bin/hagui
hagui Start Cluster Manager in debug mode # /opt/VRTSvcs/bin/hagui -D
Product Terminology comparisons
Sun SC 2.2 Veritas VCS 1.1
-----------------------------------------------------cluster name cluster name
admin workstation physical node A local system
physical node B remote system
physical node IP address maintenance IP address
logical host service group
logical host IP address service group IP address
- resources
disk group disk group
private heartbeats communication channels
- GAB disk (disk heartbeat)
Quorum disk Admin filesystem scinstall Quick-Start wizard
split-brain network partition
configuration files:
/etc/llthosts
/etc/llttab
/etc/gabtab
/etc/VRTSvcs/conf/config/main.cf
/etc/VRTSvcs/conf/config/sysname
at 11:38 PM
2 comments:
1. Please change the profile option "Apps Servlet Agent" at server level to hav
e the same value a
s at Site level, i.e. it should be:
http://justanexample.com:8000/oa_servlets
2. Bounce Apache.
3. Retest the issue and advice the results.
Even without bouncing Apache, it started working. However the error still came
when we try to logout of OAM or Self Service:
HTTP-404 Not Found
The requested URL /oracle.apps.fnd.sso.AppsLogout was not found on this server.
Oracle asked me to do this:
ACTION PLAN
============
1. Please review Note 364439.1 - "Tips and Queries for Troubleshooting Advanced
Topologies", section "The Profile Options Query".
After I ran this query in the instance where everything was fine and the instan
ce where it was failing, I realized that all the 130 profile values under the pr
ofile (D)-Apps Servlet Agent was missing /oa_servlets
Boiling it down to this query:
Instance where this error was occuring:
select profile_option_value
from fnd_profile_option_values
where profile_option_id=3804
and profile_option_value='http://justanexample.com:8000';
PROFILE_OPTION_VALUE
-------------------------------------http://justanexample.com:8000
http://justanexample.com:8000
http://justanexample.com:8000
.
.
.
34 rows selected
Instance which was showing OAM page ok the result of query was:
PROFILE_OPTION_VALUE
---------------------------------------------------http://www.anotherexample.com:8001/oa_servlets
http://www.anotherexample.com:8001/oa_servlets
http://www.anotherexample.com:8001/oa_servlets
http://www.anotherexample.com:8001/oa_servlets
http://www.anotherexample.com:8001/oa_servlets
5 rows selected
So the simple solution is to run an update command:
update fnd_profile_option_values
set profile_option_value='http://justanexample.com:8000/oa_servlets'
where profile_option_id=3804
and profile_option_value='http://justanexample.com:8000'
Bounce Apache after this and it works.
at 8:24 PM
6 comments:
While merging 255 functional patches with admrgpch, we got the following error:
AD Merge Patch error:
Unable to open file for reading:
/patchtop/source/5522715/marker1.txt
A truss of the admrgpch command showed that it is failing as soon as open files
reaches 256:
openat(-3041965, "/stage/jul_2008/gpshpc76/func_patches/before/5522715", O_RDONL
Y|O_NDELAY|O_LARGEFILE) = 255
fcntl(255, F_SETFD, 0x00000001) = 0
fstat64(255, 0xFFBF55F0) = 0
close(255) = 0
openat(-3041965, "/stage/jul_2008/gpshpc76/func_patches/before/5522715", O_RDONL
Y|O_NDELAY|O_LARGEFILE) = 255
fcntl(255, F_SETFD, 0x00000001) = 0
fstat64(255, 0xFFBF1068) = 0
getdents64(255, 0xFE604000, 8192) = 264
open("/stage/jul_2008/gpshpc76/func_patches/before/5522715/marker1.txt", O_RDONL
Y) = 256
close(256) = 0
fstat64(2, 0xFFBF03F0) = 0
AD Merge Patch error:
Unable to open file for reading:
write(2, "\n A D M e r g e P a".., 56) = 56
write(2, "\n", 1) = 1
/stage/jul_2008/gpshpc76/func_patches/before/5522715/marker1.txtwrite(2, " / s t
a g e / j u l _ 2".., 64) = 64
write(2, "\n", 1) = 1
write(3, "\n * * * * * * * * * * *".., 437) = 437
close(3) = 0
_exit(1)
However the soft and hard limit are set to 65535 on the OS.
So as a workaround we removed 6 patches from the 255 patches and it merged fine.
I have logged an SR with Oracle for a resolution. Still not happy with the situ
ation, I was googling for solution and found an article : Solaris OS Solutions t
o 32-Bit stdio's 256 File-Descriptors Limitation.
Historically, 32-bit applications running on the Solaris Operating System (OS) h
ave been limited to using only the file descriptors 0 through 255 with the stand
ard I/O functions in the C library. The extended FILE facility on Solaris 10 OS
and later versions allows well-behaved 32-bit applications to use any valid file
descriptor with the standard I/O functions.
A well-behaved application is one that meets all three of the following requirem
ents:
* Does not directly access any member fields in the FILE structure pointed to b
y the FILE pointer associated with any standard I/O stream
* Checks all return values from standard I/O functions for error conditions
* Behaves appropriately when an error condition is reported
This article explains in detail the runtime and programming solutions that were
introduced under the extended FILE facility. The following discussion is relevan
t only in 32-bit applications, as 64-bit applications are immune to the limitati
on to 256 file descriptors.
This is what I did as suggested in the article:
$ ulimit -n 65536 (My ulimit was already on 65536)
$ ulimit -n
65536
$ LD_PRELOAD_32=/usr/lib/extendedFILE.so.1
$ export LD_PRELOAD_32
$ admrgpch -s source -d destination -merge_name bigpatch
And it succeeded without issues:
0 copy drivers merged.
0 database drivers merged.
0 generate drivers merged.
257 mixed drivers merged to a unified driver.
Patch merge completed successfully
Now I'll close the SR I had opened with my observations.
Posted by Vikram Das
at 3:34 PM
No comments:
FND_USER table stores the details of all the end users. If we give this query:
select user_name,to_char(last_logon_date,'DD-MON-YYYY HH24:MI:SS')
from apps.fnd_user
where to_char(last_logon_date,'DD-MON-YYYY')=to_char(sysdate,'DD-MON-YYYY');
USER_NAME TO_CHAR(LAST_LOGON_DATE,'D
-----------------------------------GUEST 05-FEB-2008 16:01:47
SYSADMIN 05-FEB-2008 16:02:06
USER1 05-FEB-2008 07:31:19
USER2 05-FEB-2008 04:58:12
USER3 05-FEB-2008 09:46:00
USER4 05-FEB-2008 05:00:38
USER5 05-FEB-2008 08:45:07
USER6 05-FEB-2008 09:09:17
The above query can give you a good idea who is logged on.
For a more accurate result, refer to metalink note 269799.1 which says:
You can run the Active Users Data Collection Test diagnostic script to get infor
mation about all active users currently logged into Oracle Applications.This dia
gnostic test will list users logged into Self Service Web Application, users log
ged into forms, and users running concurrent programs. Please note that to colle
ct the audit information about the users who have logged into Forms, the "Sign-O
n:Audit Level" profile option should be set to Form. You can access this Diagnos
tic test via Metalink Note# 233871.1.
Posted by Vikram Das
at 2:53 PM
No comments:
Akhilesh called me today and told me about a problem he was facing while running
Software configuration manager:
$ORACLE_HOME/ccr/bin/emCCR collect
Oracle Configuration Manager - Release: 10.2.7.1.0 - Production
Copyright (c) 2005, 2007, Oracle. All rights reserved.
-----------------------------------------------------------------Error in processing ECM_ASSOCIATIONS metric collection for ebiz11i_apps_cm
Failed to execute command - "$CCR_HOME/engines/SunOS/perl/bin/perl" "$CCR_HOME/s
ysman/admin/scripts/ebs/oracle_apps_cm_assoc.pl"
Can't modify constant item in scalar assignment at $CCR_HOME/sysman/admin/script
s/ebs/ebs_assoc_common.pl line 171, near ");"
syntax error at $CCR_HOME/sysman/admin/scripts/ebs/ebs_assoc_common.pl line 177,
near "col_values["
/state/ebiz11i-apps_db.ll"
Undefined subroutine &main::getConfigProperty called at $CCR_HOME/sysman/admin/s
cripts/ebs/ebsHPPNotAppliedCollector.pl line 293.
Error in processing other_customizations metric collection for ebiz11i_apps_db
Failed to execute command - "$CCR_HOME/engines/SunOS/perl/bin/perl" "$CCR_HOME/s
ysman/admin/scripts/ebs/ebsCustMetricCollector.pl" "$CCR_HOME/hosts/tsgsd1008/st
ate/ebiz11i-apps_db.ll"
Undefined subroutine &main::getConfigProperty called at $CCR_HOME/sysman/admin/s
cripts/ebs/ebsCustMetricCollector.pl line 54.
Collection and upload done.
===============================================================
If you notice, all 3 errors are due to the fact that it is unable to find a subr
outine called getConfigProperty. We searched for getConfigproperty string in the
.pl files but could not find it. Most probably getConfigProperty is defined ins
ide a different .pl file which is not present in the perl library path. Oracle h
as a few open bugs for this issue.
I got a call from Sadiq today for this problem. He is facing the very same probl
em in his environment. So I decided to revisit. I had noticed that this works in
Configuration Managers installed by RDA and the Jan and April 2008 Critical pat
ch update for database. I checked back with Akhilesh and found that he had raise
d an SR for this and Oracle had given a patch for this issue. The patch number i
s 6733104. However this patch is not created for all platforms. You could reques
t this patch for your platform or follow this workaround:
1.
2.
3.
4.
5.
6.
7.
8.
9.
at 8:25 AM
3 comments:
About me
About me
Vikram Das, ERP Technical Architect
Site Meter
Delivered by FeedBurner
Subscribe To
Posts
All Comments
Disclaimer
The postings on this blog are my personal opinions. This content is not read or
approved by my current or former employer, before it is posted, and does not nec
essarily represent their positions, strategies, or opinions.
Blogroll
Free Oracle Help
Puneesh Lamba's Blog
Confessions of an IT Hitman
Mukul's Oracle Apps Technology blog
Tanel Poder's Oracle blog
H Tonguc Yilmaz Oracle blog
Tom Kyte's blog
Eye on Oracle blog
Integrigy's Oracle security blog
Pete Finnigan's Oracle security blog
Niall Litchfield's blog
Jonathan Lewis Oracle scratchpad
Oracle Pitstop's oracle tech blog
Bas Klassen's Oracle Apps blog
Atul Kumar's Online Apps DBA Site
Anjo Kolk's performance blog
Blog Archive
2016 (2)
2015 (20)
2014 (11)
2013 (9)
2012 (9)
2011 (21)
2010 (25)
2009 (160)
2008 (246) ?
December (20)
November (15)
October (22)
September (19)
August (19)
July (22)
June (30)
May (32)
April (21)
March (22)
?
February (19) FND_ATTACHED_DOCUMENTS
Forms doesn't launch from self service
Sametime meeting doesn't launch with browser error...
Workflow mails not moving after a fresh clone
Reverse patch 5307530
The incorrect extranet site mystery
Adventures with ASCP Direct loader
Query to identify locally managed tablespaces
Prevent disk space issues during ASCP plan run
Redirect to third party site from extranet pages
fatal: libm.so.2: open failed: No such file or dir...
11i sizing guidelines
ponUpgAucItemPrc.sql fails during 11.5.10.2 mainte...
This is a copy paste of "Testing Veritas Cluster" ...
How to find out the names of the nodes in a verita...
oracle.apps.fnd.sso.AppsLogin was not found
Unable to open file for reading: marker1.txt
How to find out which users are logged on to an Ap...
Can't modify constant item in scalar assignment
?
?
?
?
?
?
?
?
?
January (5)
2007 (212)