How can install patch using OPatch utility in Linux

I want to update Oracle patch 9352164.Currently, Oracle Patch is installed 10.2.0.4.0 but i required 10.2.0.4.4. I have downloaded 9352164 from oracle metlink site.
I have also set environment variable path in bash_profile file.
Environment variable Path setting
"PATH=$PATH:$HOME/bin:/u01/app/oracle/product/10.2.0/db_1/OPatch/"
It also shows following result against this command echo $PATH
/u01/app/oracle/product/10.2.0/db_1/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin:/u01/app/oracle/product/10.2.0/db_1/OPatch/
When i run the opatch apply command under the directory 9352164 then i received following error message
[oracle@Vm006-IS-Test 9352164]$ opatch apply
Invoking OPatch 10.2.0.4.2
Oracle Interim Patch Installer version 10.2.0.4.2
Copyright (c) 2007, Oracle Corporation. All rights reserved.
Oracle Home : /u01/app/oracle/product/10.2.0/db_1
Central Inventory : /u01/app/oracle/oraInventory
from : /etc/oraInst.loc
OPatch version : 10.2.0.4.2
OUI version : 10.2.0.4.0
OUI location : /u01/app/oracle/product/10.2.0/db_1/oui
Log file location : /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch2011-06-20_15-22-17PM.log
ApplySession failed: Patch ID is null.
System intact, OPatch will not attempt to restore the system
OPatch failed with error code 73
Please help out..........

Log file location : /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch2011-06-20_15-22-17PM.log
INFO:Starting ApplySession at Mon Jun 20 15:22:17 PKT 2011
INFO:Starting Apply Session at Mon Jun 20 15:22:17 PKT 2011
SEVERE:OUI-67073:ApplySession failed: Patch ID is null.
INFO:System intact, OPatch will not attempt to restore the system
INFO:Finishing ApplySession at Mon Jun 20 15:22:17 PKT 2011
INFO:Total time spent waiting for user-input is 0 seconds. Finish at Mon Jun 20 15:22:17 PKT 2011
INFO:Stack Description: java.lang.RuntimeException: Patch ID is null.
INFO:StackTrace: oracle.opatch.PatchObject.getPatchID(PatchObject.java:543)
INFO:StackTrace: oracle.opatch.ApplySession.loadAndInitPatchObject(ApplySession.java:1487)
INFO:StackTrace: oracle.opatch.ApplySession.process(ApplySession.java:5191)
INFO:StackTrace: oracle.opatch.OPatchSession.main(OPatchSession.java:1544)
INFO:StackTrace: oracle.opatch.OPatch.main(OPatch.java:570)
INFO:File "/u01/app/oracle/product/10.2.0/db_1/.patch_storage/patch_unzip" cannot be deleted as it does not exist

