Multiple constraints cause exception and I don't understand why;

Hi:
I am using a 10.2.0.3 DB to look at some code that to the best of my knowledge works in 8i. The combination of constraints they put on the table end up preventing a user from inserting records in 10g due to a constraint violation.
Caveats: NOT MY CODE! They are using CHAR strings for times. Yes it's scary. Yes it's a problem in its own right. NOT the problem I care about right now. I care about the bigger question of why do the two constraints that (to me) appear to be non-conflicting cause a violation.
Here's the code to recreate the situation:
create table timeConstraintTest
  MY_KEY         NUMBER(11)             NOT NULL,
  SOME_NBR       NUMBER(3)              NOT NULL,
  SOME_DATE      DATE                   NOT NULL,
  CHAR_TIME_IN   VARCHAR2(5 BYTE)       NOT NULL,
  CHAR_TIME_OUT  VARCHAR2(5 BYTE)       NOT NULL
ALTER TABLE timeConstraintTest ADD (
  CONSTRAINT TCT_CPK
PRIMARY KEY
(MY_KEY));
ALTER TABLE timeConstraintTest ADD (
  CONSTRAINT TIME_IN_CCK
CHECK (LENGTH(CHAR_TIME_IN) = 4 AND
    LTRIM(char_time_in,'0123456789') IS NULL AND
    SUBSTR(char_time_in, 1, 2) BETWEEN 0 AND 24 AND
    SUBSTR(char_time_in, 3, 2) BETWEEN 0 AND 59));Now, if I try and insert a record with the following :
insert into timeConstraintTest values(1,1,sysdate,'1234','1245');I get
ORA-02290: check constraint (GAFF.TIME_IN_CCK) violated
Now if I disable the NOT NULL constraint on the CHAR_TIME_IN column (yeah I should have created it explicitly and named it)
alter table timeConstraintTest disable constraint SYS_C0056162;the insert will work.
This may be correct, it may be a bug. I don't know. I just want to understand it. Does anyone know why this violation is being thrown?
Thanks

Failed in my case.
10.2.0.3 on Solaris 64 bit.
SQL> create table timeConstraintTest
  2  (
  3    MY_KEY         NUMBER(11)             NOT NULL,
  4    SOME_NBR       NUMBER(3)              NOT NULL,
  5    SOME_DATE      DATE                   NOT NULL,
  6    CHAR_TIME_IN   VARCHAR2(5 BYTE)       NOT NULL,
  7    CHAR_TIME_OUT  VARCHAR2(5 BYTE)       NOT NULL
  8  );
Table created.
SQL>
SQL>
SQL> ALTER TABLE timeConstraintTest ADD (
  2    CONSTRAINT TCT_CPK
  3   PRIMARY KEY
  4   (MY_KEY));
Table altered.
SQL>
SQL>
SQL> ALTER TABLE timeConstraintTest ADD (
  2    CONSTRAINT TIME_IN_CCK
  3   CHECK (LENGTH(CHAR_TIME_IN) = 4 AND
  4      LTRIM(char_time_in,'0123456789') IS NULL AND
  5      SUBSTR(char_time_in, 1, 2) BETWEEN 0 AND 24 AND
  6      SUBSTR(char_time_in, 3, 2) BETWEEN 0 AND 59));
Table altered.
SQL>
SQL> insert into timeConstraintTest values(1,1,sysdate,'1234','1245');
insert into timeConstraintTest values(1,1,sysdate,'1234','1245')
ERROR at line 1:
ORA-02290: check constraint (ETL_IMPORT.TIME_IN_CCK) violated
SQL>
SQL> select * from v$version
  2  /
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
PL/SQL Release 10.2.0.3.0 - Production
CORE    10.2.0.3.0      Production
TNS for Solaris: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - Production
SQL>Cheers
Sarma.

