How to startup 10G automatically after reboot????

How to startup 10G automatically after reboot????
Is the same thing that we did with 9i?
Create a script e link this on /etc/rc......?? Is that?
Please send me an example.
Tks,
Paulo Portugal.

Yes, use /etc/rc. The following are 3 start scripts. Modify it to fit it into /etc/rc start/stop model.
==> 1. start the DB:
#!/bin/ksh
# ==> start the DB:
ORACLE_SID=xadv1
export ORACLE_SID
ORACLE_HOME=/software/xadv1_infra
export ORACLE_HOME
LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORIG_LD_LIBRARY_PATH
PATH=$ORACLE_HOME/bin:$ORACLE_HOME/dcm/bin:$ORACLE_HOME/opmn/bin:$ORIG_PATH
lsnrctl start
lsnrctl status
PASSWD=`cat $HOME/xadv1/sh/system_passwd.pwd`
sqlplus /nolog<<EOF
connect SYSTEM/$PASSWD as SYSDBA
startup
EOF
#!/bin/ksh
# ==> 2. start infra HTTP
ORACLE_SID=xadv1
export ORACLE_SID
ORACLE_HOME=/software/xadv1_infra
export ORACLE_HOME
LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORIG_LD_LIBRARY_PATH
export LD_LIBRARY_PATH
PATH=$ORACLE_HOME/bin:$ORACLE_HOME/dcm/bin:$ORACLE_HOME/opmn/bin:$ORIG_PATH
export PATH
echo "############# Starting OPMN ############################"
opmnctl startall
echo "############# Starting EM ############################"
emctl start iasconsole
echo "############# OPMN Status ############################"
opmnctl status
#!/bin/ksh
# ==> 3. start iAS
ORACLE_SID=xadv1
export ORACLE_SID
ORACLE_HOME=/software/xadv1_ias
export ORACLE_HOME
LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORIG_LD_LIBRARY_PATH
PATH=$ORACLE_HOME/bin:$ORACLE_HOME/dcm/bin:$ORACLE_HOME/opmn/bin:$ORIG_PATH
echo "############# Starting OPMN ############################"
opmnctl startall
echo "############# Starting EM ############################"
emctl start iasconsole
echo "############# OPMN Status ############################"
opmnctl status