Similar Messages

  • Installing patches using OPatch

    Hi All,
    We are planning to upgrade oracle version 10.2.0.2.0 to Oracle patch set 10.2.0.5
    Current opatch version is :
    bhluksmp:orasmp 68> opatch version
    Invoking OPatch 10.2.0.2.5
    OPatch Version: 10.2.0.2.5
    since i m upgrading oracle from  10.2.0.2.0 to Oracle patch set 10.2.0.5.
    1.so do i need to apply the opatch10.2.0.5 or just use the existing version of opatch.
    2.Upgrade opatch after i have upgraded to 10.2.0.5.
    Thanks

    Hi,
    Before you do anything I'd advise you to read ALL related notes.
    You have downloaded 2 SBP, they are cumulative, therefore you do not need them.
    The note about MOPatch indicates you how to install the patches
    I already mentioned you that the SBP is installed with the Mopatch tool and note 1431752 gives you an explanation on how to do it.
    You do NOT unzip the files that you download, MOPatch works with the zipped file:
    1.  Call the following path of the SAP Software Distribution Center:
        http://service.sap.com/oracle-download
        -> Database Patches -> Oracle -> Oracle 10.2.0.5
    2.  Open the platform directory and download the SAP Bundle Patch file
        SAP_<Release>_<Date>_<Platform>.zip, the SBP README
        README_<Date>_<Platform>.htm, and the SBP patch history
        BUGSFIXED_<Date>_<Platform>.htm to your database server.
    3.  Use MOPatch (SAP note 1027012) to install the SAP bundle patch in
        accordance with the instructions in the SBP README. When you do
        this, pay particular attention to the patch-specific installation
        instructions.
    You download the latest OPatch and MOPatch from
    http://service.sap.com/oracle-download
        -> Database Patches -> Oracle -> Oracle 10.2.0.5 -> Opatch
    Please, READ and think before you do anything.
    SAP Notes and documentation are there for something.

  • How to apply AIA Patch using Opatch

    i have an oracle aia update patch...how can i apply this patch using Opatch.......cann any one say me the procedure of doing so....
    Quick reply is appreciated....
    Regards
    GSK

    To apply patches on top of AIA 10g you need a Standalone patch.
    In my case, i had to apply a patch on top of AIA 2.5 version.
    -I had to apply a Stand alone patch. The version used is stand alone opatch 11.1.0.0.0 . this can be downloaded from the oracle support site.
    -After applying the stand alone patch, you can apply the aia update patch. .
    - opatch apply -oh <AIA_HOME> -jre <SOA_HOME>/jre/1.4.2
         AIA_HOME - Complete directory path where AIA_HOME is installed
         SOA_HOME - Complete directory path where SOA is installed
    Follow the instructions given in the readme and should be able to do it.
    Hope this helps

  • After a clean install, how can I continue using Time Machine?

    After a clean install, how can I continue using Time Machine?
    I booted from my recovery partition, erased my HD, installed the same OS, (Lion, 10.7.5) then restored from my TM.
    If it asks if i want to use TM, I say yes. When I chose the drive, it seems to want to start all over, instead of just picking up where I left off.
    Is there any way of picking up where I left off?

    Hi Frank,
    You are sure you looking in your Library in /Users/YOUR_USERNAME/Library and not /Library at the top level of your harddrive?
    When you open iCal what do you see?  Are the calendars the two default Home and Work ones?
    I really appreciate the responses -- especially if you are in the UK as opposed to Ontario.
    Why, do you have something against London Ontario?
    John M

  • I want to buy photoshop creative cloud for teams, how users can install and use it?

    i want to buy photoshop creative cloud for teams, how users can install and use it?

    Cancel old and buy new is the only way I know, but you MAY be able to exchange
    Return, cancel, or exchange an Adobe order

  • How can I continue using my CS3? I needed to install a new hard drive, & CS3 wont accept my serial # on the re-install :-/

    How can I continue using my CS3? I needed to install a new hard drive, & CS3 wont accept my serial # on the re-install :-/

    Unfortunately, only Adobe customer service can assist you with your issue. These are user forums; you are not addressing Adobe here.
    Click on the link below, and after that click on "Still need Help? Contact us."
    Then on the next page, click Chat
    There is also a phone option.
    http://helpx.adobe.com/contact.html?step=PHXS_downloading-installing-setting-up_licensing- activation

  • How to install patchs in linux

    Hi Friends,
    I am new person. How do I install oracle patchs in linux redhat 5.0 system?
    Plz show me some steps in detail.
    Thanks,
    Jim

    Hi Jim
    Sorry for the late answer.
    What patches are we taking about?
    Oracle patches? Yes then you have to use
    0. First read the installation note given on metalink it gives your a detailled description what shall be done.
    In metalink go to Patches & updates
    make a simple search on your patch and read the read me file
    Please control also that the file downloaded is consitent by controlling the value of the "patch digest"
    for example :
    File      Digests
    p7369190_10203_Linux-x86-64.zip      
    SHA-1      295AF3B7585BB00093CF7DB25A314E750B3A76AE
    MD5      7D1C9C9B36D646E557DE250458067B1B
    i.e.
    to list all the installed patches :
    $ORACLE_HOME/OPatch/opatch lsinventory
    unzip p7369190_10203_<platform>.zip
    cd 7369190
    opatch napply -skip_subset -skip_duplicate
    And if the patch is changing something in the datadictionary :
    cd $ORACLE_HOME/cpu/CPUOct2008
    sqlplus /nolog
    SQL> CONNECT / AS SYSDBA
    SQL> STARTUP
    SQL> @catcpu.sql
    SQL> QUIT
    cd $ORACLE_HOME/rdbms/admin
    sqlplus /nolog
    SQL> CONNECT / AS SYSDBA
    SQL> @utlrp.sql
    You can check for any invalid objects by executing following statement:
    SQL> SELECT OBJECT_NAME FROM DBA_OBJECTS WHERE STATUS= 'INVALID';
    Voilà !
    more question please ask!
    Edited by: Hub on Oct 29, 2008 10:33 AM
    Edited by: Hub on Oct 29, 2008 10:35 AM

  • How to install Patch 14503114

    I am trying to install Oracle patch 14503114 using Windows Server 2008R2.  I am running Oracle 11g R2.  I tried to go by the readme.txt but its not working.  Does anyone know how to install oracle patches using opatch?
    Any ideas will be greatly appreciated.

    The instructions for that patch are generic, so unfortunately he is looking at the right ones.
    The options I can think of are: 1) set the environment variables or 2) add the opatch location to your path variable.
    1)
    C:\Users\oracle>SET ORACLE_SID=PROD
    C:\Users\oracle>set ORACLE_HOME=C:\app\oracle\product\11.2.0\dbhome_1
    C:\Users\oracle>%ORACLE_HOME%\OPatch\opatch lsinventory
    Oracle Interim Patch Installer version 11.2.0.3.4
    Copyright (c) 2012, Oracle Corporation.  All rights reserved.
    Oracle Home       : C:\app\oracle\product\11.2.0\dbhome_1
    Central Inventory : C:\Program Files\Oracle\Inventory
       from           : n/a
    OPatch version    : 11.2.0.3.4
    OUI version       : 11.2.0.3.0
    Log file location : C:\app\oracle\product\11.2.0\dbhome_1\cfgtoollogs\opatch\opa
    tch2013-06-27_20-39-23PM_1.log
    Lsinventory Output file location : C:\app\oracle\product\11.2.0\dbhome_1\cfgtool
    logs\opatch\lsinv\lsinventory2013-06-27_20-39-23PM.txt
    Installed Top-level Products (1):
    Oracle Database 11g                                                  11.2.0.3.0
    There are 1 products installed in this Oracle Home.
    <output truncated>
    2)
    C:\Users\oracle>set PATH=%PATH%;C:\app\oracle\product\11.2.0\dbhome_1\OPatch
    C:\Users\oracle>opatch lsinventory
    Oracle Interim Patch Installer version 11.2.0.3.4
    Copyright (c) 2012, Oracle Corporation.  All rights reserved.
    Oracle Home       : C:\app\oracle\product\11.2.0\dbhome_1
    Central Inventory : C:\Program Files\Oracle\Inventory
       from           : n/a
    OPatch version    : 11.2.0.3.4
    OUI version       : 11.2.0.3.0
    Log file location : C:\app\oracle\product\11.2.0\dbhome_1\cfgtoollogs\opatch\opa
    tch2013-06-27_20-46-55PM_1.log
    Lsinventory Output file location : C:\app\oracle\product\11.2.0\dbhome_1\cfgtool
    logs\opatch\lsinv\lsinventory2013-06-27_20-46-55PM.txt
    Installed Top-level Products (1):
    Oracle Database 11g                                                  11.2.0.3.0
    There are 1 products installed in this Oracle Home.
    <output truncated>
    HTH
    Message was edited by: Justin_Mungal - Ugh... why is the code highlighting axing all of my spaces?

  • How to install patches in DWM?

    I've been trying but I can't figure out how to install patches in DWM. For instance I'm trying to install the Fancybar pathc from the DWM. I tried to do this by going to my dwm directory, run patch -p1 < ~/fancybar-r1496.diff, then rebuild DWM with makepkg -efi --skipinteg and finally restart DWM.. But it doesn't work
    What am I doing wrong?

    patroclo7 wrote:If you compile dwm, by hand, you obviously need to run plain "make clean install" and not resort to makepkg. If you want to resort to makepkg (which is in this specific case, IMOO, overkill) you can: apply the patch in the PKGBUILD itself; apply the patch by hand in $startdir/src/dwm-<version>, but then you need to use the specific option "-e", so to instruct makepkg to use the existing $startdir/src without untarring again the source tarball.
    Well, the reason I'm using PKGBUILD is because that's what the Arch Wiki says. But if make's better then I'll use that instead. How exactly do I do that?

  • I have used Airport Time Capsule with my iMac for several years. I recently purchased a MacBook Air and when it tried to backup to Time Capsule it couldn't because Time Capsule is full. How can I now use the 3TB Airport Time Capsule to back up both?

    I have used Airport Time Capsule with my iMac for a couple years. I recently purchased a MacBook Air and when it tried to backup to Time Capsule it couldn't because Time Capsule is full. How can I now use the 3TB Airport Time Capsule to back up both the iMac and MacBook Air? I don't mind losing earlier backups. I have excluded some items from backing up, but since the Airport Time Capsule is full, I can't even begin to back up the MacBook Air.

    On your Mac.......
    Open Finder > Applications > Utilities > AirPort Utility
    Click on the Time Capsule icon, then click Edit in the smaller window that appears
    Click on the Disks tab at the top of the window
    Click Erase Disk
    On the next window that appears, select the Quick Erase option, then click Erase
    The operation will only take a few minutes.
    Now you are ready to start new backups of both Macs.  Back up one Mac first, then back up the other.  Do not try to back up both Macs as the same time.

  • How can send mails using hotmail/rediffmail domain name?

    I have used the below code to send a mail using javamail API?Even when I am sending my application does not have notified any of error/exceptions,But the message is not reached to I have given receipient's address in the to field.
    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.activation.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import java.util.*;
    public class Sendmail1 extends HttpServlet {
    private String smtpHost;
    // Initialize the servlet with the hostname of the SMTP server
    // we'll be using the send the messages
    public void init(ServletConfig config)
    throws ServletException {
    super.init(config);
    smtpHost = config.getInitParameter("smtpHost");
    //smtpHost = "sbm5501";
    smtpHost = "www.rediffmail.com";
    public void doGet(HttpServletRequest request,HttpServletResponse response)
    throws ServletException, java.io.IOException {
    String from = request.getParameter("from");
    String to "[email protected]";
    String cc = "[email protected]";
    String bcc ="[email protected]";
    String smtp ="www.rediffmail.com";
    String subject = "hai";
    String text = "Hai how r u";
    PrintWriter writer = response.getWriter();
    if (subject == null)
    subject = "Null";
    if (text == null)
    text = "No message";
    String status;
    try {
    // Create the JavaMail session
    java.util.Properties properties = System.getProperties();
    if (smtp == null)
    smtp = "www.rediffmail.com";
    properties.put("mail.smtp.host", smtp);
    Session session = Session.getInstance(properties, null);
    //to connect
    //Transport transport =session.getTransport("smtp");
    //transport.connect(smtpHost,user,password);
    // Construct the message
    MimeMessage message = new MimeMessage(session);
    // Set the from address
    Address fromAddress = new InternetAddress(from);
    message.setFrom(fromAddress);
    // Parse and set the recipient addresses
    Address[] toAddresses = InternetAddress.parse(to);
    message.setRecipients(Message.RecipientType.TO,toAddresses);
    Address[] ccAddresses = InternetAddress.parse(cc);
    message.setRecipients(Message.RecipientType.CC,ccAddresses);
    Address[] bccAddresses = InternetAddress.parse(to);
    message.setRecipients(Message.RecipientType.BCC,bccAddresses);
    // Set the subject and text
    message.setSubject(subject);
    message.setText(text);
    Transport.send(message);
    //status = "<h1>Congratulations,</h1><h2>Your message was sent.</h2>";
    } catch (AddressException e)
    status = "There was an error parsing the addresses. " + e;
    } catch (SendFailedException e)
    status = "<h1>Sorry,</h1><h2>There was an error sending the message.</h2>" + e;
    } catch (MessagingException e)
    status = "There was an unexpected error. " + e;
    // Output a status message
    response.setContentType("text/html");
    writer.println("<title>sendForm</title><body bgcolor= ><b><h3><font color=green><CENTER>CALIBERINFO.COM</CENTER></h3>Your message was sent to recepient(s).<br><font color=red>"+"\n"+to);
    writer.println("<br><br><a href=e:/mail/javamail/mail.html>back to compose</a>");
    writer.close();
    Please any one help me out from this probs.
    Awaiting for yours reply,
    or give me a reply to: [email protected]
    Regards,
    @maheshkumar.k

    Hi,
    how can send mails using hotmail/rediffmail domain name?In your java application,you specified www.rediffmail.com as your
    smtp server.But that is the address of that website.Try will a smtp
    server instead.For a list of free smtp servers,please visit http://www.thebestfree.net/free/freesmtp.htm
    Hope this helps.
    Good Luck.
    Gayam.Srinivasa Reddy
    Developer Technical Support
    Sun Microsystems
    http://www.sun.com/developers/support/

  • How can I make Use of PS and Ai (offer) in spite of running Windows Vista ?

    How can I make Use of PS and Ai (offer) in spite of running Windows Vista ?

    Once you have signed up, you could - in theory - choose "other version" under the icon on the CC website and install CS6, but I'm not sure if that works for this special offer or only for "full" CC. Anyway, it seems simple enough to upgrade to Win 7 or Win 8 and perhaps you were planning on starting fresh, anyway...
    Mylenium

  • Problem with OCI call  and  how to install and use 'DEBUG_EXTPROC' on Linux

    Hi,
    Can any one let me know how I can install and use this debug_extproc package. I have installed oracle XE server on Linux machine(32-bit).
    When I use : DEBUG_EXTPROC.STARTUP_EXTPROC_AGENT' ... i get an error saying that : it is not declared.
    I tried looking in all the directories but did not find the dbgextp.sql(which is required in order to install that package).And tried searching on google but could not get any relevant information.
    Also I am newbie to OCI call interface and also to C programming too: I have coded a external procedure or custom user aggregate in C. But since I was using C++ : 'set' STL. I have compiled my program using g++ instead of gcc and I have correspondingly modified the make file in public/demo directory.
    So, is it fine to do it that way: using OCI (instead of OCCI(C++)) but again compiling the pgm as a regular C++ using g++ instead of gcc.(But rest of the pgm including printf statements : everything is in C).
    Also I have created the library from my : custagg.so library:
    SQL> create or replace library custagg is '$ORACLE_HOME/lib/custagg.so'
    But my aggregate function implemented as external C function using OCI is either not recognised or else : if recognized then there is some error because of which i am getting the following errors : ORA-06522
    SQL> select MinDistance(TT) from egg1;
    select MinDistance(TT) from egg1
    ERROR at line 1:
    ORA-06520: PL/SQL: Error loading external library
    ORA-06522: /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/custagg.so:
    cannot dynamically load executable
    Please kindly answers my queries and trying to resolve this for almost 4 days now and could not find any clue on how to get this done.
    Thanks,
    -NN

    #/bin/make
    # Make file for OCI,OCCI and ODBC demos
    # Usage :
    # For compiling & linking the cdemo81.c file
    # make -f demo_xe.mk buildoci CDEMOEXE=cdemo81 CDEMOOBJS=cdemo81.o
    .SUFFIXES: .o .c .cpp
    ICINCHOME=$(ORACLE_HOME)/rdbms/public/
    ICLIBHOME=$(ORACLE_HOME)/lib
    ICLIBPATH=-L$(ICLIBHOME)
    THREADLIBS=-lthread
    CCLIB=$(ICLIBPATH) -lclntsh $(THREADLIBS)
    OCCILIB=$(ICLIBPATH) -locci -lclntsh $(THREADLIBS)
    CCINCLUDES = -I$(ICINCHOME)
    CCFLAGS=$(CCINCLUDES) -D_REENTRANT -g -xs
    LDFLAGS=
    SO_EXT=.so
    EXTLDFLAGS=$(LDFLAGS) -shared
    REMOVE=rm -rf
    MKLINK=ln
    MAKE=make
    MAKEFILE=demo_xe.mk
    CDEMOEXE=custagg.so
    CDEMOOBJS=custagg.o
    OCCIDEMO=occidml
    OCCIOBJDEMO=occiobj
    OTT=$(ORACLE_HOME)/bin/ott
    OCCIOTTUSR=hr
    OCCIOTTPWD=hr
    ODBCDEMOEXE=odbcdemo
    ODBCDEMOOBJS=odbcdemo.o
    AQDEMOEXE=ociaqdemo00
    AQDEMOOBJS=ociaqdemo00.o
    EXTDEMO=extdemo2.so
    CC=/usr/bin/g++
    echo "LIBCLNT value is :" $(LIBCLNT)
    echo "CC value is :" $(CC)
    .c.o:
    g++ -c -I$(ICINCHOME) $(CCFLAGS) $<
    all: clean buildoci
    echo "LIBCLNT value is :" $(LIBCLNT)
    buildoci: $(LIBCLNT) $(CDEMOOBJS)
    g++ -o $(CDEMOEXE) $(LDFLAGS) $(CDEMOOBJS) $(CCLIB)
    echo "CC value is :" $(CC)
    echo "LIBCLNT value is :" $(LIBCLNT)
    clean:
    $(REMOVE) $(CDEMOOBJS) $(CDEMOEXE)
    # This port-specific file is currently empty on Solaris. Product
    # lines may use this file to override compiler definitions and
    # flags used in occi.mk.
    # Linux compiler definitions
    CC=/usr/bin/gcc
    cc=/usr/bin/gcc
    CCFLAGS=$(CCINCLUDES) -DLINUX -D_GNU_SOURCE -D_REENTRANT -g
    LDFLAGS=-g
    # This macro CCINCLUDES has to be redefined on Linux because of
    # the existence of the 'new' directory in t_work. The name new
    # clashes with a system header file.
    CCINCLUDES = -idirafter .
    THREADLIBS=-lpthread
    ifdef BUILD_CCC296
    CC=/usr/bin/g++296
    endif
    And I am executing the make file using the command :
    make -f demo12.mk buildoci CDEMOEXE=custagg.so CDEMOOBJS=custagg.o
    I am not getting any error while running this make file.
    Can you please tell me whether PLSQL/Oracle is able to locate the file or not. Incase, if it is locating the file but due to some error in the custagg.so it is throwing that error. If this is the case, is there any way that i can debug the C program .....how can i install the debug_extproc package.. I am really new to C & OCI ... if the custagg.so is being located then there might be some problem with the way I am dynamically allocating memory to some variables.
    Please kindly reply to this Post/response.
    Please let me know if you also want to see my program code.
    Thanks & Regards,
    -NN

  • How to install and use a plug-in downloaded from the apple site?

    how to install and use a plug-in downloaded from the apple site?

    Emelie,
    which plug-in do you want to install?
    some of the plug-ins come with an installer on the disk image, you click the installer and it will install it in its proper location.
    For others you move the plug-in into to System Library or your User Library:
      Your Hard disk  > Library > Application Support >Aperture > Plug-Ins > Edit
    or
    Your Home Folder > Library > Application Support >Aperture > Plug-Ins > Edit
    If it is an "Edit" plug-in, it goes into the "Edit" subfolder, "Export" plug-ins into the "Export" subfolder.
    You can tell by the extension, what kind of plug-in it is.
    E.G. BorderFX.ApertureExport is an export plug-in, BorderFXEditPlugin.ApertureEdit an edit plug-in.
    Regards
    Léonie
    P.S. In OS Lion the Libraries are hidden by default: To reveal your User Library activate the Finder and select from the main Finder menu:
        Finder >  Go , then hold down the ⌥-option-key, untill the Library appears in the drop.down menu.
    To show the System Library:
         Finder >  Go > Go to Folder
    then enter   / Library

  • TS2570 Question re: "Start from your Mac OS X Install disc; use Disk Utility"

    I've worked my way through the step-by-step trouble shooting in the TS2570 article up to "Start from your Mac OS X Install disc; use Disk Utility". So far, every step results in the same outcome - my formerly trusty 2007 Intel duo core iMac (24") will not start up, freezing on a grey screen with a blinking question mark on a folder. I don't completely understand this next step. I have both a Leopard and a Snow Leopard disc. I'm not positive whether these were for the iMac, or my old Macbook Pro. I assume this makes a difference.

    Question (?) Mark, Blinking Folder, or Gray Screen at Startup
    These are related but not identical issues. Their causes are outlined in Intel-based Mac- Startup sequence and error codes, symbols. Solutions may be found in:
    A flashing question mark appears when you start your Mac
    A flashing question mark or globe appears when you start your Mac
    Mac OS X- Gray screen appears during startup
    In most cases the problems may be caused by one or more of these:
    a. Problem with the computer's PRAM - See Resetting your Mac's PRAM and NVRAM.
    b. Boot drive's directory has been corrupted - Repair with Disk Utility.
    c. Critical system files are damaged or deleted - Reinstall OS X.
    d. The disk drive is physically non-functional - Replace the hard drive.
    Note that the information I have provided is what Apple recommends, If other users suggest different solutions than found here, then be sure what they recommend does not impact on your warranty, if any, or ability to get continuing Apple service.
    Please don't start removing drives or changing cables unless you know what you are doing and have exhausted other non-invasive alternatives outlined here. If you perform any work yourself that is unapproved by Apple, then you will void any warranty you may have and lose all further Apple Support.
    Repair the Hard Drive and Permissions
    Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    The main difference if you are using Lion or Mountain Lion is that you must first boot from the Recovery HD. Simply boot from the Recovery HD to perform the above.
    Reinstall Snow Leopard Without Erasing The drive
    1. Repair the Hard Drive and Permissions
    Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    2. Reinstall Snow Leopard
    If the drive is OK then quit DU and return to the installer.  Proceed with reinstalling OS X.  Note that the Snow Leopard installer will not erase your drive or disturb your files.  After installing a fresh copy of OS X the installer will move your Home folder, third-party applications, support items, and network preferences into the newly installed system.
    Download and install Mac OS X 10.6.8 Update Combo v1.1.
    Reinstalling Lion/Mountain Lion Without Erasing The Drive
    Boot to the Recovery HD: Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the main menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu.
    Reinstall Lion/Mountain Lion: Select Reinstall Lion/Mountain Lion and click on the Continue button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.

Maybe you are looking for

  • Switching between Primary and Standby database

    Hi, I managed to setup a standby database that is updated by the primary db either when doing a log file switch or when changing the role of the primary db to standby. Now I want to put the standby database (that was in primary role for a short perio

  • Switch On Time Mac Pro 5.1

    Hello, i have a Mac Pro 5.1 Mid 2010, 2 x 2,93 Ghz. When i switch on my Mac Pro with a RAM-Configuration of 4GB, it takes about 4 secounds to see the grey screen with the Apple-Logo. A RAM-Configuration of 24GB uses about 24 secounds to see the grey

  • How to arrange songs on ipod shuffle the way I want them to be played

    I just got an Ipod shuffle in India.....2 GB....I want the songs to be played in a particular order only the way I can do on MP3 players....How do I arrange songs the way I want them to be played serially?

  • Table of contents troubleshooting

    Newly generated TOC looks great, except for a gap in the middle as shown below.  I would guess this comes either from bad code in the TOC, or from incorrect coding in the text - somewhere I've told it to add several line breaks.  But I can't find any

  • Structure of basic type

    Hi Friends, How i can know the Structure of basic type  of the following idocs: DEBMAS05, CREMAS05, MATMAS05, ARTMAS and  INVOIC02. Any documents or link would be more helpful. Any help will be appreciated. Thank you all.