Rename anyone of the report under INV_TOP and try to recreate it using adadmin. [applvision@apps US]$ ls -tlrh /apps/vision/apps/apps_st/appl/inv/12.0.0/reports/US/INVIRSLO.rdf -rw-r--r-- 1 applvision applmgr 184K Mar 9 2013 /apps/vision/apps/apps_st/appl/inv/12.0.0/reports/US/INVIRSLO.rdf [applvision@apps US]$ mv /apps/vision/apps/apps_st/appl/inv/12.0.0/reports/US/INVIRSLO.rdf /apps/vision/apps/apps_st/appl/inv/12.0.0/reports/US/INVIRSLO.rdf_15sep2013 [applvision@apps US]$ ls -tlrh /apps/vision/apps/apps_st/appl/inv/12.0.0/reports/US/INVIRSLO.rdf ls: /apps/vision/apps/apps_st/appl/inv/12.0.0/reports/US/INVIRSLO.rdf: No such file or directory [applvision@apps US]$ [applvision@apps ~]$ adadmin Copyright (c) 2002 Oracle Corporation Redwood Shores, California, USA Oracle Applications AD Administration Version 12.0.0 NOTE: You may not use this utility for custom development unless you have written permission from Oracle Corporation. Your default directory is '/apps/vision/apps/apps_st/appl'. Is this the correct APPL_TOP [Yes] ? AD Administration records your AD Administration session in a text file you specify. Enter your AD Administration log file name or press [Return] to accept the default file name shown in brackets. Filename [adadmin.log] : practice.log ************* Start of AD Administration session ************* AD Administration version: 12.0.0 AD Administration started at: Mon Sep 16 2013 00:59:44 APPL_TOP is set to /apps/vision/apps/apps_st/appl You can be notified by email if a failure occurs. Do you wish to activate this feature [No] ? Please enter the batchsize [1000] : Please enter the name of the Oracle Applications System that this APPL_TOP belongs to. The Applications System name must be unique across all Oracle Applications Systems at your site, must be from 1 to 30 characters long, may only contain alphanumeric and underscore characters, and must start with a letter. Sample Applications System names are: "prod", "test", "demo" and "Development_2". Applications System Name [vision] : vision * NOTE: If you do not currently have certain types of files installed in this APPL_TOP, you may not be able to perform certain tasks. Example 1: If you don't have files used for installing or upgrading the database installed in this area, you cannot install or upgrade the database from this APPL_TOP. Example 2: If you don't have forms files installed in this area, you cannot generate them or run them from this APPL_TOP. Example 3: If you don't have concurrent program files installed in this area, you cannot relink concurrent programs or generate reports from this APPL_TOP. Do you currently have files used for installing or upgrading the database installed in this APPL_TOP [YES] ? YES * Do you currently have Java and HTML files for HTML-based functionality installed in this APPL_TOP [YES] ? YES * Do you currently have Oracle Applications forms files installed in this APPL_TOP [YES] ? YES * Do you currently have concurrent program files installed in this APPL_TOP [YES] ? YES * Please enter the name Oracle Applications will use to identify this APPL_TOP. The APPL_TOP name you select must be unique within an Oracle Applications System, must be from 1 to 30 characters long, may only contain alphanumeric and underscore characters, and must start with a letter. Sample APPL_TOP Names are: "prod_all", "demo3_forms2", and "forms1". APPL_TOP Name [apps] : apps * You are about to use or modify Oracle Applications product tables in your ORACLE database 'vision' using ORACLE executables in '/apps/vision/apps/tech_st/10.1.2'. Is this the correct database [Yes] ? AD Administration needs the password for your 'SYSTEM' ORACLE schema in order to determine your installation configuration. Enter the password for your 'SYSTEM' ORACLE schema: The ORACLE username specified below for Application Object Library uniquely identifies your existing product group: APPLSYS Enter the ORACLE password of Application Object Library [APPS] : AD Administration is verifying your username/password. The status of various features in this run of AD Administration is: <-Feature version in-> Feature Active? APPLTOP Data model Flags ------------------------------ ------- -------- ----------- ----------- CHECKFILE Yes 1 1 Y N N Y N Y PREREQ Yes 6 6 Y N N Y N Y CONCURRENT_SESSIONS No 2 2 Y Y N Y Y N PATCH_TIMING Yes 2 2 Y N N Y N Y PATCH_HIST_IN_DB Yes 6 6 Y N N Y N Y SCHEMA_SWAP Yes 1 1 Y N N Y Y Y JAVA_WORKER Yes 1 1 Y N N Y N Y CODELEVEL Yes 1 1 Y N N Y N Y Identifier for the current session is 16762 Reading product information from file... Reading language and territory information from file... Reading language information from applUS.txt ... AD Administration warning: Product Data File /apps/vision/apps/apps_st/appl/admin/zfaprod.txt does not exist for product "zfa". This product is registered in the database but the above file does not exist in APPL_TOP. The product will be ignored without error. AD Administration warning: Product Data File /apps/vision/apps/apps_st/appl/admin/zsaprod.txt does not exist for product "zsa". This product is registered in the database but the above file does not exist in APPL_TOP. The product will be ignored without error. AD Administration warning: Product Data File /apps/vision/apps/apps_st/appl/admin/jtsprod.txt does not exist for product "jts". This product is registered in the database but the above file does not exist in APPL_TOP. The product will be ignored without error. Reading database to see what industry is currently installed. Reading FND_LANGUAGES to see what is currently installed. Currently, the following language is installed: Code Language Status ---- --------------------------------------- --------- US American English Base Your base language will be AMERICAN. Setting up module information. Reading database for information about the modules. Saving module information. Reading database for information about the products. Reading database for information about how products depend on each other. Reading topfile.txt ... Saving product information. AD code level : [B.1] AD Administration Main Menu -------------------------------------------------- 1. Generate Applications Files menu 2. Maintain Applications Files menu 3. Compile/Reload Applications Database Entities menu 4. Maintain Applications Database Entities menu 5. Change Maintenance Mode 6. Exit AD Administration Enter your choice [5] :1 Generate Applications Files ---------------------------------------- 1. Generate message files 2. Generate form files 3. Generate report files 4. Generate product JAR files 5. Return to Main Menu Enter your choice [5] : 3 AD utilities can support a maximum of 999 workers. Your current database configuration supports a maximum of 84 workers. Oracle recommends that you use between 8 and 16 workers. Enter the number of workers [8] : 6 Your current character set is "US7ASCII". Do you want to generate Oracle Reports objects using this character set [Yes] ? Do you want to regenerate Oracle Reports PL/SQL library files [Yes] ? Do you want to regenerate Oracle Reports executable files [Yes] ? Enter list of products ('all' for all products) [all] : inv Generate specific reports objects for each selected product [No] ? yes The current set of installed languages is: US Please select languages for generating Oracle Reports files. You may select all of the above languages, or just a subset. Enter list of languages ('all' for all of the above) [all] : US You selected the following languages: US Is this the correct set of languages [Yes] ? You selected the following languages: US Is this the correct set of languages [Yes] ? Reading product report information... Selecting Oracle Reports PL/SQL library files to generate... Selecting library files for Inventory... List of libraries in Inventory : INVISMMX.pll inv.pll Enter libraries to generate, or enter 'all' [all] : Selecting product reports to generate... Selecting reports for Inventory... List of reports in Inventory : INVARAAS.rdf INVARADV.rdf INVARCLI.rdf INVARCPA.rdf INVARCTA.rdf INVARHMA.rdf INVARORE.rdf INVARPAR.rdf INVARPIA.rdf INVARPMT.rdf INVARPSL.rdf INVARPTP.rdf INVARPTS.rdf INVARRTA.rdf INVARUIR.rdf INVCCIER.rdf INVCCTCA.rdf INVCHGPU.rdf INVDRRSV.rdf INVGCORP.rdf INVINPSR.rdf INVIRCAT.rdf INVIRCIT.rdf INVIRCOC.rdf INVIRCXR.rdf INVIRDIS.rdf INVIRDST.rdf INVIRILC.rdf INVIRISQ.rdf INVIRITD.rdf INVIRITS.rdf INVIRRCR.rdf INVIRRIT.rdf INVIRSIQ.rdf INVIRSLO.rdf INVIRSNO.rdf INVIRTMP.rdf INVIRXRF.rdf INVISMMX.rdf INVKBCPR.rdf INVM2MQT.rdf INVMRMQT.rdf INVMSCHR.rdf INVMSWHU.rdf INVMVTEX.rdf INVONHSP.rdf INVORGES.rdf INVPOPSR.rdf INVPRFDH.rdf INVPRFRL.rdf INVRCWSR.rdf INVSRAAL.rdf INVSRFRT.rdf INVSRIOS.rdf INVSRISA.rdf INVSRLOC.rdf INVSROPT.rdf INVSRPLN.rdf INVSRSPT.rdf INVSRSUB.rdf INVSRUOM.rdf INVSTMVT.rdf INVTOPKL.rdf INVTRACS.rdf INVTRCLS.rdf INVTRDST.rdf INVTRELT.rdf INVTRHAN.rdf INVTRLNT.rdf INVTRREG.rdf INVTRSHS.rdf INVTRSNT.rdf INVTRSTS.rdf INVTRVLT.rdf Enter reports to generate, or enter 'all' [all] : Generating Oracle Reports objects... Creating the AD_UTIL_PARAMS table... Table AD_UTIL_PARAMS already exists, so dropping the table and recreating it. Creating FND_INSTALL_PROCESSES table... Writing dependencies of jobs to run to appldep.txt file... There are now 76 jobs remaining (current phase=admin): 0 running, 2 ready to run and 74 waiting. Reading completed jobs from restart file (if any). There are now 76 jobs remaining (current phase=admin): 0 running, 2 ready to run and 74 waiting. Determining which java executables are supported by adJavaWorker... Starting worker processes. Worker process 1 started. Worker process 2 started. ************* Start of AD Worker session ************* AD Worker version: 12.0.0 AD Worker started at: Mon Sep 16 2013 02:34:08 APPL_TOP is set to /apps/vision/apps/apps_st/appl ************* Start of AD Worker session ************* AD Worker version: 12.0.0 AD Worker started at: Mon Sep 16 2013 02:34:08 APPL_TOP is set to /apps/vision/apps/apps_st/appl Worker process 3 started. ************* Start of AD Worker session ************* AD Worker version: 12.0.0 AD Worker started at: Mon Sep 16 2013 02:34:08 APPL_TOP is set to /apps/vision/apps/apps_st/appl Worker process 4 started. ************* Start of AD Worker session ************* AD Worker version: 12.0.0 AD Worker started at: Mon Sep 16 2013 02:34:08 APPL_TOP is set to /apps/vision/apps/apps_st/appl Worker process 5 started. ************* Start of AD Worker session ************* AD Worker version: 12.0.0 AD Worker started at: Mon Sep 16 2013 02:34:08 APPL_TOP is set to /apps/vision/apps/apps_st/appl Worker process 6 started. Checking if all jobs have their actual and symbolic arguments in sync.... Done. Writing jobs to run to restart file. Reading jobs from FND_INSTALL_PROCESSES table ... Done reading jobs from FND_INSTALL_PROCESSES table ... Telling workers to read 'todo' restart file. ************* Start of AD Worker session ************* Done.AD Worker version: 12.0.0 AD Worker started at: Mon Sep 16 2013 02:34:08 APPL_TOP is set to /apps/vision/apps/apps_st/appl Starting phase 1000 (admin): Generate Report Libraries There are now 76 jobs remaining (current phase=admin): 0 running, 2 ready to run and 74 waiting. Assigned: file INVISMMX.pll on worker 1 for product au username APPLSYS. Assigned: file inv.pll on worker 2 for product au username APPLSYS. Completed: file inv.pll on worker 2 for product au username APPLSYS. Completed: file INVISMMX.pll on worker 1 for product au username APPLSYS. Starting phase 1001 (admin+1): Generate Report Files There are now 74 jobs remaining (current phase=admin+1): 0 running, 74 ready to run and 0 waiting. Assigned: file INVARAAS.rdf on worker 1 for product inv username INV. Assigned: file INVARADV.rdf on worker 2 for product inv username INV. Assigned: file INVARCLI.rdf on worker 3 for product inv username INV. Assigned: file INVARCPA.rdf on worker 4 for product inv username INV. Assigned: file INVARCTA.rdf on worker 5 for product inv username INV. Assigned: file INVARHMA.rdf on worker 6 for product inv username INV. Completed: file INVARAAS.rdf on worker 1 for product inv username INV. Assigned: file INVARORE.rdf on worker 1 for product inv username INV. Completed: file INVARHMA.rdf on worker 6 for product inv username INV. Assigned: file INVARPAR.rdf on worker 6 for product inv username INV. Completed: file INVARCLI.rdf on worker 3 for product inv username INV. Completed: file INVARCPA.rdf on worker 4 for product inv username INV. Assigned: file INVARPIA.rdf on worker 3 for product inv username INV. Assigned: file INVARPMT.rdf on worker 4 for product inv username INV. Completed: file INVARADV.rdf on worker 2 for product inv username INV. Assigned: file INVARPSL.rdf on worker 2 for product inv username INV. Completed: file INVARCTA.rdf on worker 5 for product inv username INV. Assigned: file INVARPTP.rdf on worker 5 for product inv username INV. Completed: file INVARPIA.rdf on worker 3 for product inv username INV. Assigned: file INVARPTS.rdf on worker 3 for product inv username INV. There are now 67 jobs remaining (current phase=admin+1): 6 running, 61 ready to run and 0 waiting. Completed: file INVARORE.rdf on worker 1 for product inv username INV. Assigned: file INVARRTA.rdf on worker 1 for product inv username INV. Completed: file INVARPMT.rdf on worker 4 for product inv username INV. Assigned: file INVARUIR.rdf on worker 4 for product inv username INV. Completed: file INVARPTP.rdf on worker 5 for product inv username INV. Assigned: file INVCCIER.rdf on worker 5 for product inv username INV. Completed: file INVARPAR.rdf on worker 6 for product inv username INV. Assigned: file INVCCTCA.rdf on worker 6 for product inv username INV. Completed: file INVARRTA.rdf on worker 1 for product inv username INV. Assigned: file INVCHGPU.rdf on worker 1 for product inv username INV. Completed: file INVARUIR.rdf on worker 4 for product inv username INV. Assigned: file INVDRRSV.rdf on worker 4 for product inv username INV. Completed: file INVCCTCA.rdf on worker 6 for product inv username INV. Assigned: file INVGCORP.rdf on worker 6 for product inv username INV. Completed: file INVARPSL.rdf on worker 2 for product inv username INV. Completed: file INVARPTS.rdf on worker 3 for product inv username INV. Assigned: file INVINPSR.rdf on worker 2 for product inv username INV. Assigned: file INVIRCAT.rdf on worker 3 for product inv username INV. Completed: file INVCCIER.rdf on worker 5 for product inv username INV. Assigned: file INVIRCIT.rdf on worker 5 for product inv username INV. There are now 57 jobs remaining (current phase=admin+1): 6 running, 51 ready to run and 0 waiting. Completed: file INVTRLNT.rdf on worker 2 for product inv username INV. Completed: file INVTRSHS.rdf on worker 4 for product inv username INV. Assigned: file INVTRVLT.rdf on worker 2 for product inv username INV. Completed: file INVTRSNT.rdf on worker 1 for product inv username INV. Completed: file INVTRREG.rdf on worker 3 for product inv username INV. Completed: file INVTRSTS.rdf on worker 6 for product inv username INV. Completed: file INVTRHAN.rdf on worker 5 for product inv username INV. Completed: file INVTRVLT.rdf on worker 2 for product inv username INV. Telling workers to quit... 5 workers have quit. Waiting for 1 more. All workers have quit. Dropping FND_INSTALL_PROCESSES table... FND_INSTALL_PROCESSES table dropped. Dropping AD_DEFERRED_JOBS table... AD_DEFERRED_JOBS table dropped. Copying files to destination ... Done copying files to destination. Review the messages above, then press [Return] to continue. Now check generated report which we moved. ======================================== [applvision@apps US]$ ls -tlrh /apps/vision/apps/apps_st/appl/inv/12.0.0/reports/US/INVIRSLO.rdf ls: /apps/vision/apps/apps_st/appl/inv/12.0.0/reports/US/INVIRSLO.rdf: No such file or directory [applvision@apps US]$ date Mon Sep 16 02:37:02 IST 2013 [applvision@apps US]$ Note : We cannot generate reports by using above procedure. It is done through rwcon60 in oracle application 11i .
How Can We Generate Reports For Specific Product Top In Oracle EBS
December 19th, 2021, posted in Oracle EBS ApplicationISSUE WITH UPLOADING FIRMWARE TO THE SERVICE PROCESSOR(Sysfwdownload: Download Failure – Status = 2)
November 27th, 2021, posted in SolarisISSUE WITH UPLOADING FIRMWARE TO THE SERVICE PROCESSOR(Sysfwdownload: Download Failure – Status = 2)
Tried to load a firmware package from solaris 10 to the Service Processor on a T5240 machine and it failed with status = 2. Most of the time the issue will be due to the service processor being slow, having too many stale connections. There might be few other things which contributes to the issue. Check the solutions below, if this is not the issue you are seeing then you will have to contact oracle support with the snapshot of ilom, server patch level and the commands you are running.
# pwd /var/tmp/147310-08 # ls -ltr total 31406 -r–r–r– 1 root root 183 Sep 10 2012 LEGAL_LICENSE.TXT -rwxr-xr-x 1 root root 8196 Jan 21 2013 sysfwdownload.README -rwxr-xr-x 1 root root 21308 Jan 21 2013 sysfwdownload -rwxr-xr-x 1 root root 184 Jan 21 2013 license.txt -rwxr-xr-x 1 root root 11821 Jan 21 2013 Install.info -rwxr-xr-x 1 root root 72 Jan 21 2013 copyright -rwxr-xr-x 1 root root 15990784 Jan 21 2013 Sun_System_Firmware-7_4_5-SPARC_Enterprise_T5140+T5240.pkg -rwxr-xr-x 1 root root 1291 Jan 21 2013 SPARC_Enterprise_T5140+T5240_metadata.xml -rw-r–r– 1 root root 12781 Feb 10 2013 README.147310-08 -rw-r–r– 1 root root 19426 Feb 10 2013 147310-08.html # ./sysfwdownload Sun_System_Firmware-7_4_5-SPARC_Enterprise_T5140+T5240.pkg sysfwdownload: download failure – status = 2
sc>resetsc
Are you sure you want to reset the SC (y/n)? y Performing reset on the SC
#cd /var/tmp/147310-08 # ./sysfwdownload Sun_System_Firmware-7_4_5-SPARC_Enterprise_T5140+T5240.pkg
Login: sunservice Password: <enter your regular ilom user password here> Copyright 2007 Sun Microsystem, Inc. All rights reserved. WARNING: The “sunservice” account is provided solely to allow Sun Services to perform diagnosis and recovery tasks. Customer use of the “sunservice” account may interfere with the correct operation of ILOM and is not supported other than to perform recovery procedures as documented by Sun Microsystems. Normal ILOM operations should always be performed using the root account. Further usage of the “sunservice” account implies your agreement with these terms.
[(flash)root@myilom:~]# df -h Filesystem Size Used Available Use% Mounted on /dev/mtdblock4 9.7M 9.7M 0 100% / sshi 1.0M 308.0k 716.0k 30% /var sshimi 1.0M 372.0k 652.0k 36% /var/log tmpfs 62.3M 0 62.3M 0% /dev/shm /dev/tffsa1 31.0M 29.1M 258.0k 99% /store /dev/loop0 23.2M 4.9M 17.1M 22% /persist /dev/loop1 3.9M 1.1M 2.5M 31% /conf /dev/tffsa3 53.0M 53.0M 0 100% /coredump
[(flash)root@myilom:/coredump]# df -h Filesystem Size Used Available Use% Mounted on /dev/mtdblock4 9.7M 9.7M 0 100% / sshi 1.0M 308.0k 716.0k 30% /var sshimi 1.0M 384.0k 640.0k 38% /var/log tmpfs 62.3M 0 62.3M 0% /dev/shm /dev/tffsa1 31.0M 29.1M 258.0k 99% /store /dev/loop0 23.2M 4.9M 17.1M 22% /persist /dev/loop1 3.9M 1.1M 2.5M 31% /conf /dev/tffsa3 53.0M 4.0M 46.2M 8% /coredump
Now try to load the firmware from the solaris operating system to the service processor.
#cd /var/tmp/147310-08 # ./sysfwdownload Sun_System_Firmware-7_4_5-SPARC_Enterprise_T5140+T5240.pkg
FIND FILES BETWEEN TIME FRAMES
November 13th, 2021, posted in SolarisExample 1:
You want to find files between specific time frame and move them to different directory. You can use the -newer or -newmt option with find command.
In this below example I am creating 2 dummy files with different timestamp and moving any files found between those time frames are moved to directory /var/tmp/Archive.
# touch -t 201310040000 first # touch -t 201410040000 last # find . -newer first ! -newer last -type f -exec mv {} /var/tmp/Archive;
Example 2:
In this example, I am listing files between Oct 04 2013 and Oct 04 2014.
Sed command is for replacing dot ‘.’ with blank space before the file name.
#find . -newermt “2013-10-04 00:00:00” ! -newermt “2014-10-04 00:00:00” | sed ‘s/.///g’|xargs ls -l
If you require more information or any questions on the above commands please comment below.
Reference: http://linux.about.com/od/commands/l/blcmdl1_find.htm
CHECK DUPLEX ON SOLARIS
October 31st, 2021, posted in Solaris1) Get the interface name
#ifconfig -a
2)You have number of ways to find the duplex of a NIC card and here are some of them,
The network interface I am using here is bge1
#cat /platform/sun4u/kernel/drv/bge.conf name=”bge” parent=”/pci@780/pci@0/pci@1″ unit-address=”0,1″ adv_autoneg_cap=0 adv_1000fdx_cap=1 adv_1000hdx_cap=0 adv_100fdx_cap=1 adv_100hdx_cap=0 adv_10fdx_cap=0 adv_10hdx_cap=0; or #kstat bge:1 | grep adv adv_cap_1000fdx 1 adv_cap_1000hdx 0 adv_cap_100fdx 1 adv_cap_100hdx 0 adv_cap_100T4 0 adv_cap_10fdx 0 adv_cap_asmpause 0 adv_cap_autoneg 0 adv_cap_pause 0 or # dmesg|grep -i bge Aug 14 10:10:25 testbox1 genunix: [ID 408822 kern.info] NOTICE: bge1: no fault external to device; service available Aug 14 10:10:25 testbox1 genunix: [ID 611667 kern.info] NOTICE: bge1: xcvr addr:0x01 – link up 1000 Mbps full duplex or #dladm show-dev bge1 link: up speed: 1000 Mbps duplex: full or # ndd -get /dev/bge1 adv_100fdx_cap # ndd -get /dev/bge1 adv_1000fdx_cap


