1.ORA-00054: 资源正忙, 但指定以 NOWAIT 方式获取资源
Reason1:web服务器占用了表,关掉web就行了。谢谢各位。
Reason2:他人在用同一个表空间或在同一时间共同操作
2.FRM-40505: orACLE 无法查询
ToolTips:把菜单换为默认菜单。运行出现“FRM-40505 orACLE无法查询”时,选择Help->Display Error。你将看到出错的查询语句,和具体的Oracle错误号
这个错误经常出现在一些 数据库项没有对应column的情况下
Solution:
1、block中有若干个item,而这些item的“DataBase Item”属性为Yes,但“Column Item”属性的值却为空,所以不能查询。
解决办法是:给这些item的“Column Name”属性指定Table/view中的Column
2、block中有非数据库字段,而这些item的“DataBase Item”属性为Yes。
解决方法:设置这些item的“DataBase Item”属性为No。
3.FRM-41839:在临时记录缓冲区文件/tmp/ztYpaa.tmp中磁盘的输入/输入错误
原因:是/TMP目录的空间用完了
解决办法:(从metalink上找的)
fact: oracle Application Object Library
symptom: FRM-41839: Disk I/O error on temporary record buffer file
/var/tmp/AAAJGaa9Z.TMP
symptom: Querying Values in a value set/Rows in row sets
change: NOTE ROLE: Also note that per Note 157385.1, this error occurs when
a query is performed which returns a large number of records. Forms is trying
to create a temporary file in which to place the results of the query. There
is not enough disk space on the drive which is assigned to TEMP/TMP. Either
free up more space or move the TEMP directory to a different drive.
cause: The /var/tmp referenced in the error message was on Web/Forms
tier.
fix:
There are 3 possible solutions:
1. Create a soft link to a mount point with more disk space
2. Add more disk space.
3. Set the TMPDIR environment variable and manually start the forms server. See
How to Change the Directory for the Forms Server Temporary File
4.FRM-10095: Assertion failed in iewbdbc_oracle_to_id
Cause: An internal inconsistency was detected. Action: Contact an oracle support representative, and proceed with caution.
Try to remove the timestamp datatype from the tables or make the block manually without using the wizard
数据表字段中含用timestamp类型的值,将timestamp类型改为date的值就OK了
5.PACKAGE BODY DEZAI.UBS_USER_ACTION 编译错误
错误:PLS-00428: 在此 Select 语句中缺少 INTO 子句
行:7
文本:select * from UBS_USer where USERID=DuserID;
在pl/sql中,selelct 的结果一定要用into 放在自定义的变量中
6.ORA-00942:表或视图不存在
select *
from all_objects
where object_type in ('TABLE','VIEW')
and object_name = 'mytest;
有这个表,而且owner也是我登陆的用户,怎么回事呀
select * from "mytest“
solution:估计是没有权限,用管理员帐号对此用户分配权限
7.ORA-01219: 数据库未打开: 仅允许在固定表/视图中查询
orA-01033:ORACLE initialization or shutdown in progress
solution:
(1)运行语句:
Alter DATABASE OPEN
再运行语句
startup mount;
在PL\SQL的SQL窗口中运行
sql>select group#,sequence#,archived,status from v$log;
得到结果
1 1 35 NO INACTIVE
2 3 34 NO INACTIVE
3 2 36 NO CURRENT
sql>alter database clear logfile group 1;
sql>alter database clear logfile group 3;
在运行里执行:conn internal/oracle as sysdba进行SQL模式
sql>shutdown immediate
sql>startup mount
sql>alter database open;
把以上这些步骤执行一下,看在哪里报错了,这就是手工启动数据库。
8.动态执行表不可访问,本会话的自动统计被禁止"错误解决
grant select on v_$statname to thirdangle;
grant select on v_$sesstat to thirdangle;
grant select on v_$session to thirdangle;
grant select on v_$mystat to thirdangle;
thirdangle就是要被授权的用户名
9.FRM-40505: orACLE error: unable to perform query.
1、block中有若干个item,而这些item的“DataBase Item”属性为Yes,但“Column Item”属性的值却为空,所以不能查询。
解决办法是:给这些item的“Column Name”属性指定Table/view中的Column
2、block中有非数据库字段,而这些item的“DataBase Item”属性为Yes。
解决方法:设置这些item的“Da