Home » RDBMS Server » Server Administration » PLS-00905: object DBADM.TABLE1@otherDB is invalid
PLS-00905: object DBADM.TABLE1@otherDB is invalid [message #59991] Thu, 08 January 2004 04:31 Go to next message
Mimosa
Messages: 3
Registered: January 2004
Junior Member
Hello,

May be somebody could help me?
After one of table1's partitions was dropped, it's not possible to execute any blocks on it through SQL*Net.

Same SQL request from sql*plus prompt works perfectly.
Table and it's indexes are valid. What should I check?

Here is error message:
-------------------------------------------------------Connected to:
Oracle8i Enterprise Edition Release 8.1.7.2.1 - Production
With the Partitioning option
JServer Release 8.1.7.2.1 - Production

from table1@otherDB
*
ERROR at line 46:
ORA-06550: line 46, column 7:
PLS-00905: object DBADM.TABLE1@otherDB is invalid
ORA-06550: line 19, column 2:
PL/SQL: SQL Statement ignored
Re: PLS-00905: object DBADM.TABLE1@otherDB is invalid [message #59997 is a reply to message #59991] Thu, 08 January 2004 12:15 Go to previous messageGo to next message
Thiru
Messages: 1089
Registered: May 2002
Senior Member
Hi there,
I just tried dropping a partition and selecting it through sqlNet (DBLINK) and didnt have any issues(I am on 9.2 though). I dont have a 8.1.7.2.1 database to reproduce this exactly.
Are you executing through sql or Pl/SQL ( I tried both) ? Did you drop the partition while the query is executing ? Did you check metalink for bugs ?

-Thiru
Re: PLS-00905: object DBADM.TABLE1@otherDB is invalid [message #60006 is a reply to message #59997] Thu, 08 January 2004 23:44 Go to previous messageGo to next message
Mimosa
Messages: 3
Registered: January 2004
Junior Member
Hi Thiru and everyone who reads this!

I performed this operation (dropping of partition with local indexes) many times previously without any problems.
But now it's really something strange. I'll try to decsribe more detailed what I have now, may be somebody could have any ideas.

for example, such pl/sql block:

declare
cc number;
begin
select count(1) into cc from table1 where rownum<2;
end;

is processed successfully from otherDB.

BUT, when I run same from currentDB through dblink, I get as following:
----------------------------------------------------
SQL> declare
2 cc number;
3 begin
4 select count(1) into cc from table1@otherDB where rownum<2;
5 end;
6 /
declare
*
ERROR at line 1:
ORA-00600: internal error code, arguments: [[17069]], [[185376160]], [[]], [[]], [[]],
[[]], [[]], [[]]

SQL> select count(1) from table1@otherDB where rownum<2;

COUNT(1)
----------
1

SQL>

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

So, current error looks yet more serious than previous "invalid object" :(
My experianced colleague considers old session locks in otherDB's library cash.
What can be done to get rid of old sessions, except restarting DB? We have online DB... I've restarted all running processes and client programs, but it doesn't help.
I didn't checked Metalink yet, but going to do it now...

/M
Re: PLS-00905: object DBADM.TABLE1@otherDB is invalid [message #60021 is a reply to message #60006] Fri, 09 January 2004 11:58 Go to previous messageGo to next message
Thiru
Messages: 1089
Registered: May 2002
Senior Member
it looks like a bug.Your best bet is Metalink. I wasnt able to reproduce this problem.

-Thiru
Re: PLS-00905: object DBADM.TABLE1@otherDB is invalid [message #62716 is a reply to message #60006] Tue, 10 August 2004 21:39 Go to previous messageGo to next message
Amol
Messages: 12
Registered: June 2001
Junior Member
For this error :

PLS-00905: object DBADM.TABLE1@otherDB is invalid

1) Compile your package then
2) Compile your Package body.

Might be this will work.
Re: PLS-00905: object DBADM.TABLE1@otherDB is invalid [message #64601 is a reply to message #60021] Sat, 12 February 2005 02:18 Go to previous message
Raj
Messages: 411
Registered: November 1998
Senior Member
I have the same problem .When i am connecting form 6i based to 10.0.3.1 then unable to create object code.giving ora00600 error..
please advise me ....mail me in my adreess.

guru
Previous Topic: TWO_TASK preventing Oracle instance from restarting
Next Topic: BLOB Storage inline/out of line
Goto Forum:
  


Current Time: Fri Sep 27 04:24:54 CDT 2024