Start/Stop 10g AS0g AS architecture consist of
infrastructure Services (Database & Identity Management)
&
Middle tier Services (Portal & Wireless or BI & Forms)
[j2ee & webcache type (which is third middle tier Installation type)]
Startup Sequence
--Start Database Listener
-- Start Database
-- Start Infrastructure Services
-- Start Middle Tier Services
Shutdown Sequence
-- Shutdown Middle Tier Services
-- Shutdown Infrastructure Services
-- Stop Database
-- Stop database listener
What utility I should use to startup / shutdown (Bouncing) for 10g AS ?
You can use iasconsole (Browser based console listening in default port 1156) to startup shutdown services
You can also use opmnctl ; command line tool (Oracle Process Management & Notification) control to startup shutdown services
dcmctl utility to start/stop services is now deprecated & should not be used
Startup
Start listener as - lsnrctl start [listener_name]
Start Database as - sqlplus ""/as sysdba""; SQL> startup
Start Infrastructure Services as - opmnctl startall (Make sure your are in Infra Home)
Start Middle Tier Services as - opmnctl startall (Make sure your are in Middle Tier Home)
Shutdown
Stop Middle Tier Services as - opmnctl stopall (Make sure your are in Middle Tier Home)
Stop Infrastructure Services as - opmnctl stopall (Make sure your are in Infra Home)
Stop Database as - sqlplus ""/as sysdba""; SQL> shutdown immediate
Stop listener as - lsnrctl stop [listener_name]
How to start/stop iasconsole ?
you can start/stop services using iasconsole but before that you have to start / stop iasconsole itself which you can do by emctl (em - enterprise manager)
emctl start iasconsole
emctl stop iasconsole
You can access ias console screen from browser by url
http://host.domain:em_port/emd (Default em port is 1156)
http://host.domain:1156/emd (This will prompt username password , use ias_admin)
How to start individual component ?
Step mentioned above are to stop/start all components in Middle Tier or Infrastructure Tier , what if I want to start/stop/restart only few components of a Tier ? You will use
opmnctl [startproc stopproc restartproc] ias-component=[component_name]
or
opmnctl [startproc stopproc restartproc] process-type=[process_name]
Where Component Name like - OC4J, OID, HTTP_Server, WebCache and
Process Type like - WebCacheAdmin, OC4J_Portal, OC4J_Security
How to start / stop webcache ?To start/stop webcache with 10g AS, use
opmnctl startproc/stopproc ias-component=WebCache
For standalone J2ee & Webcache Installation use
webcachectl start/stop
How to troubleshoot Webcache Issues ?Webcache logs are at $ORACLE_HOME/logs event_logs & access_log , all issues errors are recorded in event_logs so check this file any issues related to Webcache
OIDIf you don't know which ports your OID is using refer
portlist.ini in $ORACLE_HOME/install (Note that this file will not list updated port if you change OID ports after Installation)
You should an entry like
Oracle Internet Directory port = 389
Oracle Internet Directory (SSL) port = 636
How to start OID ?OID process is controlled by opmn (Oracle process monitor & notification server) so you by default use opmnctl command
To Start OID opmnctl startproc ias-component=OID
To Stop OID opmnctl stopproc ias-component=OID
OID can also be started without OPMN by
First start oidmon (OID Monitor Process)
Then use oidctl (OID control)
To stop OID without OPMN
First stop oid process using oidctl then stop oidmon (OID monitoring process)
When you start services using opmnctl , it inturn start oidmon & oidctl
SSO login URLUser can login to E-Business Suite Locally (NO SSO, directly from FND_USER) or to SSO (authentication via SSO) or BOTH. Set profile option "Applications SSO Login Types" to LOCAL or BOTH at userlevel and use
http(s)://(hostname).(domainname):(port)/ OA_HTML/ AppsLocalLogin.jsp
For SSO authentication use URL
http(s)://(hostname).(domainname):(port)/oa_servlets/AppsLogin
10g as version:/d01/oradev/OraHomeAS/config
"$ grep -i version ias.properties
Version=10.1.2.2.0
Discoverer values setup in context file1. Check the following are set
oa_disco_server>
disco_portrange oa_var="s_disco_servlet_portrange" oa_type="PORT">17011-17020
disco_ver_comma oa_var="s_disco_ver_comma">10,1,2
oem_web_port oa_var="s_oemweb_port" oa_type="PORT">10307
osagent_port oa_var="s_osagent_port" oa_type="PORT">10308
disco_nprocs oa_var="s_disco_nprocs" osd="Linux">0
disco_eul_prefix oa_var="s_disco_eul_prefix">EUL5
disco_node_weight oa_var="s_disco_node_weight" osd="Linux">0
discoinstancename oa_var="s_discoinstanc">hostname.domainname_10315
disco_standalone oa_var="s_disco_standalone">true
disco_protocol oa_var="s_disco_protocol">http
disco_machine oa_var="s_disco_machine">discovererhostname.domainname
disco_port oa_var="s_disco_port" oa_type="PORT">7778
disco_ipaddress oa_var="s_disco_ip_addr">"xxx.xx.xx.xxx"
disco_ORBalwaysProxy oa_var="s_disco_ORBalwaysProxy">no
disco_jretop oa_var="s_disco_jretop" osd="Linux">/d01/oravis/visora/806/jre1183o
disco_jvm_options oa_var="s_disco_jvm_options" osd="unix"/>
disco_oad_executable oa_var="s_disco_oad_executable">oad
oa_disco_server>
appserverid_authentication oa_var="s_appserverid_authentication">OFF
Run autoconfig.
Check the following profile options
ICX: Discoverer Launcher http://discovererhostname.domainname:7778/discoverer/plus?Connect=[APPS_SECURE]
ICX: Discoverer Parameters ICX: Discoverer Release 10
ICX: Discoverer Viewer Launcher http://discovererhostname.domainname:7778/discoverer/viewer?Connect=[APPS_SECURE]
ICX: Discoverer use Viewer Yes
To check current Oracle Application Server Patchset version i.e. if 10.1.3.0 or 10.1.3.1 or 10.1.3.2a) Using runInstaller
–Invoke runInstaller from 1013_ORACLE_HOME/oui/bin
–Click on Installed Products.
–Select the 10.1.3 Oracle Home and expand the tree. You should see Oracle Application Server Patchset 10.1.3.X patch in the list.
b) Using Opatch
Run the command ‘opatch lsinventory -detail‘
Look for ‘Oracle Application Server PatchSet‘ in the ‘Product‘ column.
OC4JADMIN password.
If your source oracle home version is 10.1.3.0 then password for oc4jadmin is secret else (for 10.1.3.1/2/3) password is oafm
To know 10g discoverer versionTo get the existing version name of Discoverer Server on Unix, go to $ORACLE_HOME/bin and run the command:
strings -a dis51ws | grep ""Discoverer Version:""
Otherwise you can start Discoverer Plus/Viewer and check the version.
To unlock ias_admina nd orcladmin a/c ---> 280116.1
Just go to the directory
$ORACLE_HOME/sysman/j2ee/conf. In this directory you'll find the configuration file
jazn-data.xml. Inside this configuration file you'll find the definition of the
ias_admin user including his encrypted password:
* snippet from jazn-data.xml
...
ias_admin
{903}YdvTMA...
Inside the tag you see the encrypted password of the ias_admin. To reset the password, just change the value inside the tag as follows:
snippet from jazn-data.xml
...
ias_admin
!mynewpassword1
The new password you have to provide in clear text has to start with a ""!"". Be aware that the new password must match the password rules: minimum 6 signs and one sign must be a number. After your changes, stop the ASC and restart it with following commands:
* emctl stop iasconsole
* emctl start iasconsole
Now you can login with your new password and inside the jazn-data.xml the provided
password in clear text is automatically changed into an encrypted password.
for orcladmin
How to Unlock/Reset Super User cn=orcladmin When the ODS's Password Has Been Forgotten or is Unknown? [ID 472752.1]
Unlocked the orcladmin account using following command.
oidpasswd connect=dtst unlock_su_acct=true
check if orcladmin account is locked. Use the following command to check if account is locked.
$ORACLE_HOME/bin/ldapbind -p 389 -D cn=orcladmin -w welcome1
OC4jADMIN password reset
466246.1 How To Reset The Password Of The oc4jadmin Account For Enterprise Manager
576587.1 How to change the OC4Jadmin Password
556031.1 How To Have The Password In Clear Text In Jazn-data.xml?
403678.1 How To Change The Passwords For BPELADMIN / OC4JADMIN / SOA Suite
http://download.oracle.com/docs/cd/B25221_04/core.1013/b25209/trouble_asc.htm#BCEDHFEI
http://onlineappsdba.com/index.php/2008/06/03/changereset-oc4jadmin-password/
Rotating oc4j and opmn log on SOA nodes
The below changes has to be made in opmn.xml file.
a. The below tag has to be added as a part of the start-parameters category id for ias component SOA_GROUP and for process type OC4J_SOA.
( In our case we can find it at line
data id=""oc4j-options"" value=""-out /d11/oraias/prodias/10.1.3/opmn/logs/mylog.out -err /oracle/101202J2EE/opmn/logs/mylog.err"" />
b.Change the line
log path=""$ORACLE_HOME/opmn/logs/opmn.log"" comp=""internal;ons;pm""
rotation-size=""1500000"" to
log path=""$ORACLE_HOME/opmn/logs/opmn.log"" comp=""internal;ons;pm""
rotation-hour=""0""
2. opmnctl stopall
3. backup of the log files.
4. opmnctl startall