Oracle database won't start - Interview Question? How to answer Interview in short-

Hello people

I am Java programmer, trying to gear to Oracle DB, attended a few Interview.

So far in the Interview they ask this question "How do troubleshoot you if Oracle database is not running / does not start?

Since I have no experience in real time.

I would say that I'll go and do a TNSPING, check the Listerner.ora entries. If Windows I will tell me that I'll check Services.

but so far, it seems that they are not happy with my answer.

So I ask each of you to tell me how I should answer.

I know it's the open question but how should I tell them in a nuttshell.

Thank you

Matt

I am Java programmer, trying to gear to Oracle DB, attended a few Interview.

So far in the Interview they ask this question "How do troubleshoot you if Oracle database is not running / does not start?

Since I have no experience in real time.

I would say that I'll go and do a TNSPING, check the Listerner.ora entries. If Windows I will tell me that I'll check Services.

but so far, it seems that they are not happy with my answer.

So I ask each of you to tell me how I should answer.

I know it's the open question but how should I tell them in a nuttshell.

Well - until now I disagree with ALL of the other answers!

IMHO the FIRST STEP in ANY troubleshooting task is to CONFIRM that the problem really exists.

The KEY part of this confirmation is to get ALL the information available to the person reporting the issue. In an interview which is SIMPLE - the person reporting the issue is sitting right in front of you. So instead of running around like a chicken with its head cut off you should begin by asking a few key questions:

1. you said that the data is not running

a. IS IT supposed TO BE running - that would be my VERY FIRST question!

b. How do you know this? A user did report it to you? Have you tried to use yourself?

c. How do confirm you the DB was down? Have what measures you taken?

d. What do you mean by DOWN? Stone cold dead? Running but not accessible to business users? Running but inaccessible to anyone including DBA?

e. what other information you have about the problem? Have you checked the log of alerts? When was the last time it was running normally? What could have happened since then to bring it down? There were backups or scheduled maintenance tasks?

2. you said that it does not start

a. How do you know this?

b. did you try to start it yourself?

c. how the restart was attempted? how much? where (what machine)?

d. what command they use? They use 'EM? Or a console?

(e) what has been the result? What has been the response on the console (if the console has been used) what has been the result if EM has been used?

Your answer to that seemingly simple question should have been to about a dozen questions of your own like I did just above. There is NOTHING to do, IMHO, before getting THE news AND ALL of the one who reports the problem - that includes interviewers.

Disappoint my more great in interviews is when otherwise intelligent people are so reluctant to ask questions to get the information they need to understand and confirm the question/problem.

The above is why I "disagreed" with the other responses made so far. Certainly, the alerts log is important and must be checked. But it's a lot easier knowing what the person concerned (interviewer) know asking them just before starting to run. As far as we know that the interviewer was ready to tell you what the alert log say if you just ask.

My rule #1 in an interview: ASK QUESTIONS!

Anyone who is not asking questions in my interviews gets demerits. I can train someone how to solve problems and perform DBA tasks. But I found it almost IMPOSSIBLE to tell when they don't know something if they don't ask questions or tell me "I don't know".

If someone just asking these questions above this would indicate to me that they know how to FIND the information they need, even if they don't know yet how to use this information.

Tags: Database

