PLS-00907: cannot load library unit
I have a problem with a stored procedure that runs via cron to insert records into a large partitioned table. This was running fine until a week back it stopped working.
The error it mentioned during execution is
PLS-00907: cannot load library unit
MET.CLINICAL_DATA (referenced by MET.INSERT_CLINICAL_DATA)
MET is the owner of the CLINICAL_DATA table and the INSERT_CLINICAL_DATA procedure. This procedure is run by a user called MET_USER who has an execute privilege on MET's INSERT_CLINICAL_DATA and its tables.
So what might have caused this error. I did spend atleast 2 hours looking in the metalink and as those articles mentioned, I am neither using a database link here nor I am calling a remote procedure.
Any thoughts?
Thanks
355099,
No, not to my knowledge. But I do have another stored procedure that also runs everyday that has got DDL statements on the CLINICAL_DATA table. Some of the DDLs in that are ----
execute immediate 'alter table clinical_data drop partition part' || part_rec_l.id || ' update global indexes';
execute immediate 'alter table clinical_data split partition ' || 'last_values at ( ''' || (temp_day_l * ms_per_day_l)|| ''') into (partition part' || new_id_l
|| ', partition last_values) update global indexes';
execute immediate 'alter table clinical_data modify partition '|| 'part' || new_id_l || ' rebuild unusable local indexes';
execute immediate 'alter table clinical_data modify partition ' || 'last_values rebuild unusable local indexes';
Thank you
Similar Messages
-
PLS-00907: cannot load library unit PREORDER.GLOBALS@PREORDER
Hi all, I am getting below error while compiling the package in oracle 11g.
SQL> select version from v$instance;
VERSION
11.2.0.3.0
SQL> !uname -a
SunOS ghb1s311 5.10 Generic_142900-13 sun4u sparc SUNW,Sun-Fire-V890
SQL> SELECT owner,
object_type,
object_name,
status
FROM dba_objects
WHERE status = 'INVALID'
ORDER BY owner, object_type, object_name;
2 3 4 5 6 7
OWNER OBJECT_TYPE OBJECT_NAME STATUS
KOMPIMP PACKAGE BODY IMPORT_NI_STAMMDATEN INVALID
SQL> alter package KOMPIMP.IMPORT_NI_STAMMDATEN compile body;
Warning: Package Body altered with compilation errors.
SQL> show error
Errors for PACKAGE BODY KOMPIMP.IMPORT_NI_STAMMDATEN:
LINE/COL ERROR
0/0 PLS-00907: cannot load library unit PREORDER.GLOBALS@PREORDER
(referenced by PREORDER.MANAGE_DATEN@PREORDER)
1201/5 PL/SQL: Statement ignored
SQL> select object_name,object_type,owner,status from dba_objects where object_name like 'GLOBALS';
OBJECT_NAME OBJECT_TYPE OWNER STATUS
GLOBALS PACKAGE KOMPIMP VALID
SQL> select object_name,object_type,owner,status from dba_objects where object_name like 'PREORDER';
OBJECT_NAME OBJECT_TYPE OWNER STATUS
PREORDER DATABASE LINK KOMPIMP VALID
These package(GLOBALS') is valid then also this is not compiling.
Please suggest to solve this problem.
Thanks in AdvanceHi
Without commenting on the specific HR packages, it sounds like you are causing invalidations when you recompile.
The first thing to do is to try to minimize the scope of each recompilation. So if the body of a package A is invalid, don't recompile the specification (which will invalidate any other package B that references a function, procedure, type or package variable in A). Just recompile the body (which afaik NEVER invalidates anything else).
alter package A compile body;If you have invalid package specs (which you do now) try to recompile them in dependency order. So if package (spec) A depends on (eg references a package (header) variable or type definition in) package B, then be dure to compile B before A.
In general, you should recompile invalid specifications first, then invalid package bodies.
The tricky objects are Views - a view can depend on a package spec (if the view SQL includes a reference to a package function) and a package spec or body can of course depend on a view. Good developers try to avoid circular dependencies! So our compilation order becomes:
* Views (unless dependent on packages)
* Package specs
* Views that depend on packages
* Package bodies
(Stand-alone stored procedures and functions are a pain in the neck, as they can depend on each other and on views, packages etc).
You can try using utlrp.sql (in rdvms/admin) which calls utl_recomp.recomp_parallel - but I don't know how good this is at sorting out dependencies.
HTH
Regards Nigel -
Error: cannot load library unit CTXSYS.CTX_CONTAINS
Anyone know what might be causing this error when doing a query that uses CONTAINS?
It was working fine, then suddenly stopped working
[Oracle][ODBC][Ora]ORA-29900: operator binding does not exist ORA-06540: PL/SQL: compilation error ORA-06553: PLS-907: cannot load library unit CTXSYS.CTX_CONTAINS (referenced by CTXSYS.CONTAINS)Could you please explain what you mean by recompile packages?
Sorry - new to Oracle - I'm playing with an Eval and running on NT.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Hernan Mejia ([email protected]):
may be your packages corrupts, I haved a similar problem try to recompile and look for the status of your packages<HR></BLOCKQUOTE>
null -
Cannot load library unit problem
Dear All,
I am using Oracle Report builder 6 and Oracle DB is 8i.
OS is SUN Server.
I have the following question:
After I modify the function in the formula column, I try to compile it. Then I got the error like:
Error 907 at line 0, column 0
cannot load library unit <Scheme Name>.<Table Name> (referenced by
CF_CAL_5FORMULA)
How to solve it? Thanks......Hi,
had the same problem. Flushing the shared helped.
alter system flush shared_pool;
Regards
Helmut -
JMFSecurity Error: Cannot Load Library jmam
hi,
I get below exception when I try to run XletviewJMFExample.java program provided by sun.
JMFSecurity Error: Cannot Load Library jmam
I tried to set jmam.dll in the classpath,but I get following error when I compile program from command prompt
error reading C:\javatv_fcs\lib\jmam.dll; error in opening zip file
Please help me resolve this problem
Thanks
RajeshHello,
i am running TestTVXlet on the Fedora Core 3.
I do set the path variable, but it still shows the "JMFSecurity Error: Cannot Load Library jmam" message.
Is the problem that jmam.dll is not suitable for linux?
Any advise will be appreciated. : )
Best Regards,
Tony -
Windows XP SP3. Adobe Acrobat 9 Pro Extended.
When I start Acrobat I get this dialog. I click OK and Adobe starts:
Tiger OCR
Cannot load library
Home Dir :'C:Windows\system32', Data Dir 'C:\Windows\Tiger32'I do not have that item in my registry or a folder like that in my system. Do you have a scanner? Perhaps this is something set or improperly set the from the scanner's software. Acrobat is reading this and reporting an error since it doesn't exist.
-
FRY-00001 Cannot Load Library iamodapp.so: iamodapp.so: cannot open shared
I am installing SAP running on top of an Oracle 10g database in a Red Hat Linux 4 . My database is up and solid. However, during the post Oracle DB installation scripts, I am bombing out with the following error:
FRY-00001 Cannot Load Library iamodapp.so: iamodapp.so: cannot open shared object file: No such file or directory
Anyone else have this problem and found a solution?
Thanks & regards
Arun SinghHi Arun,
1. Copy the installation media dvd to a directory on a files system
2. change directories into the sub-directory which contains the executable (sapinst)
3. run the command sapinst -extract
4. It will unpack the missing libraries into the same directory where you executed the command..
5. I copied these libraries to /oracle/<SID>/102_32/lib
6. Stop and restart the installation
Hope this helps. -
Within Firefox and websites visited within Firefox, whenever I try to print using my Lexmark Z605 printer, the error message "Cannot load library LXBCPRP.DLL, using default '' appears. The printer works fine from other programs and indeed worked fine from within versions of Firefox before 4.0.1, and I have even updated drivers from Lexmark, but the problem persists.
Thanks for your time, but I maintain my position. There has been no problem with my printer from purchase (5+ years ago) until Firefox 4, in particular no problem with Firefox 3.x. I have no problem with ANY other applications I use now and have run through them all to check.
Firefox 4.0.1 remains the prime suspect, but I am willing to try any fix that the wonderful members of Firefox community may care to suggest. -
Cannot load library iamodrfc.o
Doing a homogeneous system copy to create a test system
from the Prod instance on this installation. During the sapinst phase 'Starting
RFC Jobs (post processing)' an error occurred with the following message
in the sapinst.log:
ERROR 2005-04-05 13:27:09
FRY-00001 Cannot load library iamodrfc.o: No such file or directory.
ERROR 2005-04-05 13:27:09
FJS-00012 Error when executing script.
Can any one help me?Hi,
You can try start the system if it's not online already, logon with
user DDIC (client 000) and execute the two reports (RSWBOINS and
RADDBDIF) wit transaction SE38 manually. If you have to change the
the password for user DDIC, please change it back to default afterwards
with TA SU01 (Default password '19920706').
If the manual execution of the reports is successfull, please restart
SAPinst (do not use retry) with the option SAPINST_SKIP_ERRORSTEP.
./sapinst SAPINST_SKIP_ERRORSTEP=true, this should solve the problem.
Thanks,
George -
Having problem creating cd cover.When I try to print one out only text print no picture. Error message appears "cannot load library"LXBBPRP,DLL Default error126. Anyone have a solution to this problem?
One other note I do have parallels installed but not running on both machines.
Make sure on both machines that even if Parallels is not running that the two VPNs it creates in System Preferences > Network are set to Off.
Also make sure that in System Preferences > Sharing that Internet Sharing is nnot ON.
Later you will have to adjust the Parallels setting to NOT Share the Mac IP.
10:18 PM Sunday; June 1, 2008 -
ORA-06540 + ORA-06553: PLS-907: cannot load l
Hi,
i have one procedure called by proc some time i used to get the following error;
03/31/09 12:30 : 1398181 : colsys_cust_create procedure execution error -6540 ORA-06540: PL/SQL: compilation error
ORA-06553: PLS-907: cannot load l
what this means ? any inputs appreciated.
Thanks
PrakashHi thx for u r reply,
i checked whether this procedure is valid or not vaild before coming into form it was showing valid.
and moreever i did not compiled also once i run one more time proc it was executed and it is happening frequently. that is procedure is failing and giving this error:
03/30/09 15:30 : 1397499 : colsys_cust_create procedure execution error -6540 ORA-06540: PL/SQL: compilation error
ORA-06553: PLS-907: cannot load l
03/31/09 12:30 : 1398181 : colsys_cust_create procedure execution error -6540 ORA-06540: PL/SQL: compilation error
ORA-06553: PLS-907: cannot load l
Thanks
prakash -
Cannot load library due to dot in path
I'm trying to run the Data Loader program from Salesforce.com. I have to load a jar file, and am using the following command.
java -jar "C:\Program Files\salesforce.com\Apex Data Loader 14.0\Data Loader.jar"When I do this, I get the following error.
Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-win32-3063 in
java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:100)
at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:18)
at org.eclipse.swt.widgets.Widget.<clinit>(Widget.java:66)
at com.salesforce.lexiloader.process.LexiLoaderRunner.main(LexiLoaderRun
ner.java:53)So, I figured out that I need to tell Java where to find the library swt-win32-3063. I use the following command.
java -Djava.library.path="C:\Program Files\salesforce.com\Apex Data Loader 14.0\" -jar "C:\Program Files\salesforce.com\Apex Data Loader 14.0\DataLoader.jar"And this time I get this error.
Exception in thread "main" java.lang.NoClassDefFoundError: Files\salesforce/com\
Apex
Caused by: java.lang.ClassNotFoundException: Files\salesforce.com\Apex
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class: Files\salesforce.com\Apex. Program will exit.It looks like java sees the dot in the path, and thinks that is the name of a class. since there is obviously no file called "Files\salesforce.com\apex", it generates an error.
How do I get around this?
Edited by: haydenmuhl on Jan 27, 2009 10:34 AM
Edited by: haydenmuhl on Jan 27, 2009 10:35 AMI've been fiddling around, and I've found out it's not the dot, it's the spaces. How can I escape the spaces in the library path?
-
Apple removed DTD ... cannot load library XML
Okay, I have written a Windows script that can rebuild my iTunes library and part of it loads the iTunes library XML in an XML parser. The problem is it stopped working now because (for some reason) Apple has decided to remove the DTD from their web site (it is now 404) ... http://www.apple.com/DTDs/PropertyList-1.0.dtd ... can someone at Apple please return this to it's rightful place on your web server?
That would be nice.Sorry, but we're all pretty much just your fellow users here. I don't know if it would do any good to send feedback to Apple, but you can do so here. It's not a support mechanism, so don't expect a reply. You can also try the website feedback page.
-
We're getting an intermittent PLS-00907 error in one of our applications and I've been assigned to track down the cause.
The Oracle version is 10.2.0.2 and the error text is
PLS-00907: cannot load library unit SCHEMA_NAME.TABLE_NAME (referenced by SCHEMA_NAME.PACKAGE_NAME)
All the references to this error I have found either had to do with compiling a package or the library unit named was either a package or procedure.
In this case the library unit named is a table and when I find the error in our log file, I can see that the application had previously successfully completed the same operation about an hour earlier and if I query the LAST_DDL_TIME from DBA_OBJECTS for the table, the package, and the package body, all three are earlier than the time when the application had successfully completed the task.
It has been our observation that once the error occurs once, it will happen intermittantly every four to six hours until we have the DBA flush the shared pool. After flushing the shared pool the problem goes away for about a week.
Does anyone have any ideas where I should start looking?
Edit: Another bit of information: The first non-comment line in the package source is a variable declaration :
variable_name TABLE_NAME.column_name%TYPE;Where "TABLE_NAME" is the same table name as in the error message.
Edited by: kendenny on Sep 28, 2009 1:13 PMTry below solution.
Cause
Issue is caused by sequencing problem during the application of the patch
as discussed in bug 945478
Solution
To implement the solution, please execute the following steps:
1. Recompile the failing package:
for ex:-
alter package ABC_PACK compile;
alter package ABC_PACK compile body;
2. Restart the failed worker
Regards
Click here for [Block Corruption and recovery|http://www.oracleracexpert.com/2009/08/block-corruption-and-recovery.html]
Click here for [Redo log corruption and recovery|http://www.oracleracexpert.com/2009/08/redo-log-corruption-and-recovery.html]
http://www.oracleracexpert.com -
Cannot load a library unit database_object ( referenced by package name )
Dear Friends,
I am using Plls in Reports 6i. In One of the Pll I am Using
Backend Table in package body. I have two 8i instances. when I
comiple and save and close this plls with one instance( say
instance "A" ), its fine. it is done sucessfully. Now i am
connecting to other instance ( say instance "B" ) and open that
same pll. it is showing compilation error "Cannot load a library
unit <my_table> ( referenced by <package name> )". Now I compile
and save and close with instance "B". it is done sucessfully.
Again I am connecting to Instance "A" and open that same PLL. It
is showing same Error "Cannot load a library unit <my_table> (
referenced by <package name> )"
Anybody can tell me , How to get rid of this Problem. I dont
know its a BUG or somthing else.
I am using Window2000 as OS.
Thanks
Ashish ParikhIf a Schema has some objects in it, then you cannot drop that Schema until you remove all the objects out of it. You can change the schema owner
to another database principal and drop the user like,
Alter Authorization ON Schema::username TO DBO; Drop User username;
other option would be
Transfer the username schema objects to a different schema and drop username schema and user like.
Alter Schema DBO Transfer Username.[OBEJECTNAME] ;
--need to repeat this until you transfer all objects under this schema
Drop Schema username;
Drop User username;
Regards,
Praveen D'sa
MCITP - Database Administrator - 2008
sqlerrors
Maybe you are looking for
-
Elements v7.0 error message---need help but Adobe won't help me!!!
After using Adobe Photoshop Elements for quite a few years, my version 7.0 now gives the message: "Adobe Photoshop Elements has stopped working. A problem caused the program to stop working correctly. Windows will close the program and notify you
-
TS1702 Why ain't any of my reviews on apps being posted anymore?
Every time I post a review on any app anymore, it never gets posted, no matter if it's a good review with 5 stars or a bad one. I don't use vulgar or cursing in any review ethier. So why don't they get posted, and how do I fix this issue?
-
Calling a webservices method, paramaters are not pass correctly
Hi, I would like a Eclipse's MedRec tutorial...All project build, compil, deploy correctly. When I invoke the "public PatientWS findPatientBySsn(String pId): ---> parameter "888888888" " Webservice's method from the WBL8.1 amin console, all is workin
-
PLEASE HELP - Production ColdFusion server down
I've been running CF 8.0.1 on a Windows 2008 server for over 2 years with no problems. Tonight, IIS 7 locked up for the first time and I had to kill off the process. Afterwards, I started getting this on all requests for .cfm pages: The service is
-
Army Training Information Architecture (ATIA) courseware wont run on Safari
I am trying to work through courseware through the ATIA website (Army Training Information Architecture). I can run the courseware on my work PC but it sticks when opening the actual courseware. pop-up window opens but the content never comes up. Hav