Different ways to shutdown and startup instance in 10g

I have just installed 10g on my win2003 server. There seems to be 3 different ways to shutdown / startup an instance in 10g.
1. via SQLPLUS (how its always been) with shutdown and startup commands
2. via the new OEM Web interface
3. Start / Stop the NT Service for the instance
questions:
- Did I miss anything other methods?
- how come OEM ask for O/S login as well as DB login, when shutdown or startup? but via SQLPLUS I only have to login using as DBA? different level of security?
- When shutdown via either SQLPLUS or OEM, the NT service is still shown as "started"? so does this mean that the NT service is more than the oracle instance???
Thanks
Clo

how come OEM ask for O/S login as well as DB loginWith SQL*Plus, you are already logged into the Operating System. There is a OS session in progress. With OEM web interface, it has to first start a OS session and then connect to Oracle using Oracle credentials supplied to actually shutdown the DB.
the NT service is still shown as "started"? The difference between NT service started or not started (given that the database was already shutdown) will be:
When NT service is started but the DB is shutdown, your users will get this error message:
Enter user-name: scott
Enter password:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Enter user-name:When NT service is stopped, your users will get this error message:
Enter user-name: scott
Enter password:
ERROR:
ORA-12560: TNS:protocol adapter error
Enter user-name:The NT service needs to be running for you to be able to do a STARTUP or SHUTDOWN on the database. You will NOT be able to STARTUP if the NT service was not running (STARTUP will not start your NT service automatically).