Similar Questions

  • Oracle Database 10 g Client install question, firewall blocking java.exe

    Hello

    I am developing an installation in silent mode for the Oracle 10 g Client database and found that near the end of the installation (whether or not so quiet) the Windows Firewall prompts me to block or allow javaw.exe. The javaw.exe is under my file folder in a path of single folder every time I run it, because one of the files includes the date and time in the name of the folder. If I use OUI.exe to start installation then java.exe (not javaw.exe) is the program that Windows Firewall tries to block.

    I tried to include wildcard characters in the registry values that govern the exceptions in Windows Firewall, but it seems that wildcards are not allowed. Since the full path to java/javaw is necessary, I'm stumped on how to this script effectively.

    What I noticed though is that if you do not answer the quick Security Center block/unblock maintaining the install goes and seems to end normally.

    So my question is twofold:

    1. is it important for the Setup program if Windows Firewall will block java or java?
    2 has anyone found their enterprise environment use WF in this way and has had this problem, and if yes what have you?

    Thank you

    So my question is twofold:

    1. is it important for the Setup program if Windows Firewall will block java or java?

    It does not matter. This seems to be an irritation.

    2 has anyone found their enterprise environment use WF in this way and has had this problem, and if yes what have you?

    Constantly. For now I ignore it, but I'd like to find a permanent solution.

  • Database won't start after change of NLS_Language

    Hi guys :)

    I changed my NLS_Language to ' HEBREW_ISRAEL. IW8MSWIN1255' and since then I can not start my DB.
    I always get: ORA-12700: invalid value of the parameter NLS (nls_language)
    This command to do: alter system set nls_language = ' HEBREW_ISRAEL. IW8MSWIN1255' SCOPE = SPFILE;
    My NLS_Language before I changed it was:

    SYS > select * from v$ nls_parameters
    2;

    PARAMETER
    ----------------------------------------------------------------
    VALUE
    ----------------------------------------------------------------
    NLS_LANGUAGE
    AMERICAN

    NLS_TERRITORY
    AMERICA

    NLS_CURRENCY
    $

    PARAMETER
    ----------------------------------------------------------------
    VALUE
    ----------------------------------------------------------------
    NLS_ISO_CURRENCY
    AMERICA

    NLS_NUMERIC_CHARACTERS
    .,

    NLS_CALENDAR
    GREGORIAN


    PARAMETER
    ----------------------------------------------------------------
    VALUE
    ----------------------------------------------------------------
    NLS_DATE_FORMAT
    DD-MON-RR

    NLS_DATE_LANGUAGE
    AMERICAN

    NLS_CHARACTERSET
    WE8MSWIN1252


    PARAMETER
    ----------------------------------------------------------------
    VALUE
    ----------------------------------------------------------------
    NLS_SORT
    BINARY

    NLS_TIME_FORMAT
    HH.MI. SSXFF AM

    NLS_TIMESTAMP_FORMAT
    DD-MON-RR HH.MI. SSXFF AM


    PARAMETER
    ----------------------------------------------------------------
    VALUE
    ----------------------------------------------------------------
    NLS_TIME_TZ_FORMAT
    HH.MI. SSXFF AM TZR

    NLS_TIMESTAMP_TZ_FORMAT
    DD-MON-RR HH.MI. SSXFF AM TZR

    NLS_DUAL_CURRENCY
    $


    PARAMETER
    ----------------------------------------------------------------
    VALUE
    ----------------------------------------------------------------
    NLS_NCHAR_CHARACTERSET
    AL16UTF16

    NLS_COMP
    BINARY

    NLS_LENGTH_SEMANTICS
    BYTE


    PARAMETER
    ----------------------------------------------------------------
    VALUE
    ----------------------------------------------------------------
    NLS_NCHAR_CONV_EXCP
    FAKE


    --------------------------------------------------------------------------------------------------------------------------

    After that happened, I created pfile from spfile and changed the setting to * .nls_language ='AMERICAN_AMERICA. WE8EBCDIC37' in the file pfile.
    Then, I created the the pfile spfile and attempted to restart the DB... But it still does not work.

    I always get this: ORA-12700: invalid value of the parameter NLS (nls_language)

    Need your help guys :)
    Itzik

    (1) delete nls_language = pfile XXXXX
    (2) start
    (3) create pfile spfie

    SQL> sho parameter nls
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    nls_calendar                         string
    nls_comp                             string      BINARY
    nls_currency                         string
    nls_date_format                      string
    nls_date_language                    string
    nls_dual_currency                    string
    nls_iso_currency                     string
    nls_language                         string      AMERICAN
    nls_length_semantics                 string      BYTE
    nls_nchar_conv_excp                  string      FALSE
    nls_numeric_characters               string
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    nls_sort                             string
    nls_territory                        string      AMERICA
    nls_time_format                      string
    nls_time_tz_format                   string
    nls_timestamp_format                 string
    nls_timestamp_tz_format              string
    SQL> alter system set nls_language = 'HEBREW_ISRAEL.IW8MSWIN1255' SCOPE=SPFILE;
    
    System altered.
    
    SQL> shutdown immediate;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup
    ORA-12700: invalid NLS parameter value (nls_language)
    

    then I open my pfile file and remove the line of nls_language

    SQL> startup pfile='XXXXXXXXXXXXXXXXXXXXXXXX\init.ora.9232012103855';
    ORACLE instance started.
    
    Total System Global Area 1636814848 bytes
    Fixed Size                  2176248 bytes
    Variable Size             956304136 bytes
    Database Buffers          671088640 bytes
    Redo Buffers                7245824 bytes
    Database mounted.
    Database opened.
    SQL> create spfile from pfile='XXXXXXXXXXXXXXXXXXXX\init.ora.9232012103855';
    
    File created.
    
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup
    ORACLE instance started.
    
    Total System Global Area 1636814848 bytes
    Fixed Size                  2176248 bytes
    Variable Size             956304136 bytes
    Database Buffers          671088640 bytes
    Redo Buffers                7245824 bytes
    Database mounted.
    Database opened.
    SQL>
    

    Published by: Fran on October 25, 2012 07:09

  • Windows 7 Vs home Oracle Database 11g

    Defar Experts,

    I installed the oracle 11g database in windows 7 Home Edition.
    The question appear whenever I have forcfe to close my windows operating system 7, my oracle service won't start normally.
    Everyone knows about this problem?
    Oracle is still not compatible with windows 7 32-bit Home Edition?

    Thank you all.

    Oracle does not work on any Windows Home Edition, as Windows Home isn't accounts.

    You need to upgrade, or to alias to a real operating system, Linux.

    Please stop installing Oracle on Windows Home.
    Apart from that, only 11 GR 2 is certified on Windows 7.

    ---------
    Sybrand Bakker
    Senior Oracle DBA

  • Comparing the data set of Oracle database local to the Remote SQL Server database

    Hello

    I have a table in an Oracle database that is gradually being updated with a table in SQL server through the database link. There is a field "Date of creation" in the table in SQL server that I used to find the newly created records and shoot and insert them into the local table to the Oracle database.

    Now the question is the documents/data in the SQL server remote can be deleted as well and I see a lot of files are already deleted and I couldn't find a way to capture the information of deleted data to remove from my local table.

    I tried

    SELECT id local_table

    where there is no

    (select * (or 1))

    of remote_table@database_link

    where remote_table.id = local_table.id).

    And I tried to replace not exist with no so.

    The problem is that the query is too slow with link of database for IN/NOT EXISTS clause NO. So, I'm trying to find an effective way to capture the lines deleted in the remote to remove as a result of my local table table.

    Any help is appreciated.

    Oracle Database 11 g Enterprise Edition Release 11.2.0.2.0 - 64 bit

    Thank you

    Chrystelle

    It is perhaps easier

    Select pk / * or sustitutive key * / from Oracle.tba

    less

    Select pk / * or sustitutive key * / from SQLSERVER.tab

    This returns the rows that exist in Oracle but not in SQL SERVER-> delteted lines in SQL Server.

    Another way is to create a trigger to remove in sqlserver and track in a table delete lines.

    HTH - Antonio NAVARRO

    http://SQL1.WordPress.com/

  • Can not Conect to my Oracle database

    I'm building a planning Hyperion Essbase and HFM Sandbox, I installed server 2008R2 as my OS and have an installation of Oracle 11 g 2 in my database.

    I was able to create a USER PLANAPP01, Grant "RESOURCES PLNAPP01, GRANT 'Connect' to PLNAPP01 and Create View to PLANAPP01;" All grants were successful

    but when I

    When I go to start-> all programs-> Oracle - oraD11g_home1-> Database Control - Hyperion

    The attempt of connection system = https://nextlevelserver:1158 / em-> continue on this website (not recommended). But I'm able to shoot to the top of the Oracle database


    Please notify

    Mark this thread as answered here and re open

    "Oracle Discussion forums' Business Intelligence Foundation" Essbase

  • Upgrade to the 10.2.0.4 release without Oracle Database 11g

    Hi everyone, I need to upgrade the OWB Production current client version:

    Client version: 10.2.0.1.31
    Version of the repository: 10.2.0.1.0
    Database version: Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64 bit Production

    to the 10.2.0.4 release, using the patch # 7005587 (uploaded on Metalink)

    I have red as the Patch Readme and I found that it is necessary to migrate to Oracle Database 11g.
    Now my question is this: can I apply the patch above WITHOUT upgrading the database?
    The customer asked me if it is possible to continue to use the 10 g Enterprise Edition Release 10.2.0.5.0 and upgrade OWB to the 10.2.0.4 release... Is this possible?

    Thanks in advance for your help

    Alex

    Hello

    In my view, there is some lack of communication happening. 10.2.0.4 OWB can be used with Oracle 10.2.0.5.
    We even had OWB 10.2.0.5 running against Oracle 10.2.0.5

    According to me, that there are some bad this info in the patch readme file. OWB 10.2.0.4 includes support for Oracle database 11g (as a Source). This is a major change incorporated in this version.

    Thank you
    Fati

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

    Hi all

    I am a new entry in this forum and I am a beginner with oracle database.

    I always used SQL Server as the database, and it was easy to use after installation.

    With management program configuration of SQL Server I could to start service SQL Server (SQLEXPRESS) and the database server start!

    With SQL Server management studio, I was able to launch the client application, then was to establish a connection to the server and everything worked great!

    Now, how to work with the oracle database?

    I installed the oracle server and client version 11g R2 in windows 8, but how do I start the database?... and how can I start the client application to query?

    best wishes in advance.

    PS: Sorry for my English.

    If you are on the same machine, the only service that you absolutely need to start is the database service.  In your case OracleServiceSYSDBA (hmmm... How did you find with this name?).

    For queries, you can use SQL * Plus which should also be installed.  If you want something GUI, you can use SQL Developer (you need to install separately I think).

  • How start sqlplus on windows7 host running the Linux oracle database?

    OK, thanks to Re: How do I install emacs, openssh, and oracle database startup and get a connect? I can now run sqlplus. What a fight!

    Now this forum works on a host linux on a windows host. What I need to install on windows, so I can run sqlplus on windows to manipulate databases of the linux guest?

    I know that I can install all of the oracle database. I want just the sqlplus on windows.

    If I install just the sqlplus on windows, can I expect to be able to create databases, fill and interrogate Windows?

    Thank you
    Siegfried

    Try:

    sqlplus user@'hostname_or_ip:port/service_name'

    for example sqlplus test@'192.168.1.131/orcl' (assuming that the default port 1521).

  • How to start an Oracle database

    Hello everyone,

    I'm running windows server 2003 standard edition OS on my computer in the C drive in the c:\Windows folder.

    I installed Oracle 10g 10.1.0 product on my computer in the E:\Oracle10g drive.
    My Oracle database was stored in E:\ORADATA. His name is orcl database by default. My OS was accident due to a virus attack.

    I installed Windows Server 2003 Standard Edition on the C drive in the c:\WIN2K3 folder. I have not format drive C at all.

    I installed Oracle 10 g Release 10.1.0 in drive C C:\ORACLE folder. New name of the database is SMS which is stored in C:\oracle\product\10.1.0\oradata.

    How can I import my data from ORCL database that is stored in E:\ORADATA\ORCL DRIVE? Is it possible? Please help me.


    with respect,
    RLS ROULIN
    [email protected]

    [email protected] wrote:
    Hello everyone,
    How can I import my data from ORCL database that is stored in E:\ORADATA\ORCL DRIVE? Is it possible? Please help me.

    Export of database ORCL with the [export datapump | http://download.oracle.com/docs/cd/B14117_01/server.101/b10825/dp_export.htm#g1022624], then import the export dump file in the database on drive C with the [import datapump | http://download.oracle.com/docs/cd/B14117_01/server.101/b10825/dp_import.htm#g1025464]

  • Oracle on Linux and Windows Client question database server: NetMgr Windows and Linux NetMgr

    People,

    Hello. I have installed Oracle Database 11 g 2 server in the Oracle Linux 5 Starter PT853 Instance of database virtual machine. Then I installed Oracle Database 11 g 2 client for 32-bit Windows XP 64 - bit Windows virtual machine. Now I face the problem of connection of the VMs 2 as below:


    In Manager Net Linux Server Machine:

    Service name: PT853
    Connection type: default database
    "TCP/IP Protocol".
    Host name: localhost
    Port name: 1521

    Listener: LISTENER
    Protocol: TCP/IP
    Host: localhost
    Port: 1521


    I test the Service PT853 with "SYSADM" username and password "SYSADM". The connection is successful.
    In the Windows XP Client computer, the information in the Net Manager is the same, but the connection is not successful. Its details are as below:


    NET Service Name: PT853
    Protocol: TCP/IP
    The database Machine host name: localhost
    Port number: 1521
    Name of the Basic Service: PT853
    Connection type: default database


    I have test the Service using "SYSADM" UserID and password to 'SYSADM' which are the same with Linux, but this error: TNS: listener does not currently of service requested in connect descriptor.


    I followed this tutorial http://www.vmware.com/support/ws5/doc/ws_devices_serial_2vms.html to configure 2 virtual machines in Windows 7 host machine.

    In Windows XP Oracle database Client Installer directory, the "tnsnames.ora" file has an entry that matches the name Service in Net Manager. Directory of database server installation Oracle Linux, the file 'tnsnames.ora' has no entry because I installed the server of Oracle database with the instance of database startup PT853.


    I tried to test 2 virtual machines in the way as below:

    In Linux, [user@localhost ~] $ping WindowsXP_HostName
    Release: Unknown host WindowsXP_HostName


    At the Windows XP command prompt:
    C:\ping localhost.localdomain
    Its release: ping localhost 127.0.0.1 with 32 bytes of data...
    Reply from 127.0.0.1: bytes = 32 time = 2ms TTL = 128


    He meets a few times and then disconnected by itself. It seems that Windows XP is ping itself and not Linux server. The host name of the Linux server is 'localhost' as well. It is a kind of confusion for me.


    From the information above, we can see that 2 VMs cannot connect between them. Net Manager in Windows XP Oracle Client unable to connect its Service PT853 with the Oracle Linux database server.

    My question is:

    Can any folk tell me how to connect Oracle Client in Windows XP with the Oracle Linux database server?


    Very grateful in advance.

    user8860348 wrote:

    People,

    Hello. Thanks much for the reply. I am very grateful for your help.

    In Manager Net Linux Server Machine:

    Service name: PT853
    Connection type: default database
    "TCP/IP Protocol".
    Host name: 192.168.196.102
    Port name: 1521

    Listener: LISTENER
    Protocol: TCP/IP
    Host: 192.168.196.102
    Port: 1521

    I test the Service PT853 with "SYSADM" username and password "SYSADM". The connection is successful.

    In the Windows XP Client computer, the information in the Net Manager is the same as below:

    NET Service Name: PT853
    Protocol: TCP/IP
    The host of the database Machine name: 192.168.196.102
    Port number: 1521
    Name of the Basic Service: PT853
    Connection type: default database

    I test the Service using the "SYSADM" username and password "SYSADM" which are the same with Linux and the connection is successful as well.

    IP 192.168.196.102 is Linux. This means that oracle database Client in Windows XP may log into Oracle Database Server under Linux. Don't you think I'm not mistaken? If so, I'm very happy and very grateful to you.

    "Do you think I'm not mistaken?

    By definition, if you can establish a connection, then you are correct.

  • Satellite P200 - 17 c - Vista won't start up - how replace/repair boot.ini

    Hello

    I have a Toshiba P200 - 17 c of the vista computer and it won't start, freezes on the splash screen. I have
    used iso image to boot from and ran repair disk, makes no difference.
    Machine will not get beyond microsoft loading page (with yellowish scroll bar).

    My question is: How can I replace / repair the boot.ini file to get the machine to start or disable all applications / drivers for applications in order to get the machine to start.

    I have not (my fault) create a back up or restore disk.
    After booting the machine from cd, system repair running and try to run the system restore doesn't work...

    Can anyone advise on a way to replace/repair boot.ini or turn off the drivers?

    Try to avoid to pay another £30 pounds for a recovery disc that I already paid for the licensed software, don't know why.
    If you pay because you do not get a copy of Vista with machine...

    Anyway any help would be most appreciated.

    G

    Hello

    > How to replace / repair the boot.ini file to get the machine to start or disable all applications / drivers for applications in order to get the machine to start.
    I doubt that this could be done under Vista cannot modify the boot.ini as on Win XP OS.
    To edit the boot.ini file you must use the BCDEDIT command.
    However, I put t think it would start the Vista correctly.

    In my opinion you have two options;
    You can use the safe mode and might attempt to start the Vista slim or you have to reinstall the entire operating system yet.
    But I doubt you'll be able to start in safe mode if the system repair and system restore didn't work too.

    So in my opinion the last real solution could be the new facility.

    Concerning

  • How to connect Oracle database in netbean PHP development

    Hello

    Help me connect with netbean 7.1.2 oracle database.

    IDE: Netbeans - 7.1.2 - ml-php-windows

    Database: Oracle 11g (remote database).

    Concerning

    Maissa

    No further details or a more specific question, I can only refer you to mount and use generic information:

    If you are not sure of how to formulate the questions you need answered, see: How to ask Questions The Smart Way

  • How to find the name of the Oracle database server?

    People,

    Hello. I installed Oracle Database 11 g 2 OS Oracle Linux 5. The installed directory is/home/user/OracleDB_Home and/home/user/OracleDB_Base.

    Host name is "mylinux". Name of the database instance is PT853.

    I use "mylinux" as the name of the database server, it does not work. I use another way to do as below:

    Export ORACLE_HOME = / home/user/OracleDB_Home

    Can I use "mylinux ORACLE_HOME" as the name of the database server, it does not work either.


    My question is:

    How to find the name of the database server Oracle with Oracle Linux 5 OS?


    Thank you.

    You must learn the basic of database Oracle.

    Please don't regard it not same as SQL server in terms of configuration.

    You never specify the database server name in Oracle.

    You specify the host name in only two places, 1) Tnsnames.ora/JDBC/ODBC (or any client you want to connect) and listener.ora) 2.

    There was nothing called specify the name of the Oracle database from an oracle database server.

    Concerning

    Anurag.

  • Oracle Database 12 c download question for disc 1

    Hello

    I tried to download Oracle Database 12 c from the portal of delivery but it always seems not to download the zip corrupted for disc 1 (V38500-01 ). Disc 2 downloads very well.

    The disc it starts very fast download, but as soon as we reach the 50% threshold he awaits on the download forever and eventually results in half of the zip file with no error message

    Has anyone else had the same problem? How did you solve this problem?

    Thank you

    Concerning

    Naveen

    Hi Mary,

    I had a similar problem with download of Oracle. To reach the bar of 50% and stops.

    It was in August 2013. (I was downloading the ODAC 11 g)

    My solution:

    Using Firefox, the download open library window.

    Once the download get stuck, press the pause button. And then press the resume for download.

    Download completion as planned.

    John

    Wellington, New Zealand.

