[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference rocks::dec_edi

Title:DEC/EDI
Notice:DEC/EDI V2.1 - see note 2002
Moderator:METSYS::BABER
Created:Wed Jun 06 1990
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:3150
Total number of notes:13466

3028.0. "ORA-01466 on build cache" by MSAM03::HOOICHING (SWS Dept Malaysia) Tue Feb 25 1997 09:48

   Hello,

   We encountered the following error when we try to build cache from
   any CommandCenter tools.

   Error Log
   ---------
   DEC/EDI GUI Server (779)     
           DBERROC (e), error opening cursor READALL
           DBTABLE (i), database table = CAF
           TRACEMOD (i), calling module=DECEDI_PCC_CACHE_CAF_L
           TRACEMOD (i), calling module=DECEDI_DB_CAF_OREADALL

           SQLERROR (e), SQL error: SQLCODE = -1466 : ORA-01466:
                  unable to read data - table definition has changed.

   We are using:
      DEC/EDI Server (Digital UNIX 3.2G)
      1. DEC/EDI V3.1A
      2. Oracle v7.3.2
      3. OBB v2.6

      PCs (WNT & Win 95)
      1. CommandCenter v3.1A (32 bit)
      2. OBB v2.6

   Any clues ???

Regards,
Hooi Ching

T.RTitleUserPersonal
Name
DateLines
3028.1Is there a DECEDI_PC.MMF already ?UTRTSC::SMEETSWorkgroup supportTue Feb 25 1997 10:0115
Hello Hooi,

Is there in /var/adm/decedi/data a file called DECEDI_PC.MMF ?

If not, perform as root 

1. decedi_stop
2. /usr/sbin/decedi_pcc -> this will create an empty DECEDI_PC.MMF
3. decedi_start

After this you should try to build the cache via the CC.

Hope this helps,

Martin
3028.2hostname changedMSAM03::HOOICHINGSWS Dept MalaysiaWed Feb 26 1997 15:5114
Hi Martin,

Thank you for your response.

We could build cache previously. We believe the ORA error could be due to
the server hostname being changed. From CC, we made changes to reflect
the new hostname. However, in the Oracle database (which we query from  
Oracle tools) still have entries of the old hostname. 
    
Is there a pre-defined procedure to handle this ?

Regards,
Hooi Ching 
3028.3METSYS::THOMPSONWed Feb 26 1997 18:2720
Hooi,

this is the DEC/EDI Notes conference, it's not a natural place to find
information about how to manage an Oracle 7 Database. There is an Oracle 
Notes file, eps::oracle, where you may find some oracle experts lurking.
The primary source should be Oracle Corporation themselves.

All we can advise upon is how DEC/EDI  uses the Database.

What exactly was done to this system?  Was it just a nodename change of the
system that was already running?
Have you just backed up some disks and moved them to another system?


>           SQLERROR (e), SQL error: SQLCODE = -1466 : ORA-01466:
>                  unable to read data - table definition has changed.

Have there been any upgrades to dec/edi recently?

Mark
3028.4METSYS::THOMPSONWed Feb 26 1997 18:3837
From the manual:

ORA-01466 unable to read data - object definition has changed

Cause:

This is a time-based read consistency error for a database object, such
as a table or index. Either of the following may have happened:

 o the query was parsed and executed with a snapshot older than the time
    the object was changed.

 o  the creation time-stamp of the object is greater than the current
     system time. This can happen if system time is set to a time earlier
     than the creation of the object

If the object creation time-stamp is greater than system time, then 
export the object's data, drop the object, re-create the object. import
objects data. 


-----------

mrt comment.

Call Oracle first.

If nothing else clears this:

1. Export all data from the database
2. re-create the database 
3. Import the data you saved earlier.

Call back here before you try this though!

Mark
3028.5MSAM03::HOOICHINGSWS Dept MalaysiaThu Feb 27 1997 10:359
In the process of trying to locate and fix the problem, we encountered 
more problems. We decided to re-install the system and it is OK now.

Thank you all for your input.

Regards,
Hooi Ching