Similar Messages

  • How to check Server Shutdown and Startup History in SAP

    Hi guru's . One of the background job failed on saturday. And i want check the duration and the history when the server shutdown and startup. I can check the server startup time at ST02 t-code. But i want to check the entire history of server shut down. Please guide me through. Thanks.

    Dear Ram,
    You can see the System logs in SM21 . Background job failure can be viewed in SM37 .
    As said before go through \usr\sap\TST\DVEBMGS00\work directory and see the logs. Files like dev_disp , dev_ms ,dev_rfc.trc ,stderr1,stderr2,stderr3,stderr4 will have the log information  .  These files will have the information after the last  system start .
    Anyway if want to see the old logs before server shutdown , see the old logs in old files like dev_disp.old,dev_ms.old .
    Regards,
    Nibu

  • What is the correct order to shutdown and startup RAC system

    anyone please take a look if my order of shutdown and restart is correct.
    This is two node RAC,
    1) srvctl stop database -d db_unique_name
    2)srvctl stop nodeapps -n node1
    3)srvctl stop nodeapps -n node2
    4)srvctl stop asm -n rac1
    5)srvctl stop asm -n rac2
    6)srvctl stop listener -n rac1
    7)srvctl stop listener -n rac2
    8) crsctl stop cluster all
    when I restart RAC, use
    1)crsctl start cluster all
    2)srvctl start listener -n rac1
    3)srvctl start listener -n rac2
    4)srvctl start asm -n rac1
    5)srvctl start asm -n rac2
    6)srvctl start nodeapps -n node1
    7)srvctl start nodeapps -n node2
    8)srvctl start database -d db_unique_name

    Hi,
    1.) I would specify -o immediate. Otherwise your stop of the database can take quite a while.
    2.) Actually nothing else (except the database) needs a clean shutdown. I would simply stop the cluster than with crsctl stop cluster all.
    4.) Also note if you have Voting and OCR in ASM this step won't be successfull (since it can't stop ASM as long as the cluster is running).
    8.) Note that crsctl stop cluster will leave the OHASD running (and also some other processes, check with crsctl stat res -t -init).
    If you need to really stop everything you have to execute crsctl stop crs on each node (they are not clusterwide).
    Startup:
    CRSCTL start CLUSTER ALL should actually bring a lot of things up... but this depends also on what has been stopped (since this is recorded in the OCR).
    But at least ASM and listener should startup automatically (even if they were stopped before).
    So normally it is enough to start the database. But I would not start the database, I would startup the services (which the database services). Because this will bring up the database.
    Otherwise you might end up with a running database, but with no active services.
    Regards
    Sebastian

  • How to shutdown and startup oracle 11g R1 from dbcontrol (EM)?

    Dear All,
    I have already installed oracle 11g R1. The database is running smooth including the dbcontrol / EM.
    I have difficulty in shutdown and restart database from EM.
    How to set EM, so that I can start and shutdown the database from EM?

    Hi,
    If you are in windows, this is a very common problem.
    You can try setting the logon as batch job to the OS user from local security policy
    1.Go Control Panel, Administrative Tools.
    2. Click on Local Security Policy.
    3. Local Policies, User Rights Assignment.
    4. Double click, 'Log on as a batch job'
    Here provide username along with domain name like co.uk\foo
    Regards

  • Database 10.2.0.1 Shutdown and Startup using cronjob in Solaris 5.10

    Need to shutdown and start db @ specific time thru crontab.
    At the user home directory have a file by the name "conn_as_sys_dba_shutdown" and the permission of the file is 500 with contents
    <<<
    sqlplus ' / as sysdba ' @ /export/home/oraret/shutdown.sql
    lsnrctl stop RETAIL
    exit
    >>>
    and the shutdown.sql permission is 400 and the content in the file is
    <<<
    shutdown immediate
    exit
    >>>
    When I try to run "conn_as_sys_dba_shutdown" from the user prompt it works. But when I schedule this as cronjob as the same o/s user, it doesn't work.
    Can some body help me on this.
    Thanks
    VG

    Be more specific on 'doesn't work'.
    Probably because you need to setup the environment for where sqlplus is, ORACLE_HOME, PATH etc.
    Create a shell script with execute privilege to the owner and add -
    export ORACLE_SID=<ora_sid_of_db_you're_restarting>
    ORAENV_ASK=NO . oraenv
    ${ORACLE_HOME/bin/sqlplus ... etc
    You may also need to setup your PATH depending on which other binaries you need access to.
    You can remove the reliance on the .sql by -
    sqlplus '/ as sysdba' <<-!
    shutdown;
    <etc>
    exit;
    !                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How can I align two different text row in the same table in two different way (one centered and the other one on the left)?

    Hi,
    I want to center two different text row that are in the same table but one on the center and the other one on the left. I put a <span> tag hoping that it has been overwhelmed the table's class properties The .bottomsel's font-family and the .Cig84's font-family and colour work but the text-align don't: they're both on the left.
    These are my source and CSS codes:
    Source:
    <table width="600" border="0">
      <tr>
        <td class="bottomref"><p><span class="bottomsel">| <a href="index.html" target="_self">Main</a> | <a href="about.html" target="_self">About</a> | <a href="clients.html" target="_self">Clients</a> | <a href="contact.html" target="_self">Contact</a> |</span><br />
          <span class="credits">Credits: <span class="Cig84">Cig84</span></span></p></td>
      </tr>
    </table>
    CSS:
    .bottomsel {
      text-align: center;
      font-family: Georgia, "Times New Roman", Times, serif;
    .credits {
      text-align: left;
    .Cig84 {
      color: #F00;
      font-family: "Comic Sans MS", cursive;

    Use paragraph tags with CSS classes.
    CSS:
         .center {text-align:center}
         .left {text-align:left}
    HTML:
    <table width="600" border="0">
      <tr>
        <td class="bottomref">
              <p class="center">This text is center aligned</p>
              <p class="left">This text is left aligned</p>
        </td>
      </tr>
    </table>
    Nancy O.

  • Automating Shutdown and Startup with 11.1.0 over AIX 5.3

    Dear Forums,
    I follow the steps suggested in Oracle® Database Administrator’s Reference 11g Release 1 (11.1) for Linux and UNIX-Based Operating Systems B32009-06 April 2009.
    But when I built the dbora script and I'm going to built the link, I found that the directory /etc/dbora /etc/rc.d/rc0.d does not exist in AIX 5.3. So could make no sense to build the link
    # ln -s /etc/dbora /etc/rc.d/rc0.d/K01dbora
    The other link could be built because the rc2.d directory exists. In fact when I list the directory /etc/rc.d I found:
    # pwd
    /etc/rc.d
    # ls -l
    total 8
    drwxr-xr-x 2 root system 256 Nov 04 2008 init.d
    -r-xr--r-- 1 root system 1614 Apr 10 2007 rc
    drwxr-xr-x 2 root system 256 Jun 17 13:24 rc2.d
    drwxr-xr-x 2 root system 256 Nov 04 2008 rc3.d
    drwxr-xr-x 2 root system 256 Nov 04 2008 rc4.d
    drwxr-xr-x 2 root system 256 Nov 04 2008 rc5.d
    drwxr-xr-x 2 root system 256 Nov 04 2008 rc6.d
    drwxr-xr-x 2 root system 256 Nov 04 2008 rc7.d
    drwxr-xr-x 2 root system 256 Nov 04 2008 rc8.d
    drwxr-xr-x 2 root system 256 Nov 04 2008 rc9.d
    The question is if I need to create the rc0.d directory under /etc/rc.d directory and after created the link suggested, or if the refrence manual has a mistake for AIX.
    What do I do?
    Best regards,
    Jose Guillen

    Pl have your AIX SysAdmin create these missing directories for you. As far as I know, the instructions in the Oracle guides are correct. Your AIX SysAdmin may have an explanation for why the directory is missing.
    HTH
    Srini

  • Random shutdowns and startups

    My iPod has a mind of it's own. If you pick shuffle songs or choose an album, it plays a couple of songs and them shuts down (apple screen). Then it resets and will pick something to play on it's own if you wait too long. Any one else experiencing this?

    Welcome to Apple Discussions!
    Try a restore...
    Restore the iPod
    btabz

  • BI server generating  query in a different way between two instances

    Hi All,
    We have executed a report in dev,test instances,BI server generated query in a different way in two instances where as dev BI server is on AIX operating system(recently we migrated from windows),test instance is on still on Windows environment.
    For a report below are the queries
    DEV(AIX)
    WITH
    SAWITH0 AS (select sum(T316025.SALES_QUOTA) as c1,
    T329697.DIVISION_DESC as c2,
    T329697.AREA_DESC as c3,
    T329697.TERRITORY_DESC as c4,
    case when T329697.ACCOUNT_NUM is null then T329697.BILL_TO_PARTY_NAME else concat(concat(concat(T329697.BILL_TO_PARTY_NAME, '('), T329697.ACCOUNT_NUM), ')') end as c5,
    T150993.X_CONS_MAJOR_GROUP as c6,
    T66755.PER_NAME_ENT_YEAR as c7
    from
    W_DAY_D T66755 /* Dim_W_DAY_D_Common */ ,
    W_PRODUCT_D T67704 /* Dim_W_PRODUCT_D */ ,
    WC_SLX_DATA_F T316025 /* Fact_WC_SLX_DATA_F */ ,
    WC_CUSTOMER_HIERARCHY_D T329697 /* Dim_WC_Customer_Hierarchy_D_With_Error */ ,
    OBIEE_SECURITY_LOCATION_SALES T339204,
    W_PROD_CAT_DH T150993 /* Dim_W_PROD_CAT_DH_General */
    where ( T66755.ROW_WID = T316025.DAY_WID and T316025.CUSTOMER_HIERARCHY_WID = T329697.ROW_WID and T67704.ROW_WID = T316025.PRODUCT_WID and T67704.PROD_CAT2_WID = T150993.ROW_WID and T329697.TERRITORY_CODE = nvl(T339204.LOCATION , T329697.TERRITORY_CODE) and T329697.AREA_DESC = 'GROCERY AREA - EAST' and T329697.DIVISION_DESC = 'DOMESTIC SALES DIVISION' and T339204.USER_NAME = upper('Administrator') and case when T329697.ACCOUNT_NUM is null then T329697.BILL_TO_PARTY_NAME else concat(concat(concat(T329697.BILL_TO_PARTY_NAME, '('), T329697.ACCOUNT_NUM), ')') end = 'JETRO CASH AND CARRY ENTERPRISES INC(10313)' and (T66755.PER_NAME_ENT_YEAR in ('2011', '2012')) and (T329697.TERRITORY_DESC in ('BOSTON', 'CHARLOTTE', 'FLORIDA', 'GREAT LAKES', 'MID-SOUTH', 'NEW YORK', 'WHITE ROSE')) )
    group by T66755.PER_NAME_ENT_YEAR, T150993.X_CONS_MAJOR_GROUP, T329697.TERRITORY_DESC, T329697.AREA_DESC, T329697.DIVISION_DESC, case when T329697.ACCOUNT_NUM is null then T329697.BILL_TO_PARTY_NAME else concat(concat(concat(T329697.BILL_TO_PARTY_NAME, '('), T329697.ACCOUNT_NUM), ')') end )
    select distinct SAWITH0.c2 as c1,
    SAWITH0.c3 as c2,
    SAWITH0.c4 as c3,
    SAWITH0.c5 as c4,
    SAWITH0.c5 as c5,
    SAWITH0.c6 as c6,
    SAWITH0.c7 as c7,
    SAWITH0.c1 as c8
    from
    SAWITH0
    order by c1, c6
    Test(Windows)
    select distinct D1.c2 as c1,
    D1.c3 as c2,
    D1.c4 as c3,
    D1.c5 as c4,
    D1.c5 as c5,
    D1.c6 as c6,
    D1.c7 as c7,
    D1.c1 as c8
    from
    (select sum(T316025.SALES_QUOTA) as c1,
    T329697.DIVISION_DESC as c2,
    T329697.AREA_DESC as c3,
    T329697.TERRITORY_DESC as c4,
    case when T329697.ACCOUNT_NUM is null then T329697.BILL_TO_PARTY_NAME else concat(concat(concat(T329697.BILL_TO_PARTY_NAME, '('), T329697.ACCOUNT_NUM), ')') end as c5,
    T150993.X_CONS_MAJOR_GROUP as c6,
    T66755.PER_NAME_ENT_YEAR as c7
    from
    W_DAY_D T66755 /* Dim_W_DAY_D_Common */ ,
    W_PRODUCT_D T67704 /* Dim_W_PRODUCT_D */ ,
    WC_SLX_DATA_F T316025 /* Fact_WC_SLX_DATA_F */ ,
    WC_CUSTOMER_HIERARCHY_D T329697 /* Dim_WC_Customer_Hierarchy_D_With_Error */ ,
    OBIEE_SECURITY_LOCATION_SALES T339204,
    W_PROD_CAT_DH T150993 /* Dim_W_PROD_CAT_DH_General */
    where ( T66755.ROW_WID = T316025.DAY_WID and T316025.CUSTOMER_HIERARCHY_WID = T329697.ROW_WID and T67704.ROW_WID = T316025.PRODUCT_WID and T67704.PROD_CAT2_WID = T150993.ROW_WID and T329697.TERRITORY_CODE = nvl(T339204.LOCATION , T329697.TERRITORY_CODE) and T329697.AREA_DESC = 'GROCERY AREA - EAST' and T329697.DIVISION_DESC = 'DOMESTIC SALES DIVISION' and T339204.USER_NAME = upper('Administrator') and case when T329697.ACCOUNT_NUM is null then T329697.BILL_TO_PARTY_NAME else concat(concat(concat(T329697.BILL_TO_PARTY_NAME, '('), T329697.ACCOUNT_NUM), ')') end = 'JETRO CASH AND CARRY ENTERPRISES INC(10313)' and (T66755.PER_NAME_ENT_YEAR in ('2011', '2012')) and (T329697.TERRITORY_DESC in ('BOSTON', 'CHARLOTTE', 'FLORIDA', 'GREAT LAKES', 'MID-SOUTH', 'NEW YORK', 'WHITE ROSE')) )
    group by T66755.PER_NAME_ENT_YEAR, T150993.X_CONS_MAJOR_GROUP, T329697.TERRITORY_DESC, T329697.AREA_DESC, T329697.DIVISION_DESC, case when T329697.ACCOUNT_NUM is null then T329697.BILL_TO_PARTY_NAME else concat(concat(concat(T329697.BILL_TO_PARTY_NAME, '('), T329697.ACCOUNT_NUM), ')') end
    ) D1
    order by c1, c6
    If we observe test query is very simple and easy to back track but in Dev it is appending like sawwith0,sawwith1 etc..looking difficult.
    Is there in any configuration to change to generate query like Test(with out SAWWITH0).
    NOTE:Any how results are same in both instances.
    Please help me to resolve this issue.
    Thank You,
    Anil Kumar.

    Anil,
    Are your database settings the same in both of the rpds dev and test?
    Check wether you didn't change anything to the default. Open your RDP double click on the Database in the physical layer and go to Feature you can check all the settings there
    Adil

  • I just purchased the SX60 and have been trying to find the way to change the "startup image".

    I just purchased the SX60 and have been trying to find the way to change the "startup image". I have the SX40, Sx30 SX1 and all allow me to change the startup image and the sounds through MyCamera. When I opened MyCamera, it tells me that it won't work on my model. Does anyone know how to change the startup image? In the menu it gives me the choice to either have it on or off. Thanks so much!

    Looks like Canon has changed what they ship with the newer cameras. My SX50 came with a disc & no paper manual. Because of that I searched the Canon site (USA site) & found the program set you need to download (according to what it says). Now there are different versions based on your operating system so for my search I've chosen Win 8.0 & the program file recommended is
    File Description   Date Size
    Digital Camera Software 4.3 [Windows]
    09/16/14
    22.26 MB
    File Name: dcsw-4-3-0-2-9l.zi
    "A skill is developed through constant practice with a passion to improve, not bought."

  • I recently bought a macbook pro and i made a new apple id. my last macbook had a different id as well and i was wondering if there's a way of transferring all my music from the other laptop to the new one without having to use my old apple id?

    i recently bought a macbook pro and i made a new apple id. my last macbook had a different id as well and i was wondering if there's a way of transferring all my music from the other laptop to the new one without having to use my old apple id? if it makes any type of difference i have an iphone 5 so i tried transfering the music but it only transfered certain things and not my entire album.

    Making a new Apple ID was the worst thing you could of done. This is very bad to do. Not sure why people do that. Your Apple ID is Your Apple ID. You only need one and it is best to only have one Apple ID for all apple devices.
    Sorry I don't have any suggestions for you.

  • TS2771 My ipod touch will not hare no matter what and I've tried many different cables and different ways to charge it. What should I do? If I complain to the Apple store co. will they replace my ipod for free?

    My ipod touch will not hare no matter what and I've tried many different cables and different ways to charge it. What should I do? If I complain to the Apple store co. will they replace my ipod for free?

    - See:
    iPod touch: Hardware troubleshooting
    - Try another cable
    - Try another charging source
    - Look at the dock connector on the iPod. Look for abnormalities like bent or corroded contacts, cracked or broken plastic.
    - Make an appointment at the Genus Bar of an Apple store.
    Apple Retail Store - Genius Bar

  • Firefox is slow to shutdown and therefore cannot open again for a few minutes or a restart.This is on 2 different PC's 1 running XP and the other Windows 7.Could you throw some light on this problem Thanks

    Firefox is slow to shutdown and therefore cannot open again for a few minutes or a restart.This is on 2 different PC's 1 running XP and the other Windows 7.Could you throw some light on this problem Latest version running Thanks

    Please see this article: [[Firefox hangs]]

  • HT3576 I have many apps where i must swipe down and it constantly brings down the notification screen. Is there anyway to disable this or activate it a different way because this really bugs me.

    I have many apps where i must swipe down and it constantly brings down the notification screen. Is there anyway to disable this or activate it a different way because this really bugs me.

    I don't have that problem.  Perhaps I touch the screen lower when I wipe down?  I don't know for sure but there's got to be some difference in the way that we wipe down.  you might wish to do some experimenting.

  • Different ways to establish SSO between Portal and ADP

    Hi,
    We are implementing payroll with the help of ADP.
    Please let me know different ways of establishing SSO between portal  and ADP
    Thanks
    Bala Duvvuri

    You may a few issues. SSO with logon tickets is based on accessing web sites in the same domain. So, if the portal is on http://ourportal.company.com, then the web site being accessed needs to have a URL like http://adphosted.company.com. Is the ADP system accessible by a DNS alias that is within company.com? If so, you're OK. If not, then there will be problems.
    The other SSO method is user mapping, but the security implications are not good...

Maybe you are looking for

  • Exception of type java.lang.UnsatisfiedLinkError was thrown Anyone ?

    We are getting this exception when trying to run a very basic aspx. This project works across several other servers, after bringing a new server online, we are finding we get this exception. Below is the complete response from tcptrace. HTTP/1.1 500

  • Soundtrack Pro?

    Recently there's been a lot of talking on the web about the future of Apple's (pro) video and audio applications.   Adobe has some aggressive deals for people switching to Premiere Pro or the Creative Suite (which as you know now includes Audition). 

  • Upgrade to 7.1.2 dropped some purchased app icons

    the apps are still showing as "purchased" in iTunes and I can launch them from he App Store but the icons are gone from the tablet screens. Any ideas?

  • Adding transitions to files that were imported from imovie 8

    I am trying to edit some files from DVDs that were ripped using handbrake. Since I couldn't import them directly to FCE4, I put them in imovie8, exported them and then imported them into Final Cut. For some reason, I am unable to add transitions betw

  • Loosing quality of jpeg image

    Hello, I am inserting an image (jpeg) into reports 6i, using file->import->image : quality=good (tried excellent too), although original's quality is fine, it becomes awful when the report is generated. Any ideas? Thanks JP