Maybe you are looking for

  • History of email disappearing due to problems with Yahoo.

    Thunderbird running 31.7.0 Two distinct from desktops running Windows 8 affected within 24 hours of each other. E-mail accounts run under IMAP and webmail full historical shows. However Thunderbird shows only the first 200 messages in each folder, wh

  • Beachball constantly present in Safari

    Whenever I use Safari, I get the spinning beachball.  I ran Etrecheck and this is the result of this.  Any help is appreciated. EtreCheck version: 2.9.12 (265) Report generated 2016-05-23 13:53:59 Download EtreCheck from https://etrecheck.com Time 03

  • Cannot get imageClass D550 installation scanner

    I just bought a new imageClass D550.  When you try to use it as a scanner, after I navigate scanning > computer, I get a message that says, "Connect to the computer."  Then nothing else and I am not able to sweep or pull up the Properties menu as sho

  • Sculpt the tactile mouse Windows XP

    So, stupid me, I just bought a Sculpt Touch mouse to use with my work laptop. Has not even read the package, just thought that it is a mouse with bluetooth, my PC has that, it works perfectly. Except that it is only compatible with Windows 7 or 8 - m

  • Changes in the driver vi using the Simulation Interface Toolkit (SIT) for PXI get do not appear.

    Hello I use Simulation Interface Toolkit to target a controller built in Simulink on a PXI target. I used the SIT connection manager to generate the driver screws I had to make some changes in the screw driver specifically Read.vi IO. I made the chan