How to start oracle 11g?

Hi, I just did an installation of oracle 11g on my fedora 9. The db installed ok and I managed to connect as sys using sqldeveloper. After reboot, the database doesn't start automatically (which is what I want). But I don't know how to start it!!!
I looked around the net and I currently execute these commands:
cd /home/ariskk/programs/oracle/ariskk/product/11.1.0/db_1/bin/
export ORAENV_ASK=NO
export ORACLE_SID=orcl
#replace orcl above with the SID in whose ORACLE_HOME you find the listener
. oraenv
unset ORAENV_ASK
./lsnrctl start
./dbstart $ORACLE_HOME
but when I try to connect I get the following error:
ORA-12505: TNS:listener does not currently know of SID given in connect descriptor
My connection descriptor is correct because it was working before rebooting.
Also I am not able to run em. Again, em was running correctly before rebooting (URL: https://localhost.localdomain:1158/em/ was working fine before the reboot)
Any help would be appreciated.

ariskk,
Once you have set your ORAClE_SID=ORCL or whatever your database name iis as an oracle user. Do following and post its output here? For readability enclose your code or output between \.To Start database
$> sqlplus '/as sysdba'
$> startup;
To Start Listener
$> lsnrctl status
$> lsnrctl start
To start database control
$> emctl status dbconsole
$> emctl start dbconsole
Regards
Edited by: OrionNet on Jan 8, 2009 4:25 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • How to start Oracle 11g on my PC

    Hi,
    I am taking a course in Database Concepts. I have installed Oracle on my PC, and have used my email address as my user name and password.
    I want to start Oracle, and see if I can run a few SQL queries on the default database (if one is installed).
    I have started SQL Plus, entered my user name and password (that being my email address), pressed enter, and the following message appears:
    ORA-12170: TNS: Connect timeout occurred
    I then followed the steps outlined by Burleson Consulting at:
    http://www.dba-oracle.com/t_ora_12170_tns_connect_timeout.htm
    That is, I:
    Modified the SQLNET.INBOUND_CONNECT_TIMEOUT setting from 3 to 10
    AND
    Pasted 190.1.1.20 diogenes into the DNS hosts file.
    All that happens now is that the ORA-12170: TNS: Connect timeout occurred message takes longer to appear.
    Can anyone help me?
    Thanks in advance.
    Sean

    931499 wrote:
    Hi,
    I am taking a course in Database Concepts. I have installed Oracle on my PC, and have used my email address as my user name and password.
    I want to start Oracle, and see if I can run a few SQL queries on the default database (if one is installed).
    I have started SQL Plus, entered my user name and password (that being my email address), pressed enter, and the following message appears:
    ORA-12170: TNS: Connect timeout occurred
    I then followed the steps outlined by Burleson Consulting at:
    http://www.dba-oracle.com/t_ora_12170_tns_connect_timeout.htm
    That is, I:
    Modified the SQLNET.INBOUND_CONNECT_TIMEOUT setting from 3 to 10
    AND
    Pasted 190.1.1.20 diogenes into the DNS hosts file.
    All that happens now is that the ORA-12170: TNS: Connect timeout occurred message takes longer to appear.
    Can anyone help me?
    Thanks in advance.
    SeanSQL*Net is NOT required to start to operate against Oracle RDBMS

  • 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 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 start oracle Jdeveloper 11g Weblogic Admin Server

    Hi Every one
    Can any one help me in starting the Oracle Jdeveloper 11g weblogic admin server. There is option to start the admin server while configuring the new domain, but after that if we need to start the same domain I didn't find any option in 11g. Can any one help me in this regard
    Thanks

    Janilson wrote:
    I don't know which oracle version you are using but, I use the Express version (Oracle-xe)
    In order to configure it I run
    sudo /etc/rc.d/oracle-xe configure
    After configure oracle, I start oracle service
    sudo /etc/rc.d/oracle-xe start
    I don't know if it helps sad
    I don't see any thing in rc.d. I use systemctl to start daemons.
    stee1rat wrote:What command do you use to run it? And what are your environment variables?
    lsnrctl start

  • How to start Oracle Report Builder in Linux

    Hi all
    Can someone please help by telling how can i start Oracle Report Builder in Linux????
    Thank you and best regards to all

    Hello,
    there should be a script rwbuilder.sh
    in ORACLE_HOME/bin for 10.1.2.
    in ORACLE_INSTANCE/config/reports/bin for 11g
    Of course, you need to have a "X Display Server " up and running and the variable DISPLAY must be set to this "X Display Server "
    Example :
    export DISPLAY=123.456.789.12:0
    $ORACLE_HOME/bin/rwbuilder.sh
    Regards

  • How to install Oracle 11g on linux from VNC

    Hi:
    I need to install oracle 11g from VNC viewer. The VNC is stalled on linux. I managed login. Now I have a screen that has some icons on the top like, Connection Options, "i", refresh, CTRl, ...
    under that I have
    Accept clipboard from viewers
    Send clipboard to viewers
    Send primary selection to viewers
    From the Connection Options window, I checked Hextile for Use encoding and Let remote server deal with mouse cursor.
    What is next? How do I connect to the server. (When I login I used hostname:1)
    BTW, when I click on "Start TightVNC service" from Start button, I got "Failed to start TightVNC service for the following reason: Access is denied(error code 5).
    The VNC on the linux server is running.
    Thankyou.
    Edited by: 907485 on Mar 21, 2012 7:21 AM

    907485 wrote:
    Hi:
    I need to install oracle 11g from VNC viewer. The VNC is stalled on linux. I managed login. Now I have a screen that has some icons on the top like, Connection Options, "i", refresh, CTRl, ...
    under that I have
    Accept clipboard from viewers
    Send clipboard to viewers
    Send primary selection to viewers
    From the Connection Options window, I checked Hextile for Use encoding and Let remote server deal with mouse cursor.
    What is next? How do I connect to the server. (When I login I used hostname:1)
    Thankyou.we only know what you post.
    where does linux reside?
    where is VNC installed?

  • How to uninstall Oracle 11g on Red Hat Enterprise Linux 5.3 x86-64

    I've install Oracle 11g on a Red Hat Enterprise Linux 5.3 x86-64 system. I'm new to the world of Oracle and I have come to the conclusion why learning about Oracle I've screwed up my in installation of Oracle 11g to the point where nothing Oracle related is working properly. I've decided that I want to uninstall Oracle 11g and start over.
    How do I uninstall Oracle 11g on a Red Hat Enterprise Linux 5.3 x86-64?

    What do you mean with doesn't work?
    If you want to delete the database manually, then refer [to this link|http://dev-notes.com/code.php?q=40]
    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/]

  • How To Determine Oracle 11g Issues

    Is there a script or way I can run a health check or data integrity on a Oracle 11g R2 (11.2.0.3) database server I don't own or have any experience with? I'm being handed a 11.2 11g Enterprise Edition & would like to see what the state of the database is and the included data. Is there somewhere I can start or some kind of script I can run to determine if this machine is doing well or needs specific attention?

    CarlosinFL wrote:
    I'm not sure how else to state this but if you were given a database server you didn't configure or use, you would like to know if there are invalid schema entries, What is an invalid schema entry?
    critical database operational errors, Presumably, those would be logged in the alert log
    performance problems, It's impossible, in general, to script that. You'd need to know what the performance requirements of the system are. You can run an AWR/ Statspack report and see that, for example, the server has been under heavy load. But it's impossible for a script to differentiate between "everything is operating as expected, the system is well tuned so that we can use as much of the hardware as possible" and "oh crud, response times just went through the roof and users are lighting up the phones with complaints"
    loads of junk in the recycle bin, etc etc etc...Why do you care what's in the recycle bin? That's just space that Oracle is free to use when it needs to use it, there is no harm in having tons of objects and data in the recycle bin.
    I have no experience with this server so I would like to analyze it and find out what / where attention is needed.That generally requires conversations with the users that depend on the system and the documentation around the system as much, if not more so, than running scripts against the database. You'll want to see what the written backup and recovery plan is, for example, and you'll probably want to verify that you can follow the plan and recover the last set of backups. No script is going to be able to tell you whether the last set of backups are recoverable, how they were taken, whether the documentation is up to date, whether the plan itself is reasonable, etc. You'll want to talk with users to understand how they use the system, what the performance requirements are, what problems, if any, they have, etc. Depending on the organization, that may involve looking at the bug tracking/ issue tracking/ ticket tracking application(s), it may involve conversations with humans, etc.
    Justin

  • How to mount Oracle 11g software on Vmware.

    Hello All,
    I am new to this forum and also I am learning Oracle DBA 11G on my own to enhance my skills and move further.
    I have a question for which I am looking an answer from the experts here in this forum.
    Question: I have installed Vmware and Linux 4 on my system, please advise how can I now install the Oracle 11G software so that I can start with creation of Database?
    Please respond to my query so that my interest into the subject remains intact and I can get a good start in it.
    Thanks in advance.
    Heyat Afroz.

    955385 wrote:
    Hello All,
    I am new to this forum and also I am learning Oracle DBA 11G on my own to enhance my skills and move further.
    I have a question for which I am looking an answer from the experts here in this forum.
    Question: I have installed Vmware and Linux 4 on my system, please advise how can I now install the Oracle 11G software so that I can start with creation of Database?
    Please respond to my query so that my interest into the subject remains intact and I can get a good start in it.
    Thanks in advance.
    Heyat Afroz.Probably what you are looking for is that you need to install the Guest Additions so that your vm can mount a directory from the host os. Then place your oracle installtion files on that share directory.

  • How to start Oracle Application Server 10g on Linux

    Hi,
    I have installed the Oracle Appliacion server and Infrastructure server on Linux. Both I have installed under with Diff. folder
    Can some one please tell me how to start / stop Appliacion server and Infrastructure server on Linux
    We are going to use the these with Oracle EBS 11.5.10.2 .
    Oracle EBS 11.5.10.2 installed in the same Linux server under diff. folder
    Can some one please guide me.
    Thanks,

    You can do as rizla said or go another route.
    We setup profiles to use for all of the oracle homes. Then in the scripts we call the profiles. Easier to migrate and manage in my opinion if you have multiple oracle homes. You can then use profiles when ssh'd into the boxes, too. Both ways will work.
    Example:
    Script which you can chkconfig.
    #!/bin/sh
    # oracle_collabInfra
    # This shell script takes care of starting and stopping Oracle Collab Infra instance.
    #chkconfig: 345 96 14
    # Source function library.
    . /etc/rc.d/init.d/functions
    RETVAL=0
    start () {
    echo $"Starting Collab Suite on the Infra instance..."
    echo $"Starting Listener..."
    runuser - oracle -c ". /home/oracle/.collabInfra_profile; lsnrctl start"
    sleep 10
    echo $"Starting Metadata Repository..."
    runuser - oracle -c ". /home/oracle/.collabInfra_profile; sqlplus '/ as sysdba' <<!
    startup;
    exit;
    sleep 10
    echo $"Starting Enterprise Manager Application Server Control..."
    runuser - oracle -c ". /home/oracle/.collabInfra_profile; emctl start iasconsole"
    sleep 5
    echo $"Starting Infra OID and OC4J_Security processes..."
    runuser - oracle -c ". /home/oracle/.collabInfra_profile; opmnctl startproc process-type=OID"
    runuser - oracle -c ". /home/oracle/.collabInfra_profile; opmnctl startproc process-type=OC4J_Security"
    echo $"Starting Infra HTTP_Server processes..."
    runuser - oracle -c ". /home/oracle/.collabInfra_profile; opmnctl startproc process-type=HTTP_Server"
    return $RETVAL
    stop () {
    echo $"Stopping Collab Suite on the Infra instance..."
    echo $"Stopping all Infra OPMN managed processes..."
    runuser - oracle -c ". /home/oracle/.collabInfra_profile; opmnctl stopall"
    sleep 5
    echo $"Stopping Enterprise Manager Application Server Control..."
    runuser - oracle -c ". /home/oracle/.collabInfra_profile; emctl stop iasconsole"
    sleep 10
    echo $"Stopping Metadata Repository..."
    runuser - oracle -c ". /home/oracle/.collabInfra_profile; sqlplus '/ as sysdba' <<!
    shutdown immediate;
    exit;
    sleep 10
    echo $"Stopping Listener..."
    runuser - oracle -c ". /home/oracle/.collabInfra_profile; lsnrctl stop"
    return $RETVAL
    restart () {
    stop
    start
    RETVAL=$?
    return $RETVAL
    # See how we were called.
    case "$1" in
    start)
    start
    stop)
    stop
    restart)
    restart
    echo $"Usage: $0 {start|stop|restart}"
    RETVAL=1
    esac
    exit $RETVAL
    profile:
    export ORACLE_BASE=/opt/oracle
    export ORACLE_HOME=$ORACLE_BASE/collabInfra
    export ORACLE_SID=orcl
    export TMP=/tmp
    export TMPDIR=/tmp
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib
    export PATH=/bin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/kerberos/bin:/usr/local/bin:/usr/X11R6/bin:$HOME/bin:$ORACLE_HOME/bin:$ORACLE_HOME/opmn/bin:$ORACLE_HOME/dcm/bin:$ORACLE_HOME/backup_restore
    unset USERNAME

  • How to Install oracle 11G Solaris 10 NO GUI using command line

    Hello
    I need to install oracle 11G R2 on Solaris 10 but cant use interactive mode i tried the following
    /runInstaller -silent -force -debug FROM_LOCATION="/var/tmp/oracle/database/stageproducts.xml" ORACLE_HOME="/oracle/product"
    As per oracle metalink documentation - however i get the following messages
    [SEVERE] - My Oracle Support Username/Email Address Not Specified
    has anyone installed oracle with no interactive mode how can i do so ?
    thank you

    Have you followed the needed steps in the Install Guide ? http://download.oracle.com/docs/cd/E11882_01/install.112/e17163/app_nonint.htm#BABFEECI
    HTH
    Srini

  • How to monitor oracle 11g database sessions on Windows 2008 server?

    Hi Experts
    How to monitor the Oracle 11g database sessions on Windows 2008 server (other than SQL Developer tool), which procedure or query is taking more time with Java application.

    Recently i found this tool- myorasql on the net to monitor the performence of database, easy to setup and check the performence.  i never tested it but seems impresive.  It is free and i think it would be use ful to you.
    http://myorasql.com/
    You can also use Quest - Toad or sqlplus if you are very good at sql commands and all dictionary tables or OEM/EM grid if it is configured .

  • How to install Oracle 11g R2 Express Edition in Arch 64?

    Does anybody know how to do that?
    The AUR website has a package for the beta version of Oracle 11g R2 Express Edition (https://aur.archlinux.org/packages.php?ID=48366), but somebody commented that it had some problem.
    After a few months, I think it's easier to install centos 6.2 in a virtual box and install Oracle 11g there.
    Last edited by dxxvi (2012-06-06 20:57:36)

    By default Chinese language will be selected, you can also add english language from the left panel where you find list of languages. Then drag drop English to right panel and click next to continue with your installation.

  • 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

Maybe you are looking for