How to start Oracle database in solaris Machine

I installed Oracle database in my solaris machine. Everything went fine .. I was able to install it and test the database if it's working or not.
Something happened that made me shut down and restart the solaris machine, the problem is that Oracle is not running, so I have to start it manually, and I'm not sure how to do that ... Is there a way to start Oracle automatically once the solaris machine is started ...
I'm using the SSH Secure Shell Client to configure and install everything into the solaris machine ..

Here is the work around for starting oracle instance automatically.
1) logon the system as root user.
2) under /etc/init.d/ directory, create a file name oraclestart(name the file to what you feel comfortable). eg: /etc/init.d/oraclestart.
with the following content:
#!/bin/sh
# Created by Henry Nguyen
# Date 10/11/2005
# Script to automatic start and stop oracle instances on server
ORACLE_HOME=/export/home/oracle/product/9.2.0.1.0 (diffrent on your system)
if [ ! -f $ORACLE_HOME/bin/dbstart || ! -f $ORACLE_HOME/bin/dbshut ]; then
echo missing oracle start/stop script
exit 1
fi
case "$1" in
'start')
su - oracle -c '$ORACLE_HOME/bin/dbstart'
su - oracle -c '$ORACLE_HOME/bin/lsnrctl start'
'stop')
su - oracle -c '$ORACLE_HOME/bin/lsnrctl stop'
su - oracle -c '$ORACLE_HOME/bin/dbshut'
esac
3) create 2 soft link as following:
ln -s /etc/init.d/oraclestart /etc/rc2.d/S99oraclestart
ln -s /etc/init.d/oraclestart /etc/rc0.d/K10oraclestart
Note the S99 and K10: that are Solaris priorities to when start and stop an oracle instance and those letter must be capitalized.
Hope this will help you

