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,
Aslam
Please 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
Similar Messages
-
How to start and Stop Running services with Java Programme
I have some Service Runinig on My Windows machine like Tomcat Server,i want to update some file in Tomcat server through java program ,it works only when my tomcat stops ,I want to write peice of Code so that i can stop service with my prog and start after updating my files
heres something that may help yeah
http://wrapper.tanukisoftware.org/doc/english/introduction.html -
Start and stop windows service for multiple remote computers
Hello,
Can someone show me how to Start and Stop windows service for multiple remote computers using Command Prompt or PowerShell or even Java?
Thank youYou asked a pure Windows related question at a pure Java related forum. We have advised you to look for a Windows related forum to post the question. Nothing special. It's like asking a car mechanican to help you with your migraine, he would advise you to look for a general practitioner.
But why are you so surprised and negative about this answer after all? Don't we have to help you? Don't you appreciate help? So be it then, but please stay away then if you keep this attitude. -
How to start and stop the BI Services in Solaris 10
Hello All,
Can anyone guide me on how to start and stop the BI Services in Solaris 10. In windows there are options set in Start->Programs->Middleware_Home->Start/Stop BI Services.
Primarily after doing changes to the scheduler configuration, I need to restart the services to get it implemented? If yes how can I do it?
Any help will be appreciated
Thank you
Ash
Edited by: 902739 on Jan 11, 2012 12:17 PMPlease help me by showing action plan for stop sap , offline backup and then start sap.
i am little bit confuse How to start and stop SAP on cluster for offline backup
Below are the systems name with host name , please explain me in sequence
Systems name Hostname
# Hope SAP ERP Prod DB Primary gsgbbux860
# Hope SAP ERP Prod DB Standby gsgbbux861
# Hope SAP ERP Prod Cluster gsgbbux862
# Hope SAP ERP App 1 gsgbbux864
# Hope SAP ERP App 2 gsgbbux865
Thanks in advance
Zaheer -
How to Start and Stop Processes?
How to Start and Stop Processes?
Im trying to create a program which allows me to Start and Stop (and Restart) GameServers. I will then expand on this so i can start and stop them through a web applet with build in useraccounts.
Currently the way we do this is to log into the server using a RemoteAssistance. Which is not very safe as the users have the abbility to do anything on the server and potentially corrupt it.
Below is my code for how i start the servers. But i dont know how i would stop the process.
private void startServers()
for(GameServer gs : servers)
int ID = Integer.parseInt(gs.getID());
if(isChecked(ID))
try
String cmd[] = gs.getStartString();
Runtime.getRuntime().exec(cmd);
int sleepPeriod = Integer.parseInt(sleepField.getText());
Thread.sleep(sleepPeriod*100);
catch(Exception e)
System.out.println(e);
}//end of iterator
JOptionPane.showMessageDialog(null,"All Selected Servers Have been started.","Servers Started",2);
}//end of startserversAnyhelp would be great thanks.Using the process class would give you a nicer API, but using destroy isn't a nice way to shutdown a process. Its like killing the process with your task manager. You should make a connection in some way with the game server and tell it to shutdown in stead (gracefull termination).
-
How to Start and Stop the SAP System
Hi,
I have installed "Sneak Preview"; Searched for start and stop scripts but there are more than one script which has named start.bat and stop.bat. Moreover, I searched the documents which comes with Sneak Preview but could find useful instruction there either.
Question: Could you please point me to the documentation where it explains the starting and stopping SAP, for Sneak Preview?
Thanks in advance
Jawad KakarPlease help me by showing action plan for stop sap , offline backup and then start sap.
i am little bit confuse How to start and stop SAP on cluster for offline backup
Below are the systems name with host name , please explain me in sequence
Systems name Hostname
# Hope SAP ERP Prod DB Primary gsgbbux860
# Hope SAP ERP Prod DB Standby gsgbbux861
# Hope SAP ERP Prod Cluster gsgbbux862
# Hope SAP ERP App 1 gsgbbux864
# Hope SAP ERP App 2 gsgbbux865
Thanks in advance
Zaheer -
How to Starting and Stopping OC4J Server using Ant
How to Starting and Stopping OC4J Server using Ant
In the ant task definitions for ant-oracle-classes.jar (see antlib.xml) there are two tasks called
name="restartServer" classname="oracle.ant.taskdefs.deploy.JSR88StartServer"
name="shutdownServer" classname="oracle.ant.taskdefs.deploy.JSR88ShutdownServer"
I thought that these would shutdown and start the OC4J server. I guessed the parameters as – (Does anyone know where 50 ant targets are documented?)
<oracle:restartServer
userid="${oc4j.admin.user}"
password="${oc4j.admin.password}"
deployeruri="${deployer.uri}"
/>
<oracle:shutdownServer
userid="${oc4j.admin.user}"
password="${oc4j.admin.password}"
deployeruri="${deployer.uri}"
/>
This, however does not start and stop the SOA suite. To do that I've hacked this solution together -
<path id="oc4j.console">
<pathelement location="${oracle.home}/config"/>
<pathelement location="${oracle.home}/jlib/startupconsole.jar"/>
<pathelement location="${oracle.home}/opmn/lib/optic.jar"/>
<pathelement location="${oracle.home}/lib/xmlparserv2.jar"/>
</path>
<target name="stop" description="stop oc4j server" depends="init">
<java classname="oracle.appserver.startupconsole.view.Runner">
<classpath refid="oc4j.console"/>
<sysproperty key="ORACLE_HOME" path="${oracle.home}"/>
<arg value="stop"/>
</java>
</target>
<target name="start" description="restart oc4j server" depends="init">
<java classname="oracle.appserver.startupconsole.view.Runner">
<classpath refid="oc4j.console"/>
<sysproperty key="ORACLE_HOME" path="${oracle.home}"/>
<arg value="start"/>
</java>
</target>
This sort of works – except when the SOA suite doesn't stop cleanly – and needs user interaction to press a Close button. This isn't very useful when doing a continous integration build and deploy.
So, does anyone have any suggestions or alternative methods to do this?
- frankActually if the server throws exceptions when it stops (which it always has since we applied patch 10.1.3.3) this technique will pause until a user responds to pop-up ... So a better way (I think) is -
<target name="start" description="start oc4j server" depends="init">
<java classname="oracle.appserver.startupconsole.view.Runner">
<classpath refid="oc4j.console"/>
<sysproperty key="ORACLE_HOME" path="${oracle.home}"/>
<arg value="start"/>
</java>
</target>
<target name="stop" description="stop oc4j server" depends="init">
<echo message="We expect OC4J *NOT* to stop cleanly, so we will timeout after 3 minutes ..."/>
<java classname="oracle.appserver.startupconsole.view.Runner" fork="true" timeout="180000">
<classpath refid="oc4j.console"/>
<sysproperty key="ORACLE_HOME" path="${oracle.home}"/>
<arg value="stop"/>
</java>
</target>
<target name="restart" description="restart oc4j server">
<antcall target="stop"/>
<!-- wait for server to quieten down -->
<waitfor maxwait="2" maxwaitunit="minute">
<not><http url="http://${oc4j.http.hostname}:${oc4j.http.port}"/></not>
</waitfor>
<antcall target="start"/>
</target> -
How to start and stop Oracle Application Server from ANT
How to start and stop Oracle Application Server and Web application from ANT
Thanks in Advance.
ManiHi,
You can use: startManagedWebLogic.sh, it is in your domain directory and you have to execute it in this way
./startManagedWebLogic.sh managedServerName http://adminServerHost:adminServerPort
For instance, in my case I use:
unixserv01:/webportal/domains/appServerWeb/bin>startManagedWebLogic.sh managedServ01 http://pelma3w3per01.mesaperu.next:7001
You have to run it on the machine where the managed server was installed.
Best regards,
Raúl -
How to start and stop VIO cluster
How to start and stop VIO cluster
How to extend/modify the VIO cluster once created from webclient
Thanks,
VenkatVIO 1.0 GA version has the UI to start/stop the cluster
-
How to start and stop a progress-bar thread before/after the main thread
hi. I would appreciate any kind of help on my request.
I have this as my main() function
public static void main(String[] args)
SwingUtilities.invokeLater(new Runnable(){
public void run(){
Options op = new Options();
OdessaClient oc = new OdessaClient(op);
oc.setVisible(true);
}Whenever I try to start a simple JFrame with an indeterminate progress bar on it just before the main function and stop it somewhere after I get a StackOverFlow error
Exception in thread "AWT-EventQueue-0" java.lang.StackOverflowError
at java.awt.Component.show(Component.java:1302)
at java.awt.Component.setVisible(Component.java:1253)
at com.client.CylonBar.hide(CylonBar.java:25)
at java.awt.Component.show(Component.java:1302)
at java.awt.Component.setVisible(Component.java:1253)
...and so on...How must I implement something like it?Not precisely that way, but just off the top of my head, you would have to have a handle to the proccess (server) in the first window, then have a monitor program that allows you take this handle and end it. I would make this monitor program be the gateway to starting and stopping your server. To run a .bat file you can use runtime.exec().
-
How to start and stop a queue in ECC??
Dear all,
I have a problem regarding the Start and Stop of queues in ECC. Whenever I change the data in ECC (for example extension of a material to a new distribution chain, or Creating a quotation which has to trigger a corresponding quotation in CRM), replication is not happening to CRM. On analysis of the outbound queue in ECC, we are finding corresponding ernties for the material / quotation. On dbl cliking an entry, we are able to see the queue in STOP status. When tried to reset status and activate, system throws a message saying GENERIC STOP SET.
1) How to overcome this problem?
2) How to START or STOP a queue (for Eg: R3AD*) in ECC?
Please respond.
Every point you share will fetch so many points / lot many smiles to you (No surprises.. I am plagerizing the famous quote on SDN)
Regards,
RajeshDear Chandra,
Thanks for ur quick response. I have awarded you a sixer. Ofcourse, the content is much richer than that. But if i award 10, thread has to be closed. So that stopped me from awarding that
Dear all,
Can someone else share their views?
Regards,
Rajesh -
Start and Stop of Services for 11x
hi
Can anyone please let me know the order to stop and start the services of 11x (HSS,PLANNING,ESSBASE and BI)
Haven't found any documentation to in the portal related to start and stop of the services.
thanks in advance
Best regards
krishnatilakI take it you mean the order to start/stop services.
You can find the list at :- http://download.oracle.com/docs/cd/E12825_01/epm.111/epm_install/ch05s02.html
Cheers
John
http://john-goodwin.blogspot.com/ -
How to start and stop a server
I am doing some sockets programming.
Now, when I want to get the TomCat 4 server running for instance, I would have to run the startup.bat or startup.sh file. To stop the server I run the shutdown.bat or shutdown.sh file.
Can I do the same thing in Java?
That is, in one window, I run a program: C:\>java myserver start
The server starts running and holds there.
In another window, I run another command: C:\>java myserver stop
and the server in the other window stops.
I am thinking the server would be running in a thread. When I shut it down, I close the thread just like in the Applet Clock example.
I've tried this but it doesn't work.
Can anyone please advise.
Thanks.
Anthony.Not precisely that way, but just off the top of my head, you would have to have a handle to the proccess (server) in the first window, then have a monitor program that allows you take this handle and end it. I would make this monitor program be the gateway to starting and stopping your server. To run a .bat file you can use runtime.exec().
-
I'm very new to Flash / action script, so I just need to know where to put both the start loop, and the end loop code (below) in my Flash file to make the waving effect on this flag (link below) start and stop when I need it to, because I'm adding a small amount of flash both before and after it. thanks.....
loopI = setInterval(loopF,40);
to start the waving and use:
clearInterval(loopI);
to stop the waving.
function loopF(){
// move the matrix by speed along x to shift the noise
shift.translate(speed, 0);
// drawing in the perlin movie clip,
// create a rectangle with the perlin noise
// drawn in it with an offset supplied by the
// shift matrix
with (displace_mc.perlin){
clear();
beginBitmapFill(noiseBitmap, shift);
moveTo(0,0);
lineTo(ramp._width, 0);
lineTo(ramp._width, ramp._height);
lineTo(0, ramp._height);
lineTo(0, 0);
endFill();
// draw the displacement movie clip in the
// displaceBitmap (used in displaceFilter)
displaceBitmap.draw(displace_mc);
// apply displaceFilter to the flag
flag_mc.filters = [displaceFilter];
updateAfterEvent();
http://www.senocular.com/flash/source.php?id=0.188i told you and it's in your message:
use:
loopI = setInterval(loopF,40);
to start the waving.
use:
clearInterval(loopI);
to stop the waving.
// do not edit the below code:
function loopF(){
// move the matrix by speed along x to shift the noise
shift.translate(speed, 0);
// drawing in the perlin movie clip,
// create a rectangle with the perlin noise
// drawn in it with an offset supplied by the
// shift matrix
with (displace_mc.perlin){
clear();
beginBitmapFill(noiseBitmap, shift);
moveTo(0,0);
lineTo(ramp._width, 0);
lineTo(ramp._width, ramp._height);
lineTo(0, ramp._height);
lineTo(0, 0);
endFill();
// draw the displacement movie clip in the
// displaceBitmap (used in displaceFilter)
displaceBitmap.draw(displace_mc);
// apply displaceFilter to the flag
flag_mc.filters = [displaceFilter];
updateAfterEvent();
http://www.senocular.com/flash/source.php?id=0.188 -
How to start and stop an embedded sound
I'm putting a sound of a cat purring in the intro to my animation. I've been asked to make it possible for viewers to turn the sound on and off with buttons. I can do it with an outside sound file by using URLRequest.
Is there a way to start and stop the sound if it is embedded in my library? If so, can someone give me that script.
TIAHello mnemo,
You can use your digital signal to stop your generation with the following property node
DAQmx-Triggering
Regards.
Jean-Baptiste C.
National Instruments France
#adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
>> Téléchargez dès maintenant toutes les présentations techniques !
Maybe you are looking for
-
I Have A New Lacie Rugged 320 GB - Do I Partition The Drive?
I have a new Lacie Rugged 320GB (along with my other two Lacie external hard drives), and have a few questions about setting this one up for what I want to do. 1. I want make a partition to save a complete eMac Hard Drive on the new Lacie Rugged 320
-
Desktop Manager compatible with Blackberry Bold 5.0 OS?
To make a long story short, the workstation I use for Microsoft Exchange e-mail is running on the Windows 2000 server OS that was provided by the corporate office. Since I currently have Desktop Manager 4.7 running without problems for my Blackberry
-
ITunes and Audio Midi settings for digital output sampling frequency
Most of my music is sampled at the CD standard of 44.1 kHz, but some is 48 kHz. I have Audio Midi set to output 48 kHz with 24-bit depth. I've been told that to avoid having iTunes up-sample when playing 44.1 kHz music, that I need to quit iTunes, ma
-
Someone please help
-
How to write BW extractor code in HANA
Dear All, We are writing calculation view in HANA from analyzing logic of BW extractor. Can it is possible to write BW code in HANA in ABAP perspective to minimize the effort. Regards, Amol