Oracle shutdown properly

Please advise. I am properly shutdown oracle with shut immediate and found that pmon process not exist, but when i am start again oracle saying oracle is already running and i check that there is no pmon process, but i am not able to start oracle with startup command then i do shut abroat then startup again then able to start oracle properly, how i can automate this in shell script and validate that oracle process shutdown properly or not. Please reply in detail, so i am able to check it properly and test it and send my feedback on it.

nomee wrote:
I wrote mostly technical word that's why. Anyway i can't use dbshut script, because on some servers i have multiple database hosted that's why. Please advise what is the proper way to shutdown Database after shut immediate, should i run any command that will stop other oracle process running with same database name.
You could at least tell us what OS you are dealing with.
Assuming *nix ..
. oraenv   (respond with the name of your database.  THis will set ORACLE_HOME, ORACLE_SID, and PATH).
sqlplus / as sysdba
shutdown immediate
exit
You don't "shutdown Database after shut immediate," 
"shutdown immediate"  is what shuts down the database.  What you are asking is the same as "how do I make the light go out after I turn it off".

Similar Messages

  • Word 2007 will not shutdown properly

    I am using an HP D7460 as a wireless printer. Everytime I close Word 2007 it will close then restart with an error message that Word didn't shutdown properly and will reopen. I send an error message to Microsoft who then says the error is created by HP printer drivers. This happens on all of my systems which are Windows XP and also Vista. 1-Dell, 1 Compaq and 1 Toshiba laptop. The work around was to not us this HP printer as your default printer and that solved the problem on all machines. Was told they are working on the problem and that was better than 2 months ago. Seems it must be something very hard or there is no one out there in HP land working on solving this issue. Does anyone here have any kind of an idea? The printer works fine except for this problem on all machines. It just seems to be something to do with either the driver or Microsoft Word 2007 who doesn't except the problem they simply blame it on the printer. I have to agree with Microsoft because this never happened until I installed this wireless printer from HP. I also have an HP 5150 for over a year with no problem like this.

    I have had this HP D7460 printer, wirelessly connected to a VISTA system with Office 2007.
    Ten months of :
    "MSWord shut down improperly...Restarting".
    Only top half of characters printed on last line of documents.
    Unistall Printer software, Drivers etc..Reinstall Printer Software Drivers...
    Configure MSWord paper size to 8.5"x11" form A4, print using printer configuration, scale to size, do not scale to size.
    Print to PDF..Print PDF scale to size..
    Improve wireless network, speed and signal
    I though that I was totally incompetent !! This Printer replaced my Canon i860 workhorse (worn out). The Hp is beautifully designed, with fabulous features.
    I WANT THIS PRINTER TO WORK... I was relieved to find this forum.. so many people with the same problems. Wanting a solution.
    Regards

  • How do I configure my system so that Oracle 10g properly shuts down and sta

    How do I configure my system so that Oracle 10g properly shuts down and starts up when I reboot my Solaris system?

    http://download.oracle.com/docs/cd/B19306_01/server.102/b15658/strt_stp.htm#sthref255

  • Identifying Oracle Shutdown or session errors

    Oracle 11.1.7.0:
    We need to make our application be able to accept user requests or submissions on the queue even if Oracle is down or if Oracle is having some problems. For that purpose I need to identify specific Oracle error codes. I looked up online and found Jboss's exception sorter class. It looks something like this:
       public boolean isExceptionFatal(SQLException e)
          String error_text = (e.getMessage()).toUpperCase();
          /* Check oracle specific errors for broadcasting connectionerror
          return (error_text.indexOf("ORA-00600") > -1) //Internal oracle error
             || (error_text.indexOf("ORA-00028") > -1)  //session has been killed
              || (error_text.indexOf("ORA-01012") > -1)  //not logged on
             || (error_text.indexOf("ORA-01014") > -1)  //Oracle shutdown in progress
             || (error_text.indexOf("ORA-01033") > -1)  //Oracle initialization or shutdown in progress
             || (error_text.indexOf("ORA-01034") > -1)  //Oracle not available
              || (error_text.indexOf("ORA-02396") > -1)  //exceed ed maximum idle time, please connect again
             || (error_text.indexOf("ORA-03111") > -1)  //break received on communication channel
             || (error_text.indexOf("ORA-03113") > -1)  //end-of-file on communication channel
             || (error_text.indexOf("ORA-03114") > -1)  //not connected to ORACLE
              || (error_text.indexOf("ORA-01014") > -1)  //Oracle shutdown in progress
             || (error_text.indexOf("ORA-01033") > -1)  //Oracle initialization or shutdown in progress
             || (error_text.indexOf("ORA-01034") > -1)  //Oracle not available
             || (error_text.indexOf("ORA-03111") > -1)  //break received on communication channel
             || (error_text.indexOf("ORA-03113") > -1)  //end-of-file on communication channel
             || (error_text.indexOf("ORA-03114") > -1)  //not connected to ORACLE
             || (error_text.indexOf("TNS-") > -1)       //Net8 messages
             || (error_text.indexOf("SOCKET") > -1)     //for control socket error
             || (error_text.indexOf("BROKEN PIPE") > -1);
       }I just wanted to check if above error codes are the correct ones. I understand there are tons of Oracle error code but I am in particular interested where Oracle is down or is having some temporary problem for eg: archiver error. I am kind of not sure of how to go about figuring this out.

    I just wanted to check if above error codes are the correct ones. I understand there are tons of Oracle error code but I am in particular interested where Oracle is down or is having some temporary problem for eg: archiver error. I am kind of not sure of how to go about figuring this out.You can simulate these situations by
    1. shutting down the instance.
    2. filling the archive log destination with temporary files (which you need to clean up later).

  • Oracle shutdown notification (OracleNotification) code sample

    Hi,
    I'm looking for a code sample demonstrating the use of OracleNotification for catching Oracle shutdown events.
    Thanks
    Philippe

    Hi,
    I'm looking for a code sample demonstrating the use of OracleNotification for catching Oracle shutdown events.
    Thanks
    Philippe

  • My Mac does not shutdown properly and is all around glitchy. Any solution?

    When Lion became available I downloaded it immediately. I also extracted the install DMG and burnt it to a DVD and a bootable USB stick (thank God).
    I have a new iMac 2.5GHz i5 base model (500GB HD 4GB RAM) and I was using Snow Leopard and my Mac shutdown quickly, booted up quickly, and I never had any glitches in the GUI. After upgrading to Lion my system took forever to bootup and shutdown. Even if I don't tick the box to "Reopen windows when logging back in". Sometimes it takes 2-3 minutes to boot, and 1-2 minutes to shutdown. I timed SL 10.6.8 before upgrading and bootup was about 40 seconds and shutdown was about 5 seconds to instant.
    Also, after Lion was installed, all the page swipes in Safari and from full screen apps was extremely glitchy and sluggish. Sometimes the screen would get stuck between the apps or an app and desktop. Sometimes the iMac would just plain freeze with the beachball of death. So I thought I had something leftover from SL that was fudging my system. So I booted from the USB install image I made, re-partitioned the HD and reformatted it (I re-partitioned to get rid of the hidden recovery partition and the bootcamp partition). Then I re-installed Lion as a fresh copy. I re-installed all my apps but didn't use bootcamp or any VMs yet.
    Now after a clean install, my GUI is no longer glitchy or sluggish. Transitions between fullscreen apps and the desktop is smooth. However, my shutdown and startup issues still remain (and are a little worse). If I tell the computer to shutdown, no matter I click "reopen windows" or uncheck "reopen" windows, it can take 1-2 minutes to shutdown. Also, after being off all night, when I boot my computer, sometimes it will come to the login screen and ask for my password (but I have set it up for automatic login and not to prompt for password on screensaver or wakeup also). I also did not encrypt my drive. So I cannot figure out why it asks me to login. After I give it my password and sign in, the menu bar is not translucent and the airport does not function. Then I must restart Lion and everything is okay again (except it takes 2-3 minutes to reboot again).
    I already tried repairing permissions, I downloaded the beta for the latest Onyx last night and cleared out all the caches and told it to verify and rebuild all the scripts. Only about 10 things were repaired in the permissions list. The disk passed verification, and I am not getting any mysterious messages in console. So what is going on with booting and sometimes requiring me to login with a password and booting into a system with messed up menus and non functional airport? I don't want to start my iMac, login, and then restart every time I want to use it.
    I have been working with Macs since OS 8 and I have currently have 2 PPC Macs running 10.5.8, and 2 Intel Macs (one is still on 10.6.8 until I solve this Lion problem). I have even played with hackintoshes on my netbooks and in VMware before. I am pretty versed in OS X, but I am at a loss to figure out what is going on with Lion. I don't see any unusual messages in the console or any error messages. When on the phone with Apple care they insist the shutdown issue is not a problem. But the startup concerns me most, since it asks me to login, the I must restart anyways to get it back. It acts like a Windows sytem waking up from hibernation and not loading all the proper drivers.
    Sorry for the long post, just wanted to be concise about the issue. Anyone have any suggestions? Any help is much appreciated! Thanks.

    The funniest part of the whole situation, Apple Care explained it to me as some kind of feature. The told me how to adjust the time when my computer sleeps and recommend I don't shut it down, let it sleep and "instant wake". I would bet if you called them about your Macbook, they would suggest you just close the lid and let it sleep rather than shutting it down.
    Basically shutdown and restart have a problem and the solution is to not shutdown is how they explained it to me. They kept saying buzz words like "instant on" and "fast wakeup". My computer already could sleep and wakeup fast, but now shutdown and restart don't work right. I called them 3 times about it, but since they use these buzzwords, sounds like Lion is meant for a Macbook Air or a Mac with an SSD. If you have a normal hard disk, some of the saving/versions/resume features take too long to be written to the disk on shutdown. And when you start again, it takes a long time to reload the system to it's previous point.
    Even if I uncheck the box to reopen windows on next start, it reopens them anyways.
    If they can't give me a better explaination or some kind of fix, I will have to go back to Snow Leopard. I use my Mac in a production environment and depend on stability. They assured me before I upgraded that it would be stable and all the new saving and versions features could help my productivity. So far it's not helping me and downright annoying. You need to close all your windows before you close the program... if you have 5 windows open in terminal or textedit... every time you launch, they will launch all those windows. I just really want versions, not resume it seems.
    But I can deal with it opening a million windows, just can't take it getting stuck on booting or not shutting down properly. This is a "feature" that should be fixed. LOL

  • Oracle shutdown steps in a cluster

    Hi all,
    The PRD setup is as follows
    One single oracle 10.2.0.4 Database, with two physical Servers (DBServ-1, DBServ-2)
    Running Application is SAP
    Oracle is in a SUSE Linux cluster . (Not RAC environment. Just an OS level cluster to maintain fail over);
    Currently DBServ-1 node is active, and DBServ-2 is standby
    We needs to shutdown this entire setup and restart again.
    What is the correct set of sequence to shutdown oracle DB?
    Since DBServ-2 is standby, without any issue we can shutdown DBServ-2 as normal server shutdown. (ex: init 0)
    But, oracle is up and running on DBServ-1 Node.
    From where should i stop this?
    Is it from the SuSE Cluster or from inside the DB? (login as / and issue shutdown immediate)
    Regards,
    Zerandib

    Hi,
    As i understand is OS is clustered not the db. Better is to manually shutdown the db clean and then start it.
    TO start login through sqlplus sys as sysdba
    1. startup
    2. Once its done, start the listener
    3. Start the application
    Anand

  • Oracle shutdown or initialization in progress

    Dears!
    I have installed 9iAS+8.1.7 on the same machine.9iAS & database
    was working.For any reason we changed the IP address of the machine and restart the machine.Again we change the IP address to
    the original one when 9iAS+database was installed,again restart the computer.But now when i connect through SQL*plus of database or 9iAS's SQL*plus to the database we failed to connect the error,"ORA-01033 utdown or initialization is in progress"
    Kindly help to resolve the prob.
    Many thanks!

    Hi,
    Please make sure the Tnsnanames.ora is having the Corretc IP Address. Please follow these steps:
    1. Go to the Oracle Bin dir. from command Prompt.
    2. Svrmgrl <Enter>
    3. Connect internal/password@service
    4. shutdown immediate
    5. Startup
    Mail me if you still have this problem, e-mail id: [email protected]
    Regards,
    G. Rajakumar.

  • Oracle shutdown

    hi,
    I want to shutdown my oracle 8i database instance at particular time daily.prsently it is manual using command line commands svrmgrl/connect internal /shutdown.
    but can we make it automated.
    I've tried using .bat file for above commnads but it fail.
    if anyone knows pl share.
    regards
    vinod

    From the command the following was given:
    c:\sql>net stop "OracleServiceORCL"
    The OracleServiceORCL service is stopping.....
    The OracleServiceORCL service was stopped successfully.
    Trace file showed the following.
    Shutting down instance (immediate)
    License high water mark = 8
    Thu Dec 14 08:24:47 2006
    Stopping Job queue slave processes
    Thu Dec 14 08:24:47 2006
    Job queue slave processes stopped
    All dispatchers and shared servers shutdown
    Thu Dec 14 08:24:48 2006
    alter database close normal

  • Server reboot and Oracle shutdown.

    First, thanks for helps about my CAN'T ADD DATAFILE INTO TABLESPACE which was posted in July.
    Our university Oracle technical support team said that, the reason that we can't new datafile into tablespace is: the database is corrupt, some blocks corrupted.
    The reason why the database corrupted is that: we don't shutdown Oracel before we reboot our database server.
    Our database server is Windows Server 2003. Oracle is Enterprise Edition Release, 10g, 10.1.0.2.
    Is this statement correct: before to shutdown the database server (in our case, Windows Server), the Oracle instance or Oracle needs to be shutdown first?
    If the above statement is true, will the database corrupt if we don't follow the above statement?
    Thanks,

    That probably is not the reason why it was corrupt (although it is Windows).
    How often do you restart your database server? is it on a frequency or only when absolutely needed (installing Microsoft patches and getting the message "you must restart your system .... ").
    It is a good practice to shutdown cleanly the database before powerdown. At the very least change the setting of ORA_<your_sid_here>SHUTDOWNTIMEOUT registry key to something more appropriate. The default is probably not good.

  • Oracle Shutdown/Startup Batch

    I need to create a batch file where I can shutdown and startup Oracle 10g database on Windows Server 2003.

    Is there any reason why you cannot use the services in Windows?
    Find the service:
    sc query | findstr Oracle
    Stop the service:
    sc stop <nameOfService>
    To see the status:
    sc query <nameOfService>
    Start the service:
    sc start <nameOfService>
    You can also see the status in services (services.msc).

  • Computer wont shutdown properly with audigy 2 soundc

    Hey everyone,
    I Just installed a Audigy 2 soundcard into my computer, but ever since i inserted the PCI card, my computer wont shut down properly. When?I shut the computer down it just restarts again. I'm running Windows XP Pro SP2. Does anyone know how i can fix this?

    I have a similar problem, except, i can't restart or shutdown, it just stays on the "windows is shutting down" screen, and getting to that point takes all of 5 minutes.

  • How to listen Oracle Shutdown message

    Hi All,
    We all know in case of normal shutdown of oracle database, a message is sent to the client. Is it possible to get this message thru JDBC ? Or in other words is there any listener for this message?
    TIA,
    Sudarson

    99% sure this can't be done.  Don't even think you can do this on a full blown Unity system.
    Edit:  Looks like the feature you are looking for is called Message Monitor which looks like it is a feature of a full blown Unity System and not Unity Express which the UC520 has.

  • Oracle Shutdown From Sqlplus ???

    I want to shutdown oracle 10g rel 2 using sqlplus (shutdown Normal not abort). I start sqlplus in nolog mode then connect through sys as sysdba, shutdown abort is working But normal is not working BCZ acting session is current session.

    Use [Shutdown Immediate |http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/start.htm#sthref589] clause
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com
    [Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

  • Photoshop does not shutdown properly?

    I have the trial version of Adobe Photoshop CS5 installed, along with several trial plugins such as NIK, and OnOne. When I close Photoshop I get the error Adobe Photoshop CS5 has stopped responding. I have the option sometimes to debug and send an error report, but most of the time I have to cancel it and force shutdown. I am getting Event ID 1000 from Windows Logs. I have a Dell Studio XPS 1645 Windows 7 Pro 64bit machine. Any other information needed I can provide, just ask. Any and all help with this issue is appreciated. Thanks in advance!

    Hey Chris, I have Drive Genius professional, it and Windows 7 keep all my drivers up to date. Can you think of any reason why a graphics driver would be making Adobe close down improperly? I do not understand how a brand new system, not even 5 months old, with all new and up to date software and drivers, could be causing such an issue? It is only with Adobe, it continues to happen even when plug-ins are disabled.
    I may try uninstalling and reinstalling a second time.
    I read a while ago while googling, about a script that saved all Adobe settings for you? Is there something that truly does this? I have alot of brushes and custom actions and workspaces that I would like to backup, so far I have been doing it manually by going to the locations of each thing, but if there was a script or software that can do this for me that would be great.
    Thanks again for the help guys!

Maybe you are looking for

  • When AD users accessed the group last time

    Suppose We have a Group 'A' which is under 'B' domain in Active Directory. 'B' domain is used by many applications. we have a website in which validations are done thro Acitve directory. That is it will allow to enter the site if that user is added t

  • FCE:  I'm missing DV convertor option from Easy Setup

    I've had to reinstall FCE on a couple of machines. After the install, under the easy set up, I no longer have the DV convertor option. Did I do something wrong in the set up? How do I find these options?

  • Hyperlinks in epub document don't work on sony reader for pc

    I have downloaded a document wich contains hyperlinks. On Sony reader for PC it doesn't work, while it does on others ereaders I have tested. Why?

  • Call a Screen from A selection screen report

    Hi Friends,    I developed a report (1. Excecutable) and i am calling a screen say 9000 which is having several subscreens. While i am clicking the BACK button it should come to the same selection screen report. How to do this? We can't use LEAVE SCR

  • SmartView retrieve

    Hi There, I have template setup in Essbase Excel Addin, however when I try to use SmartView to retrieve, I got the following error: "Invalid free form, row 4 invalid, it has repeat members of a dimension and mutiple dimensions" Wondering why it is wo