OBI EE Shutdown command line

Hi
I'd like to write a script that will shut down the analytics server and presentation service from the command line (DOS) Does anybody konw how to do that? I know that to start the server you use sawserver.exe.
Thanks for your help
Fiston

I believe there is an option to sawserver.exe to stop the service. Try opening up services console and check which exe file, each of the services are invoking. Can you try this out, "sawserver stop" from command line. I dont have an instance to test it out right away but this should atleast give you an idea.
Thanks,
Venkat
http://oraclebizint.wordpress.com

Similar Messages

  • How to shutdown startup 11g OEM/GRID from Command Line

    Please describe how to shutdown and startup OEM/GRID 11g from command line and how to startup all of its services. Thanks in advance!

    After a some tests i found this method...
    SHUTDOWN
    srvctl stop listener -l LISTENER_NAME
    srvctl stop database -d DBNAME
    srvctl stop diskgroup -g VGGROUP
    srvctl stop asm
    crsctl stop has
    STARTUP
    crsctl start has
    srvctl start asm
    srvctl start database -d DBNAME
    Pls try before to use it and i hope it isn't late...

  • How do shutdown the weblogic server from the command line prompt using web logic 8.1

    I%u2019m currently using weblogic 6.1, but I will upgrade to weblogic 8.1. In weblogic 6.1, the following statements will shutdown the weblogic instance from the command line:
    java weblogic.Admin -url t3://hostname:port -username system -password abc SHUTDOWN
    How do I shutdown the weblogic server from the command line prompt using web logic 8.1.
    Any help will be greatly appreciated.
    Maria

    Maria <[email protected]> wrote:
    How do I shutdown the weblogic server from the
    command line prompt using weblogic 8.1?Greetings Maria! Use this document, located here:
    http://edocs.bea.com/wls/docs81/admin_ref/cli.html#1131733
    Hope this helps...
    Brian J. Mitchell
    Systems Administrator, TRX
    email: [email protected]
    office: +1 404 327 7238
    mobile: +1 678 283 6530

  • Configuring Shutdown without logon, using command line or script

    I´ve configured the shutdown without logon capability in Win2012/R2 using the GPEDIT.MSC
    How cna i do that by command line?
    In the past i could use the reg key ShutdownWithoutLogon, but i´ve configured in the GUI but nothing happened in the registry of the win2012/R2
    C:\>reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v ShutdownWithoutLogon
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
        ShutdownWithoutLogon    REG_SZ    0
    How can i do that, automated, to configure several computers in workgroup environment

    Hi KayZerSoze,
    Since there has no domain enviroment, remote access is more difficult. However,  if the network allows this two workgroups can communicate with each other, you can try Powershell Remoting:
    Server 1 remote access Server 2.
    1) Run
    Enable-PSRemoting –Force on server2
    You need to run
    Enable-PSRemoting –Force on server1, which gives you the rights to access and modify TrustedHosts setting, or you will receive the error “Set-Item : Access is denied.”
    2) You can add the TrustedHosts entry on server1:
    Set-Item WSMan:\localhost\Client\TrustedHosts –Value remoteipaddress
    This command above configures Windows PowerShell Remoting so that you can connect to any computer, not just those inside trusted domain(s).
    Then run the script below to change registry value on server2 with Powershell, which will change the value of "ShutdownWithoutLogon"
    to "1":
    Invoke-Command -ComputerName server2ipaddress -Credential admin -ScriptBlock {Set-itemproperty -path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" -name ShutdownWithoutLogon -value 1}
    For more detailed information about Powershell Remoting, please Refer to this FAQ:
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/f60a29ef-925e-4712-9788-1f95e12c8cfc/forum-faq-introduce-windows-powershell-remoting?forum=winserverpowershell
    If there is anything else regarding this script, please feel free to post back.
    Best Regards,
    Anna Wang

  • Startup and shutdown from command line with version 9i

    Hi, i'm an Oracle newbie. I heard it's possible to startup and shutdown an oracle (instance? or database? which one is it) from the command line.
    A little background on what it is that I want to do:
    I'm looking to backup a database by copying the files that make up the database to a location from where they will be commited to tape media. To do this I must shutdown the database, copy the files, and startup the database again.
    At the moment the backups are full exports which I find unnecessary since it is a development database which is never used at night. It is therefore not an issue if we want to shut it down and re-start it after a few minutes. (I think it would take longer to export as opposed to copy the files right?)
    I need help and advice :
    1. Is my way of going about this correct ?
    2. How do I startup/shutdown from the command line (sqlplus user/password command) or should I use another utility ?
    Thanks,
    Gabriel

    set oracle_sid=ORCL ==> your database namethis is NOT always true. It's instance name. usually, we set instance name is same as database name.But we also can set instance name is different from database name.
    for example.
    C:\>oradim -new -sid abc123
    C:\>set ORACLE_SID=abc123
    C:\>sqlplus /nolog
    SQL*Plus: Release 9.0.1.4.0 - Production on Tue Jun 20 22:40:59 2006
    (c) Copyright 2001 Oracle Corporation.  All rights reserved.
    SQL> conn / as sysdba
    Connected to an idle instance.
    SQL> startup pfile=E:\ora901DB\admin\init.ora
    ORACLE instance started.
    Total System Global Area  344748244 bytes
    Fixed Size                   282836 bytes
    Variable Size             184549376 bytes
    Database Buffers          159383552 bytes
    Redo Buffers                 532480 bytes
    Database mounted.
    Database opened.
    SQL> select name from v$database;
    NAME
    DB901
    SQL> select instance_name from v$instance;
    INSTANCE_NAME
    abc123

  • Command-line shutdown for Xserve RAID?

    We have had serveral A/C failures that have left our computer room extremely hot (104 degrees a week ago). We will be getting a temperature sensor that can trigger a shutdown event for the servers. However, I don't know how to issue a remote command (like, ssh host shutdown) to get the RAID to actually power off so it won't cook itself.
    Any ideas?

    I suppose I should have said automated command-line shutdown. Yes, what you say is true. However, I need to have a script that runs when a room over-temp alarm occurs that will shutdown all running machines, in the absence of any people. Also, the network the RAID is on is not connected to the outside world, so I can not see it when I'm not at work.

  • Undeploy an sda file through command-line

    Hi All,
          I want to undeploy an .sda file through command-line,what is the procedure to undeploy an sda file through command-line and send me the procedure for this
    Thanks & Regards,
    guru

    Hi
    Please find below the steps to undeploy thro command line :
    Shut down the sdm server
    1)SDM shutdown "sdmhome=D:\usr\sap\J2E\JCO1\SDM\program" "sdmguiport=50018" "sdmhostname=<hostname>" password="<password>" "shutdownmode=abort"
    2)sdm jstartup "mode=standalone" "sdmhome=c:\usr\sap\J2E\DVEBMGS00\SDM\program"
    3) sdm undeploy "sdmhome=D:\usr\sap\J2E\DVEBMGS00\SDM\program" "compname=c:\test.sda"
    4)sdm jstartup "mode=integrated" "sdmhome=c:\usr\sap\J2E\DVEBMGS00\SDM\program"
    5)start the sdm server again
    SDM server "sdmhome=D:\usr\sap\J2E\JCO1\SDM\program"
    Hope this helps. do not forget to reward points
    regards
    rajeshkr

  • Restart/start/stop network from command line

    Hi all...
    How do I restart/start or stop my network from command line? I red somewhere about using netstart, but I guess the article was refering to OpenBSD and not OS X...
    So.. any hints?
    Thanks.

    Hey You are right there...
    OKK..To my knowledge, you can start an application, from the servlet in a thread. But stopping a thread from outside is not safe and even sun doesn't advice.
    1. Starting a thread : you can start your program using an Runtime class. But your client program can see if the server port is open or not. So after starting the server program, through servlet, execute the client program. OR you can log every command/step in to a log file, and start the server program and see the log, where currently the program is waiting, so you can check, if the server program has exited.
    2. Stoping an application i.e a thread is a tricky thing. One i would suggest is, send data to the server socket with your pass code and the command "Shutdown" with a sequence which will not repeat in the data communication. If the first command is your passcode and "Shutdown" you can kill the server thread from inside the server application. To make this possible, every thing the new connection is accepted, you have to validate the first line is this your command to shutdown.
    and repeat the step 1.
    Hope this gives you a little idea to proceed. if not let me know...
    Cheers
    Venkat

  • Shutting down Server from command line in WebLogic 5.1

    Cannot shut down the WebLogic Server using the command line:
    java weblogic.Admin URL SHUTDOWN system password
    Errors out saying:
    java.io.InvalidClassException:
    weblogic.security.acl.internal.AuthenticatedUser; Local class not
    compatible: stream classdesc serialVersionUID=6699361079932480379 local
    class serialVersionUID=2825328378974757378
    at
    java.io.ObjectStreamClass.validateLocalClass(ObjectStreamClass.java:523)
    at java.io.ObjectStreamClass.setClass(ObjectStreamClass.java:567)
    at
    java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:936)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
    at
    java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
    at
    weblogic.socket.JVMAbbrevSocket.readMsgAbbrevs(JVMAbbrevSocket.java:518)
    at
    weblogic.rjvm.MsgAbbrevInputStream.prime(MsgAbbrevInputStream.java:134)
    at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:610)
    at
    weblogic.rjvm.ConnectionManagerClient.handleRJVM(ConnectionManagerClient.jav
    a:34)
    at
    weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:630)
    at
    weblogic.socket.JVMAbbrevSocket.dispatch(JVMAbbrevSocket.java:393)
    at weblogic.socket.JVMSocketT3.dispatch(JVMSocketT3.java:342)
    at
    weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:247)
    at
    weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Currently using Service Pack 8.
    Has anyone faced this problem before? Any solutions?
    Thanks.
    MN

    Hi Murali,
    Are you using 128bit version of the server for wls5.1 ? if so have you
    correctly installed the Service pack 8 ?
    Can you show me the result of
    java weblogic.Admin url VERSION
    Murali Nanchala wrote:
    Cannot shut down the WebLogic Server using the command line:
    java weblogic.Admin URL SHUTDOWN system password
    Errors out saying:
    java.io.InvalidClassException:
    weblogic.security.acl.internal.AuthenticatedUser; Local class not
    compatible: stream classdesc serialVersionUID=6699361079932480379 local
    class serialVersionUID=2825328378974757378
    at
    java.io.ObjectStreamClass.validateLocalClass(ObjectStreamClass.java:523)
    at java.io.ObjectStreamClass.setClass(ObjectStreamClass.java:567)
    at
    java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:936)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
    at
    java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
    at
    weblogic.socket.JVMAbbrevSocket.readMsgAbbrevs(JVMAbbrevSocket.java:518)
    at
    weblogic.rjvm.MsgAbbrevInputStream.prime(MsgAbbrevInputStream.java:134)
    at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:610)
    at
    weblogic.rjvm.ConnectionManagerClient.handleRJVM(ConnectionManagerClient.jav
    a:34)
    at
    weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:630)
    at
    weblogic.socket.JVMAbbrevSocket.dispatch(JVMAbbrevSocket.java:393)
    at weblogic.socket.JVMSocketT3.dispatch(JVMSocketT3.java:342)
    at
    weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:247)
    at
    weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Currently using Service Pack 8.
    Has anyone faced this problem before? Any solutions?
    Thanks.
    MN

  • How to undeploy an .sda file through command line

    Hi,
    How to undeploy an .sda file through command line.send me the related command to do it.and related information and links.

    Hi
    Please find below the steps to undeploy thro command line :
    Shut down the sdm server
    1)SDM shutdown "sdmhome=D:\usr\sap\J2E\JCO1\SDM\program" "sdmguiport=50018" "sdmhostname=<hostname>" password="<password>" "shutdownmode=abort"
    2)sdm jstartup "mode=standalone" "sdmhome=c:\usr\sap\J2E\DVEBMGS00\SDM\program"
    3) sdm undeploy "sdmhome=D:\usr\sap\J2E\DVEBMGS00\SDM\program" "compname=c:\test.sda"
    4)sdm jstartup "mode=integrated" "sdmhome=c:\usr\sap\J2E\DVEBMGS00\SDM\program"
    5)start the sdm server again
    SDM server "sdmhome=D:\usr\sap\J2E\JCO1\SDM\program"
    Hope this helps. do not forget to reward points
    regards
    rajeshkr

  • Access linux terminal to send shutdown command

    I'm needing to access the linux terminal to send the shutdown command,
    here is the code i'm trying
      try{
                Process p = Runtime.getRuntime().exec("sudo shutdown -h now");
            }catch ( Exception e){
                System.out.println("Exception in shuttin down machine");
                JOptionPane.showMessageDialog(null,"Can't shutdown.  Shit!");
            }I've used this commend to use the command line in windows, but not sure how to change it over for linux.
    Thanks

    I had a similar problem recently where I need to send multiple commands after the initial Runtime.exec(). My solution involved a PrintWriter...
    Process p = Runtime.getRuntime().exec("sudo shutdown -h now");
    PrintWriter pw = new PrintWriter(p.getOutputStream());
    pw.println("yourpassword");
    pw.flush();
    pw.close();As far as this...
    "sudo (and ssh etc.) won't take password from the stdin, if it is not a terminal. "
    ... Im not really sure. The method above did work for me, but if sudo doesn't check stdin, Im not sure how my solution works
    A couple other things you might consider. When you use Runtime.exec(), you are passing the system a command, you are not sending a string to a command line. For example, trying to run ...
    Process p = Runtime.getRuntime().exec("ls /usr/bin");
    ... will do nothing since "ls" does not start a new process, but is more of a routine. Likewise, you may or may not have problems using the shutdown command. If you do have problems, you may need to start a terminal with Runtime.exec(), and then send the shutdown command through the terminals stdin using the PrintWriter method.
    And on a second note, you may also need to reorganize your code to this...
    Process p = Runtime.getRuntime().exec("sudo", "shutdown", "-h", "now");
    Runtime.exec() will take your string and pass it as a command, it is not meant to directly pass arguments. It may work fine as you have it, but if you run into problems, pass your commands in as a String[] (as shown right above)
    Hope that helps
    Edited by: cpetzol2 on Apr 2, 2008 7:49 PM

  • Command Line Audio

    I'm looking for a simple way to record audio from the command line in OS X.
    Is there a tool similar to record or arecord?

    mac57 wrote:
    Hi All, thanks for the responses. I tried out cmus, but it seems to want to operate in ncurses mode only. I couldn't find a way to do something like:
    cmus filename &
    and have it just play a file and go away. I am looking for something like that to play sounds as part of XFCE4 startup and shutdown sequences. Totally non intereractive, you just put the command into the XFCE4 scripts and voila! you get sound.
    moc worries me. I run KDE too, and there is a moc already defined on my system, in /opt/qt/bin, which declares itself to be the Qt Meta Object Compiler. I figure I don't want to mess with that by installing something ELSE called moc. So, reluctantly I set moc aside.
    That's why the executable is called mocp.
    Btw, I admit I didn't read your original thread, only the title, and the answers.
    moc / cmus / mpd+ncmpc are not what you want at all, these are full featured music players.

  • Command line questions....

    I really have two questions here.
    First, I have a small server that is very similar to this one I pulled off a tutorial:
    public class MyServer{
    // A bare-bones example: exception handling omitted.
       public static void main( String args[] ){
          ServerSocket serv;
          serv = new ServerSocket( 5150 );
          while ( true ) {
             Socket s;
             s = serv.accept();          // Wait for a connection
             handle_connection( s );  // Got one, now do something!
            s.close();
    } When I run this program from the command line it goes into an infinite loop readily accepting connections.
    For the most part, this is what I want. But how do I gracefully exit the program? Simply closing the command window seems drastic, not to mention the list of exceptions it throws.
    Second question: Once I run my program, is there a way I can close the command line window and log off the computer without killing my program?
    thanks.
    (Running on NT)

    How do you stop the program? You write another program that connects to the same socket and sends a message that both programs agree means "Shutdown". When the server receives this message, it shuts down nicely.
    Now you want to run it as an NT service? I've seen people post links to a third-party package that can run a Java class as an NT service; I didn't note the link but you could probably find it by searching the forums.

  • Create domain from command line failed in wls91

    Hi,
    I am trying to create a simple domain from command line for wls91. It even didn't ask me the password. How can I do it? Thanks
    C:\testdomain>java weblogic.Server
    <Feb 23, 2006 9:11:50 AM PST> <Info> <WebLogicServer> <BEA-000377> <Starting Web
    Logic Server with BEA JRockit(R) Version R26.0.0-189-53463-1.5.0_04-20051122-204
    1-win-ia32 from BEA Systems, Inc.>
    C:\testdomain\config\config.xml not found
    No config.xml was found.
    Would you like the server to create a default configuration and boot? (y/n): y
    <Feb 23, 2006 9:11:56 AM PST> <Info> <Management> <BEA-140013> <C:\testdomain\.\
    config\config.xml not found>
    <Feb 23, 2006 9:11:56 AM PST> <Info> <Security> <BEA-090065> <Getting boot ident
    ity from user.>
    Enter username to boot WebLogic server:weblogic
    <Feb 23, 2006 9:12:00 AM PST> <Error> <Security> <BEA-090782> <Server is Running
    in Production Mode and Native Library(terminalio) to read the password securely
    from commandline is not found.>
    <Feb 23, 2006 9:12:00 AM PST> <Notice> <WebLogicServer> <BEA-000388> <JVM called
    WLS shutdown hook. The server will force shutdown now>
    <Feb 23, 2006 9:12:00 AM PST> <Notice> <WebLogicServer> <BEA-000365> <Server sta
    te changed to FORCE_SHUTTING_DOWN>
    C:\testdomain>

    Hi,
    If you are still having problems creating a domain from the command line, the official solution would be to use
    {proper_path}/bea/weblogic{proper_version}/common/bin/config.sh -mode=console
    This will guide you to the same steps as the visual version of the wizard, but using the command prompt.
    If you are using windows, the same works but with the command config.cmd, and mutatis mutandis.
    Regards,
    LG

  • How restart a siebel component by command line?

    Hi, i want to know how restart a Siebel Object Manager (Fins) by command line in RedHat.
    thanks!
    Greetings!

    in srvrmgr console, type:
    shutdown comp sseobjmgr_enu
    startup comp sseobjmgr_enu
    (or any other OM you want to restart)
    Edited by: Penky on Mar 19, 2012 10:30 AM

Maybe you are looking for

  • How do I stop the Finder from seeing SMB (Windows) shares on the network?

    I have the OPPOSITE problem most people have -- Windows Sharing works TOO WELL. I've donated a refurbished eMac to the local homeless shelter. I figured I'd made the system secure, and prevented any monkey business. Turns out the windows machines on

  • Common class data for two session?

    JDEV 10.1.3.3, ADF I have the bean userState with the scope as session, in this bean-class i have the variable: public static List selectedItemsMonth; on page i put selectManyListbox component with fields: value="#{userState.selectedItemsMonth}" valu

  • Insert into table.

    i want insert rows in table b having 5 columns from table a having 3 columns how to achieve that ? eg.. table a column 1 column 2 column 3 table b column 1 column 2 column 3 column 4 column 5... i used beloc script insert into usename.table b @dblink

  • Dom0 Disk Device Name Changed... how to rename in vdsdev?

    Good Morning, We had a server "incident" yesterday that left our Solaris ldom host rebooted. When it came back up, one of our guests (ldg1) refuses to bind with the error: Path /dev/rdsk/emcpower3c is not valid on service domain primary Sure enough,

  • Cannot install acrobat on surface pro 3; error 1006

    I am trying to install acrobat XI on surface pro 3 but keep getting "Error 1006. The volume for a file has been externally altered so that the opened file is no longer valid"