BIG Trigger Problem!!!

Hi friends,
I need to write a before insert and update trigger,that Select and (insert respectively update) the same table.
I tried some solutions
like the solution of Tom -->askTom
here is the Link http://asktom.oracle.com/~tkyte/Mutate/index.html
but that don't work for me. The problem is that I have
first to select something from Table A and then
check this with the values which have to be inserted or updated in Table A. Only when the the new values(from one column) are not in Table A they can be inserted or updated.Otherwise the Trigger have to raise an error.
Can somebody tell me a way how to implement such a trigger???Please with an example.
thanxx
Schoeib

As far as I know there is no easy solution for this. There is a good reason why Oracle throws the mutating table exception in its BEFORE triggers. One possible way round it is to use a view with an INSTEAD OF trigger on it, and prevent people have direct access to the table..
However, it does seem to be as though you are trying to get the database to resolve problems that really ought to solved at the front-end. If at all possible you should try to correct whatever application is entering data into your system.
Cheers, APC

Similar Messages

  • Email and big wifi problems.

    Email and big wifi problems.
    Why does it take 6 minutes to send a photo attachment when my iphone 4 will do it in 30 to 40 seconds ?
    Why will my email account be recognised and log on only half the time?
    Why does the wifi keep dropping out?
    Why does the speed and signal vary when I'm sitting two feet away from by wifi router?
    All settings in my phone have been reset twice as per advice from vodapone

    Thanks very much, jjgraphics. I will grit my teeth and try India once more, as you suggest, and then get in touch with the moderators.
    Karen.

  • Have Operating System 10.6.8, Mail Program 4.6.  How can I prevent the next email in the que from automatically opening after I act on the previous email ? It creates big organizational problems for me. My computer changes this mode from self opening to m

    Have Operating System 10.6.8, Mail Program 4.6.
    How can I prevent the next email in the que from automatically opening after I act on the previous email ? It creates big organizational problems for me. My computer changes this mode from self opening to manually opening every few month with no ? action from me.
    Help

    Have Operating System 10.6.8, Mail Program 4.6.
    How can I prevent the next email in the que from automatically opening after I act on the previous email ? It creates big organizational problems for me. My computer changes this mode from self opening to manually opening every few month with no ? action from me.
    Help

  • How to activate JDBC debugging for SPRING 3.1? Oracle trigger problems ...

    Hi,
    I have some trigger problems. I created a trigger to update a certain column each time a new record is inserted or an existent record is updated. I use Oracle 10g. If I create the trigger and execute an insert query via the XE client everything works fine. However, when I use a spring 3.1 setup with Hibernate and OJDBC driver, I get an
    java.sql.SQLException: ORA-04098: trigger 'LOCALUSER_PROP_TRIG' is invalid and failed re-validation
    And if I execute a show error trigger query I get an invalid SQL query error.
    I can easily activate Hibernate debugging and I can see that the prepared statement by Hibernate is just fine, but I was wondering if I could see the full sql sent by the JDBC driver to the server. Maybe seeing the actual query sent to the server would provide new insight of what could be wrong in the Hibernate setup. Does any one what could be wrong and eventually how could setup jdbc to output debug info? Thanks a lot,
    Cristian

    Which platform is the database running on ??
    Other things you should check -
    when debugging the EJB, JDev
    3.1 looks through your IIOP connections to find the one to use.
    Make sure that the IIOP connection that JDev is using for the debugging matches the IIOP connection that the EJB client application is using.
    raghu
    null

  • Big Eudora problem, small Finder issue-- related?

    I use Eudora for my email, and unfortunately my big Eudora problem is not getting solved in the Eudora message board; after half a day of Eudora quitting unexpectedly and then working fine but just for a few minutes if I restarted my computer, now when I launch Eudora, my Finder crashes-- everything disappears but the background image, and the computer is frozen.
    The reason I'm posting here is that before it reached this stage, there were other weird things that didn't relate to Eudora: I would try to launch Flash, and Flash couldn't open a new blank file. I would try to launch something else, and an error message would say that some component in a Library wasn't found. All of these things are not happening anymore; as far as I know, only Eudora is misbehaving, but one odd feature remains: every finder window is showing, next to the search field in the upper right, a large question mark, and next to that there is a folder icon. If I click on the folder icon, I'm taken to one particular folder in my HD that has no significance to anything that I can tell. If I click on the question mark, I get "the item can not be found." (Hence the question mark, I guess). But what are those doing there in every finder window? Is there supposed to be a folder icon at the middle-top-right of every finder window? I don't remember one there.
    I have done an archive-and-install of OS 10.4.6, but the finder window business is still the same.
    The hardware test CD that came with my PowerBook says all hardware is okay. Disk Warrior finds no problems. Disk Permissions are okay in Disk Utility. I ran Clam Xav, and it found four copies of viruses: three (called Email.Ecard-6) in my In box and in two mailboxes with older In messages, and one (called Email.Phishing.Pay-8) in my Out box. I put all of these files in the trash and restarted my laptop, launched Eudora and the finder crashed. I reinstalled Eudora and the same thing happened, although I had put the infected boxes back in place before reinstalling Eudora.
    I don't know where the problem is.
    Any advice, please?
    Paul

    Ciao Von Stripes,
    I've just found the solution:
    Open - System Preferences, then open - Spotlight
    There is a list of categories.
    Find - Files on the list, then click, drag and drop to the position number 1 and "voilá"
    I hope it works for you too... 

  • Mutating DB Trigger Problem

    Hello all, i have a ' Mutating DB Trigger Problem' for the following Trigger :
    =============================================
    CREATE OR REPLACE TRIGGER ASSIUT.EMP_ATTENDANCEE_MONA
    AFTER INSERT
    ON ASSIUT.ACCESSLOG
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    DECLARE
    V_COUNT CHAR(2);
    --V_COUNT_OUT CHAR(2);
    BEGIN
    IF :NEW.INOUT = 'IN' THEN
        INSERT INTO EMP_ATTENDANCEE (EMP_ID, DATE_IN ,DATE_OUT ,TIME_IN ,TIME_OUT)
         VALUES (TO_NUMBER(TO_CHAR(:NEW.employeeid,99999)),
                 TO_DATE(:NEW.LOGDATE,'dd/mm/rrrr'),       -- DATE_IN
                 NULL,
                 TO_DATE(:NEW.LOGTIME,'HH24:MI:SS'),      -- TIME_IN
                 NULL );      -- TIME_OUT
                     SELECT COUNT(employeeid )
                     INTO V_COUNT
                    FROM ACCESSLOG
                    WHERE employeeid =:NEW.employeeid
                    AND LOGDATE =:NEW.LOGDATE
                    AND  LOGTIME  =:NEW.LOGTIME
                    AND INOUT ='IN';
                    IF V_COUNT > 0 THEN
         INSERT INTO ATT_INCOMPLETE  (  EMP_ID , ATT_DATE , ATT_TIME ,  ATT_FLAG)
         VALUES (TO_NUMBER(TO_CHAR(:NEW.employeeid,99999)),
                 TO_DATE(:NEW.LOGDATE,'dd/mm/rrrr'),       -- DATE_IN
          TO_DATE(:NEW.LOGTIME,'HH24:MI:SS'),        -- TIME_IN
          1); -- check in
          END IF;
    ELSIF :NEW.INOUT = 'OUT' THEN
        UPDATE  EMP_ATTENDANCEE
        SET           DATE_OUT   =  TO_DATE(:NEW.LOGDATE,'dd/mm/rrrr'), -- DATE_OUT,
                      TIME_OUT   =   TO_DATE(:NEW.LOGTIME,'HH24:MI:SS') -- TIME_OUT
        WHERE   EMP_ID           =   TO_NUMBER(TO_CHAR(:NEW.employeeid,99999))
        AND DATE_IN =  (SELECT MAX (DATE_IN )
                        FROM EMP_ATTENDANCEE
                        WHERE EMP_ID = EMP_ID
                        AND   DATE_OUT IS NULL
                        AND   TIME_OUT IS NULL ) ;
                  SELECT COUNT(employeeid )
                     INTO V_COUNT
                    FROM ACCESSLOG
                    WHERE employeeid =:NEW.employeeid
                    AND LOGDATE =:NEW.LOGDATE
                    AND  LOGTIME  =:NEW.LOGTIME
                    AND INOUT ='OUT';
                    IF V_COUNT > 0 THEN
    INSERT INTO ATT_INCOMPLETE  (  EMP_ID , ATT_DATE , ATT_TIME ,  ATT_FLAG)
         VALUES (TO_NUMBER(TO_CHAR(:NEW.employeeid,99999)),
                 TO_DATE(:NEW.LOGDATE,'dd/mm/rrrr'),       -- DATE_IN
          TO_DATE(:NEW.LOGTIME,'HH24:MI:SS'),        -- TIME_IN
         0); -- check in
    END IF;
    END IF;
      EXCEPTION
       WHEN OTHERS  THEN RAISE;
    END EMP_ATTENDANCEE_MONA ;The above Trigger generates the following error:
    ORA-04091: table ASSIUT.ACCESSLOG is mutating, trigger/function may not see it
    ORA-06512: at "ASSIUT.EMP_ATTENDANCEE_MONA'", line 65
    ORA-04088: error during execution of trigger 'ASSIUT.EMP_ATTENDANCEE_MONA'i want an easy and a straight forward solution to this problem which occured on selecting or manipulating from the same table i triggered it.
    Best regards,
    Abdetu..

    Create a package
    CREATE OR REPLACE PACKAGE PK_TRIGGER IS
      PROCEDURE PR_BS;
      PROCEDURE PR_ARIU(i_vcType IN TABLE.COLUM%TYPE, i_nEmpId TABLE.COLUM%TYPE, i_vcLogDate IN TABLE.COLUMN%TYPE, i_vcLogTime IN TABLE.COLUMN%TYPE);
      PROCEDURE PR_AS;
    END;
    CREATE OR REPLACE PACKAGE BODY IS
      TYPE tData IS RECORD (
        vcType     TABLE.COLUMN%TYPE,
        nEmpid     TABLE.COLUMN%TYPE,
        vcLogDate TABLE.COLUMN%TYPE,
        vcLogTime TABLE.COLUMN%TYPE
      TYPE tDataList IS TABLE OF tData INDEX BY BINARY_INTEGER;
      lData tData;
      PROCEDURE PR_BS IS
      BEGIN
        lData.DELETE;
      END;
      PROCEDURE PR_ARIU(i_vcType IN TABLE.COLUM%TYPE, i_nEmpId TABLE.COLUM%TYPE, i_vcLogDate IN TABLE.COLUMN%TYPE, i_vcLogTime IN TABLE.COLUMN%TYPE) IS
        iPos PLS_INTEGER:=lData.COUNT+1;
      BEGIN
        lData(iPos).vcType:=i_vcType;
        lData(iPos).nEmpId:=i_nEmpId;
        lData(iPos).vcLogDate:=i_vcLogDate;
        lData(iPos).vcLogTime:=i_vcLogTime;
      END;
      PROCEDURE PR_AS IS
        CURSOR crCheck(i_nIdentnum IN NUMBER) IS
          SELECT 1
            FROM <YOURTABLE> A,
                 <YOURTABLE> B
           WHERE A.IDEN_NUM=B.IDENT_NUM
             AND (   A.BEGIN_DATE BETWEEN B.BEGIN_DATE AND B.END_DATE
                  OR A.END_DATE BETWEEN B.BEGIN_DATE AND B.END_DATE
        iPos PLS_INTEGER;
        nDummy NUMBER;
      BEGIN
        iPos:=lData.FIRST;
        LOOP
          EXIT WHEN iPos IS NULL;
          -- Do whatever you want with the data in the record
          -- Process next record
          iPos:=lIds.NEXT(iPos);
        END LOOP;
        lIds.DELETE;
      END;
    END;replace TABLE.COLUM%TYPE with appropiate table and column
    Now create a
    - Before Statement trigger on your table calling PK_TRIGGER.PR_BS;
    - After Insert on Update for each row Trigger calling PK_TRIGGER.PR_ARIU(...values...);
    - After Statement trigger on your table calling PK_TRIGGER.PR_AS;
    Hope the code compiles for i have no database at hand.
    Andreas

  • Hello, I have a big batterylife problem with my brand new iPod touch 4Gen 8GB white. Please help...

    Hello, I have a big batterylife problem with my brand new iPod touch 4Gen 8GB white. Please help?

    What battery life are you getting?  Is it short when you are using the iPod? When it is sleeping?

  • The big iChat problems. Audio/Video (now completely broken in 10.7.3), the "not-authorized" problem

    So, I am running iChat on OS X Lion 10.7.3 on an early-2011 MBP 13'' . These problems have been here for a while, though (I got my comp with 10.7.0). I have AIM/GMail/Yahoo connected..
    One problem is the issue of non-authorized people. There is a list of "not authorized" people that I have to scroll past in my "offline" section of iChat buddies before I actually get to the real offline contacts. Big note here: All these people have the address (something)@aol.com. These contacts have come up as a result of my gmail connection. You see, a few months ago Gmail and AIM did this chat unification process where @aol.com contacts can be just added into Gmail for chatting. These @aol.com copies come up asking for an invite when the REAL AIM address person talks to me. The invites leave once I press decline, but then they stay on my list as not authorized. If I delete these "not-authorized" copies, the invites will come up again and the cycle will repeat. It is a nuisance considering how much of these false contacts are on my list.
    Second problem is video/audio chat in general. This issue really applies on AIM/Yahoo—there is nothing for Gmail because people usually use the web interface which simply doesn't work with iChat video/audio. If the people used Google talk, the issue written below would probably come up.
    See, what happens is that…(now in 10.7.3), video/audio chat is simply broken, simple as that. My contacts always tell me that an error has occurred when trying to accept my video chat invite. It simply doesn't work. They are using AIM desktop in most cases. When it DID used to work (to a very limited extent, I'll say; it was hit or miss earlier pre 10.7.3, now it's just miss), it was just video but NO audio. They could see/hear me, I could only see them. When I did audio chats, they hear me, I..don't hear them (so audio chats were pointless). The only case where this problem doesn't happen is where it's Mac to Mac, iChat to iChat. VERY limited in use of audio/video chat, if you ask me.

    Hi,
    If AIM contacts have been added to your Google Buddy List then I would login to Google and remove them from there  (the iGoogle or GoogleMail web pages will show the Chat option)
    Whilst they are still in the List then the Authorization request will probably be resent (In this case it is probably being generated by the method Google are using to add the AIM names as iChat only sends it once).
    Google/Jabber Video chats is only iChat to iChat and so is Yahoo with iChat 6.
    The Yahoo App streams Video which People can be allowed to see and Audio is added in as an Audio Chat.
    The connection Process is not the same and iChat/AIM
    Jabber and Google use Jingle to Connect (in fact Google's version is not that compatible with other Jabber apps).
    This means iChat to the Standalone PC app  or any Web Browser using the Google Video Plug-in (PC or Mac) or to any Jabber app that is using a Google ID (or a Jabber ID) will not work.
    On the iChat to AIM on a PC.
    This has always been a bit of a hit and miss affair.
    Some people have no trouble but other spend ages trying to set things up and never find the solution.
    This is the Original Users Tip  (up to about AIM5.9)
    A "replacement" for that tip that has not made it across yet.
    I have yet to try Video to the Web Login version that is now on offer.
    However I would limit the Bandwidth in iChat Menu > Preferences > Video Section to 500kbps (possibly try 200kbps for 1-1 chats) as you will not know the interent speed available to the Buddy if they are using the web login.
    Comparisons
    When you compare iChat actual functions to what you would like it to do it can appear to be limited.
    On the basis that you would want your IM app to be able to have Buddies from other services listed in a Buddy list (combined) or Lists which apps do you know of can do that and Video to some of them ?
    Adium and ProteusX can both have Buddies from the major Services ina  Buddy List but don't do Audio or Video.
    Yahoo and MSN both allow the other's Buddies in the list but I am not sure about Video or Audio chats
    They cannot connect to Jabber or AIM buddies even for text chats.
    Jabber does depend on the server you use and whether that does Transports for you to have text chats with other services.
    Instructions for iChat.
    Mercury IM is a JAVA version of MSN and still has not got to Audio and Video
    Similar for aMSN
    Gizmo5 and YakforFree both died...
    Skype is Cross Platform  but is only 1-1 in Video chat.  (cost extra for 3 and 4 way chats)
    Yahoo had dropped support for their Mac version now iChat has the Yahoo option  (you can still download it  - IT being the beta it has been for  years).
    2:40 PM      Saturday; February 11, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.3)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Post query trigger problem in master detail oracle forms

    Hello experts,
                        I am new in oracle forms n using Fission middleware 10g with oracle forms 11g at windows 7 platform.
    I have made a master detail form using a tab canvas.There is a database column STUDENTID and it is in my student tab with a TBL_STUDENTENTRY data block.Now I Have an another tab named previous_education with TBL_STUDENT_PREVIOU_EDU datablock here there is also a database column STUDENTID and corresponding field in my  previous_education TAB under TBL_STUDENT_PREVIOU_EDU  datablock.Now i want to add a display item to show  student name corresponding to STUDENTID.For this I have tried to make a select query in TBL_STUDENT_PREVIOU_EDU data block POPST_QUERY TRIGGER.
    begin
    select STUDENTNAME into :TBL_STUDENT_PREVIOU_EDU.STD_NM   from TBL_STUDENTENTRY where STUDENTID=:TBL_STUDENTENTRY.STUDENTID;
    end;
    But, This trigger is not fired at runtime,Please suggest me what is going wrong and give me the solution.
    Thank You
    AADITYA.

    http://www.club-oracle.com/forums/post_query-problem-in-oracle-forms-t9751/#post23794 ,  This is the link at where  I have tried to show my problem with the help of an image,Please get the link:
    thanx
    regards Aaditya.

  • Big graphic problem on MacBook Pro

    First, I appologize for my english but i'm french !
    So, I have a very big problem since I have upgrade to Mountain Lion on my MacBook Pro mid-2010 (Core i5 2,4Ghz / 4Go / 320Go) : when the graphics card switch from the Nvdia to the Intel3000, it turn like this :
    So I need to restart. There is no problem when I start with the Intel3000.
    Only append when it switch from the Nvidia to the Intel3000.
    So I use gfxCardStatus to only use the Nvidia but I'm waiting for a fix from Apple with the next update of Mountain Lion.
    Great update ...

    Reply to myself but can help other people : after a "clean install" of Moutain Lion, using a USB key, no more problem, even with gfxCardStatus !
    And big big improvement of system reactivity.

  • Trigger Problem, need help in 8i

    SQL> Create table a (sno char(3), kkk varchar2(30));
    SQL> Create or replace trigger T$a before insert on a
    for each row
    begin
    if :new.sno = 'FFF' then select nvl(max(sno),0)+1 into :new.sno from a;
    end;
    SQL> insert into a select 'FFF', cont_no from gcmis.cont_rent;
    insert into a select 'FFF', cont_no from gcmis.cont_rent
    ERROR at line 1:
    ORA-04091: table TR.A is mutating, trigger/function may not see it
    ORA-06512: at "TR.T$A", line 2
    ORA-04088: error during execution of trigger 'TR.T$A'
    Why & How?

    It happens because you read the table that was in the middle of being modified by your trigger...
    The only way to proceed is to rewrite your statement so it does not read the table.
    For example, you can store the maxvalue of your field in another table...
    But don't forget that if sno is a unique key, you'll probably have problems when working with a mutli-users app...
    SQL> Create table a (sno char(3), kkk varchar2(30));
    SQL> Create or replace trigger T$a before insert on a
    for each row
    begin
    if :new.sno = 'FFF' then select nvl(max(sno),0)+1 into :new.sno from a;
    end;
    SQL> insert into a select 'FFF', cont_no from gcmis.cont_rent;
    insert into a select 'FFF', cont_no from gcmis.cont_rent
    ERROR at line 1:
    ORA-04091: table TR.A is mutating, trigger/function may not see it
    ORA-06512: at "TR.T$A", line 2
    ORA-04088: error during execution of trigger 'TR.T$A'
    Why & How?

  • Post-trigger problem in master detail form.

    I have designed a master detail form having two data blocks.
    in detail data block there is a post-query.
    when i tried delete one record in master block
    an error occurred ie
    'frm-40654. Record is updated by another user
    re-query to see changes'.
    in detail block there are 3 non database items.
    when i delete the post-query trigger the record is deleting properly.but the post-query trigger is also needed to display the non database item values. please give me a solution to tackle this problem.

    Hi,
    Even though yout items are non-database items, when you assign a value to them forms sets the block status to "CHANGED".
    Add the following lines add the end of your post-query trigger to reset the block status to "QUERY"
    set_record_property (GET_BLOCK_PROPERTY('YOUR_BLOCK_NAME',CURRENT_RECORD)
    ,name_in('system.cursor_block')
    ,STATUS
    ,QUERY_STATUS
    Hope this helps,
    Hugo

  • Broken Ftp Connection and big files problem

    I have a problem with big-files downloading.
    Does anybody know how to resume downloading using FTP-connection?
    Or how can I get bytes from FTP connected file using something like random access to avoid the restart of downloading the file?
    "InputStream" does not support "seek"-like methods.

    From RFC 959
    RESTART (REST)
    The argument field represents the server marker at which
    file transfer is to be restarted. This command does not
    cause file transfer but skips over the file to the specified
    data checkpoint. This command shall be immediately followed
    by the appropriate FTP service command which shall cause
    file transfer to resume.
    You should also be aware of RFC 959 Section 3.4.2 on BLOCK MODE transfers which is what allows FTP to REST a connection and "skip" n-bytes of a file.

  • Big generic problem

    I'm having a big problem. Look at this:
    public class Person {
    public class Employee extends Person {
    public class Bank {
    private List<Person> people = new ArrayList<Person>();
    public List<Person> people() {
    return people;
    Now the problem:
    public class Test {
    public static void main(String args[]) {
    Bank b = new Bank();
    b.people().add(new Employee()); // This was to be forbidden, but
    // the compiler doesn't complain
    In the class Bank I declared a list to contain only Person objects:
    private List<Person> people = new ArrayList<Person>();
    and a method to return it, with the same generic type:
    public List<Person> people()
    so, how could the compiler let me add a person of type Employee in the class
    Test? No matter if I change the declaration of the people() method to accept
    only objects of class Person and above, like this:
    public List<? super Person> people()
    it still compiles and I still can add Employee objects to the list that were
    supposed to hold just Person objects.
    So, the question is:
    HOW COULD I RETURN A LIST IN A METHOD WITH A GENERIC TYPE THAT HAS SUBCLASSES AND THAT I CAN MAKE THE LIST TO ACCEPT OBJECTS JUST OF THAT TYPE, NOT OF ITS SUBCLASSES? So, this is type safe. I don't want the list of the example above to accept objects of type Employee, just Person.

    so, why can I add Employees to a list declaredthis
    way
    public List<Person> get() {
    return people; // <--- list of Person
    }I don't see how it can be said any more clearly -
    BECAUSE AN Employee IS A Person!
    wouldn't it be to behave the same way as you
    said?
    Is
    the proplem related to a param and a return
    type.
    With params with works, but not with returntypes?
    I don't understand your point!Look if I'm really understanding this thing:
    public void add(List<Person> p)
    private List<Employee> e = new
    ArrayList<Employee>();
    obj.add(e) // Error. It's not exactly a PersonNow:
    public List<Person> people();
    private List<Employee> e = new
    ArrayList<Employee>();
    obj.people().add(new Employee()); // Ok. But why?An Employee is a Person. But in the first code it
    didn't let me add an Employee to a method acception a
    Person. That's what I want. But why the second code
    worked. Isn't it the same thing. The param type in
    both examples is a list of Person.To be more clear in the first code:
    public class Obj {
        public void people(List<Person> p)
    private List<Employee> e = new ArrayList<Employee>();
    Obj obj = new Obj();
    obj.people(e) // Error. It's not exactly a Person

  • Big disk problems - or big-disk problems?

    Hi there!
    I have really big problems. I try to set up a 45 GB Western Digital Caviar 450AA (secondary IDE controller, master-drive). I patched my machine with the recommended patch cluster which also contains patch no. 110202-01 for the ata-drivers. I am able to fdisk the drive with a geometry file using fdisk with options. I am also able to partition the disk with the native solaris 8 x86 format tool. I label the disk - fine so far. But when I try to build a filesystem on it, newfs terminates wih errors. I afterwards tried to set up a scsi-disk with 4,1 GB (IBM DCAS 34330). The same problem occured: newfs (as well as mkfs with options) terminated with the following error message:
    mkfs: bad value for size: 0 must be between 1024 and 0
    mkfs: size reset to default 0
    mkfs: bad value for ntrack: 6 must be between 1 and 0
    mkfs: ntrack reset to default 16
    seek error on sector -1: invalid argument
    That's pretty strange, isn't it? I don't know wheter Solaris x86 is that different from Solaris SPARC edition. Perhaps I'm too dumb to get this machine working and should put my fingers off Solaris x86 edition.
    Could anybody in this world help me? Or has anybody the same problems? You know - it's just for my collegues: they are now calling me brad...
    Greetings
    SERGEJ

    Two choices:
    - Call Apple (1-800-MY-APPLE) and order, for nominal cost, the original DVDs.
    - Or order the SN disk from Apple
    http://store.apple.com/us/product/MC573/mac-os-x-106-snow-leopard

Maybe you are looking for