Quantcast
Channel: Doyensys Allappsdba Blog..
Viewing all 1640 articles
Browse latest View live

Find a text inside the files contained in a folder

$
0
0
Many times there will be a situation where we know the contents of the file but we don't have the details of the file name and its location.

In this case, just go to the parent folder and issue the below command.
You will get the details.

find . -type f -name "*.sh" -exec grep -il {} \;

Example:

find . -type f -name "*.sh" -exec grep -il JAVA_HOME {} \;

Upload huge files to MOS (My oracle support)

$
0
0
There are many ways to upload the files to My oracle support SR.  But when there is an huge file we may think how to upload the files especially if the file size are in GB.

Oracle has provided few ways and using curl command always worked for me.

curl -T "file.tar.gz" -o output -u "your mos login""https://transport.oracle.com/upload/issue/SR-number/"

Example:

curl -T "PROD_ora_16629_USER_CR3641.trc.tar.gz" -o output -u "username@domain.com""https://transport.oracle.com/upload/issue/3-20594295591/"

How to submit concurrent program using CONCSUB with space in parameters

$
0
0

Oracle Applications provides the concsub utility (concurrent manager submit) procedure for submitting concurrent manager jobs on-demand and scheduling concurrent manager jobs.

For parameters that follow the CONCURRENT parameter and include spaces, enclose the parameter argument in double quotes, then again in single quotes. Oracle Application Object Library requires this syntax because it parses the argument string twice.

CONCSUB apps/apps AR ‘Recievables Manager’ SYSADMIN CONCURRENT AR '“SALES TAX”'

List directories inside sub directories

$
0
0

Many of us know how to list the files in Linux environment.  But if you are looking to list only the directories, this is the blog you are looking for.

The find command also allows you to limit search to a particular directory depth. One command line option that lets you do this is -maxdepth. Here '-maxdepth 5' forces 'find' to go inside and search only three levels, with the first level being your top level (or the current working) directory

Command:

find . -maxdepth 5 -type d

Host Target Remains in Down Status in Enterprise Manager 13c Cloud Control

$
0
0
EM 13c: Host Target Remains in Down Status in Enterprise Manager 13c Cloud Control and/or Host Metrics do not Collect (No Data Available)


Symptoms

Enterprise Manager (EM) 13c Cloud Control (13.1 or 13.2)
A host target (typically with an EM 13c Agent upgraded from 12c) either remains in DOWN status, or is UP but does not collect any metrics.
All the charts on the Host target's homepage show "No Data Available".
The EM Agent which is monitoring the host shows a target status of Up.
Database targets on this host show a target status of Up.
Stopping and starting the upgraded EM 13c Agent will return the Host target status to Up, but once the Host target is involved in a blackout, it is shown as Down when the blackout is over.


Changes

This issue is seen where an agent was upgraded from version 12c to 13c.

Cause

Bug 23046988 - Host Target status showing down

From the Host target's homepage, Host > Monitoring > Metric and Collection Settings
The Response metric has comparison operator > (greater than) instead of = (equals), putting the target in CRITICAL state despite being up.
Normally, a target CRITICAL status is determined by: if Response = 0 mark target as CRITICAL
where 0=DOWN and 1=UP

By having the wrong comparison operator, this becomes: if Response > 0 mark target as CRITICAL
effectively reversing the logic and putting the target in CRITICAL state when it's up.

Once the host target is in CRITICAL state, its metrics are no longer collected

To obtain the state of the target:
<agent_inst>/bin/emctl getmetric agent <hostname>,host,Response
[oracle@example ~]$ /u01/app/agent/agent_inst/bin/emctl getmetric agent example.domain.com,host,Response
Oracle Enterprise Manager Cloud Control 13c Release 1
Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved.
Status
1
Status 1 means the target is UP. If this shows 0, something else is causing the host to show as Down, and this document is not applicable.
<agent_inst>/bin/emctl status agent target <hostname>,host
[oracle@example ~]$ /u01/app/agent/agent_inst/bin/emctl status agent target example.domain.com,host
Oracle Enterprise Manager Cloud Control 13c Release 1
Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Target Name : example.domain.com
Target Type : host
Current severity state
----------------------
Metric Column name Key State Timestamp
--------------------------------------------------------------------------------
DiskActivity DiskActivitybusy dm-0 CLEAR Fri Mar 03 18:54:42 MST 2017
...
Response Status n/a CRITICAL Fri Mar 03 19:07:08 MST 2017
 It is this CRITICAL status that is causing the issue. If this says CLEAR, something else is causing the issue, and this document is not applicable.