Similar Messages

  • How to start oracle database server and client in windows 8

    Hi at all
    I'm a new entry in this forum and I'm a beginner with database oracle.
    I used always SQL Server as database and it was easy to use after installation.
    With SQL Server configuration management program I could to launch the SQL Server (SQLEXPRESS) service and the database server start up!!
    With SQL Server management studio I could to launch the client application, then was establishing a connection to the server and all was working fine!
    Now, how to work with oracle database?
    I installed oracle server and client version 11g R2 on windows 8, but how can I start the server database? .. and how can I start the client application for querying?
    regards in advance.
    P.S.: Sorry for my english. 

    SomeoneElse
    thanks for the response.
    I setting the service to start manually because otherwise windows is slow to startup.
    In particular I have precisely this oracle service on my operating system after installation.
    - ) OracleVssWriterSYSDBA
    - ) OracleDBConsolesysdba
    - ) OracleJobSchedulerSYSDBA
    - ) OracleMTSRecoveryService
    - ) OracleOraDb11g_home1ClrAgent
    - ) OracleOraDb11g_home1TNSListener
    - ) OracleServiceSYSDBA
    What are the services that start the server and I have to launch?
    What is the client program in menu --> start -- > all program --> Oracle - OraClient 11g home..... that I have to use for querying database?
    thanks.

  • How to connect oracle database from solaris platform

    I have installed oracle9i client on solaris8, how can I configure to connect other oracle database?
    thanks for your assistance!!

    If the database is remote you would need to setup a sqlnet.ora and a tnsnames.ora file. Their locations are platform dependent. On AIX the files are in /etc while on some platforms you find the files in /var/opt/oracle and on others $ORACLE_HOME/network/admin. We have a Sun Sparc running SunOS 5.6 that has them in /var/opt/oracle.
    Configuation can be done through the installer as part of the install process, probably using a gui tool, or manually. We vote for manually.
    See your install README files and the ORANET manuals for details. Or once you know where the files belong copy them from a platform that can access the db you want to reach and just remove unnecessary lines for other databases.
    HTH -- Mark D Powell --

  • How can i start oracle databases? i am using Oracle 8.1.6 for linux.

    when i run dbstart,it gives me following message:
    Database "ora4cweb" warm started.
    but when i use sqlplus,it says:
    ORA-01034: ORACLE not available
    i made a mistake ,i shutdown my linux before i shutdown oracle databases,how can i start oracle databases now?thanks in advance.

    try it without the scripts...
    login to linux as oracle
    start server manager
    svrmgrl
    connect internal
    startup
    select sysdate from dual;if that works
    exitcheck listener
    lsnrctl
    statif nothing running type
    start
    exitnull

  • How to start Oracle Enterprise Manager(Oracle 9i) on Sun Solaris 9 platform

    Hi
    How to start Oracle Enterprise Manager(Oracle 9i) on Sun Solaris 9 platform and Oracle Enterprise Manager(Oracle 10G) on Sun Solaris 10 platform?
    Thanks.
    RJ.

    I need to use it to unlock some accounts.There is a SQL command to do that
    SQL> alter user <username> account unlock;
    Anyway...
    $ export ORACLE_SID=chucky
    $ emctl start dbconsole

  • How to let SOA Suite automatically start Oracle Database services if necess

    It occurs from time to time that I forget to start Oracle database services
    before I start Soa Suite. Can I somehow let SOa Suite startup script check in advance
    if Oracle database services need to be started (and start them automatically if necessary)?
    Peter

    Hi,
    This is a familiar issue. I've come up with the following solutions.
    1) On my linux machine, I start the database (EE) and soa suite at boot time using /etc/oratab.
    2) On my windows machine, I start the database (XE) at boot time, as a service that automatically starts. The soa suite is started manually. I could start the suite automatically as a service also, but because it takes up so much memory and I do not always want to run the suite, I prefer to start manually. In any way, the database is started automatically before the soa suite.
    Hope this will help you.
    Kind regards,
    H

  • How to use Oracle database in CR XI R2!!!

    Hi All,
    I am having Oracle database in onsite machine.
    I need to design the report without DSN and installing Oracle in my machine.
    I dont know how to use connection String and Find DSN file option.
    Please anyone help me to solve the issue.
    Thanks in advance
    Saravanakumar.

    hI,
    Thank you for your reply.
    1. I tried to give connection string, but i couldnt succeed.
    2.If is give OLE(ODBC) I dono how the connection is established. Will it refer to TNSNAMES.ORA file, because it is simpy asking data source, use ID and password.
    it will be helpful if you clarify me on the doubts.
    Thank you,
    Saravanakumar.

  • How to mounted oracle database automatically  in oracle version 8.1.7?

    i want to know,how to mounted oracle database automatically in oracle version 8.1.7?

    Does this mean you are not using the WIndows operating system, or you doi not want to do this 'manually' using some point and click method?
    If this means, "do it automatically for reboots" and you are using the Windows OS, you need to set up a service and set it to automatic at reboot. Or, again in a Windows environment but at commnand line, use "net start {service name}" - as described in the manual.

  • How to start a Database

    I am really new in Oracle and i dont know how to start the database (i only know that the Oracle is installed...) Please Help !

    From the DOS prompt, perform the following:
    svrmgrl
    ==once you get svrmgrl> prompt then type
    connect internal
    startup
    == once you get database started message
    exit
    now your database is up and running.
    if you have any basic question and need good examples as well as good explanation, then, search at, http://asktom.oracle.com site.
    SJH
    OCP DBA

  • How to secure oracle database

    how to secure oracle database,
    I am having the oracle database which will be packed as package in a machine and will be delivered to client place , need to ensure that the client will not access the database by any means.
    Even he breaks the password (he should not break but despite client has broken the password) and went inside the database, he should not be able to see the databases Procedures ,views,functions and triggers.
    Can we Encrypt this,if so can client will be able to decrypt the same?
    Is there a way to secure the database from the client not to access the database.
    Thanks!

    933663 wrote:
    so how can i secure when there is an option to unwrap ,then there is no use in using the wrap right?Yes, because when there is a lock there is a key, when there is wrap there is unwrap, when there is encrypt there is decrypt. We can not be rest assure for hack the code. I think you should think and explore above security options which are provided by Oracle itself which have lock and key by Oracle itself; which i have mentioned in my previous post.
    You just think that if that is that much easy and cheap, then why Oracle have developed above options/features by expending many dollors..!!!
    Regards
    Girish Sharma

  • How to start OC4J in Sun Solaris???

    How to start OC4J in Sun Solaris???

    It's very simple, you go to the OBIEE documentation page:
    http://download.oracle.com/docs/cd/E10415_01/doc/nav/portal_booklist.htm
    And you download the Infrastructure Installation and Configuration Guide. You then read it and get to the section where if talks about Starting and Stopping the OC4J Process.

  • Hi can anyone help me how to install oracle 11gr2 in linux machine

    Hi can anyone help me how to install oracle 11gr2 in linux machine
    with some documentation or any screen shots ?

    Hello
    you can follow me article:
    Oracle desde Guatemala &amp;raquo; Blog Archive &amp;raquo; Instalar Oracle Database 12cR1 en OEL 6 con ASM
    Greetings,

  • CAN I INSTALL BOTH (ORACLE 9IAS AND ORACLE DATABASE )INTO SAME MACHINE.

    oracle 9ias and oracle 9i database in same machine Feb 25, 2003 11:22 PM
    Reply
    Dear Friends,
    I installed oracle 9ias. and then i hosted my form,report into that server . All was working properly.
    at this time my database was into another machine.
    then i installed oracle 9i database into the same machine
    (as the oracle 9ias was installed)
    at the instalation of oracle 9i database one error comes
    and shows that Agent configuration Assistant Installation
    fail.
    but After installation of database it work properly.
    there is no problem.
    but when I try to run from through web(by using oracle 9ias)
    it gives Internal error(500).
    i check and find that my appache server for 9ias is working properly and in services of windows 2000 no error comes.
    HOW CAN I INSTALL BOTH (ORACLE 9IAS AND ORACLE DATABASE )INTO SAME MACHINE.
    With regards
    Siddharth Singh
    [email protected]

    Hi James,
    Have u ever tried ORACLE 9iAS R2 on Redhat Linux ?
    If yes what is the version of RH Linux you were using ?
    Any docs for that ?
    [email protected]
    Regards
    Amudharasu

  • How to Start Oracle Report in Unix?

    hi
    Does anyone know how to start oracle report in unix? I was
    told to try this (r60desm) but that did not work. We are on 11i
    and 6i. Please help
    alpha

    I don't have Forms/Reports 6i for UNIX. Have you tried typing "r60" and typing tab twice?

  • How to connect Oracle database in VC++.06

    How to connect Oracle database in VC++.06 please give me details

    on the Insert command button and add the following code to the button click event:
    try
    string results = "";
    OracleConnection con = new OracleConnection("DSN=Employee;uid=system;pwd=test");
    con.Open();
    .....................................................................

Maybe you are looking for

  • Blue Screen of Death - Memory Management

    I have gotten the blue screen of death twice now. The screen went by really fast but I think it said something about memory, like memory management. I copied the problem details: Problem signature: Problem Event Name: BlueScreen OS Version: 6.1.7601.

  • Tcode for checking that file is on the server

    what is the tcode for checking that file is on the server. thanks...

  • Inputs or tables required for customizing purchase register

    Hi,       I have encountered a problem regarding Purchase Register. The requirement of the Client is that, he wants to have the Tax Details populated in the Purchase Register with reference to Tax Code in the Invoice Screen. This should happen, once

  • Navigation with sub-topics

    Hello, my question is, if it is possible to create a website with deeper navigation. For example: When i create a site "products" it appears automatically in the navigation list. Is it now possible to create some different product pages under this to

  • Hi all       Added values in Matrix Footer

    hi all, i want to add sum of column value in the footer of the matrix so please give me some  hint for that. Thanks in adava. Regards Rajkumar Gupta