Similar Messages

  • Starting OC4J_BI_FORMS automatically after reboot on Win2000

    Does any know how to configure OCJ4_BI_FORMS to startup
    automatically after rebooting on win2000. Now, I'm manually starting the OC4J_BI_FORMS instance, and would like to automate the startup after reboot.
    Thanks in advance
    Joe

    I think it's controlled by auto-start for your application in %ora9ias_home%\j2ee\OC4J_BI_Forms\config\server.xml.
    Reference: http://download-west.oracle.com/docs/cd/A97329_01/web.902/a95880/apdx_a.htm
    Yong Huang

  • Will DB start automatically after rebooting the computer?

    Will DB start automatically after rebooting the computer?

    user9947478 wrote:
    Will DB start automatically after rebooting the computer?Yes. IF you set it up to do so. Or you have an OSs for which it is installed to automatically do so and you have not disabled it.
    I assume, since it seems to be difficult for you to tell us what operating system you use, that you use some form of Windows. In which case, the answer is 'Yes, automatically set up - as seen by the Services'.
    (Windows users don't seem to realize there are other OSs and therefore don't tell. They also don't realize that Windows is not an OS, but rather the marketing label for a whole families of OS Editions. Some popular families are: Windows XP, WIndows 2003, Windows 2008, Windows 7. But even then, Oracle only works on specific Editions within the family.)

  • How clusterware restarts on automatically after server reboot in 11g R2

    Hi,
    I would like to know how the cluster restarts on automatically after the server reboot in 11g R2 RAC . The oracle restart feature in 11g R2 help to restart the components like databases, ASM in case of abnormal failure. But how the clusterware starts on own after the server reboot? can you share any documents or notes is really appreciated.
    Thanks,
    Robin.

    At Grid Infrastructure installation time system configuration is modified so that UNIX init daemon restarts OHASD: http://docs.oracle.com/cd/E11882_01/rac.112/e16794/intro.htm#BABIDEFI. For example with Oracle Linux 5 and Oracle RAC 11.2.0.1 you have following line in /etc/inittab:
    h1:35:respawn:/etc/init.d/init.ohasd run >/dev/null 2>&1 </dev/nulland:
    [root@rac1 ~]# head /etc/init.d/init.ohasd
    #!/bin/sh
    # Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
    # init.ohasd - Control script for the Oracle HA services daemon
    # This script is invoked by the init system
    ORA_CRS_HOME=/u01/app/11.2.0/grid
    export ORA_CRS_HOMEEdited by: P. Forstmann on 11 févr. 2013 18:45

  • How to startup/shutdown automatic?

    Hi, is it possible to have bootcamped windows 7, to startup and shutdown automatic after schedule?

    It's possible but would require scheduling on both operating systems.  You can write the boot drive to NVRAM and issue a reboot.  That would start windows, what happens there would be controlled by windows.  Inside windows you can automate using the control panel to select the mac boot drive and again, issue a reboot.
    I think it would be more robust to have a small winbox running 24/7 than try to cobble together something that complicated on a single mac.  There must be a reason behind your request.  What is the reason, maybe there's another way to achieve the goal.

  • Listener service not start automatically after reboot in Win2K server Clust

    Hi all,
    I set up a two node Server Cluster with Microsoft Windows 2000 server cluster service. Hardware are two HP DL380 servers and HP MSA500 (the shared storage). The cluster's IP address is 10.1.241.65. When I shut down both servers and restart the primary server, the listener server service will not start automatically. The listener log is:
    Started with pid=1108
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.1.241.65)(PORT=1521)))
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist
    32-bit Windows Error: 49: Unknown error
    The service is set up automatically start. I suspect the cluster virtual IP is not available immediately after reboot. So I tried setting the Recovery after first failure and second failure to 3 minitues each, and setting up Dependencies of the listener on the cluster service in the Win2K Service panel. Neither worked.
    The service can be manually start.
    Any suggestion?
    Frank.

    The command to start automatically the listener is :
    lsnrctl start
    check the parameters in : <ORACLE_HOME>/network/admin/listener.ora
    check the IP address or host name
    Joel Pérez

  • Ovs-agent starts automatically after reboot but hostname isnt resolvable

    Hello Guys,
    the theme is the problem. After rebooting a server the ovs-agent starts automatically but the DNS-Name of the SR isnt resolvable.
    If I restart the agent by hand everything works fine. I checked the /etc/init.d, where its installed and the rc3.d. ovs-agent got S99 - which means, it starts last.
    But which service is responsible for DNS? In my eyes the only thing that must be up, is networking, isnt it?
    Do you have any hints for me?
    Greetz

    Please check your /etc/hosts and make sure that the hostname is on a separate line and not mapped to 127.0.0.1

  • SSRS 2008 R2 Services not restarting automatically after reboot

    SSRS 2008 R2  Reporting instance not restarting automatically after patches install.  Is there a way to resolve the issue
    Windows 2008 R2 Server
    16 GB RAM

    Hi,
    Follow this article to resolve the issue:
    Reporting Services service doesn't start after the installation of MS12-070 security patch
    http://blogs.msdn.com/b/mariae/archive/2012/11/12/reporting-services-service-doesn-t-start-after-the-installation-of-ms12-070-security-patch.aspx
    Workaround 1:
    Modify the registry to increase the default time-out value for the service control manager. To increase this value to 60 seconds, follow these steps:
    1. Click Start, click Run, type regedit,and then click OK.
    2. Locate and then click the following registry subkey:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control.
    3.  In the right pane, locate the ServicesPipeTimeout entry.
    Note If the ServicesPipeTimeout entry does not exist, you must créate it. To do this, follow these steps:
    a.On the Edit menu, point to New, and then click DWORD Value.
    b.Type ServicesPipeTimeout, and then press ENTER.
    c.Right-click ServicesPipeTimeout, and then click Modify.
    d.Click Decimal, type 60000, and then click OK.
    This value represents the time in milliseconds before
    Restart the computer for the changes to take effect. Check that SSRS services can be started now.
    You cannot start SQL Server Reporting Services after you apply the update that is discussed in KB 2677070
    http://support.microsoft.com/kb/2745448/en-us
    Thanks.
    Tracy Cai
    TechNet Community Support

  • Oracle does not start automaticly after reboot

    I've installed O 9i on win2ksrv after installing DB2.
    Then I create a database and this db starts successfully.
    After reboot the database is shutdown and can only starts manually by sysdba.

    Hi,
    Have you checked the space of ORAARCH or SAPARCH folder/directory ? The problem may be "Archive destination full".  If its full then try to move some old Offline redo log file to other safe location as a backup and then try to restart the Oracle Instance again.
    Regards
    Bhavik G. Shroff

  • IPhoto 6 starts automatically after reboot, how to avoid ?

    Every time I reboot my Imac, Iphoto starts automatically.
    It is not active in Accounts / Login Items
    Also no camera is attached to the computer; The settings for ImageCapture are to launch EOS Utility if a camera would be attached.
    Any clues ?
    Thanks,

    Xinram
    Right click on the iPhoto icon in the Dock, see if 'Open at Log in' is checked.
    Do you have a FAT format disk or USB flash drive connected to the Mac?
    Regards
    TD

  • CUE 8.0(1) unable to start automatically after reboot CME

    Hi
    I have an issue with CUE (ISM) 8.0.1
    When the router has been reboot it then the CUE module its not restarted Automatically
    I have to login on cue module via cli and write the command BOOT DISK in order to start the CUE module
    ServicesEngine boot-loader> boot disk                                        
    Loading disk:/bzImage ... Verifying ... done.
    Starting Kernel.
    Pls Advice
    thanks

    Hi Paolo
    could you pls give me a dogumentation or something for the boot loader?
    i didnt find anything
    thank you

  • Is there a Re-Map option on MAC? (Reconnect automatically after reboot).

    Ok...have a NAS storage box that I can map to from the MAC via IP address...works fine...
    But if I reboot the MAC I loose this mapping. (And have to remap it each time). In Windows there is a Reconnect at Login.
    Is there anything like this on the MAC? So I don't have to Remap or ReMount this device?

    There are several ways of doing this, depending on quite how you want it to work.
    Do you want it to mount when the machine boots, or when you log in?
    There's a difference. If you mount it at boot time, it'll be available to all users. If you mount it when you log in, it won't mount until you log in.
    The latter is easiest to implement - Just drag the icon of the shared volume to the Login Items panel of the Accounts preferences (System Preferences -> Accounts -> (your account) -> Login Items).
    Anything here will be opened when you log in. In the case of a shared volume that will initiate a remount of the server.

  • Why does connection not reconnect automatically after reboot?

    When I had the security set to WPA, the Mac would reconnect automatically when booting. But when using WEP, which I have to with my son's Nintendo DS, I have to go to the Airport menu to choose the network after I boot. In the Network System Preferences, I tried choosing 'Automatic' or 'Preferred networks' but no difference. Any other settings I should check?
    Andre
    PowerBook 15", 1.67 GHz, 1.5 GIG RAM   Mac OS X (10.4.3)   G4 QuickSilver 733Mhz, G4 400 Mhz, G3 Desktop

    See if this thread might help:
    http://discussions.apple.com/thread.jspa?threadID=313041

  • How can use set automatically after executeQuery in UIX Site?

    Hallo ...,
    i start in my site with an initial event for instance site.do?event=init.
    in the init event i make a roolback, setWhereClause and executeQuery. then the site will display. after the executeQuery i have data in my site which i want to put on variables. all solutions i know need an event. when i put an submit button on the site and go to an event variable there i can say set value=... property=... target=... and can work for example with session variables. but i want to fill the variables without user interaction. but i don't know a way.
    any help is appreciated.

    Hi Marc,
    You can use the Origin property of the pane to set the top left point of your front panel.
    Is this what you are after?
    Dave
    Message Edited by DavidU on 10-06-2008 10:13 AM
    Attachments:
    OriginProperty.png ‏2 KB

  • MSExchangeSA and IS is not starting automatic at reboot after upgrading the server from SP1 to SP2

    I am running a 2 node DAG with separate Hub & CAS servers
    I have already upgraded the Hub CAS server and they are fine
    Exchange running on Windows 2008 R2 SP1
    All are in VM-Ware ESXi 5.0
    After I upgrade the mailbox server to SP2 the SA and IS service not starting automatic after reboot
    If I run "net time /set" command and then restart ADtopology server, the IS and SA starts fine
    But again after reboot they do not start
    Also I get the below event in the app log when the IS & SA fails to start
    Log Name:      Application
    Source:        MSExchangeIS
    Date:          05/22/2012 5:15:03 AM
    Event ID:      5003
    Task Category: General
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      server.domain.com
    Description:
    Unable to initialize the Information Store service because the clocks on the client and server are skewed. This may be caused by a time change either on the client or on the server, and may require a restart of that computer. Verify that your domain is correctly
    configured and  is currently online.
    If I check the Registry for time resource it is taking from the DC
    I manually compared the time between DC and Exchange and it is fine
    Since the Exchange mailbox is virtual, I checked the time sync on VM-Ware tools and it is "unchecked"
    Checked for group policy and do not find any specific to time sync.
    Confirmed that Windows Time service is running
    Suspecting a Operating system issue, tried to upgrade the other DAG
    Even that node is displaying the same symptom and Issues
    Tried to install RU1 on both nodes and that too did not fix the issue.
    Checked with VM-Ware engineer and he said that every thing from VM-Ware end is fine
    Is Anyone have come across the issue before ?

    Exchange 2010: Unable to initialize the Information Store
    Problem: 
    Unable to initialize the Information Store service because  the clocks on the client and server are skewed.   This may be caused by a time change either in the client or the server,  and may require a reboot of that computer.   Verify that
    your domain is properly configured and  is currently online.
    Solution: 
    Open a cmd prompt from the Exchange Server as administrator (right mouse click on the command prompt shortcut and select “Run as Administrator”)
    Run this command
    Net time \\ADServerName /Set
    Restart the Microsoft Exchange Active Directory Topology Service
    *Important!! You have to restart the Microsoft Exchange Active Directory Topology Service or this fix will not work..  I tried just starting the Information Store service after running the command it it still failed..
    This worked for me and all is well on my exchange server.
    - See more at: http://www.mountainvistatech.com/2012/06/04/exchange-2010-unable-to-initialize-the-information-store/#sthash.SwQpgQEM.dpuf