Solution

  1. Download the workaround monitoring template responsefix-host.zip from (https://support.oracle.com/epmos/main/downloadattachmentprocessor?parent=DOCUMENT&sourceId=2236697.1&attachid=2236697.1:RESPONSEFIXTEMPALTE&clickstream=yes)
  2. Import the template into EM Cloud Control as SYSMAN:
    Enterprise > Monitoring > Monitoring Templates > Actions > Import
  3. Apply the template to the problematic host target(s):
    - Select the responsefix template > Apply > (x) Template will only override metrics that are common to both template and target
    - Destination Targets > Add > the host(s)
    - Finish
  4. If the target does not come up, restart the agent.

Find concurrent program details for execution time more than n minutes

$
0
0
Find concurrent program details for execution time more than n minutes:
====================================================
set line 200
set pagesize 500
col cp_name for a30
col ARGUMENT_TEXT for a60
SELECT  fcp.user_concurrent_program_name cp_name
        ,fcr.request_id rqst_id
        ,ROUND (((SYSDATE - fcr.actual_start_date) * 60 * 24), 2) runtime_min
        ,TO_CHAR (fcr.actual_start_date, 'DD-MON-YYYY HH24:MI:SS')act_start_datetime
        ,DECODE (fcr.status_code, 'R', fcr.status_code) status
        ,fcr.argument_text
       FROM apps.fnd_concurrent_requests fcr
        ,apps.fnd_user fu
        ,apps.fnd_responsibility_tl fr
        ,apps.fnd_concurrent_programs_tl fcp
   WHERE fcp.user_concurrent_program_name='Automatic Clearing for Receipts'
     AND fu.user_id = fcr.requested_by
     AND fr.responsibility_id = fcr.responsibility_id
     AND fcr.concurrent_program_id = fcp.concurrent_program_id
     AND fcr.program_application_id = fcp.application_id
      AND ROUND (((ACTUAL_COMPLETION_DATE - fcr.actual_start_date) * 60 * 24), 2) > 30
ORDER BY fcr.concurrent_program_id
        ,request_id DESC;

Find short Concurrent Program name

$
0
0
Find short Concurrent Program name:
===================================
select
prog.user_concurrent_program_name "program name",
prog.concurrent_program_name "program short name",
appl.application_name "program application name",
prog.description "program description",
exe.executable_name "executable name",
exe.execution_file_name "executable file name",
decode( exe.execution_method_code, 'I', 'PLSQL Stored Procedure', 'P', 'Report', 'L', 'SQL Loader','Q','SQL*Plus', exe.execution_method_code) "execution method"
from
fnd_executables exe,
fnd_application_tl appl,
fnd_concurrent_programs_vl prog
where exe.application_id = appl.application_id
AND exe.executable_id = prog.executable_id
AND appl.language='US'
AND prog.user_concurrent_program_name='Active Users';

Find RAC Instance in which the Concurrent Request is running

$
0
0
Find RAC Instance in which the Concurrent Request is running:
============================================
Give Short name between %% in module column in dba_hist_active_sess_history table:

select INSTANCE_NUMBER,SAMPLE_TIME,SESSION_ID,SESSION_SERIAL#,SQL_ID,MODULE,ACTION,MACHINE,to_char(sample_time,'DD-MON-YYYY HH24:MI:SS') from dba_hist_active_sess_history where
module like '%ARZACS%'
and to_char(sample_time,'DD-MON-YYYY HH24:MI:SS') between '10-JAN-2016 01:10:11' AND '10-JAN-2016 01:20:05' group by INSTANCE_NUMBER,SAMPLE_TIME,SESSION_ID,SESSION_SERIAL#,SQL_ID,MODULE,ACTION,MACHINE,to_char(sample_time,'DD-MON-YYYY HH24:MI:SS') ORDER BY 2; 

script to check server process

$
0
0
#!/bin/bash
export PATH=$PATH:/grid/app/bin/

SUBJECT=”Server Process failed for – Server `hostname` on `date ‘+%m/%d/%y %X %A ‘`”
REPSUBJECT=”Server `hostname` health check report at `date +%H:%M` hours on `date +%d-%m-%Y`”
ERRLOG=$MONITOR_DIR/logs/server_process_check.log
REPORT=$MONITOR_DIR/logs/server_process_report.txt
BODY=$MONITOR_DIR/server_process_report_email_body.txt
## Delete the errorlog file if found
/usr/bin/find  $ERRLOG -type f -exec rm {} \; 2>&1 > /dev/null

##Report recipients
MAILID=’gangai.nathan@doyensys.com’
chour=`date +%H“date +%M`

if [ `grep -i “TEST01  HEALTH CHECK FOR” $REPORT | wc -l` -eq 0 ]; then
echo “—————————-TEST01 HEALTH CHECK FOR `date +%m_%d_%Y`———————————” > $REPORT
fi

echo ” ” >> $REPORT

echo “—————————-CRS process status `date +%m_%d_%Y_%H:%M`—————————-” >> $REPORT
crsctl check crs | while read outputline
do
if test `echo $outputline | grep ‘online’ | wc -l` -eq 0 ## This will check if the CRS process is online or not
then
echo “Date        : “`date ‘+%m/%d/%y %X %A ‘` >> $ERRLOG
echo “Details     :”`crsctl check  crs` >> $ERRLOG
echo ”  ” >> $ERRLOG
echo ” Details     :”`crsctl check  crs` >> $REPORT
echo ” ” >> $REPORT
echo ” Skiiping other tests ” >> $REPORT
echo ”  ” >> $ERRLOG
##mutt -s “$SUBJECT” $MAILTO < $ERRLOG
/bin/mail -s “$SUBJECT” “$MAILID”
exit
else
echo ” Details     :”`crsctl check  crs` >> $REPORT
echo ” ” >> $REPORT
fi
done

echo “—————————-PMON process Status count on `date +%m_%d_%Y_%H:%M`—————————-” >> $REPORT
if test `ps -ef|grep pmon|grep -v grep |wc -l` -ne 2 ## This will check the no of pmon process for each of the server
then
echo “Date        : “`date ‘+%m/%d/%y %X %A ‘` >> $ERRLOG
echo “Details     :”`ps -ef|grep pmon|grep -v ‘grep’ |wc -l` >> $ERRLOG
echo ” ” >> $ERRLOG
echo ” PMON process not found. Oracle Instance on `hostname` may be down . Require immediate attention” >> $ERRLOG
echo ” ” >> $REPORT
echo ” Skiiping other tests ” >> $REPORT
echo ”  ” >> $ERRLOG
/bin/mail -s “$SUBJECT” “$MAILID”
exit
else
echo ” Details     :”`crsctl check  crs` >> $REPORT
echo ” ” >> $REPORT
fi

echo “—————————-Listener Status on `date +%m_%d_%Y_%H:%M`—————————-” >> $REPORT

##Check whether listener is running. Output should be 1
if test `ps -ef|grep tnslsnr | grep -v “grep” |wc -l` -ne 1 ##Check the no of listener running.
then
echo “Date        : “`date ‘+%m/%d/%y %X %A ‘` >> $ERRLOG
echo “Details     :”`ps -ef|grep tnslsnr |grep -v ‘grep’ |wc -l` >> $ERRLOG
echo ” ” >> $ERRLOG
echo ” Listener on `hostname` may be down . Require immediate attention” >> $ERRLOG
echo ” ” >> $REPORT
echo ”  ” >> $ERRLOG
/bin/mail -s “$SUBJECT” “$MAILID”
else
echo ” Details     :”`crsctl check  crs` >> $REPORT
echo ” ” >> $REPORT
fi

echo “—————————-Checking number of oracle processes `date +%m_%d_%Y_%H:%M`—————————-” >> $REPORT

##Check Process count of “oracle” user. Output should be less than or equal to 1500
if test `ps -ef|grep -i oracle |wc -l` -ge 1000
then
echo “Date        : “`date ‘+%m/%d/%y %X %A ‘` >> $ERRLOG
echo “Details     : “`ps -ef|grep -i oracle|wc -l` >> $ERRLOG
echo ”  ”
echo ” Count of processes exceeded 1000. Require immediate attention” >>  $ERRLOG
echo ”  ” >> $ERRLOG
echo ”  ” >> $ERRLOG
/bin/mail -s “$SUBJECT” “$MAILID”
else
echo “Number of oracle processes: ” `ps -ef|grep -i oracle |wc -l` >> $REPORT
echo ” ” >> $REPORT
fi

##Send the report at particular times (e.g 1500 hours or 2300 hours)
if [ $chour -ge 1500 -a $chour -lt 1502 ]; then
mutt  -s “$REPSUBJECT” -a $REPORT $MAILID < $BODY
if [ $? -eq 0 ]; then
cp $REPORT $MONITOR_DIR/logs/server_process_report_`date +%d-%m-%Y`.txt
> $REPORT
fi
fi

if [ $chour -ge 2350 -a $chour -lt 2355 ]; then
mutt -s “$REPSUBJECT” -a $REPORT $MAILID < $BODY
if [ $? -eq 0 ]; then
cp $REPORT $MONITOR_DIR/logs/server_process_report_`date +%d-%m-%Y`.txt
> $REPORT
fi
fi

exit

script to purge the old log files

$
0
0
echo ‘Setting your environment’

###ORACLE_SID=#replace with your SID
ORACLE_SID=TEST01
export ORACLE_SID
###
###BDUMP=#replace with your BDUMP path
BDUMP=/rac/app/oracle/diag/rdbms/test01/TEST01/trace
export BDUMP
###
###ADUMP=#replace with your ADUMP path
ADUMP=/rac/app/oracle/admin/TEST01/adump
export ADUMP
###
###UDUMP=#replace with your UDUMP path
UDUMP=/rac/app/oracle/diag/rdbms/test01/TEST01/trace
export UDUMP

DT=`date “+%d%m%y”`
export DT
PID=${$}
export PID
FSEQ=${PID}
export FSEQ

################## Creating Backup Dir if not exist #############################
echo ‘Creating Backup Dir if not exist’
mkdir -p $BDUMP/bdump_oldfiles
mkdir -p $UDUMP/udump_oldfiles
mkdir -p $ADUMP/adump_oldfiles

#### Deleting old Alert log files and trace files################################
echo ‘Deleting old Alert log files and trace files’
cd $BDUMP/bdump_oldfiles
find . -name “*.trc.gz”  -mtime +5 -exec rm {} \ ;
find . -name “*.log.gz”  -mtime +5 -exec rm {} \ ;

cd $BDUMP
ls -lrt | grep “.trc” | awk ‘{print “mv  “$9 ” $BDUMP/bdump_oldfiles “}’ > /tmp/mv$FSEQ.sh
sh /tmp/mv$FSEQ.sh
rm /tmp/mv$FSEQ.sh
#### Backup and Purging of Alert logfile #######################################
echo ‘Backup and Purging of Alert logfile’
cd $BDUMP
cp alert_$ORACLE_SID.log $BDUMP/bdump_oldfiles/alert_$ORACLE_SID.log

REPORT THIS AD

cd $BDUMP
>  alert_$ORACLE_SID.log
#### Compression of old Alert log files ########################################
gzip -f $BDUMP/bdump_oldfiles/*.log

#### Deleting old user trace files #############################################
cd $UDUMP/udump_oldfiles
find /$UDUMP/udump_oldfiles -name “*.trc.gz”  -mtime +5 -exec rm {} \ ;

cd $UDUMP
ls -lrt | grep “.trc” | awk ‘{print “mv  “$9 ” $UDUMP/udump_oldfiles “}’ > /tmp/mv$FSEQ.sh
sh /tmp/mv$FSEQ.sh
rm /tmp/mv$FSEQ.sh
cd $UDUMP/udump_oldfiles
ls -lrt | grep “.trc” | grep -v “.gz” | awk ‘{print “gzip -f  ” $9 }’ > /tmp/gzip$FSEQ.sh
sh  /tmp/gzip$FSEQ.sh
rm  /tmp/gzip$FSEQ.sh
#### Deleting old audit files ##################################################
cd $ADUMP/oldfiles
find /$ADUMP/oldfiles -name “*.aud.gz” -mtime +5 -type f -exec rm {} \

cd $ADUMP
ls -lrt | grep “.aud” | awk ‘{print “mv  “$9 ” $ADUMP/oldfiles “}’ > /tmp/mv$FSEQ.sh
sh /tmp/mv$FSEQ.sh
rm /tmp/mv$FSEQ.sh
cd $ADUMP/oldfiles
ls -lrt | grep “.aud” | grep -v “.gz” | awk ‘{print “gzip -f  ” $9 }’ > /tmp/gzip$FSEQ.sh
sh  /tmp/gzip$FSEQ.sh
rm  /tmp/gzip$FSEQ.sh
############################# END ######################################

script to check node Eviction

$
0
0
#!/bin/bash
. ~/.bash_profile

mailid=’gangai.nathan@doyensys.com’
date=`date  +%Y-%m-%d” “%H:`

alertlog=/rac/app/oracle/product/11.2.0/dba-scripts/logs/ioerr.log
errlog=err_`date –date=”0 days ago” +_%d_%m_%y_%H_%M`.txt

err1=`grep -B 2 “$date” $alertlog | grep -A 2 “An I/O error” | wc -l`
err2=`grep -B 2 “$date” $alertlog | grep -A 2 “Network communication with node” | wc -l`

if [ $err1 -ge 1 -o $err2 -ge 1 ]
then
echo “Node eviction condition found in server `hostname`. Immediately check DB alert log for further action”  >> $errlog
echo “” >> $errlog
echo `grep -B 2 “$date” $alertlog | grep -A 2 “An I/O error”` >> $errlog
echo “” >> $errlog
echo =`grep -B 2 “$date” $alertlog | grep -A 2 “Network communication with node”` >> $errlog
mutt -s “Node evition type condition found in `hostname`” $mailto < $errLog
rm $errlog
fi

Query to find open cursor and to get sequence difference in a database

$
0
0
Please use the below query and change the value 1000 to your requirement as per the need.

select a.value, s.username, s.sid, s.serial#
  from v$sesstat a, v$statname b, v$session s
 where a.statistic# = b.statistic#  and s.sid=a.sid
   and b.name = 'opened cursors current'
   and a.value > 1000
 order by 1;


Please use the below query and change the  value 5000 to your requirement as per the need


SELECT   host_name||':'||instance_name || '   Sequence: '||sequence_owner||'.'|| sequence_name||
 '    Max_Value:'|| max_value || '   Increment_By:'|| increment_by ||'   Diff:'|| to_number(max_value-last_number)||
 '   Last_Number:'||last_number || '   Cycle_Flag:'||cycle_flag
FROM dba_sequences, v$instance
where (max_value-last_number) <=5000
and sequence_owner not in ('SYS','SYSTEM','WKSYS','GSMADMIN_INTERNAL','TOAD','DBSNMP','SYSMAN','ATSDBA')
ORDER BY instance_name desc;


R12.2, Service Manager is not starting up

$
0
0

R12.2, Service Manager is not start

Recently, I was working with a client when the managers in their 12.2 environment quit working. We had shutdown the applications tier to reboot the server, and when it came back up, only the Internal Manager (ICM) would run. After working through all the usual steps, relinking, autoconfig, cmclean, answering the same questions from Oracle repeatedly, etc., we still could not get the managers to start. The Administer Concurrent Managers form showed the Internal Manager running with a matching target (1), and the Service Manager running with a target of 0. This was the state every time we started the managers even after rebooting both the database and applications servers. To make things even stranger, if you viewed the processes under the Service Manager from the Administer Concurrent Managers form, all the processes were Terminated or Deactivated and no new entries were being made in spite of the parent form showing that one was running (If the managers were shutdown, the running count went to 0). Even starting the concurrent managers with DIAG=Y did not add any useful information to the logs for this issue.

I reached out to one of my contacts through OAUG, to see if he could think of something I had not tried. One of his suggestions was to run FND_CONC_CLONE.SETUP_CLEAN and then rerun AutoConfig. This did not solve the problem, but it did cause a new message in the ICM log, we now had a message that the apps tier could not ping. We tried ping from the command line and got the error, ping: imp open socket: operation not permitted. As a result of this, we discovered that /bin/ping had permissions and ownership:

-rwxrwxr-x root root

instead of the expected:

-rwsrwxr-x root root

As soon as we issued chmod u+s /bin/ping, the service manager (and therefore all the other managers) started. This occurred on a Redhat 6.4 server, and we do not know why the permissions changed on ping between the previous time we started the managers and the reboot. I also am not clear why the ping error did not show up every time we attempted to start the managers (we did find it in the first ICM log after the reboot, but it was not in any subsequent logs until after running doing the setup clean and autoconfig).

If you have an issue with the concurrent managers not starting, check the permissions, verify that you can run ping as the applications owner.

Printer setup for the E-Business Suite in Oracle Enterprise Linux Part 2 Migrating

$
0
0

Printer setup for the E-Business Suite in Oracle Enterprise Linux Part 2 Migrating


Now that we have the printers all added, the last thing we want to do is have to rekey them all on every server.  Every time you do a manual migration, you increase the chance for errors.

We can use system-config-printer to migrate our queues at the linux level and FNDLOAD to migrate the queues in the E-Business Suite.  However, there is one manual step you must go through if you added any PPD files.

The first step in our process is to download the printers.

For linux (as root), enter the command:

system-config-printer-tui –Xexport > printers.xml

For the E-Business Suite (as oracle with the environment set for your apps tier), enter the command:

FNDLOAD apps/$APPS 0 Y DOWNLOAD $FND_TOP/patch/115/import/afcppinf.lct source_printer_def.ldt FND_PRINTER

FNDLOAD apps/apps_password 0 Y DOWNLOAD $FND_TOP/patch/115/import/afcppinf.lct source_printer_def.ldt FND_PRINTER
If you read the first part of this post on adding custom printers, you will recall that I said to keep track of the order that you added the PPD files.  You need to repeat the load of the PPD files in the same order on every system to which you are migrating the printers.  If you did not record the order, look in printers.xml for the printer_id tags, the custom ppd entries will be ppd#, e.g. ppd2.  The surrounding tag will be the name of the queue, so you should be able to reconstruct the order to add the PPD files.

On each system to which you wish to migrate these queues,
copy printers.xml and source_printer_def.ldt

For linux (as root):
system-config-printer-tui ==Xexport > backup-printers.xml
system-config-printer-tui –Ximport < printers.xml

service cups restart

Note: You are interrupting print services, make sure that you are doing it an appropriate time.
After you have completed this step, the queues will be the same on both systems.
For the E-Business Suite (as oracle with the environment set for the apps tier):
FNDLOAD apps/apps_password 0 Y DOWNLOAD $FND_TOP/patch/115/import/afcppinf.lct ${TWO_TASK}_printer_def.ldt FND_PRINTER


FNDLOAD apps/apps_password 0 Y UPLOAD $FND_TOP/patch/115/import/afcppinf.lct source_printer_def.ldt FND_PRINTER
This will merge the printers from the source to the new system.  Any printers that already exist on the new system should still be there, but you may have wiped out the linux queue in the previous step.
 


WebLogic User Cannot Log Into Oracle Identity Manager's BI Publisher Native Login Page

$
0
0
Error : WebLogic User Cannot Log Into Oracle Identity Manager's BI Publisher Native Login Page





Issue :

WebLogic user can not log into OIM's BIP native login page.



When logging in a "Login failed, please retry." error is generated.







Solution :

Follow the steps below for resolution:



1.  Log into WebLogic Server Console.



2.  From left frame, under Domain Structure, select Services - Messaging - JMS Modules.



3.  Select BipJMSResource.



4.  Select Targets tab.



5.  Under Clusters - bi_cluster select 'All servers in the cluster'.



6.  Under Change Center, select Lock & Edit to make the changes from the GUI.



7.  After changes are made, select Release Configuration.



8.  Save.



9.  If making changes from the backend, stop the WebLogic server.



10.  Check the system-jazn-data.xml file for the folder location to make sure the credentials are available for reading.  Location should be similar to the following:

${domain.home}/servers/${weblogic.Name}/tmp/_WL_user/bipublisher_11.1.1.x.0/-



11.  Change the folder location to:

file:${domain.home}/servers/${weblogic.Name}/tmp/_WL_user/bipublisher_11.1.1/-

Note:  Please make a backup copy of the system-jazn-data-xml file before modifying it.



12.  Restart the WebLogic Server.

Note: It is advised that managed server(s) be stopped before the WebLogic server is stopped and started after the WebLogic server is restarted.


Note : This was very useful information and was very helpful in resolving the issue. It was referred from Oracle Metalink.

OAM 11g: "Invalid Credentials" When Logging Into Oracle Access Manager 11g R1 Admin Console, Can Login to WebLogic Console

$
0
0
Error : OAM 11g: "Invalid Credentials" When Logging Into Oracle Access Manager 11g R1 Admin Console, Can Login to WebLogic Console



Issue :



The primary user identity store was changed. If the primary user identity store is changed and the user is not found, does not exist, or it is pointing to a wrong location, login will fail using the 'weblogic' user.



Solution : 



1) Stop all WLS components (AdminServer and oam_server1)



2) Make a backup copy of the existing oam-config.xml file in the <Middleware_Home>/user_projects/domains/oam_domain/config/fmwconfig directory

--- cp oam-config.xml oam-comfig.xml-OAMOIDIdStoreForOIM



3) Edit the oam-config.xml file



3) There will be two entries that have 'IsPrimary', one for the new User Identity Store that is set to true:



<Setting Name="IsPrimary" Type="xsd:boolean">true</Setting>



and one for the default 'UserIdentityStore1' that is set to false:



<Setting Name="IsPrimary" Type="xsd:boolean">false</Setting>



5) Ensure that the IsPrimary for the UserIdentityStore1 is set to 'true' and the other User Identity Store entries are set to 'false'



6) Start the AdminServer and oam_server1



Note : This was very useful information and was very helpful in resolving the issue. It was referred from Oracle Metalink.

OMC: Installing Gateway Agent Install Fails with error "OMCAGNT-3018 - Oracle Identity Cloud Service"

$
0
0
Error :



OMC: Installing Gateway Agent Install Fails with error "OMCAGNT-3018 - Oracle Identity Cloud Service"



Issue :



Issue at network communication between IDCS (on OCI) and OMC (on OCIC)



Solution :



To resolve the issue increase MTU size on the client VM (upto 1500) with command



ifconfig eth0 mtu 1500 up



Retry the Gateway Agent Install


Note : This was very useful information and was very helpful in resolving the issue. It was referred from Oracle Metalink.

IDCS: AD Bridge Installation Failure : "The Identity Cloud Service Microsoft Active Directory Bridge failed to install on your machine. Failed to execute MSI package

$
0
0
Error : IDCS: AD Bridge Installation Failure : "The Identity Cloud Service Microsoft Active Directory Bridge failed to install on your machine.

Failed to execute MSI package



Issue : 

Administrative user installing he AD bridge did not have the "Logon as Service" privilege.



Solution :



Ensure Administrator installing AD bridge has"logon as a service" privilege\

1.Navigate to Group Policy Object Editor > Local Computer Policy. (use Windows+R > type gpedit.msc)

2.In the console tree, navigate to Computer Configuration > Windows Settings > Security Settings > Local Policies >User Rights Assignment.

3.In the details pane, double-click Log on as a service.

4.Click Add User or Group and add the admin account to the list of accounts that have the Log on as a service right.


Note : This was very useful information and was very helpful in resolving the issue. It was referred from Oracle Metalink.

Error During Oracle Java Cloud Service Server Backup

$
0
0
Error : Error During Oracle Java Cloud Service Server Backup



Issue : 

The cause for this has been determined as being the fact that a file was copied but the permissions were not set.



Solution : 

1. Login into your instance and run the below command :

Run chmod -R 755 under /u01/app/oracle/middleware.




HOW TO SET THE OVERRIDE ADDRESS in WORKFLOW MAILER

$
0
0


--Set the override address to  'xyz@abc.com' , using the following script:
--Login to the application server..
cd $FND_TOP/sql
@afsvcpup.sql

Enter Component Id: 10006
Enter the Comp Param Id to update : 10093

Enter a value for the parameter  : xyz@abc.com


--Check the workflow services using the below query.

set pagesize 400
set linesize 120
set pagesize 50
column COMPONENT_NAME format a45
column STARTUP_MODE format a15
column COMPONENT_STATUS format a15
select fsc.COMPONENT_NAME,fsc.STARTUP_MODE,fsc.COMPONENT_STATUS
from APPS.FND_CONCURRENT_QUEUES_VL fcq, fnd_svc_components fsc
where fsc.concurrent_queue_id = fcq.concurrent_queue_id(+)
order by COMPONENT_STATUS , STARTUP_MODE , COMPONENT_NAME;

--
To Check What is the Current Email Address Set

SQL> select fscpv.parameter_value
    from fnd_svc_comp_params_tl fscpt
    ,fnd_svc_comp_param_vals fscpv
    where fscpt.display_name = 'Test Address'
    and fscpt.parameter_id = fscpv.parameter_id;  2    3    4    5

PARAMETER_VALUE
--------------------------------------------------------------------------------
xyz.abc@domain.com


Also one alternate is there to set it from back-end using the below query
------------------------------------------------------------------------------------------
update fnd_svc_comp_param_vals
set    parameter_value = '&EnterEmailID'
where  parameter_id =
( select parameter_id
 from   fnd_svc_comp_params_tl
 where  display_name = 'Test Address');

Note:No need of verification code to set the override address.

Viewing all 1640 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>