Similar Messages

  • I try to create my Account ID....and i don't understand why i have to put payment? before my friend create Account ID don't have to put payment they still can create account ID... and now i buy iphone but i don't have credit card that mind i can't not do

    Dear
    I try to create my Account ID....and i don't understand why i have to put payment? before my friend create Account ID don't have to put payment they still can create account ID... and now i buy iphone but i don't have credit card that mind i can't not do it

    Hi,
    This Link explains how to Set Up an Account ID...  without a credit card...
    http://support.apple.com/kb/HT2534
    Hope it helps,
    Cheers,

  • When i make several enquires on the iPhone 6 purchase and I don't understand why Apple locked my ichat now ?

    Need answer to my question????
    When i make several enquires on the iPhone 6 purchase and I don’t understand why Apple locked my ichat now ?

    How can I make unpleased remark as I am an Apple supporter, my family own 2 macbook, 3 iPhone 5S and 2 iPad. What I did asked Apple during the last online chat was why can’t I buy the iPhone 6 till now, next was, why some re-seller Apple store in Singapore can reserve the iPhone 6 and some can’t. Today what I wished to asked was why China Apple site still can purchased iPhone 6 after few days of launch as for Singapore site only few hours of launch and till now nearly a month I still can’t purchased it? So is my enquire offensive to Apple online chat that they have to LOCKED my online chat??? The problem was Apple not even reply my past enquires.

  • I cannot sync Ical on my iMac with my professional calendar (outlook web access). and I don't understand why it doesn't work since I have already made it with my iPhone. Help

    Hello,
    I bought an iMac few days ago. I would like to sync ical on my iMac with my professional calendar I use in my company (from outlook web access).
    I was easy to manage it on my iPhone (I just add a new "exchange" mail account and ask for a calendar sync only) and it worked very quickly.
    But I cannot do it with the iMac, and I don't undersatnd why?
    the domain is is used for my iPhone is the following :
    owa.companyname.com
    I tried all the solutions I found in this forum but it doesn't work.
    Many thanks in advancefor your help.
    Matt

    Does it have to be an applet?
    If you want the same behaviour as in the code with traffic lights, change
    class MortgageApplet extends JApplet implements ActionListener {
    to
    class MortgageApplet extends JFrame implements ActionListener {
    and change
    public void init() {
    to
    public MortgageApplet() {                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • My Icloud account keep being disabled for security reasons and I don't understand why or how to prevent it

    It happens at least once per month that my account is disabled for security reason and I don't even have to change the password, I just have to go on iforgot web aite and enable it but it is very annoying since my iPhone stop synchronizing and doing backups

    tinnt701 wrote:
    ... it said "This Apple ID has been disabled for security reasons",
    See here  http://support.apple.com/kb/TS2446
    If necessary...
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • Firefox keeps crashing and I don't understand why.

    I've uninstalled it and I can't reinstall it. I don't understand what's with my Internet.

    https://support.mozilla.com/en-US/kb/Firefox%20crashes#w_get-help-fixing-this-crash

  • I got thrown an exception and i don't understand it can anyone help

    this exception happend right after my constructor as it was appending things to my forms
    first time it was run after succesfull compilation
    java.lang.IllegalStateException
    java.lang.IllegalStateException
         at javax.microedition.lcdui.Form.append(+20)
         at UserDetails.startApp(+268)
         at javax.microedition.midlet.MIDletProxy.startApp(+7)
         at com.sun.midp.midlet.Scheduler.schedule(+270)
         at com.sun.midp.main.Main.runLocalClass(+28)
         at com.sun.midp.main.Main.main(+116)

    quote of the javax.microedition.lcdui.Form.append(Item) - javadoc
    "throws: IllegalStateException - if the item is already owned by a container"
    That means, that the Item you want to append is already append in another Container (or Form, generally Displayable). Is it possible, that you tried something like this?
    hth
    Kay

  • My MacBook is brand new, shy of a month and I don't understand why it was recently started to lag whilst watching full screen videos on youtube? Somebody help me please...

    Somebody help.. I don't get what's going on. This didn't happen in the beginning, it was completely fine with watching full screen videos, but now it seems to "glitch" now and then and appear slow and laggy. whattttt

    If the computer seems normal except for watching youtube the problem is probably between you and your ISP or between the ISP and youtube. If your computer seems slow no matter what you are doing try restarting your computer and see if that helps. (If so pay attention to your Page Outs in the Activity Monitor and also how much free space your hard drive has.)

  • I don't know how to get help. Since yesterday 17th October, my Mac is refusing to open copied documents. I can't work, and I don't  understand why this has suddenly happened, or how to stop it. HELP PLEASE

    Dear Mac users, could you please tell me how to get Mac technical support. Thank you very much.

    If you are still under warranty, you can call AppleCare. If not, you can still call them and pay a fee for service.
    Or, you can further explain your problem here and we will try to help.
    What error messages are you getting.
    Where are you copying from and to?

  • My macbook hard drive stopped working and I loaded another hard drive and can access time capsule but it doesn't show any of my old files and I don't understand why

    My 7 year old macbook hard drive stopped working and I put in another hard drive but when I went to restore my information from airport time capsule it only shows today and nothing older.  Help?

    Did you do a TM backup after you installed the disk? It may write over the previous backup.. but it should actually start a new one.
    Read the info about using migration.. see http://pondini.org/TM/Home.html
    Or the Mac is probably looking at the backup as from a different computer.
    See the details of how to use TM to restore to a different Mac.
    Q17 here. http://pondini.org/TM/FAQ.html
    I would read through 14-17 carefully.
    You should be able to do a full recovery of the TM backup to a USB drive plugged into the computer.

  • My iPhone 4's battery is dying at 73% and I don't understand why. Anyone have any ideas on what I could do?

    I've had my iPhone 4 for 9 months now and it's never given me problems. But now the battery goes to zero even though it's stilled very much charged. So I was hoping maybe someone had some idea if there was something I could do to fix it, or should I just go to apple and get it replaced?

    Did you update to iOS 4.3.5??
    I have battery discharge problems since.

  • Although I have money on my iTunes it still ask me for my payment details and I don't understand why

    I have money on my iTunes but I still can't use it.

    How/when was the account created ? Unless the instructions on this page are followed when creating an account : http://support.apple.com/kb/HT2534
    then credit card details will need to be entered before the account can be used to download any item from the store.
    If you are being prompted to review the account then you could see if the instructions on this post by mountaingoatgirl lets you do so without needing to enter credit card details : https://discussions.apple.com/message/24303054

  • Why doesn't Apple make iPhoto free to older versions of the iPhone, iPad, or iPod? They made it free for the new products and I don't understand they don't make it free for every device.

    I want iPhoto and iMovie and I don't understand why Apple doesn't make them free for every device they have.

    I want iPhoto and iMovie and I don't understand why Apple doesn't make them free for every device they have.
    They are not exactly free on the new devices either. iMovie and iPhoto are included, when you buy a new device. You're purchase price for your older devices did not include the apps, so you have to buy them, sorry.

  • Don't understand why WSDL isn't valid

    In Workshop 9.2, I'm developing an annotation-based web service. I imported my schemas and generated the xmlbeans, and after setting my input and output parameters in the service class, I tried to generate the WSDL from the service. For some reason, the WSDL is not valid, and I don't understand why. I'm sure it's a namespace issue, but I don't see it.
    The enclosed WSDL is somewhat paraphrased from the generated WSDL.
    On line 76 (marked with a comment), there is the first of several errors. It says:
    "The input element is referencing an undefined message 'overrideRequest'. Check that the message name and namespace are correct and that the message has been defined."
    Here is the WSDL:
    <?xml version='1.0' encoding='UTF-8'?>
    <s0:definitions name="SampleServiceDefinitions"
    targetNamespace="http://schemas.wamu.com/Sample.wsdl"
    xmlns=""
    xmlns:s0="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://schemas.wamu.com/Sample.wsdl"
    xmlns:ratings="http://schemas.wamu.com/2006/07/LoanSampleRequest"
    xmlns:questions="http://schemas.wamu.com/2006/07/QuestionsRequest"
    xmlns:s2="http://schemas.xmlsoap.org/wsdl/soap/">
    <s0:types>
    <xs:schema targetNamespace="http://schemas.wamu.com/2006/07/LoanSampleRequest"
    xmlns:ratings="http://schemas.wamu.com/2006/07/LoanSampleRequest"
    xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="loanSampleRequest">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="ratings:loanProperties"/>
    </xs:sequence>
    <xs:attribute name="modelVersion" type="xs:integer" use="optional"/>
    </xs:complexType>
    </xs:element>
    <xs:element name="loanSampleResponse">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="ratings:loanProperties"/>
    <xs:element ref="ratings:messages"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="loanProperties">
    <xs:complexType>
    <xs:sequence>
    <xs:element maxOccurs="unbounded" ref="ratings:property"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="property">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="ratings:key"/>
    <xs:element ref="ratings:value"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="key" type="xs:string"/>
    <xs:element name="value" type="xs:string"/>
    <xs:element name="messages">
    <xs:complexType>
    <xs:sequence>
    <xs:element maxOccurs="unbounded" minOccurs="0" ref="ratings:message"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="message">
    <xs:complexType mixed="true">
    <xs:attribute name="level" type="xs:string"/>
    <xs:attribute name="fieldName" type="xs:string"/>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    </s0:types>
    <s0:message name="overrideRequest">
    <s0:part element="ratings:loanSampleRequest" name="parameters"/>
    </s0:message>
    <s0:message name="overrideRequestResponse">
    <s0:part element="ratings:loanSampleResponse" name="parameters"/>
    </s0:message>
    <s0:message name="ratingsRequest">
    <s0:part element="ratings:loanSampleRequest" name="parameters"/>
    </s0:message>
    <s0:message name="ratingsRequestResponse">
    <s0:part element="ratings:loanSampleRequest" name="parameters"/>
    </s0:message>
    <s0:portType name="Sample">
    <s0:operation name="overrideRequest">
    <s0:input message="tns:overrideRequest"/> <!-- 76 -->
    <s0:output message="overrideRequestResponse"/>
    </s0:operation>
    <s0:operation name="ratingsRequest" parameterOrder="parameters">
    <s0:input message="ratingsRequest"/>
    <s0:output message="ratingsRequestResponse"/>
    </s0:operation>
    </s0:portType>
    <s0:binding name="SampleServiceSoapBinding" type="tns:Sample">
    <s2:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <s0:operation name="overrideRequest">
    <s2:operation soapAction="" style="document"/>
    <s0:input>
    <s2:body parts="parameters" use="literal"/>
    </s0:input>
    <s0:output>
    <s2:body parts="parameters" use="literal"/>
    </s0:output>
    </s0:operation>
    <s0:operation name="ratingsRequest">
    <s2:operation soapAction="" style="document"/>
    <s0:input>
    <s2:body parts="parameters" use="literal"/>
    </s0:input>
    <s0:output>
    <s2:body parts="parameters" use="literal"/>
    </s0:output>
    </s0:operation>
    </s0:binding>
    <s0:service name="SampleService">
    <s0:port binding="tns:SampleServiceSoapBinding" name="SampleSoapPort">
    <s2:address location="http://localhost:7001/Sample/Sample"/>
    </s0:port>
    </s0:service>
    </s0:definitions>
    --------------------

    After I made these changes and re-validated, I get a dialog that says "The WSDL file is valid however warnings have been issued. See the Problems view for a list of the validation warnings", and I see the following in the Problems list:
    IWAE0053E An internal error has occurred running validation on project:RiskRatingContainer]:RiskRatingContainer, check the log file for details
    In in my WSDL editor, the lines in question still have a red circle with a white "x" in the left margin, and the tooltip still reports the same errors as before.
    In the "Error Log" view, I see the following:
    *** ERROR ***: Thu Feb 22 12:10:09 PST 2007 org.eclipse.wst.validation.internal.core.ValidationException: IWAE0053E An internal error has occurred running validation on project:RiskRatingContainer]:RiskRatingContainer, check the log file for details
    Just in case, I'll include my current WSDL again here.
    <?xml version='1.0' encoding='UTF-8'?>
    <s0:definitions name="SampleServiceDefinitions"
    targetNamespace="http://schemas.wamu.com/Sample.wsdl"
    xmlns=""
    xmlns:s0="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://schemas.wamu.com/Sample.wsdl"
    xmlns:ratings="http://schemas.wamu.com/2006/07/LoanSampleRequest"
    xmlns:questions="http://schemas.wamu.com/2006/07/QuestionsRequest"
    xmlns:s2="http://schemas.xmlsoap.org/wsdl/soap/">
    <s0:types>
    <xs:schema targetNamespace="http://schemas.wamu.com/2006/07/LoanSampleRequest"
    xmlns:ratings="http://schemas.wamu.com/2006/07/LoanSampleRequest"
    xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="loanSampleRequest">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="ratings:loanProperties"/>
    </xs:sequence>
    <xs:attribute name="modelVersion" type="xs:integer" use="optional"/>
    </xs:complexType>
    </xs:element>
    <xs:element name="loanSampleResponse">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="ratings:loanProperties"/>
    <xs:element ref="ratings:messages"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="loanProperties">
    <xs:complexType>
    <xs:sequence>
    <xs:element maxOccurs="unbounded" ref="ratings:property"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="property">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="ratings:key"/>
    <xs:element ref="ratings:value"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="key" type="xs:string"/>
    <xs:element name="value" type="xs:string"/>
    <xs:element name="messages">
    <xs:complexType>
    <xs:sequence>
    <xs:element maxOccurs="unbounded" minOccurs="0" ref="ratings:message"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="message">
    <xs:complexType mixed="true">
    <xs:attribute name="level" type="xs:string"/>
    <xs:attribute name="fieldName" type="xs:string"/>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    </s0:types>
    <s0:message name="overrideRequest">
    <s0:part element="ratings:loanSampleRequest" name="parameters"/>
    </s0:message>
    <s0:message name="overrideRequestResponse">
    <s0:part element="ratings:loanSampleResponse" name="parameters"/>
    </s0:message>
    <s0:message name="ratingsRequest">
    <s0:part element="ratings:loanSampleRequest" name="parameters"/>
    </s0:message>
    <s0:message name="ratingsRequestResponse">
    <s0:part element="ratings:loanSampleRequest" name="parameters"/>
    </s0:message>
    <s0:portType name="Sample">
    <s0:operation name="overrideRequest">
    <s0:input message="tns:overrideRequest"/> <!-- 76 -->
    <s0:output message="tns:overrideRequestResponse"/>
    </s0:operation>
    <s0:operation name="ratingsRequest" parameterOrder="parameters">
    <s0:input message="tns:ratingsRequest"/>
    <s0:output message="tns:ratingsRequestResponse"/>
    </s0:operation>
    </s0:portType>
    <s0:binding name="SampleServiceSoapBinding" type="tns:Sample">
    <s2:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <s0:operation name="overrideRequest">
    <s2:operation soapAction="" style="document"/>
    <s0:input>
    <s2:body parts="parameters" use="literal"/>
    </s0:input>
    <s0:output>
    <s2:body parts="parameters" use="literal"/>
    </s0:output>
    </s0:operation>
    <s0:operation name="ratingsRequest">
    <s2:operation soapAction="" style="document"/>
    <s0:input>
    <s2:body parts="parameters" use="literal"/>
    </s0:input>
    <s0:output>
    <s2:body parts="parameters" use="literal"/>
    </s0:output>
    </s0:operation>
    </s0:binding>
    <s0:service name="SampleService">
    <s0:port binding="tns:SampleServiceSoapBinding" name="SampleSoapPort">
    <s2:address location="http://localhost:7001/Sample/Sample"/>
    </s0:port>
    </s0:service>
    </s0:definitions>
    ---------------------------

  • My Mac will not start up like normal and I don't knwo why

    My iMac will not start up like normal and I don't know why. I tried to run Skype then nothing happend so I tried to restart my computer, but then it never loaded

    Take each of these steps that you haven't already tried. Stop when the problem is resolved.
    Step 1
    The first step in dealing with a boot failure is to secure your data. If you want to preserve the contents of the startup drive, and you don't already have at least one current backup, you must try to back up now, before you do anything else. It may or may not be possible. If you don't care about the data that has changed since your last backup, you can skip this step.   
    There are several ways to back up a Mac that is unable to boot. You need an external hard drive to hold the backup data.
         a. Boot into the Recovery partition, or from a local Time Machine backup volume (option key at startup.) When the OS X Utilities screen appears, launch Disk Utility and follow the instructions in this support article, under “Instructions for backing up to an external hard disk via Disk Utility.”
    b. If you have access to a working Mac, and both it and the non-working Mac have FireWire or Thunderbolt ports, boot the non-working Mac in target disk mode. Use the working Mac to copy the data to another drive. This technique won't work with USB, Ethernet, Wi-Fi, or Bluetooth.
    c. If the internal drive of the non-working Mac is user-replaceable, remove it and mount it in an external enclosure or drive dock. Use another Mac to copy the data.
    Step 2
    If the startup process stops at a blank gray screen with no Apple logo or spinning "daisy wheel," then the startup volume may be full. If you had previously seen warnings of low disk space, this is almost certainly the case. The easiest way to deal with the problem is to boot from an external drive, or else to use either of the techniques in Steps 1b and 1c to mount the internal drive and delete some files. According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation.
    Step 3
    Sometimes a boot failure can be resolved by resetting the NVRAM.
    Step 4
    If you use a wireless keyboard, trackpad, or mouse, replace or recharge the batteries. The battery level shown in the Bluetooth menu item may not be accurate.
    Step 5
    If there's a built-in optical drive, a disc may be stuck in it. Follow these instructions to eject it.
    Step 6
    Press and hold the power button until the power shuts off. Disconnect all wired peripherals except those needed to boot, and remove all aftermarket expansion cards. Use a different keyboard and/or mouse, if those devices are wired. If you can boot now, one of the devices you disconnected, or a combination of them, is causing the problem. Finding out which one is a process of elimination.
    Step 7
    If you've booted from an external storage device, make sure that your internal boot volume is selected in the Startup Disk pane of System Preferences.
    Boot in safe mode. Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Post for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    When you boot in safe mode, it's normal to see a dark gray progress bar on a light gray background. If the progress bar gets stuck for more than a few minutes, or if the system shuts down automatically while the progress bar is displayed, your boot volume is corrupt and the drive is probably malfunctioning. In that case, go to Step 6.
    If you can boot and log in now, empty the Trash, and then open the Finder Info window on your boot volume ("Macintosh HD," unless you gave it a different name.) Check that you have at least 9 GB of available space, as shown in the window. If you don't, copy as many files as necessary to another volume (not another folder on the same volume) and delete the originals. Deletion isn't complete until you empty the Trash again. Do this until the available space is more than 9 GB. Then reboot as usual (i.e., not in safe mode.)
    If the boot process hangs again, the problem is likely caused by a third-party system modification that you installed. Post for further instructions.
    Step 8
    Launch Disk Utility in Recovery mode (see Step 1.) Select your startup volume, then run Repair Disk. If any problems are found, repeat until clear. If Disk Utility reports that the volume can't be repaired, the drive has malfunctioned and should be replaced. You might choose to tolerate one such malfunction in the life of the drive. In that case, erase the volume and restore from a backup. If the same thing ever happens again, replace the drive immediately.
    This is one of the rare situations in which you should also run Repair Permissions, ignoring the false warnings it may produce. Look for the line "Permissions repair complete" at the end of the output. Then reboot as usual.
    Step 9
    Reinstall the OS. If your Mac was upgraded from an older version of OS X, you’ll need the Apple ID and password you used to upgrade.
    Step 10
    Repeat Step 9, but this time erase the boot volume in Disk Utility before installing. The system should automatically reboot into the Setup Assistant. Follow the prompts to transfer your data from a Time Machine or other backup.
    Step 11
    This step applies only to models that have a logic-board ("PRAM") battery: all Mac Pro's and some others (not current models.) Both desktop and portable Macs used to have such a battery. The logic-board battery, if there is one, is separate from the main battery of a portable. A dead logic-board battery can cause a boot failure. Typically the failure will be preceded by loss of the settings for the startup disk and system clock. See the user manual for replacement instructions. You may have to take the machine to a service provider to have the battery replaced.
    Step 12
    If you get this far, you're probably dealing with a hardware fault. Make a "Genius" appointment at an Apple Store, or go to another authorized service provider.

Maybe you are looking for

  • Creating a package. How to include standatd PL/SQL procedure?

    Dear All, I need to create a job in oracle schema where in it should to do the following actions. 1. Refresh the Mat View Refresh group. 2. Execute a procedure immediately after the above refresh happens. Hence I tried to create a package to include

  • Is it possible to have 2 simultaneous users on a Mac mini?

    Hello World!, My first post.  Looking to see if you can have 2 simulteaneous users on a Mac Mini.   My daughters are arguing too much about their time on a Mac mini.  I know this is possible on the "Windows World" with Microsoft Multipoint Server (ht

  • What is the use of session in jsp

    hai, what is the use of session in jsp. i cant understand from books. give some practical approach thanks

  • Running Total Problem

    Hi All I believe I have posted this question previously with no luck, but I have notice a few very clever new people so I will try again.(I have been working on this report for weeks and it is driving me nuts!!!) I am using CRXI and have created a ma

  • How 's route schedule determination in SO

    Hi, Experts, We want active route schedule in SO for our biz requirement. I have do some customizing in system , Route can be determinate auto , but route schedule still not active. below is my setting in SAP 1.Active delivery scheduling & Transport