1. What are the scripts do you use while Apps Cloning?adpreclone.pl prepares the source system to be cloned bycollecting information about the database and creating generictemplates of files containing source specific hardcodedvalues.Its location is $COMMON_TOP/ admin/scripts/contextname/adcfgclone.pl creates the new context file used to configure thetarget system.2. What is Patch? Patch is a program which fixes the bug.3. Apps11i Post-Installation steps? 1) Shutdown all Oracle Application Processes 2) Apply Inter-Operability Patch(3830807) 3) Apply Discoverer Patch(3170128) 4) Relink all Oracle Appications executables 5) Restart Oracle Application Processes4. Apps11i Post Cloning steps? 1)Update the profile options 2)Update the printer settings 3)Update workflow configuration settings 4)Verify APPLCSF variable 5)Update session_cookie_ domain in icx_parameter table5. Types of Patches? One-off patch: This is the simplest type of patch. It is created to resolve a specific bug. Minipack patch: This is a collection of one-off patches and enhancements related to a particular module. Alphabetic characters denote the Minipack version for the module; for example, the product code for the Application DBA utilities is AD, and version Minipack I of this product would be called AD.I
Family Pack patch: This is a collection of Minipack patches for a particular family group of application modules. Alphabetic characters denote the Family Pack version; for example, the J version of the Human Resources Suite Product Family would be HR_PF.J Maintenance Pack patch: This is a collection of Family Packs that serves as a point-level release upgrade; Oracle Applications Release 11.5.10 is an example of a Maintenance Pack.6. Contents of a Patch? Readme files Driver files Metadata files Replacement files7. Modes of Patching? Test mode (apply=n), With the Test mode, we can see the effects applying the patch will have on your system before applying the patch. Pre-install mode (preinstall= y), Pre-install mode of Autopatch is used when the version of Oracle Applications AutoPatch works with is different than the version of Oracle Applications in the database. We use this mode during upgrade process. Non-interactive mode (adpatch defaultsfile= $APPL_TOP/ admin/<SID>/log)8. What are the drivers present in patching? C driver copies the files and links executables D driver runs the SQL scripts and programs that updates the database G driver generates the forms, reports and message files U driver is a consolidated driver containing all copy, database, and generate actions9. Options of adpatch?
Novalidate Prevents adpatch from validating all schema connectionsNoprereq Prevents adpatch from checking the existence of prerequisite patchesNocompiledb Prevents adpatch from compiling database objectsNocompilejsp Prevents adpatch from compiling JSP objectsNoautoconfig Prevents adpatch from running autoconfig after the patch has been completedNogenerateportionPrevents adpatch from compiling forms, menus, and pllsHidepw Prevents passwords from being displayed in log filesHotpatch Allows adpatch to be run when the instance is not in maintenance mode 10.Minipack naming convention? 11i.<prod>.A, 11i.<prod>.B For example: 11i.AD.G, 11i.AD.H 11.Maintenance pack naming convention? 11.5.1, 11.5.2, 11.5.3 12.Family pack naming convention? 11i.<prod family name>.<letter> For example: 11i.HR_PF.C 13. Difference between adpatch and Opatch? adpatch is utility to apply Oracle Application Patches opatch is utility to apply Database Patches 14.What is the prerequisite to apply Opatch? Database should be down 15.What do you do if patch fails? Review log file(s) to determine the cause of the error Fix the cause of the error Restart adpatch Answer Yes when adpatch asks if you want to continue the previous session
Adpatch will skip already completed jobs, and pick up from where it left off.16.How to apply a pre-requisite patch when adpatch is running? Shut down the workers using adctrl Backup FND_INSTALL_ PROCESSES, AD_DEFERRED_ JOBS, restart files(.rf9) Then, drop the above tables, restart files and apply the pre-requisite patch. Restore the two tables and restart files from backup & run the adpatch.17.If you know that the patch has been applied previously but patch is asking you to apply the existing patch as a pre- requisite? adpatch options=noprereq18.While applying Apps patch using adpatch, if you want to hide the apps password, how will that be possible ? Use adpatch flags=hidepw while applying patches in apps to hide apps or system password being displayed on Users Screen.19.How do you reduce patch timings? Merging patches via admrgpch Use various adpatch options like nocompiledb or nocompilejsp Use defaults file20. How you put Applications 11i in Maintenance mode ? Use adadmin to change Maintenance mode in Oracle Apps. With AD.I you need to enable maintenance mode in order to apply apps patch via adpatch utility. If you dont want to put apps in maintenance mode you can use adpatch options=hotpatch feature.21.How do you know that a patch has been applied? Navigate to sitemap > patches patchhistory (or) Query AD_BUGS or AD_APPLIED_PATCHES
22.How do you find out which drivers have been applied? Query the ad_patch_drivers;23.How do you find out what patches have been applied on database? $ opatch lsinventory24.How to rollback the opatch? opatch rollback25.How to apply the patch? opatch apply26.How to go for the help on Opatch? opatch help27.Location of Patch History files? $APPL_TOP/admin/ SID/javaupdates<timestamp>.txt(for java related files) $APPL_TOP/admin/ SID/adpsv<timestamp>.txt(non- java related files )28.Where do you find adpatch log files ? Patch log files will be in directory $APPL_TOP/admin/ SID/log like adpatchXXX.log ( file name you mentioned while patching ), adworkXXX.log for worker log files29.Location of Adpatch default logfile location? $APPL_TOP/install/ log30.Location of APPS password? $IAS_ORACLE_ HOME/Apache/ modplsql/ cfg/wdbsvr. app (or) $8.0.6 ORACLE_HOME/ report60/ server/CGIcmd. dat31.How do you know whether ur system is autoconfing enabled or not? Run adcfginfo.sh contextfile= $APPL_TOP/ admin/contextnam e.xml32.How do you determine whether your system is Rapid Clone enabled? First, verify that your system is AutoConfig enabled. Then,
Verify that the latest Rapid Clone Patch has been applied or not33.If I have 5 databases, is it possible to point only to 1 bdump? Keep the same location in background_ dump_dest parameter for 5 databases in pfiles34.How to retrieve recent files? ls -ltr35.How do you know the kernel version? uname -r36.Contents of pfile? db_name background_dump_ dest user_dump_dest core_dump_dest control_files undo_management compatible db_block_size db_cache_size db_domain global_names instance_name max_dump_file_ size remote_login_ passwordfile service_names shared_pool_ size37.Contents of controlfile? Database name & Identifier Timestamp of database creation Tablespace names Names & locations of datafiles and redolog files Current redolog file sequence number Checkpoint information Begin & end of undo segments
Redo log archive information Backup information38. Why do you set Kernel parameters? Oracle uses UNIX resources such as shared memory, swap space and semaphores for interprocess communication. So we modify the Kernel parameters in /proc/sys/kernel. To setup these parameters permanently is use /etc/sysctl. conf file. If your Kernel parameter settings are insufficient for Oracle, you will experience problems during installation and/ or instance startup.39.What is the purpose of find? if you are in present directory, how do you find? f ind .- name<filename> if you are not in present directory, how do you find? find -name<filename>40.How to enable a new language? Through License Manager41.How do you take backup in LINUX? By using tar or cp or cpio42.What is Generic Service Management(GSM) ? GSM is an extension of concurrent processing which provides a powerful framework for managing processes on multiple host machines.43.How to find out the version of a FORM? f60gen------ --------- ---for FORM version44.How do you find out if Form Server is running or not? ps -ef |grep f60webmx45.What is the Forms Server executable name? f60srvm46.What if the Form Server is slow? Bounce the server47. How to confirm if Report Server is Up & Running ? ps -ef | grep rwmts60
48.What are Materialized views? Materialized views are schema objects that can be used to summarize and distribute data.49.What is deadlock? When two processes waiting to update the rows of a table which are locked by an other process, then deadlock arises.50.How do you create the user? Navigate to Security-->user-->define51. How do you delete an existing user in the applications? Applications users cannot be deleted since records belonging to users are kept for security and monitoring purposes. The only thing to do is to invalidate the user by assigning an end date to the effective period for the user. Navigating path: Security -> User -> Define52.How do you delete a responsibility from Oracle Applications? Responsibilities cannot be deleted since those records are kept for security and monitoring purposes. However, responsibilities can be disabled by assigning an end date to the effective period53. How do you tell what products are installed within Applications? This information can be accessed within Applications from the Alert Manager Responsibility. Navigation Path: System--> Installations54.What is Concurrent Manager? Concurrent Manager is a program or process manager on application db server, that coordinates the concurrent processes generated by user’s concurrent requests.55.What is Standard manager? Standard manager is the default manager which accepts all kinds of requests. It has no predefined specialization rules and is active all the time.
56.What is Transaction manager? A Transaction manager is started on concurrent processing server and periodically reads the pipe (concatenation of Application tier and Database tier) for incoming transactions. It occurs only in 11i RAC configuration.57.What is ICM? ICM is the manager which controls other managers. If it finds other managers down , it checks & try to restart them.58.What is Confict Resolution Manager? CRM resolves conflicts such as request incompatabilities.59.What is incompatability with Concurrent request? When a concurrent request is being processed and another concurrent manager is trying to process same type of request, there is an incompatability with concurrent request and is resolved by Conflict Resolution Manager.60.How to start/stop the Concurrent Manager? adcmctl.sh start/stop (or) $FND_TOP/bin/ startmgr61.How do you define a Concurrent Manager? Navigate to Manager --> Define62.How do you check the current status of manager processes at OS level? $FND_TOP/sql/ afcmstat. sql63.How do you know whether Concurrent Manager is running or not? ps -ef |grep FNDLIBR64.Where do you see the requests? Query the FND_CONCURRENT_ REQUESTS65.How do you know whether Listener is up or not? ps -ef |grep FNDFS66.If Concurrent manager is not getting up, what might be the problem? Apps Listener is not up
67.How do you determine whether the standard managers are up? ps -ef |grep FNDLIBR (or)$FND_TOP/ sql/afimchk. sql68.What happens, if Conflict Resolution Manager is down? ICM will take over the jobs of CRM69.If ICM is down, what happens? All the other managers will keep working. ICM takes care of the queue control requests, which means starting up and shutting down other concurrent managers.70.What happens if user kills ICM? Applications will be down71.What is PMON cycle? This is the number of sleep cycles that the ICM waits between the time it checks for concurrent managers failures, which defaults to 20. You should change the PMON cycle to a number lower than 20 if your concurrent managers are having problems with abnormal terminations.72.What is Queue Size? The queue size is the number of PMON cycles that the ICM waits between checking= for disabled or new concurrent managers. The default for queue size of one PMON cycle should be used.73.What is Sleep Time? The sleep time parameter indicates the seconds that the ICM should wait between checking for requests that are waiting to run. The default sleep time is 60, but you can lower this number if you see you have a lot of request waiting (Pending/Normal) . However, reducing this number to a very low value many cause excessive cpu utilization.74. Location of AutoConfig template files and its use? AutoConfig uses template files to determine the basic
settings that are needed. Its location is prod_top/admin/ template75.What is Auto Config? How does AutoConfig know which value from the XML file needs to be put in which file? Auto Config is a configuration tool that supports automated configuration of an Oracle Application file system. All of the information required for configuring an Applications file system is collected into a central repository, called the Applications Context; there is one Applications Context for each application tier, and one for the database tier. When you run AutoConfig, it reads the XML files and creates all the AutoConfig managed configuration files. For each configuration file maintained by AutoConfig, there exists a template file which determines which values to pick from the XML file.76.How do you change the port values? Port values can be changed in the context file with the help of ContextEditor and running AutoConfig. Navigate to Sitemap > Context Editor77.What is Snapshot? Snapshot gives a picture of selected Application related files in a given APPL_TOP78.Location of Snapshot Information? $APPL_TOP/admin/ SID/out/snapdnld .txt AD_SNAPSHOT, AD_SNAPSHOT_ FILES, AD_SNAPSHOT_ BUGFIXES79.What is the runaway process in CPU? The process to which the memory assigned is not released is known as runaway process.80.What is dbclone? Creating same structure of existing database.81.How do you know that you are in DbTier or AppsTier? Through XML file, If DbTier=yes, you are in DbTier82.How do you know the database has invalid objects? Select * from dba_objects where status like invalid;
83.How do you compile invalid objects? By running Validate APPS Schema task in adadmin (or) Run utlrp.sql. Its location is $ORACLE_HOME/ rdbms/admin 84.Location of Apache logs? $IAS_ORACLE_ HOME/Apache/ Apache/log 85. Why do you run catalog.sql, catproc.sql, pupbld.sql? catalog.sql creates views and synonyms on data dictionary Its location is $ORACLE_HOME/ rdbms/admin catproc.sql creates the PL/SQL procedures and packages Its location is $ORACLE_HOME/ rdbms/admin pupbld.sql creates the product and user profile tables Its location is $ORACLE_HOME/ sqlplus/admin 86.How do you drop the user including contents? Drop user XXX cascade; 87.What is use InterOperability Patch? We apply this patch for the compatability between OS and Oracle88. How do you know the database growth? Query dba_free_space dba_segments dba_extents 89.In which mode do you up the database after creating control file? startup mount 90.What happens when you give ALTER tablespace begin backup? Datafile headers will be freezed. Undo information will be written into redo log files. 91.What if the database got crashed after giving ALTER tablespace xxx begin backup?
Startup the database in mount mode and give the command ALTER tablespace xxx end backup92.When you kill a particular process id, it is again restarted. How to solve it? Kill the parent process by this command pkill pid93.How do you findout the installation is single-node or multi- node? adconfig.txt- --------- --------- ->$APPL_TOP/admin (or) Query FND_NODES94.How to find Apache (web server) is running or not? ps -ef | grep httpd.conf95. If Apache is getting problems, which files do you look for to trouble shoot? $IAS_ORACLE_ HOME/Apache/ Apache/conf/httpd.conf $ IAS_ORACLE_HOME/ Apache/Jserv/ etc/jserv.properties96.Location of HTML Cache in Oracle Applications? $OA_HTML/_pages97.Location of PL/SQL Cache in Oracle Applications? $IAS_ORACLE_ HOME/Apache/ modplsql/ cache98.How do you restart the Discoverer in Oracle Applications 11i? addisctl.sh start (or) $ORACLE_HOME/ discwb4/util/ startall. sh99.Location of audit traces? $ORACLE_HOME/ rdbms/audit100.What is the use of adutconf.sql? adutconf.sql reports standard information about the installed configuration of Oracle Applications101.How do you know the Jinitiator version? Under $COMMON_TOP/ html/bin/ appsweb_SID_
HOSTNAME. Cfg, search for entry like jinit_ver_name (or) Under $FND-TOP/resource/ appsweb_SID_ HOSTNAME. cfg, search for entry like jinit_ver_name102.How to find opatch Version? $ORACLE_HOME/ OPatch/opatch version103.How to find out database version? select * from v$version;104.How do you know the OUI version? $IAS_ORACLE_ HOME/appsoui/ oui/oraparam. ini (or) grep -i version oraparam.ini105.How do you the Apache version? Type sqlplus after connecting to $IAS_ORACLE_ HOME106.How do you find out the status and process id of the adworkers? ps –ef |grep adworker107.How do you connect to RMAN? rman target system/manager@ SID-----To connect remotely rman target / ------------ --------- -------To connect globally108.When you run the convert character set, adadmin creates 3 files in the APPL_TOP/admin/ SID/out. What are they? admanifest_excp. lst admanifest.lst admanifest_lossy. lst109.Location of Non-OAM context editor wizard? COMMON_TOP/util/ editcontext- --------- --------- ----- Application Tier RDBMS_ORACLE_ HOME/appsutil/ editcontext- ----Database Tier110.How to lock/unlock the scott/tiger account? alter user scott account lock/unlock
111.Diff. between sys and system? Sys owns data dictionary views System owns the objects owned by oracle utilities112.Diff. between sys and sysoper? Sysoper can take backup of controlfile Sys can take full backup of database113.How to create a user through command prompt? useradd -g groupname -d directory -p password username114.What is softlink or hardlink? A softlink is a file that points to another file. Syntax: ln -s filename linkname A hardlink is a pathname that references an inode Syntax: ln filename linkname115.How do you maintain multiple databases with single instance? By sourcing the environment variables116.What happens when you give commit statement? Server process records the SCN & commit record in the redo log buffer LGWR writes the redo log buffer entries & the SCN to redo log files Oracle notifies the user that the commit is completed Server process records that the transaction is completed & that the resource lock can be released117.Multiplexing the controlfile using SPfile Alter system set control_files= location Shutdown the database Create additional controlfiles Startup the database118.Multiplexing the controlfile using Pfile Shutdown the database Copy the existing controlfiles to a newname and location
Add the new controlfile name to pfile Startup the database119.Multiplexing the Redo log files? If the log file is current, perform logswitch by using ALTER SYSTEM SWITCH LOGFILE Copy the redolog file to the new location Use ALTER DATABASE RENAME FILE xxx TO xxx to make the change in control files.120.What are the storage clauses do you specify? local, uniform, autoextend, dictionary121.How to find out the file version? adident Header <filename>122.How do you mount the directories through NFS? mount -t nfs hostname:source destination123.How to recover clone data? Recover database until cancel124.What is the utility to upgrade from one version to another version? dbua125.Contents of APPL_TOP? environment files and products126.What does APPLCSF mean? $COMMON_TOP/ admin127.How to change the APPLTMP, APPLPTMP? utl_file_dir should be edited in pfile128.How do you know the product versions, patchset levels? $AD_TOP/sql/ adutconf. lst (or) Query PRODUCT_COMPONENT_ VERSION table.129.Location of JAR files? $PROD_TOP/java/ jar------ --------- --------- --------- ----APPL_ TOP $JAVA_TOP/oracle/ apps/<prod>/jar-------- --------- -JAVA_TOP
130.Location of US directory? $APPL_TOP/au/ 11.5.0/reports/ us 131.What happens when you give open resetlogs? log sequence no. will be reset 132.How do you know that the particular datafile belongs to particular tablespace? Query v$tablespace, v$datafile 133.If .dbc file is corrupted, what happens? and What should you do? autoconfig should be run 134.What are AutoPatch Restart files? Restart files store information about completed processing in the event of a patch or system failure. They allow AutoPatch, AutoUpgrade, and AD Administration to continue processing at the point where they stopped. Its location is $APPL_TOP/ admin/<SID>/restart 135.How to check whether all the processes are running or not? ps -ef |grep smon 136.How do you know which user has which privileges? $DBA_SYS_PRIVS 137.How do you create Applications Context file?Run $AD_TOP/bin/ adbldxml. sh, after sourcing APPL_TOP &ORACLE_HOME environment files.Then, the following values will be prompted for ORACLE_SID used to connect to database Full path to the Rapid Install Configuration file Full path to the JDK 1.3.1 installation 138.What is OraInventory? The OraInventory stores information about all oracle software products installed in all ORACLE_HOMES and other non-oracle products such as the Java Runtime
Environment( JRE). The location of the OraInventory is /etc/ oraInst. loc which points the location of Global Inventory. 139.What is XML oraInventory? Starting with OUI 2.x and 11.5.8, the informatio in the inventory is stored in Extensible Markup Language(XML) format. The XML format allows for easier diagnosis of problems and faster loading of data. The inventory is XML if the following file exists $ORACLE_HOME/ inventory/ ContextXML/ comps.xml Unlike the binary OraInventory, the XML inventory is divided into 2 distinct components.Global Inventory or Central Inventory Local Inventory or Home Inventory 140.What is Global Inventory? The Global Inventory is the part of the XML inventory that contains the high level list of all Oracle products installed on a machine. The Global Inventory records the physical location of Oracle products installed on the machine, such as ORACLE_HOME( RDBMS and IAS) or JRE. It does not have any information about the detail of patches applied to each ORACLE_HOMEs. The Global Inventory gets updated everytime you install or de-install an ORACLE_HOME. Note: If you need to delete and ORACLE_HOME, you should always do it through the OUI de-installer in order to keep the Global Inventory synchronized. 141.What is Local Inventory? There is one Local Inventory per ORACLE_HOME. It is physically located inside the ORACLE_HOME at $ORACLE_HOME/ inventory and contains the detail of the patch level for that
ORACLE_HOME. The Local Inventory gets updated whenever a patch is applied to the ORACLE_HOME, using OUI.142.What does OUISetup.pl do? OUISetup.pl is included with the OUI patch, listed as a pre-requisite to Rapid Clone. It should be run as part of the OUI Patch installation and performs the following tasks: Register the OUI program in the Global Inventory Register the JRE in the Global Inventory Ensures that the ORACLE_HOME in which the patch is installed is properly registered in the Global Inventory.143.How do you determine if your system is autoconfig enabled or not? Run adcfginfo.sh contextfile= context144.How do you determine if your system is Rapid Clone enabled or not? First, verify that your system is AutoConfig enabled. Then, verify if latest Rapid Clone Patch has been applied.145.Can you clone a multinode system to a singlenode system? You can use Rapid Clone to merge multiple APPL_TOP and COMMON_TOP file systems into a single APPL_TOP and COMMON_TOP file system.146.How does adcfgclone.pl know the target system values? adcfgclone.pl will prompt for the values required to create the new context file used to configure the target system. PROMPTS: Database SID Domain name Prompts specific to the DBTier Target system database name RDBMS ORACLE_HOME directory
DATA_TOP path Prompts specific to the AppsTier Database server node Does the target system have more than one applications tier server node(Y/N)? Is the target system APPL_TOP divided into multiple mount points(Y/N)? APPL_TOP mountpoint COMMON_TOP directory 8.0.6 ORACLE_HOME directory IAS ORACLE HOME directory Location of JDK1.3.1 Prompts common to DB and AppsTier Port Pool Number [0-99]147.What is Port Pool? The Port Pool provides a way to use a set of predefined server ports. There are 100 port pools. Port Name Default port numubers Web Listener Port 8000 Database Port 1521 RPC Port 1626 Reports Port 7000 Metric Server Data Port 9100 JTF Fulfillment Server Port 9300148.What is .dbc file? and its contents? How do applications know the name of the dbc file? dbc stands for database connect descriptor file used to connect to database. Whenever java or any other program like forms want to connect to database, its uses dbc file. The application knows the name of the DBC file by using profile option "Applications Database Id" Contents of dbc file: GUEST_USER_PWD
DB_NAME DB_HOST DB_PORT Location: $FND_TOP/secure149.How to compile JSP in Oracle Applications? Run ojspCompile. pl script Location: $JTF_TOP/admin/ scripts150.What is Web Listener? Web Listener is web server listener which is listening for web services (HTTP) request. This listener is started by adapcctl.sh151.What are the development technologies? Java, D2K, HTML152.How do you restart the installation? rapidwiz -restart153.Documents to be referred for installation? Installation guide Update Release notes154.How do you set the path of /etc/oraInst. loc when it is not present and you dont have root access? run ./rapidwiz -inventory_loc= location155.How to verify whether java is installed or not? which java156.How to findout the java version? java -version157.How to check whether the packages are available or not? rpm -qa |grep ar/make/qa158.Do you have to install JDK on all systems, when you are doing multinode installation? Yes, mandatory159.Location of installation log files? $ORACLE_HOME/ appsutil/ log/contextname- --------- --- > on database
$APPL_TOP/admin/ contextname/ log------ --------- --------- -->on application160.By using FNDCPASS, whose passwords can be changed? Oracle------ ---Database tier System------ --Application tier User-------- ---Oracle user161.How do you switch the logfile? alter system switch logfile162.How to force the checkpoint? By setting FAST_START_MTTR_ TARGET parameter (or) alter system checkpoint163.What is the purpose of adcfginfo.sh? It shows whether the system is autoconfig enabled or not. Location: $AD_TOP/bin164.What is the difference between apps schema, applsys schema, applsyspub schema? Apps schema contains only synonyms for other modules Applsys schema contains all the fnd tables, administration schema Applsyspub is the gateway to login to the application165.Parameters regarding the performance tuning? audit_trail= true timed_statistics= true max_dump_file_ size=10240166.Why do you use scope=spfile, memory and both? MEMORY: Set for the current instance only. This is the default behaviour if a PFILE was used at STARTUP SPFILE: update the SPFILE, the parameter will take effect with next database startup BOTH: affect the current instance and persist to the SPFILE. This is the default behaviour if an SPFILE was used at STARTUP167.Steps to apply Patchset? Patchset includes bugfixes for 188.8.131.52 – 184.108.40.206
1)Unzip the patchset in /stage directory and run the runInstaller 2)Select the 10G OUI and again run the runInstaller 3)Select patchset 4)Startup migrate 5)Run the script catpatch.sql168.What is Shared Server? In Shared Server environment, the server process handles the request of several user processes.169.How to enable Shared Server? Two parameters should be set in pfile. shared_server= no. of predefined server processes dispatchers= protocol of dispatcher and no. of dispatchers Then, tnsnames.ora should be modified170.What is Cost based optimization? Cost based optimization is used to identify the shortest way to execute and retrieve data from an object171.How do you change the database name? Change SID in controlfile and parameterfile In controlfile, set dbname=xxx, reuse=xxx172.Difference between 8i and 9i? In Oracle9i, DB_CACHE_SIZE or SHARED_POOL_ SIZE can be resized when the database is up and running. It is not possible with Oracle8i. Time stamp facility is available in 9i whereas it is not available in 8i You can drop a column in oracle 9i using alter table command where as this is not available in oracle 8i In 9i, we call undo segments whereas rollback segments in 8i173.What is Explain Plan? Explain Plan parses a query and records the "plan" that Oracle devises to execute it. By examining this plan, you can findout if Oracle is picking the right indexes and joining
your tables in the most efficient manner. @?/rdbms/admin/ utlxplan. sql script will create the PLAN_TABLE174.What is the use of utlrp.sql? This script compiles the invalid PL/SQL modules. Its locations is $ORACLE_HOME/ rdbms/admin175.Which initialization parameters do you set to effect the SGA size? shared _pool_size db_block_size db_cache_size log_buffer176.Which parameters in pfile effect the database? db_name db_block_size control_files177.Tasks of Adadmin? 1. Generating Applications files 2. Maintaining the Applications database objects 3. Maintaing Applications files178.AD Administration Prompts? Is this the correct APPL_TOP [Yes]? Logfile name [adadmin.log] Email feature [No] Batch size  Is this the correct database [Yes]? Enter the password for SYSTEM ORACLE schema: Enter the password for APPLSYS schema179.Ad Administration Preliminary Tasks? Run the environment file Verify the ORACLE_HOME is set properly Verify the TWO_TASK identifies the correct database Ensure that ORACLE_HOME/ bin and AD_TOP/bin are in path Shutdown the concurrent managers when relinking
Ensure sufficient temporary disk space Note: The temporary directories APPLTMP, APPLPTMP, REPORT60_TMP and the OS temporary directories, /tmp, /usr/tmp must each have atlease 50MB of free space180.When do you run Relink Application Programs task in AdAdmin? Run the Relink Application Programs after Installing a new version of the database or a technology stack component Installing another underlying technology component that Oracle Applications rely on Applying a patch to the Applications technology stack Applying a patch to the OS Including a new or changed third party or custom code into Applications programs181.What is the pre-requisite before running the Convert to Multiple Reporting Currencies task in Ad Administration? Always run the Validate APPS Schema task before running the convert to MRC task182.How do you know database version? Select * from v$sys.version183.What is Password file? Password file is created on a server side to store valid users and password. It is used for validating users and their passwords.184.Purpose of Undo segments? Undo segment is used to save the old value when a process changes data in a database.185.How many undo tablespaces should be there? We can have any no. of tablespaces but only one should be active.186.Where does redo log information store? In memory area187.Explain the difference between a hot backup and a cold backup?
We take hot backup when database is up and running and it must be in archivelog mode. We take cold backup while database is shutdown and it doesnt need to be in archive log mode.188.What is admrgpch? It merges multiple patches into a single, integrated patch.189.What is adadmin? It performs maitenance tasks on the Oracle Applications file system and database190.What is adpatch? It applies patches and adds new languages and products.191.What is adaimgr? It upgrades to the latest version of Oracle Applications192.What is adctrl? It manages parellel workers in Autoupgrade, ADAdministration and AutoPatch193.What is adrelink? It relinks Oracle Applications executable programs with the Oracle Server Product Libraries194.What is adsplice? It registers off-cycle products195.How do you determine howmuch virtual memory is being utilized? Run the vmstat command196.How to know which process is consuming more CPU resources? Run the top command197.How do you determine the blocklevel utilisation? Run the iostat command198.What for do you use the netstat command? Netstat reports on the contents of network data structures199.How do you increase the datafile size? By using ALTER DATABASE DATAFILE xxx RESIZE n
200.How do you bring datafile offline? By using ALTER DATABASE DATAFILE xxx OFFLINE201.Do we need to close the window after installing Jinitiator? No need, if Internet Explorer is used Need to be closed, if Netscape is used202.Whats is difference between two env files in <CONTEXT>.env and APPS<CONTEXT>.env under $APPL_TOP ? APPS<CONTEXT>.env is main environment file which inturn calls other environment files like <CONTEXT>.env under $APPL_TOP, <CONTEXT>.env under 806 ORACLE_HOME and custom<CONTEXT>.env for any Customized environment files.203.What are main configuration files in Web Server (Apache)? httpd.conf, jserv.conf, wdbsvr.app204.What are various components in Application/ Middle Tier? Web Server, Forms Server , Reports Server, Concurrent Manager, Admin Server & Discoverer Server.205.What is Maintenance Mode? Maintenance Mode is a new mode of operation introduced with Release 11.5.10, in which the Oracle Applications system is made accessible only for patching activities. This provides optimal performance for AutoPatch sessions, and minimizes downtime needed. Maintenance mode is only needed for AutoPatch sessions.206.Difference between delete and truncate? If you delete a table, you can rollback but if you truncate a table you cannot rollback Delete is a DML command whereas Truncate is a DDL command
207.What does OUI do? OUI(Oracle Universal Installer) is used to install, upgrade or remove software components, and create database208.Application Scripts? adfrmctl.sh -------Form Server adfmsctl.sh- ------Forms Metric Server adfmcctl.sh- ------Forms Metric Client adalnctl.sh- -------Listener adrepctl.sh- -------Report Server adcmctl.sh-- ------Concurrent Manager adapcctl.sh- ------Web Server addisctl.sh- -------Discovere r Server adtcfctl.sh- -------TCF Socket Server jtffmctl.sh- --------Fulfillm ent Server209.Database Scripts? addlnctl.sh- -------DB Listener Process addbctl.sh-- -------DB Process210.Difference between du and df? du shows the used space for each and every directory and file df shows the used and available space with mount points211.In which mode the recovery is done? mount mode212.How do you increase the tablespace size? By adding datafile to the tablespace or by resizing the datafile ALTER TABLESPACE xxx ADD DATAFILE xxx RESIZE n ALTER DATABASE DATAFILE xxx RESIZE n213.Where does undo memory information store? Redo log buffer cache214.What happens when you use alter system archive log start? To enable the automatic archiving
215.What happens when you use alter database archive log? To keep the database in archivelog mode216.How do you maintain security? By creating users and assigning them roles and profiles217.Why do you use Resetlogs, Set, Reuse? If you reset the logs, log sequence number will be set 0 Set is for new SID Reuse is for reusing the existing controlfiles218.How to check the free space and used space in OS level? df -h, du -h219.How to check the top directories used space in OS level? du -h --max-depth= 1220.Which parameters effect the undo? undo_management undo_retention undo_suppress_ errors undo_tablespace221.What is the purpose of cmclean.sql? and its location? It will purge the concurrent manager logs and tables222.What is JInitiator? JInitiator provides the JVM on which Forms client Applet will run.223.What for do we use shared, exclusive, none in password file? shared is to allow the remote users exclusive is only for particular database If none is set, remote login is not allowed224.What is datagroup? Datagroup is the pairing of Oracle user and Application user.225.What happens when the environment is sourced? All the product top directories and necessary executables such as adadmin, adpatch are set into path.
226.Contents of COMMON_TOP? admin/scripts, java, html, rgf, temp/txkValidateRol lup.html, util/jinitiator227.Contents of ORA directory? IAS_ORACLE_HOME and 806 ORACLE_HOME228.What is checkpoint? Checkpoint signals the DBWR to write the dirty buffers to datafiles Updates the datafile headers and controlfiles with checkpoint information229.What is there in httpd.conf? This is a server configuration file which typically contains directives that affect how the server runs, such as user and group IDs it should use, and location of other files. Because the server configuration file is the main file that the server starts with, Oracle HTTP Server does not include any directive that says where to locate it. The location is passed on command line when the server starts.230.What is RRA/FNDFS ? Report Review Agent(RRA) also referred by executable FNDFS is default text viewer in Oracle Apps 11i for viewing output files & log files231.Where to check log files after autoconfig is executed ? On database tier its under $ORACLE_HOME/ appsutil/ log/contextname/ mmddhhmm/ adconfig. log On Application tier its under $APPL_TOP/admincont extname/log/ mmddhhmm/ adconfig. log232.What is location of Contexts file in 11i ? Database Context file is under Database $ORACLE_HOME/ appsutil Application Context file is under $APPL_TOP/admin233.What is a responsibility? Responsibility is a collection of menus, request security groups and data groups. Menu is a collection of forms
Request security group is a collection of programs Data group is a group of modules to be made accessible by the user through Responsibility System admin-->security-->define Security-->user-->define 234. How do you troubleshoot self-service login problems? Which profile options and files do you check? Check guest user/password in DBC file, profile option guestuser/password. Check whether apache/jserv is up RunFND_WEB.PING, aoljtest etc 235.What could be wrong if you are unable to view concurrent manager log and output files? Most likely listener is down. Look at theFND_CONCURRENT_ REQUESTS, FND_NODES table andFNDFS_entry in tnsname.ora 236.How do you change the apps password? Use FNDCPASS to change APPS password and modify manually wdbsvr.app/cgiCMD. dat 237.How do I check if Multi-org is installed? Select multi_org_flag from fnd_product_ groups; 238.How do I check the currently installed release of applications? Select realease_name from fnd_product_ groups; 239.How to find the name of a form? Navigate Help-->About Oracle Applications
240.How do you cancel a running concurrent request? Navigate Concurrent Request Summary form, select a request. In character, do a Quickpick on the Status column. You can select Cancel or Hold241.Why does Help-->Tools-->Examine ask for a password? This profile option controls whether users can use the Examine utility The password should be the APPS password242.What are .lgi files? It contains informational messages, such as files that were not applied Its location is $APPL_TOP/admin/ SID/log243.What is location of .cfg? and its purpose? This file is defined by environment variable FORMS60_WEB_ CONFIG_FILE. This is usually in directory $OA_HTML/bin on forms tier. This file is used by any forms client session. When a user tries to access forms , f60webmx picks up this file and based on this configuration file creates a forms session to user/client.244.Where would i find .rf9 file, and what exactly it does? These files are used during restart of patch in case of patch failure. Location is $APPL_TOP/admin/ SID245.Whats US directory in $AD_TOP or under various product TOPs ? US directory is default language directory in Oracle Applications. If you have multiple languages installed in your Applications then you will see other languages directories besides US, that directory will contain reports, fmx and other code in that respective directory like FR for France, AR for arabic, simplifies chinese or spanish.246.How to find Version of Apache used with oracle apps 11i ? Go to location $IAS_ORACLE_ HOME/Apache/ Apache/bin and run this command ./httpd -version
247.How do you work with multiple oracle homes? Whatever oracle home you want to work, Source that environment file248.What is concurrent request? When a user runs a report, a request will be generated. The command to run that report is called Concurrent request249.How do you rebuild the oraInventory? 1) If inventory_loc is not there in oraInst.loc, create it manually 2) Rename the corrupted globale inventory with a different name 3) Apply OUI patch(5035661) 4) Run the OUISetup.pl script on both IAS_ORACLE_HOME & RDBMS_ORACLE_ HOME 5) Change the permissions of new OraInventory 6) Run the runInstaller. sh command on $ORACLE_HOME/ appsoui/oui/ install250.What are .fmb and .fmx files? When you execute .fmb files, these files will be converted into .fmx251.What is the use of restore.sh? When you run restore.sh, it will come to previous stage like how it was. Location: $ORACLE_HOME/ appsutil/ out/contextname/ MMDDhhmm/252.What is Pasta? Pasta is the utility to install the printers.253.How do you kill group processes? By using awk command254.What is yellow bar? How to solve? Whenever the clients are accessing the forms, due to the security problems, we get yellow bar warning. To solve this problem, copy identitydb.obj from production to test system and run Jinitiator.
255.What is the use of SYSAUX tablespace? SYSAUX tablespace contains statistical data.(It reduces the burden of system)256.What is PCTFREE & PCTUSED? PCTFREE: The percentage of space reserved for future update of existing data. PCTUSED: The percentage of minimum space used for insertion of new row data. This value determines when the block gets back into Free List table.257.What does data block header contain? The header contains general information about the data; i.e. block address and type of segments (table, index, etc.). The header also contains information about the table and the actual row (address) that holds the data.258.What is Row Migration? Oracle will try to shift the entire row from the current block to another block having 25 (10+15) units of free space.259.What is Row Chaining? When a row is so large that it cannot fit into one free block, Oracle will span the data into a number of blocks so that it can hold all of the data. The existence of such data results in "Row Chaining". Row Chaining is the storage of data in a chain of blocks.260.What is listener.ora & tnsnames.ora? listener.ora: To connect to database, clients first contact a listener process that typically resides on database server. It consists of listener, port, SID name, hostname. The listener logs will be $ORACLE_HOME/ network/log tnsnames.ora: It is located at the client side and it stores net service names. It contains description, host, port,
protocol, servicename, address. The location of these two configuration files is $ORACLE_HOME/ network/admin 261.Types of checkpoints? Full checkpoint, Incremental checkpoint, Partial checkpoint 262. Why do we get snapshot too old error? If undo tablespace is having insufficient space, we get this error. 263.What is profile? Profile controls the behaviour of applications 264. What is the use of 3 Oracle Homes? There are three $ORACLE_HOME in Oracle Apps, Two for Application Tier (Middle Tier) and One in Database tier. 8.0.6 ORACLE_HOME: On Application Tier used to store 8.0.6 techstack software. This is used by forms, reports & discoverer. ORACLE_HOME should point to this ORACLE_HOME which applying Apps Patch. IAS_ORACLE_HOME: On Application Tier used by iAS (Web Server) techstack software. This is used by Web Listener & contains Apache. RDBMS ORACLE_HOME: On Database Tier used by Database Software usually 8i,9i or 10g database. 265.What is RDA?RDA is a set of command line diagnostic scripts that are executedby an engine written in the Perl programming language. RDA isused to gather detailed information about an Oracle environment;the data gathered is in turn used to aid in problem diagnosis. Theoutput is also useful for seeing the overall system configuration.
Oracle Support encourages the use of RDA because it provides acomprehensive picture of the customers environment. This cangreatly reduce service request resolution time by minimizing thenumber of requests from Oracle Customer Support for moreinformation. RDA is designed to be as unobtrusive as possible; itdoes not modify systems in any way, it only collects useful data forOracle Customer Support.266. How to manually change the APPLSYS, APPS andAPPLSYSPUB passwords for Applications?• All users should be log out of application.• Shutdown the concurrent managers• Login as Sys Admin• Navigate to SecurityOracleRegister• At the same time, login as the SYSTEM user• In the applications session, enter the new password forAPPLSYS• Save the changes• ALTER USER <APPLSYS USERNAME> IDENTIFIEDBY <NEW PASSWORD>• In the same applications session, change the APPS andAPPLSYSPUB password• Save the change• ALTER USER APPLSYS IDENTIFIED BYXXX; ALTER USER APPS IDENTIFIED BY
XXX; ALTER USER APPLSYS IDENTIFIED BYXXX;• Open a new session in applications, without closing theprevious session, and login• Restart the concurrent managers 267.In a Multi Node Installation, how will you find which node is running what Services?Query the table FND_NODES and check for the columns SUPPORT_CP for Concurrent Manager SUPPORT_FORMS forForms server SUPPORT_WEB for Web Server SUPPORT_ADMIN for Admin Server SUPPORT_DB for database tier268. Can FNDLIBR be restored if it is deleted?Yes, you can restore FNDLIBR executablesrun adadmin on concurrent manager nodeselect option 2. Maintain Applications Files menuthen select 1. Relink Applications programswhen prompts forEnter list of products to link (all for all products) [all]select FNDwhen prompt forGenerate specific executables for each selected product [No] ?YESselect YES& from list of executables select FNDLIBRThis will create new FNDLIBR executables.
269. What are .odf file in apps patch? odf stands for Object Description Files used to create tables &other database objects+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++1 What is the adutilities ?2 When applying the patch if you get an error worker1 is failedthen what utility is used toexamine the adutility ? and where the log files whill be stored ?3 What is adrelink ?4 If a library file libar.a contains raacet.o and oracle supports asksu to remove the raacet.ofile then how do you remove it from libar.a ?5 How does autopatch works ??6 What is adodfcmp?7 What is ADUNLOAD ?8 What is the use if FNDXLOAD ?9 when applying the patch if you get an error FND_INSTALL_PROCESSES table alredyexists ? Then what do you do?10 How do you clone the oracle applications ? What does adclonedo ?11 How do you find out patch set level of applications ?12 patch history database ??13 what os commnad is used to find the version of a file ? andwhat is the oracle applications utility?14 What you do if your temp table space getting full frequently ?
15 When do you rebuild Indexes ??16 How do you change the apps password ??17 How do you restrict the SQL access based on IP address ??18 What does the gather schema does ? how frequently you runthis program ??19 If you try to run netca/netmgr on unix and you get an errorunable to configurenetca,netmgr even though the files present in $OH/bin What couldbe the problem ?20 What do you do you do if records struck in the interfacetables ????21 Oracle Applications has APPLSYSD,APPLSYSX ARE NOTLOCALLY MANAGEDTABLESPACE, HOW DO YOU REORGANIZE THESETABLESPACE ?22 CAN I CONVERT SYSTM TABLESPACE FROMDICTIONARY TO LOCALLYMANAGED TABLESPACE IN 8I ???23 How to convert dictionary managable tablespact to locallymanagable tablespace ?24 Why is the table extending with the next extent that is specifiedeven though it is a locallymanaged tablespace.25 How to Resize a Datafile ??26 How to DROP a Datafile from a Tablespace??27 How do you Determining the Source of Invalid Objects ???28 What is core fiel ? how do you examine the core file ??29 What command is used to find size of a process ???30 How do you find out what shared memorysegments areassigedn to different os users ??31 Some cases if you down the database even though sharedmemory is not released whatcommand is used to clear the shared memory ??32 How big i create the data file size ??
33 when do i go for multiple dbwr processes ???what parametersare considered ???34 When you run a report you got snapshot tool old error? what doyou do ???35 How do i see what is there in redolog files ??36 How do you get the free space, used space for a tablesapce ??37 What is the difference between row migration and rowchaining??38 How to Turn Archiving ON and OFF ???39 CAN ARCHIVING BE TURNED OFF/ON WITHOUTBOUNCING THE DATABASE?40 ALTER SYSTEM ARCHIVE LOG STOP DOES NOT TURNOFF ARCHIVELOG MODEThen what do you do ??41 How do you estimate the amount of redo per day??42 What you do if you get an error CANNOT ALLOCATE LOG,ARCHIVAL REQUIRED43 what is responsibility ??44 what is the use of responsibility key defining theresponsibility ??45 what is a adata group ?46 what is Request Security group ?47 what is menu in oracle applications ??48 What is the profile option is used to set the window help ??49 Unable to login to personal home page after upgrade thedatabase from 220.127.116.11 to 18.104.22.168 ??50 Cannot view Workflow Monitor Diagrams ??51 Unable to see online help ??52 while applying the patch if you get an error on database tire ??53 How to remove yello worning bar??54 How to communicate clients to the applications ?55 How to release the space below high water mark ?56 What should be the size of redolog members ?
57 How do i set optimal parameter for rollback segments ?58 Unable to allocate log sequence number ?59 How to find the paging space in AIX system ??60 how to find out the physical memory on AIX ??61 How to find out what divesies are defined to the system ??62 How to find the number of processor in a system ??63 How to estimate of the percentage of cpu and memory utilizedby each process currentlyrunning ??64 how to determining how much paging activity is taking placeon the system. Also givesuseful cpu usage info.65 How to determining disk utilization for each hard drive?66 How do I find out the operating system version?67 How do I found out the process memory space usage?68 How to find which instance owns which shared memory andsemaphores On a Unix machinegive the following commands69 How do you generate Apps Forms menu modules or MMBfiles?70 How do you generate Apps Forms modules or FMB files?71 How do you generate Apps Forms library modules or PLLfiles?72 When do you have to regenerate your Apps Forms modules?73 What is compile_all= special?74 How do you get the latest package release?75 How can you affect the look and feel of your Apps forms?76 How do you disable direct Forms access through the http://host:port/dev60cgi/ f60cgi URL?77 How is Forms load balancing accomplished?78 How is Forms load balancing accomplished with Forms listenerservlet?79 How to set up Forms to work through a firewall?80 Note down some important profile options in sysadmin point ofview ???
81 What is f60webmx?82 How can you recreate the f60webmx executable?83 How do you enable Forms Runtime Diagnostics (FRD) inApps?84 Are there any changes to the Forms product components whenin Forms listener servlet?85 How do you change the background color of a required item inApps?86 How can you affect the look and feel of your Apps forms?87 How to create a custom event alert to fire against a custom table??88 How to integrate custom applications with oracleapplications? ??89 What are the actual executables called?90 What are some of the related Forms/Apps files?91 List most usefull profile options for concurrent managers ??92 How to find the files which contain the stringMTL_SYSTEM_ITEMS_ KFV ?93 Why do I have invalid objects? What causes them?94 Why does Oracle Support always tell me to recompile myinvalid objects?95 Are invalid objects ever acceptable? How many is too many?96 Are invalid objects ever acceptable? How many is too many?97 If we do not use the application with the invalid objects, can wedelete them?98 Which OBJECTS table is best to use for queries? ALL, USERor DBA?99 How can I recompile all my invalid objects usingADCOMPSC.pls?100 What Oracle Applications DBA has useful collection of SQLscripts.101 How to cancel the request which is submited by other user??102 How to bounce the http server for maximo ???103 Finding the maximum number of processes defined per user
104 How to determine os file system block size in AIX??105 Is it posible to create a Database link without alias intnsnames.ora ?106 How to determine size of a oracle process on Unix ?107 How do you create a database link with out changingtnsnames.ora file ??108 Grant privs to access v$ views ?109 What command is used to find the zombi processes /deadprocess in unix?110 How to kill all the processes under perticulat file system ?111 How to find what are the products installed in your database ?112 Create a directory with the user privaliges from root113 Exporting a database from 9i and Importing on 8.1.7 database114 How to find the file size greater than 2Gb ?115 How to determine the size of a Table ?116 How do I restrict or allow a few client machines to connect toServer ?117 Export file Greater than 2GB is not a problem in 8I ?118 How to eliminate migrated or chained rows ?119 Performance Measurement of PLSQL code byDBMS_PROFILER120 When to rebuid an index ?121 Explain the analytical functions with examplesâ€¢ ROLLUP AND CUBE AGGREGATE FUNCTIONSâ€¢ RANKED FUNCTIONâ€¢ CASEâ€¢ LAG AND LEAD FUNCTIONâ€¢ RATIO_TO_REPORT122 What is High Water Mark ?123. what is the utility used to licence a product ? Is it possible todelicence a product which isfully licenced ?
124 How to find the version of iAS ?125 How to generate a report on Unix ?126 How to generate a report on NT ?127 Running SQL*Trace on an Applications Report ?128 How to find ojsp version ?1 What is the adutilities ?A: AD Utilities are a group of tools designed to install, upgrade,maintain, and patch a specific set of products contained in a givenrelease of Oracle Applications.2 When applying the patch if you get an error worker1 is failedthen what utility is used toexamine the adutility ? and where the log files whill be stored ?A: adctrl, $APPL_TOP/admin/ <SID>/log3 What is adrelink ?AD Relink (or adrelink) allows you to relink Oracle Applicationsexecutable programs with the Oracle Server product libraries. Youcan run the adrelink utility manually to relink individualexecutable programs, or use the relink option in the ADAdministration utility to relink all executable programs.adrelink force=y ranlib=y "ar RAXTRX"$adrelink force=y ranlib=y "fnd all"3 If a library file libar.a contains raacet.o and oracle supports asksu to remove the raacet.ofile then how do you remove it from libar.a ?ar -d libar.a raacet.o
5 How does autopatch works ??The following steps summarize the way autopatch works:1. You log in as applmgr and run your applications environmentfile.2. Unload the new software into a patch directory and start theautopatch utility under a Bourne or Korn shell.3. After you answer some questions, Autopatch identifies theOracle Applications products that need to be updated.4. Autopatch extracts the appropriate files from each products Clibrary. (adlibout,adlibout. log)5. Autopatch compares the extracted object modules (C libraries)with their corresponding files in the patch directory. It also makesthis type of comparison with files such as forms, reports, and SQLscripts. (admvcode, admvcode.log)6. If a file in the patch directory is a more recent version than theproducts current file, autopatch backs up the products current fileby appending "O" to its filename. (Every file in $APPL_TOP hasversion information inside it)7. Autopatch then replaces each product_s outdated files withnewer files from the patch directory.8. Autopatch loads the new object modules into the C libraries.(adlibin, adlibin.log)9. Autopatch backs up any files you listed in adlinkbk.txt. (thisoccurs in Rel 11.X only)
10. Autopatch relinks the Oracle Applications products with theOracle Database. (adrelink, aderlink.log)11. Autopatch runs sql scripts and exec commands, which changeOracle Applications database objects. By default, autopatch doesthis in parallel.12. Autopatch copies any specified PL/SQL, Java, HTML, ormedia files to their respective destinations.13. Autopatch generates Oracle Forms files.14. Autopatch generates Oracle Reports files.15. Autopatch appends a record of how it changed your system toapplptch.txt inthe $APPLT_TOP directory.6 What is adodfcmp?adodfcmp is an object comparisan utility.$adodfcmp <parameter>= <value> [<parameter> =<value> ]7 What is ADUNLOAD ?This utility is used to unload Oracle Applications product filesfrom CD-ROM. The unload utility is provided in case you need tounload a small number of files after you have installed or upgradedyour system$adunload product=gl$adunload product=gl directory=forms/ US filename=GLSTUOM.fmb
8 What is the use if FNDXLOAD ?FNDXLOAD is a concurrent program that can move OracleApplications seed data betweendatabase and text file representations. The loader reads aconfiguration file to determinewhat data to access. For information on specific configuration filesconsult the Open Interfaces Guide for your product group. Thefollowing sections describe the operation of the Generic DataLoader.FNDXLOAD <username/password> 0 YUPLOAD | DOWNLOAD <config_file> <data_file><entity> [<parameters> ]where<username/password> is the APPLSYS account<config_file> is the configuration file<data_file> is the file that will be read or written<entity> dentifies the entity to upload or download<paramaters> is a list of optional parameters of the formAME=VALUE. Parameters vary for eachonfiguration file. Review the documentation forour configuration file for a list of parameters thatan be set.9 when applying the patch if you get an error FND_INSTALL_PROCESSES table alredyexists ? Then what do you do?If previous patch is not applied successfully then this table will notdrop, You have to login to sql as applsys/apps then drop this tableand reapply the patch.
10 How do you clone the oracle applications ? What does adclonedo ?adcloneautoconfgmanual cloning(not supported)11 How do you find out patch set level of applications ?patches.sh, adutconf.sql12 patch history database ??applptch.txt or ad_applied_patches( table)13 what os commnad is used to find the version of a file ? andwhat is the oracle applications utility?strings -s <file name> | grep "Header" or adident <file name>14 What you do if your temp table space getting full frequently ?Create new temp tablespace,assign all users temp tablespace newone.drop old temp tablespad >orincrease the temp tablespace size1) Create the new temporary tablespace temp_local;Ex: create temporary tablespace temp_localtempfile /testdata/testdata /temp_local. dbf size 1500Mextent management local uniform size 150K2) Change the users temporary tablespace to new one.
select alter user || username|| temporary tablespace temp_local;from dba_userswhere temporary_tablespac e=TEMPrun the spool file created above3) You cannot drop the temp tablespace directoly check the defaulttemporary tablespacefor this instanceselect * from database_propertieswhere property_name = DEFAULT_TEMP_ TABLESPACE ;the above query will show the old temp tablespace as defaulttemporary tablespac.4) Assign the default temporary tablespace to new onealter database default temporary tablespace temp_local;5) Drop the old temporary tablespacedrop tablespace temp including contents;drop tablespace TEMP2 including contents and datafiles;15 When do you rebuild Indexes ??Please review articles 77574.1 and 108573.116 How do you change the apps password ??FNDCPASSUsage: FNDCPASS logon 0 Y system/password mode usernamenew_password
where logon is username/password[ @connect]system/password is password of the system account of thatdatabasemode is SYSTEM/USER/ ORACLEusername is the username where you want to change its passwordnew_password is the new password in unencrypted formatexample FNDCPASS apps/apps 0 Y system/manager SYSTEMAPPLSYS WELCOMEFNDCPASS apps/apps 0 Y system/manager ORACLE GL GL1FNDCPASS apps/apps 0 Y system/manager USER VISIONWELCOMESome you may need to change the password even after using theabove utility the file name isas wdbsvr.app17 How do you restrict the SQL access based on IP address ??SQLNET.oratcp.validnode_ checking= yestcp.invited_ nodes=(10. 190.0.21, 10.190.0. 25)#tcp.exclude_ nodes18 What does the gather schema does ? how frequently you runthis program ??Collect the statistics for the schemas/specified schema which willincrease the performance19 If you try to run netca/netmgr on unix and you get an errorunable to configurenetca,netmgr even though the files present in $OH/bin What couldbe the problem ?
A: note set $ORACLE_HOME/ lib33 for LD_LIBRARY_PATH20 What do you do you do if records struck in the interfacetables ????A: Fine out the error in enterface table, rectifie the error byupdateing the records in interface tablles. Re submit the import.21 Oracle Applications has APPLSYSD,APPLSYSX ARE NOTLOCALLY MANAGEDTABLESPACE, HOW DO YOU REORGANIZE THESETABLESPACE ?EXPORT /IMPORT22 CAN I CONVERT SYSTM TABLESPACE FROMDICTIONARY TO LOCALLYMANAGED TABLESPACE IN 8I ???NO, BUT POSIBLE IN 9i(2)23 How to convert dictionary managable tablespact to locallymanagable tablespace ?You migrate a locally managed tablespace and get the followingerror message:1 - There is no data in the tablespace : ORA-03214SQL> create tablespace MIGTOLOC2 datafile /ora/ora901/ oradata/V901/ migtoloc01. dbf3 size 10K EXTENT MANAGEMENT DICTIONARY;Tablespace created.
SQL> execute sys.dbms_space_ admin.tablespace _migrate_to_local( -> tablespace_name= >MIGTOLOC ,-> rfno=>9);BEGIN sys.dbms_space_ admin.tablespace _migrate_to_local( tablespace_ name=>MIGTOLOC ,rfno=>9) ; END;*ERROR at line 1:ORA-03214: File Size specified is smaller than minimum requiredORA-06512: at "SYS.DBMS_SPACE_ ADMIN", line 0ORA-06512: at line 12 - There are some data in the tablespace : ORA-03244SQL> create tablespace MIGTOLOC2 datafile /ora/ora901/ oradata/V901/ migtoloc01. dbf3 size 20K EXTENT MANAGEMENT DICTIONARY;Tablespace created.SQL> create table TMIG (c number) tablespace MIGTOLOC;Table created.SQL> execute sys.dbms_space_ admin.tablespace _migrate_to_local( -> tablespace_name= >MIGTOLOC ,-> rfno=>9);BEGIN sys.dbms_space_ admin.tablespace _migrate_to_local( tablespace_ name=>MIGTOLOC ,rfno=>9) ; END;*ERROR at line 1:ORA-03244: No free space found to place the control informationORA-06512: at "SYS.DBMS_SPACE_ ADMIN", line 0
ORA-06512: at line 1Solution Description:------------ ---------Increase the size for the datafile :SQL> alter database datafile /ora/ora901/ oradata/V901/migtoloc01. dbf2 resize 100K;Database altered.SQL> execute sys.dbms_space_ admin.tablespace _migrate_to_local( -> tablespace_name= >MIGTOLOC ,-> rfno=>9);PL/SQL procedure successfully completed.Explanation:------------When converting a tablespace from dictionary management tolocal management, Oracle creates bitmaps in the datafile.Therefore the required space needs to be available in the datafile.Next Extent Size After Migrating Tablespace from Dictionary toLocally ManagedMIGRATED TABLESPACES------------ --------After migrating a dictionary managed tablespace to locallymanaged tablespace, the tables are still extending with the next
extent specified even though it is now a locally managedtablespace.Example:============ ========= ========= ================== ==MIGRATE FROM DICTIONARY MANAGED TO LOCALLYMANAGED============ ========= ========= ================== ==SQL> begin2 dbms_space_admin. tablespace_ migrate_to_ local3 (tablespace_ name=> USERS, rfno=>5);4 end;5/PL/SQL procedure successfully completed.============ ========= ========= =================Verify that tablespace is now locally-managed:============ ========= ========= =================SQL> select TABLESPACE_NAME,EXTENT_MANAGEMENT2 FROM DBA_TABLESPACES3 where tablespace_name = USERS;TABLESPACE_NAME EXTENT_MAN------------ --------- --------- ----------USERS LOCAL============ ========= ========= ================== =CREATE TABLE with the storage segments;
============ ========= ========= ================== =SQL> create table DW_GSO_COLLN_ NEW2 tablespace USERS3 storage (initial 500M next 500M pctincrease 0)4 as select * from cdwadm.dw_gso_ colln5 where rownum < 10000000;Table created.SQL> select segment_name, extent_id, bytes2 from dba_extents3 where segment_name= DW_GSO_COLLN_ NEW;SEGMENT_NAME EXTENT_ID BYTES------------ --------- --------- ---------- ----------DW_GSO_COLLN_ NEW 0 524288000DW_GSO_COLLN_ NEW 1 524288000DW_GSO_COLLN_ NEW 2 524288000QUESTION:24Why is the table extending with the next extent that is specifiedeven though it is a locallymanaged tablespace.ANSWER:Migrated tablespaces are not subject to the UNIFORM/SYSTEMpolicy of newly created locally managed tablespaces. This wouldbe too difficult to implement, since the tablespace is likely tocontain the existing objects which already aviolate new policy. Forthis reason, migrated tablespace only support the sameallocation policy as the dictionary tablespaces. If you select fromDBA_TABLESPACES, you should see "USER" value in theALLOCATION_TYPE column for migrated tablespaces, andUNIFORM or SYSTEM value for tablespaces which were createdas locally managed. Therefore, the user does not get the policybenefits from migration, but can still get performance benefits - noST enqueue contention and more efficient extent operations.
SQL> select TABLESPACE_NAME,EXTENT_MANAGEMENT, ALLOCATION_TYPE,PLUGGED_IN2 from DBA_TABLESPACES;25 How to Resize a Datafile??How to Resize a Datafile:============ ========= ====Datafile management has two sides to it: not enough room forexistingdatafiles, or not enough room IN existing datafiles. Typicalsolutions are to drop and recreate the tablespace with differentsized datafiles, or to add more datafiles to a tablespace.RESIZE. This option allows you to change the physical size of adatafile from what was specified during its creation.I. Increase Datafile SizeII. Decrease Datafile SizeIII. Cautions and WarningsAttempting to use the RESIZE command on versions prior to 7.2will receive the following error:ORA-00923: FROM keyword not found where expectedI. INCREASE DATAFILE SIZETo increase the size of a datafile, you would use the command:
ALTER DATABASE DATAFILE <full_path_ name> RESIZE<integer> [K|M];where the size specified is larger than the existing file size. CheckV$DATAFILE for current settings. The BYTES column shows thecurrent size of the datafile, and the CREATE_BYTES columnshows what the size was specified when the file was created. Thesize of the datafile will also be changed at the operating systemlevel.For example:FILE# STATUS ENABLED CHECKPOINT BYTESCREATE_BYT NAME------ ------- ---------- ---------- -------- ---------- ------------ ----5 ONLINE READ WRITE 7450 2097152 102400/databases/oracle/ test.dbfAs you can see, the file was created with a size of 100K(CREATE_BYTES) and was increased to a size of 2MB (BYTES)with the RESIZE command.II. DECREASE DATAFILE SIZETo decrease the size of a datafile, you use the same command, butspecify a size smaller than the existing datafile. For example, wecould reduce the file above back to 1MB with the command:ALTER DATABASE DATAFILE /databases/ oracle/test. dbfRESIZE 1MB;Downsizing a datafile is more complicated than increasing the sizeof a
datafile. You cannot deallocate space from a datafile that iscurrently being used by database objects. To remove space from adatafile, you have to have contiguous space at the END of thedatafile.Check the viewDBA_FREE_SPACE to see how much space is not being used in adatafile. For the above file we get:SELECT * FROM DBA_FREE_SPACEWHERE TABLESPACE_NAME= TEMPORDER BY BLOCK_ID;TABLESPACE_NAME FILE_ID BLOCK_ID BYTES BLOCKS------------ ------ ---------- ---------- ---------- ----------TEMP 4 2 102400 50TEMP 4 55 96256 47TEMP 4 102 1890304 923As you can see, there are two large extents at the high end of thedatafile (BLOCK_ID = 55 and contains 47 blocks,BLOCK_ID=102 and contains 923 blocks). This means there are1986560 unused bytes at the end of our datafile, almost 2MB. Wewant to leave some room for growth in our datafile, and dependingon how the objects in that datafile allocate new extents, we couldremove easily up to 1.89MB of disk space from the datafilewithout damaging any objects in the tablespace.If you have a large extent in the middle of a datafile, and someobject taking up room at the end of the datafile, you can use thequery FINDEXT.SQL to find this object. If you export this object,then drop it, you should then free up contiguous space at the end ofyour datafile so you will be able to resize it smaller. Make sure youleave enough room in the datafile for importing the object backinto the tablespace.
FINDEXT.SQLScript to find database object locations for a given datafile.REM findext.sqlREM This script prompts user for a datafile ID number, andREM then lists all the segments contained in that datafile,REM the blockid where it starts, and how many blocks theREM segment contains. It shows the owner, segment name, andREM segment typeSET ECHO OFFttitle - center Segment Extent Summary skip 2col ownr format a8 heading Owner justify ccol type format a8 heading Type justify c trunccol name format a28 heading Segment Name justify ccol exid format 990 heading Extent# justify ccol fiid format 9990 heading File# justify ccol blid format 99990 heading Block# justify ccol blks format 999,990 heading Blocks justify cselectowner ownr,segment_name name,segment_type type,extent_id exid,file_id fiid,block_id blid,blocks blksfromdba_extentswhere file_id = &file_id order by block_id/Example Output:
SQL> @findext.sqlEnter value for file_id: 5old 12: file_id = &file_idnew 12: file_id = 5Segment Extent SummaryOwner Segment Name Type Extent# File# Block# Blocks-------- ------------ -------- ------- ------ ------- --------USER EMP TABLE 0 5 2 5USER TAB3 TABLE 0 5 108 5USER TEST TABLE 0 5 348 5USER PK_EMP INDEX 0 5 483 5USER EMP TABLE 1 5 433 5USER EMP TABLE 2 5 438 10USER PK_EMP INDEX 1 5 488 10III. CAUTIONS AND WARNINGSFor safety reasons, you should take a backup of your databasewhenever you change its structure, which includes altering the sizeof datafiles.If you try to resize a datafile to a size smaller than is needed tocontain all the database objects in that datafile, you will get anerror:ORA-03297: file contains <number> blocks of data beyondrequested RESIZE valueThe resize operation will fail at this point.If you try to resize a datafile larger than can be created, you willalso get an error. For instance, in trying to create a file of 2GIG,
without 2GIG of available disk space you will get somethingsimilar to:ORA-01237: cannot extend datafile <number>ORA-01110: data file <number>: <full_path_ name>ORA-09971: sfsfs: write error, unable to write header block.If you check V$DATAFILE, you will see that the file size does notchange unless the operation is successful.Finally, if using multiple database writers (db_writers > 1), youmight run into [BUG:311905] . This appears as ORA-7374 errorswhen accessing the datafile after it has been resized. Theworkaround is to shutdown and restart the database after resizing adatafile (a convenient time to take a backup). This will cause thenew datafile size information to be refreshed to all the dbwr slaveprocesses. This bug is fixed in RDBMS version 7.3.3.MANUAL versus AUTOMATIC extension:Be careful giving datafiles the AUTOEXTEND attribute, certainlyspecify the NEXT and MAXSIZE parameters, set appropriatevalues for the default storage parameters on tablespace level andMAXEXTENTS; for objects in these tablespaces specify explicitlyINITIAL and NEXT extent size as well as MAXEXTENTS; avoidUNLIMITED sizes and extents to prevent objects with a very highnumber of extents will be created; this causes not onlya huge number of records in the dictionary tables, but droppingthem will take a very long time while smon is consuming all cpuresources it can get.26 How to DROP a Datafile from a Tablespace?How to DROP a Datafile from a Tablespace:
============ ========= ========= ========= ====Before we start with detailed explanations of the process involved,please note that Oracle does not provide an interface for droppingdatafiles in the same way that you could drop a schema object suchas a table, a view, a user, etc. Once you make a datafile part of atablespace, the datafile CANNOT be removed, although we canuse some workarounds. Before performing certain operations suchas taking tablespaces/ datafiles offline, and trying to drop them,ensure you have a full backup. If the datafile you wish to remove isthe only datafile in that tablespace, simply drop the entiretablespace using:DROP TABLESPACE <tablespace name> INCLUDINGCONTENTS;You can confirm how many datafiles make up a tablespace byrunning thefollowing query:select file_name, tablespace_namefrom dba_data_fileswhere tablespace_name =<name of tablespace> ;The DROP TABLESPACE command removes the tablespace, thedatafile, and the tablespaces contents from the data dictionary.Oracle will no longer have access to ANY object that wascontained in this tablespace. The physical datafile must then beremoved using an operating system command (Oracle NEVERphysically removes any datafiles). Depending on which platformyou try this on, you may not be able to physically delete thedatafile until Oracle is completely shut down. (For example, onWindows NT, you may have to shutdown Oracle AND stop theassociated service before the operating system will allow you todelete the file - in some cases, file locks are still held by Oracle.)
If you have more than one datafile in the tablespace, and you doNOT need the information contained in that tablespace, or if youcan easily recreate the information in this tablespace, then use thesame command as above:DROP TABLESPACE <tablespace name> INCLUDINGCONTENTS;Again, this will remove the tablespace, the datafiles, and thetablespaces contents from the data dictionary. Oracle will nolonger have access to ANY object that was contained in thistablespace. You can then use CREATE TABLESPACE and re-import the appropriate objects back into the tablespace. If you havemore than one datafile in the tablespace and you wish to keep theobjects that reside in the other datafile(s) which are part of thistablespace, then you must export all the objects inside the affectedtablespace. Gather information on the current datafiles within thetablespace by running this query:select file_name, tablespace_namefrom dba_data_fileswhere tablespace_name =<name of tablespace> ;Make sure you specify the tablespace name in capital letters. Inorder to allow you to identify which objects are inside the affectedtablespace for the purposes of running your export, use thefollowing query:select owner,segment_ name,segment_ typefrom dba_segmentswhere tablespace_name= <name of tablespace>
Now, export all the objects that you wish to keep. Once the exportis done, issue the DROP TABLESPACE tablespace INCLUDINGCONTENTS.Note that this PERMANENTLY removes all objects in thistablespace. Delete the datafiles belonging to this tablespace usingthe operating system. (See the comment above about possibleproblems in doing this.) Recreate the tablespace with the datafile(s)desired, then import the objects into that tablespace. (This mayhave to be done at the table level, depending on how the tablespacewas organized.)NOTE:The ALTER DATABASE DATAFILE <datafile name> OFFLINEDROP command, is not meant to allow you to remove a datafile.What the command really means is that you are offlining thedatafile with the intention of dropping the tablespace. If you arerunning in archivelog mode, you can also use:ALTER DATABASE DATAFILE <datafile name> OFFLINE;instead of OFFLINE DROP. Once the datafile is offline, Oracle nolongerattempts to access it, but it is still considered part of thattablespace. This datafile is marked only as offline in the controlfileand there is no SCN comparison done between the controlfile andthe datafile during startup (This also allows you to startup adatabase with a non-critical datafile missing). The entry for thatdatafile is not deleted from the controlfile to give us theopportunity to recover that datafile. If you do not wish to followany of these procedures, there are other things that can be donebesides dropping the tablespace.- If the reason you wanted to drop the file is because youmistakenly created the file of the wrong size, then consider usingthe RESIZE command.See Related Documents below.
- If you really added the datafile by mistake, and Oracle has not yetallocated any space within this datafile, then you can useALTER DATABASE DATAFILE <filename> RESIZE;command to make the file smaller than 5 Oracle blocks. If thedatafile is resized to smaller than 5 oracle blocks, then it will neverbe considered for extent allocation. At some later date, thetablespace can be rebuilt to exclude the incorrect datafile.27 How do you Determining the Source of Invalid Objects ???Identifying Problem Object(s)------------ --------- -------The following SQL*Plus query may be used to identify the objectwhich isthe source of the problem:sql> SELECT owner, object_type, object_nameFROM dba_objectsWHERE status = INVALIDAND object_name IN (SELECT referenced_nameFROM dba_dependenciesWHERE name = <INVALID_OBJECT_ NAME>);For this query to work, select privilege to the dba_dependenciesanddba_objects is required. The actual invalid object name must besubstituted for the <INVALID_OBJECT_ NAME> as indicatedabove.The subquery finds all the objects that the invalid object dependson.
The outer query brings up the owner, type, and name for anyinvalid objectson which the INVALID_OBJECT depends. This identifies thesource package(s)and eliminates wasted time attempting to compile the wrongobjects.This query should be run interactively, replacing the value ofINVALID_OBJECT_ NAME until zero rows are returned.Validating Objects------------ ------When the above query on an object returns zero rows, attempt tovalidate thatobject name using the following command:ALTER PACKAGE invalid_pkg_ name COMPILE;If it compiles, then try recompiling those objects that weredependent onthat object. If it doesnt compile, issue the following commandfrom withinSQL*Plus.sql>SHOW ERRORSOr use the following SQL command and search the dba_errorstable:sql> SELECT NAME,TEXT FROM DBA_ERRORS WHERENAME =<INVALID_OBJECT_ NAME>;Use the results from that query to further diagnose the problem(s).
EXAMPLE:Suppose we have the following object dependencies:Pkg1 (Invalid)||_______|____ ___||Pkg2 (Invalid) Pkg3 (Valid)|_______|____ ____||Pkg4 (Valid) Pkg5 (Invalid)Use the following SELECT statement:sql> SELECT owner, object_type, object_nameFROM dba_objectsWHERE status = INVALIDAND object_name IN (SELECT referenced_nameFROM dba_dependenciesWHERE name = PKG1);The following information is returned:OWNER OBJECT_TYPE OBJECT_NAMEAPPS PACKAGE PKG2Run the query again for PKG2 instead of PKG1; PKG5 will bereturned.Run the query once more for PKG5 which then returns zero rows.
This indicates that because PKG5 is invalid, it is preventingthe proper compilation of packages PKG2 and PKG1.Therefore, it is necessary to either rebuild, or determine theproblemsassociated with PKG5 before the other two packages will compile.28 What is core fiel ? how do you examine the core file ??A: system resource(memory leak etc) dbx utility to examine thesame.Introduction~~~~~~~~~~~~This short article aims explain how to get a stack trace from acore dump produced by any of the Oracle products. By followingthe steps below you can provide Oracle Support with vitalinformation to help identify the cause of a problem.Please note that it is important to include information aboutthe tool being used, any code involved, the operation beingperformed, environment etc.. in addition to the details below.What is a core dump ?~~~~~~~~~~~~ ~~~~~~~~~ ~~A core dump is an image copy of a processes state at theinstant it aborted. It is produced in the form of a filecalled core usually located in the current directory.What causes a core dump ?~~~~~~~~~~~~ ~~~~~~~~~ ~~~~There are many situations which can cause a core dump to beproduced, but it is usually because the process has attemptedto do something which the operating system does not like. The
most common causes of this are:The program tried to access memory outside its allowed range.The program tried to obtain a resource which was eitherexhausted or unavailable.An attempt was made to execute illegal instructions.An attempt was made to read unaligned dataIn Unix systems the offending process is sent one of a numberof signals which force a core dump to be produced. It is alsopossible for a user to produce a core dump by sending one ofthese signals to a process manually.What should I do if I get a core dump ?~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~~~~ ~~~~~~~~~As with any problem you should first note down the FULL versionnumbers of the product, the RDBMS, PL/SQL (if used) and anyrelated products.You should also note the EXACT command you were runningwhenthis occurred. Eg: If it was a SQL*Forms problem and you wereusing mrunform30 , write this down. This command will bereferred to as program below.Now follow the instructions below in order:1) Check you have a core file, it should be in the directorywhere the command was issued, or in $ORACLE_HOME/ dbs OR$ORACLE_HOME/ dbs/core_ NNNNN if it is the oracleexecutable.
2) Log in as ORACLE and change in to the $ORACLE_HOME/bindirectory. Enter the command:file programand write the result down letter for letter. If the worddynamic or dynamically linked appears in the output of thiscommand then please make a note of this as there are a fewplatforms on which Oracle does NOT support dynamic linking andthis may be the cause of your problem.3) Now enter:chmod +r programto add read permission to the program.4) Log out , then log in as the user who encountered the error.The next step will vary slightly depending on which versionof Unix you are using. One of the following commands shouldexist on your machine - try each in order until you find onethat exists:Command NB Exit command Stack Trace command------- -- ------------ ------------ -------dbx quit wherexdb (HPUX 10) quit tgdb (HPUX 11) q btdde (HPUX 11) q btsdb q tadb $q (or Ctrl-D) $cdebug (PTX only) quit stack
gdb (Linux) quit btChange to the directory where the core dump is located andenter the commands as in the relevant example below. If youare not sure which program produced the core file then onsome Unix platforms the command file core will tell youthe executable name that the core file is from (this doesnot work on ALL Unix platforms, see note below.).Example commands:DBX: $ script /tmp/mystack$ dbx $ORACLE_HOME/ bin/<program> core(dbx) where... << Stack should appear here(dbx) quit$ exitXDB: $ script /tmp/mystack$ xdb $ORACLE_HOME/ bin/<program> core(xdb) t... << Stack should appear here(xdb) quit$ exitSDB: $ script /tmp/mystack$ sdb $ORACLE_HOME/ bin/<program> core(sdb) t... << Stack should appear here(sdb) q$ exit(NOTE: In the adb commands below literally type the $c& $q)ADB: $ script /tmp/mystack
$ adb $ORACLE_HOME/ bin/<program> core$c << NB: adb has no prompt so justenter $c...$q$ exitDEBUG: $ script /tmp/mystack$ debug -c core $ORACLE_HOME/ bin/<program>debug> stack... << Stack should appear heredebug> quit$ exitGDB: $ script /tmp/mystack$ gdb $ORACLE_HOME/ bin/<program> core(gdb) bt... << Stack should appear here(gdb) quit$ exitDDE: $ script /tmp/mystack$ dde -ui line core$ORACLE_HOME/ bin/<program>dde> bt...dde> q$exitAssuming this worked then the stack trace should be shown inthe file /tmp/mystack . Upload this to Oracle Support.5) If the debug command failed to give a stack trace then tryusing a different debugger from the list above (ifavailable). If all debuggers fail then there is probably a
problem with either the permissions or the file type - seethe section below and then contact Oracle Support with allthe details you have so far.Common reasons for not getting a sensible stack~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~~~~ ~~~~~~~~~ ~~~~~~~~Filesize Limits:Note that on some machines there may be a kernel parameteroruser limit which controls the maximum size of core file thatcan be produced - you can usually check this by typing:limit in the C shellOR ulimit -a in the Bourne / Korn shells.If this limit is too small the core file will be useless -raise the limit and reproduce the problem.Stripped ExecutableSome program executables are stripped of symbol information.This makes the stack trace useless. If file program showsthe word stripped or nm program shows no output then itis likely that the executable is stripped of symbolicinformation.In this case the problem tool must be relinked without beingstripped - on most Unix platforms this involves ensuringthere is no -s option on the link line. Contact OracleSupport with details of the link line used to link the tool.HP UnixSome platforms like HP Unix need a special object filelinking in at link time to ensure symbols in shared objectscan be reported by the debug tool. Typically this involvesrelinking the tool including /usr/lib/end. o on the link
line. The location of this special file may be differentdepending on your HPUX version. xdb generally tells youthe location of this file if it was not linked into theexecutable.If file core does not return the executable name:~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~~~~ ~~~~~~~~~ ~~~~~~~~~~~~Try using the strings command:csh> setenv LANG Corksh> LANG=C;export LANG ...to get rid of non-ASCIIcharacters return by strings> strings -a core | moreThe first part of the output may reveal the executable name.29 What command is used to find size of a process ???ps -aefl30 How do you find out what shared memorysegments areassigedn to different os users ??ipcs -s31 Some cases if you down the database even though sharedmemory is not released whatcommand is used to clear the shared memory ??ipcrm32 How big i create the data file size ??Identifying the Oracle database datafile maxsize on a givenplatform