Is "shutdown" = "stop Oracle services"?
When I perform a "shutdown" command from sydba:
Is this the same as if I do no shutdown but stop all the Oracle services e.g. (for XE):
XETNSListener
and
XEService
If it is more: What more?
Peter
No it is not the same. The listener and other Oracle processes like the agent are controlled differently than the database service. Please see your documentation.
Sorry forgot the link
http://download.oracle.com/docs/cd/B25329_01/doc/admin.102/b25107/toc.htm
Regards
Tim
Edited by: Tim Boles on Apr 22, 2009 8:00 AM
Similar Messages
-
How to stop Oracle services?
I'm new to Oracle. I have installed Oracle 10g and I'm trying to apply patch 10.2.0.5. I'm getting the error that ORASLAX10.DLL is being used by another process. I have found out that SNMP is using that dll. I have restarted SNMP but it will use the dll right away.
This is exactly what I have done before I start installing the patch:
Installed Oracle 10g 10.2.0.4
Restarted the server
I think that I probably need to shutdown Oracle services and/or database. I have checked the Services in Administrative Tools and I don't see any services with name starting with Oracle. I have ran lsnrctl status and there is no listener. What other commands should I run to check/stop any Oracles services/database?Thanks for all the helps.
Even though the Universal Installer windows was not responding at 100%, the patch installation seems to be completed successfully according to the log file.
Where can I find a list of non-Oracle services used by Oracle? I still have not figured out which product of Oracle I installed is using the SNMP service.
Edited by: 881656 on Sep 3, 2011 5:16 PM -
How to stop oracle services using Net8
Hi
each time I try to install oracle report 6i in myy machine (of course in the same developer home on which form installed ).
a message with title Stop oracle application
saying the following
you must stop all oracle services and application using Net8 for the Net8
installation to be successfull
press ok to continue the installation once the services and applications
have been stopped or press ok to abort this installation.
can any one help me?
oracle database 10g
windows xp
developer 6iYou can stop any service either
a) using the services applet in the control panel window
b) start a cmd box and issue
net stop <servicename>
Hth
Sybrand Bakker
Senior Oracle DBA -
Help needed with windows oracle services
Hi,
I am using Oracle 8.0.6. After installing the database. i wanted to change the INTERNAL password. so i shutdown the oracle services. When i try to start the services 1)OracleServiceORCL ,2)OracleStartORCL, the first service is starting but the second service hangs up.
Could anyone plss tell me if i can delete this service and recreate other. Plss describe the steps in detail.ateeqrahman wrote:
Hi,
I am using Oracle 8.0.6. After installing the database. i wanted to change the INTERNAL password. so i shutdown the oracle services. When i try to start the services 1)OracleServiceORCL ,2)OracleStartORCL, the first service is starting but the second service hangs up.
Could anyone plss tell me if i can delete this service and recreate other. Plss describe the steps in detail.Is this a new installation or has it been working for some time?
What OS?
If it is new, why Oracle 8.0? It was never designed to work with any current operating system and I would be surprised if anything about it works. -
Start/Stop remote oracle service
Is there anyway I could start/stop a remote oracle service? Please provide source code. Thanks!
HI,
Suppose ur Database resides on X machine
and u want to do remote login from y or z ,
follow the conditions and steps below
1) You need to install servermanager utility in ur remote machine
2)then u need to run orapwd.exe utility on ur remote machine with following command
"orapwd file=<full path name where u want to keep ur password file > password=<password> entries=<no of DBAs u want that password file to be accessed by>"
after this u need to change Parameter in initialisation file , u will find one entry called "REMOTE_LOGIN_PASSWORDFILE=NONE" u have to change it to " REMOTE_LOGIN_PASSWORDFILE=EXCLUSIVE" u can also control multiple dabases from this same password file for that u will have to change above entry to REMOTE_LOGIN_PASSWORDFILE=SHARED,after this
u need to pass following command "ALTER USER SYS IDENTIFIED BY <PASSWORD U LIKE > "
this will change the password of both INTERNAL and SYS, now if u want to give multiple user access to this file then simply u grant two roles to them "ALTER SYSTEM GRANT SYSOPER,SYSDBA TO <USERNAME>" (INTERNAL AND SYS have these roles by default) this will add that user to that file now that user can also go to servermanager.Now u can Connect with any of the user which u have added in passwordfile in ur machine, and can remotely start or stop database with following Commands "STARTUP" "SHUTDOWN" respectively
*Note -
1)Location of password file is OS specific
2)if ur using windows then u need to remove one entry in registry "DBA_AUTHORISATION =''
Have Fun -
Oracle service wont stop properly via net stop
Hi all,
A bit of advice required please!
We have 2 Oracle instances running on the same server, and every night the services are meant to shut down via a scheduled task from a batch file using net stop.
Most of the time, one of the services fails to stop. The command line says oracle service could not be stopped. Sometimes, this seems to crash the service, ie: it appears started but doesn't work and needs re starting.
To combat this, i am in early every morning to restart the services before people arrive! if someone could point me in the right direction as to what co6uld be causing this i would be gratefull!
Thanks in advance.
Edited by: user10873866 on 30-Jan-2009 00:06Well, for me the best way seems to contact with third party who installed everything and ask for their help.
If You don't have knowledge regarding what is running and how it's running, then probably don't touch it.
And by the way explanation for net stop failure could be this:
When you do a "net stop" windows tries to stop the service. The default behaviour is to shutdown the related instance in immediate mode. But, there's a timeout defined by the ORA_SID_SHUTDOWN_TIMEOUT registry value. Till 9i it was 30 seconds. On 10g it's 90sec default. This means that when Windows tries to shutdown the service, in mode immediate, if in 30/90sec the instance isn't stopped it'll be shutdown abort.
And fo rproduction database shutdown abort is probably not the best what You can perform each night.
In alert.log You could see what exactly happens during net stop. alert.log is under bdump directory, if You can do sqlplus "/as sysdba" to the database and execute
show parameter background
then You will see there bdump is located on Your system.
Edited by: Laura Gaigala on Jan 30, 2009 11:07 AM -
Oracle Service Stopes Automatically in 10g
Hi All,
I have oracle 10g installed on my system and was working for for the last one month.
Now it shows a strange problem , it stops on its own abruptly.
how i cantrace the log and reason for stopping the service.
please helpfollowing error are loged in that file
Mon Aug 01 14:58:54 2011
Errors in file c:\oracle\product\10.1.0\admin\orcl\udump\orcl_ora_692.trc:
ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [0x77C7678D] [] [] [] []
Mon Aug 01 14:58:54 2011
Errors in file c:\oracle\product\10.1.0\admin\orcl\udump\orcl_ora_692.trc:
ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [0x77C7678D] [] [] [] []
ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [0x77C7678D] [] [] [] []
Mon Aug 01 14:58:54 2011
Errors in file c:\oracle\product\10.1.0\admin\orcl\udump\orcl_ora_692.trc:
ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [0x77C7678D] [] [] [] []
ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [0x77C7678D] [] [] [] []
ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [0x77C7678D] [] [] [] []
Mon Aug 01 15:00:11 2011
Errors in file c:\oracle\product\10.1.0\admin\orcl\bdump\orcl_ora_2264.trc:
ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [0x7C82A87C] [] [] [] []
Mon Aug 01 15:00:11 2011
Errors in file c:\oracle\product\10.1.0\admin\orcl\bdump\orcl_ora_2264.trc:
ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [0x7C82A87C] [] [] [] []
ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [0x7C82A87C] [] [] [] []
Mon Aug 01 15:00:11 2011
Errors in file c:\oracle\product\10.1.0\admin\orcl\bdump\orcl_ora_2264.trc:
ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [0x7C82A87C] [] [] [] []
ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [0x7C82A87C] [] [] [] []
ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [0x7C82A87C] [] [] [] []
please suggest the solution and reason for the problem.. -
Reg: Oracle service is stopping when i am running a query
Hi...
I wrote a query with a cast function and a simple inner join on user defined tables,
and when i am executing the query i am getting the error message ORA-12500.
when i checked in the services ,my oracle service got stopped.
Can anyone tell me why this is happening???
Version : Oracle 10g
Message was edited by:
user64290412500, 00000, "TNS:listener failed to start a dedicated server process"
// *Cause: The process of starting up a dedicated server process failed.
// The executable could not be found or the environment may be set up
// incorrectly.
// *Action: Turn on tracing at the ADMIN level and reexecute the operation.
// Verify that the ORACLE Server executable is present and has execute
// permissions enabled. Ensure that the ORACLE environment is specified
// correctly in LISTENER.ORA. The Oracle Protocol Adapter that is being
// called may not be installed on the local hard drive. Please check that
// the correct Protocol Adapter are successfully linked.
// If error persists, contact Oracle Customer Support.The listener only starts a dedicated server process when servicing a client request. So I fail to see how your SQL ("with simple inner joins") will somehow reconnect to the listener. Unless you are use loopback database links?
Also, do not confuse symptoms as all relating to the same problem.
Exactly what are the sequence of events that results in the error? What client are you using? How does it connect (TCP or IPC)? If TCP, does it use a dedicated or shared server? Are there any related errors in the alert log? Is there a trace file created for your session? What is the exact o/s and Oracle versions you are using? -
I am upgrading/patching my test 10g database. While upgrading it ask you stop all oracle services in order to continue the upgrade. I did that but it is still asking to stop all oracle services. Now what do I do, anybody have experience with that.
First, make sure you don't have any thing automatically started, and don't use even sqlplus, as a client it will load several dll's and when the upgrade process starts it will mark several dll's as being used.
I've been working with win2003 several upgrade processes, I don't know exactly why, but several dll's are still marked as being used, even if the host was restarted with the service set to manual start. The exact list of dlls that are in this situation correspond to those used by an oracle client.
The workaround I found for my specific case was to rename the dll's and let OUI to write the new version. -
Oracle service to shutdown unexpectly
Hello everyone,
Working on 10g R2/windows server 2003.
What can cause the Oracle service to shutdown unexpectly?
We are having this issue more often now and the event viewer doesn't give us suitable information.
Someone has already had this issue before or heard about?
Thank you for your helpPlease find below the contents of the alerr log file.
Wed Aug 13 04:20:07 2008
Thread 1 advanced to log sequence 271
Current log# 3 seq# 271 mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG
Wed Aug 13 06:00:00 2008
Unable to restore resource manager plan to '':
ORA-02097: parameter cannot be modified because specified value is invalid
ORA-00439: feature not enabled: Database resource manager
Dump file d:\oracle\product\10.2.0/admin/orcl/bdump\alert_orcl.log
Wed Aug 13 07:26:52 2008
ORACLE V10.2.0.1.0 - 64bit Production vsnsta=0
vsnsql=14 vsnxtr=3
Windows Server 2003 Version V5.2 Service Pack 2
CPU : 2 - type 8664, 2 Physical Cores
Process Affinity : 0x0000000000000000
Memory (Avail/Total): Ph:3132M/3839M, Ph+PgF:5703M/6229M
Wed Aug 13 07:26:52 2008
Starting ORACLE instance (normal) [i]==> done manually after shutdown by me
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =23
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.1.0.
System parameters with non-default values:
processes = 190
sessions = 214
sga_max_size = 1476395008
__shared_pool_size = 218103808
__large_pool_size = 0
__java_pool_size = 16777216
__streams_pool_size = 0
shared_pool_reserved_size= 26214400
spfile = D:\ORACLE\PRODUCT\10.2.0\DB_1\DBS\SPFILEORCL.ORA
sga_target = 1258291200
control_files = D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\CONTROL01.CTL, D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\CONTROL02.CTL, D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\CONTROL03.CTL
db_block_size = 8192
__db_cache_size = 620756992
db_cache_size = 16777216
db_keep_cache_size = 385875968
compatible = 10.2.0.1.0
db_file_multiblock_read_count= 8
db_recovery_file_dest = D:\oracle\product\10.2.0/flash_recovery_area
db_recovery_file_dest_size= 2147483648
undo_management = AUTO
undo_tablespace = UNDOTBS1
remote_login_passwordfile= EXCLUSIVE
db_domain =
dispatchers = (PROTOCOL=TCP) (SERVICE=orclXDB)
session_cached_cursors = 200
job_queue_processes = 10
cursor_sharing = FORCE
parallel_min_servers = 2
parallel_max_servers = 0
audit_file_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\ADUMP
background_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\BDUMP
user_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\UDUMP
core_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\CDUMP
db_name = orcl
open_cursors = 300
optimizer_mode = FIRST_ROWS
optimizer_index_cost_adj = 20
optimizer_index_caching = 100
pga_aggregate_target = 391118848
PMON started with pid=2, OS id=5020
PSP0 started with pid=3, OS id=7640
MMAN started with pid=4, OS id=7208
DBW0 started with pid=5, OS id=1724
LGWR started with pid=6, OS id=2576
CKPT started with pid=7, OS id=2224
SMON started with pid=8, OS id=4576
RECO started with pid=9, OS id=2908
CJQ0 started with pid=10, OS id=2204
MMON started with pid=11, OS id=4200
MMNL started with pid=12, OS id=7444
Wed Aug 13 07:26:54 2008
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
starting up 1 shared server(s) ...
Oracle Data Guard is not available in this edition of Oracle.
Wed Aug 13 07:26:54 2008
alter database mount exclusive
Wed Aug 13 07:26:58 2008
Setting recovery target incarnation to 2
Wed Aug 13 07:26:58 2008
Successful mount of redo thread 1, with mount id 1190354878
Wed Aug 13 07:26:58 2008
Database mounted in Exclusive Mode
Completed: alter database mount exclusive
Wed Aug 13 07:26:58 2008
alter database open
Wed Aug 13 07:26:58 2008
Beginning crash recovery of 1 threads
Wed Aug 13 07:26:58 2008
Started redo scan
Wed Aug 13 07:26:59 2008
Completed redo scan
2530 redo blocks read, 411 data blocks need recovery
Wed Aug 13 07:26:59 2008
Started redo application at
Thread 1: logseq 271, block 6905
Wed Aug 13 07:26:59 2008
Recovery of Online Redo Log: Thread 1 Group 3 Seq 271 Reading mem 0
Mem# 0 errs 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG
Wed Aug 13 07:27:00 2008
Completed redo application
Wed Aug 13 07:27:00 2008
Completed crash recovery at
Thread 1: logseq 271, block 9435, scn 9152809
411 data blocks read, 411 data blocks written, 2530 redo blocks read
Wed Aug 13 07:27:00 2008
Thread 1 advanced to log sequence 272
Thread 1 opened at log sequence 272
Current log# 1 seq# 272 mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO01.LOG
Successful open of redo thread 1
Wed Aug 13 07:27:00 2008
SMON: enabling cache recovery
Wed Aug 13 07:27:01 2008
Successfully onlined Undo Tablespace 1.
Wed Aug 13 07:27:01 2008
SMON: enabling tx recovery
Wed Aug 13 07:27:01 2008
Database Characterset is WE8MSWIN1252
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
QMNC started with pid=16, OS id=7280
Wed Aug 13 07:27:05 2008
db_recovery_file_dest_size of 2048 MB is 0.00% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.
Wed Aug 13 07:27:05 2008
Completed: alter database open -
Start and Stop Listener service -Oracle 10g
Please, How I can stop and start listener service? My question is because I have "Oracle Instance" Oracle NT Service" in start up options in manually (i need to have them in way).
Platform: Oracle 10g.10.2.0.1.0 / Windows XP Professional.If I understand your issue....
C:\> net start <listener service name>
and
C:\> net stop <listener service name>
where <listener service name> is exactly the service name you see in Services panel. -
How to start and stop oracel services mannully
I want to start oracle services (Database(SID) and listner) manually when i want to use database, by default i services are not started (as i set in service properties).
I want to start them from some desktop shortcut to avoid going to control panel cuz i dont have rights to use control panel in my domain user.
Regards,
AslamPlease make .bat or .cmd files and those shot-cut.
Example of script in bat file (to use net command).
:dbstart.bat
net start OracleServiceE1020
:dbstop.bat
net stop OracleServiceE1020
Here OracleServiceE1020 is service name displayed Control Panel->Service->Propety->General->ServiceName. You could get it by 'net start' command with non argument, also.
C:\>net start
These Windows services are started:
(snip)
OracleServiceE1020
(snip)
The command completed successfully.
Another example (to use oradim)
:dbstart.bat
oradim -startup -sid E1020 -starttype srvc,inst
:dbstop.bat
oradim -shutdown -sid E1020 -shuttype inst -shutmode normal
oradim -shutdown -sid E1020 -shuttype srvc
Here, E1020 is sid. Please execute oradim with no argument for your help.
C:\>oradim
ORADIM: <command> [options]. Refer to manual.
Enter one of the following command:
(snip)
Startup services and instance by specifying the following options:
-STARTUP -SID sid | -ASMSID sid [-SYSPWD pass]
[-STARTTYPE srvc|inst|srvc,inst] [-PFILE filename | -SPFILE]
Shutdown service and instance by specifying the following options:
-SHUTDOWN -SID sid | -ASMSID sid [-SYSPWD pass]
[-SHUTTYPE srvc|inst|srvc,inst] [-SHUTMODE normal|immediate|abort]
Query for help by specifying the following parameters: -? | -h | -help
Message was edited by:
ushitaki
add example of 'net start' results -
How to Start / Stop Oracle Applications
How to Start / Stop Oracle Applications.
Oracle Applications Services (TCF, ConcManagers, Metric, Forms, Reports etc...) TnsListner & Oracle Service (DB) are started when the Server is started.
What is the sequential Order to Start / Shutdown services, Listener & DB.
Best regards,hi
there is no hard coded rule on which service should be started first.
the basic thing is concurrent manager uses database for starting, so i advice you the following sequence:
1. start the database
2. start the database listener
3. Apache server
4. forms server
5. report server
6. concurrent manager
and shutdown in the reverse order
simple
regards
srinivas -
Stop weblogic services using StartStopServices.xml parameter leaves cmd.exe
When using the "Start > All Programs > Oracle Business Intelligence > Stop BI services" function it calls the StartStopServices.cmd file. This file then references the StartStopServices.xml file using the following statement;
<target name="stop_all" depends="set.is.stop.all, opmn.stop, wls.mgd.stop, wls.wait.mgd.shutdown, del.generated.managed.server.credentials, wls.stop, wls.wait.admin.shutdown, del.generated.admin.server.credentials">
</target>
<target name="set.is.stop.all">
<property name="is.stop.all" value="true"/>
</target
The problem that I'm having is that when the weblogic services are successfully stopped, 2 cmd.exe windows are left open on the server. I've created a batch file to call the StartStopServices.cmd and added parameters such as
Sleep.exe 30
c:\windows\system32\TASKKILL.exe /F /IM cmd.exe /T
Theoretically this should pause for a few, and then close the open cmd windows. However whenever the StartStopServices.cmd is called it closes the original command window before any statements are executed. So essentially I don't get to the taskkill or sleep parameters. I'm assuming that I need to edit the XML file somewhere to make it so it doesn't stop_all and close, but simply stops all and allows my added entries in the cmd windows to execute so ALL cmd windows are closed.
I'm scheduling a backup using RMAN in NOARCHIVELOG mode, and need to stop the weblogic processes in order to complete this backup function. However I need to end these cmd windows otherwise over the course of time they will be cascaded everywhere. Has anybody accomplished this?Hope still you need a solution for your question.
Follow these steps to achive as expected file using StartStopServices.xml, do let me know for any questions.
File loc: MW_HOME\instances\instance3\bifoundation\OracleBIApplication\coreapplication
1) I've added a new target attribute( as 'veera' to existing code) at the end of the tag
<target name="stop_all" depends="determine.language, set.is.stop.all,find.or.get.credentials, opmn.stop, wls.mgd.stop, wls.wait.mgd.shutdown, del.generated.managed.server.credentials, wls.stop, wls.wait.admin.shutdown, del.generated.admin.server.credentials, veera">
</target>
2) Added new code as show below
<target name="veera" if="wls.domain.exists" depends="wls.check.exists" description="Stop WLS">
<echo message="Srini..." />
<exec spawn="true" executable="cmd.exe" osfamily="windows" dir="${DOMAIN_HOME}/bin">
<arg value="/c" />
<arg value="taskkill /f /IM cmd.exe" />
</exec>
</target>
If it is helpful, please mark as correct or helpful
Cheers,
Veeravalli
Edited by: svee on Jul 5, 2012 3:09 PM
Edited by: svee on Jul 5, 2012 3:12 PM -
Resilience in oracle service bus
HI to all,
I'm getting a problem because i have have a process in oracle service bus, that have a split-join and when a OSB server is shutdown the split-join stop and when the server are started up it don't restart i can i have resilience to overcome this problem.
Best RegardsHi,
Documentation states:
Split-Joins provide support for propagating transactions. Operations set with a QoS of Exactly Once are executed in the transaction. Operations set with a QoS of Best Effort do not execute in the context of a transaction.
Split-Joins do not handle transaction rollback in the case of exceptions. It is the responsibility service component that called the Split-Join to handle transaction exceptions and rollback.
The last statement is quite difficult to understand... I believe you need to handle a fail in the caller of the split join and possibly do a retry from there... The split join won't restart by itself...
Ref doc...
http://docs.oracle.com/cd/E28280_01/dev.1111/e15866/tasks.htm#i1150626
Cheers,
Vlad
Maybe you are looking for
-
How to use the Columns Hidden | space in the bottom of af:panelCollection?
Hi,experts, In jdev 11.1.2.3, I can see a row of Columns Hidden | Columns Frozen in the bottom of component af:panelCollection - pc1 which have an af:table - t1 component inside in designer view, and can see there is a blank row space only with "|" i
-
Htmldb 1.6.1.00.03 version insted of 2.0
I have made a new installation of htmld db rel 2.0 (download from oracle site). When i connect to Htmldb i view this : version : 1.6.1.00.03 . There is a mistake or i have donload the incorrect version ?? i donload this : Oracle Database 10g Companio
-
hey all, Can anyone help me, where can i find more information on writing customer exits in BEx. i want a better understanding of what does low, high etc mean. thanks Laura.
-
Why will lightroom 4.3 not allow processing of Raw images from the D600
look above
-
Server says Custom Tag is readonly
I am now trying to use the Jrun tag library with the orion server which is suppose to be tag neutral and am running into a bug that says the Jrun SqlTag library is readonly. oc4j howto says to simply add tag library to /WEB-INF/classes or WEB/INF/lib