Maybe you are looking for

  • How would you solve the following Synch Async scenario?

    Hi, I have the following use case and would like to know thoughts from the community on how to solve it - There is a web based portal sending a create order request to ESB and the ESB does some message processing and passes it to a CRM to complete th

  • Problem with start Mapviewer

    Hello, I have tried to start Mapviewer in my teminal but i became an error: /scratch/jdk...../bin / java can not found! I could nou find it in filr OC4J too! In Workshop Document wrote that I have to change it to /usr/java/jdk.... I have down it but

  • Crystal Reports - Oracle server connection

    Hi Guys, I'm back to struggling with Crystal Reports XI Release 2. I'm trying to display a report that retrieves a set of data from an oracle database. I've got the following scenarios: - If I build a report using a JDBC connection and setting its pr

  • Rename particular XML Tag

    Hi Indesign Experts,           I'm confused a lot in the below issue. I'm have a indesign document. In the xml structure, If i select a element, and trying to rename the selected item's markupTag.name, it's changing all the elements with the selected

  • HT201070 Olympus PEN E-P5 RAW files .ORF

    Hi, does anyone now when or if it is posible to watch thumbs or even images in preview taken with a Olympus PEN E-P5.. it kind of *** to not be able to see the images in finder or in preview, noe i have to open them randomly in Adobe Photoshop CC who