Oracle错误解决集-不断补充

环境:Redhat AS4 Oracle9.2

ORA-29868: cannot issue DDL on a domain index marked as LOADING
说明:在创建索引的时候断开、重启等导致索引中断没有执行成功,之后再drop或者rebuild等操作的时候都会报此错误
解决:只能drop index ind_name force强行删除,然后再重建


Oracle9i Apache无法启动 httpd could not be started ,Error Log报错[Fri Apr 13 11:11:28 2007] [crit] (2)No such file or directory: Apache JServ encountered a fatal error; check your ApJServLogFile fo
r details if none are present in this file.  Exiting.
说明:好像直接安装完就这个错误,看了网上应该是PERL路径的设置问题
解决:
1、编辑oracle环境变量.bash_profile ,将$ORACLE_HOME/jdk/bin:$ORACLE_HOME/Apache/perl/bin:加到PATH的最前面;增加export PERL5LIB=$ORACLE_HOME/Apache/perl/lib/5.00503:$ORACLE_HOME/Apache/perl/lib/site_perl/5.005/i686-linux
export DISPLAY=127.0.0.1:0.0
2、编辑$ORACLE_HOME/Apache/Apache/bin/apachectl修改其PERL5LIB指向Apache/perl/lib/site_perl/5.005后面加上i686-linux,真闹不明白这个空指向也太明显了

ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-10700: preference does not exist: gootrip_lexer
ORA-06512: at "CTXSYS.DRUE", line 157
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 219
说明:这个是我create index id_travel_content1 on travel ( content1 ) indextype is ctxsys.context parameters('lexer my_lexer2');使用了不存在的preference
解决:提示很明显begin ctx_ddl.create_preference('my_lexer2','chinese_vgram_lexer'); end;重新创建一个就可以了,但是比较有意思的是虽然执行报错,但是索引还是创出来了,所以还得先drop索引,否则就报ORA-00955: name is already used by an existing object错误了

EXP-00056: 遇到 ORACLE 错误 6550
ORA-06550: line 1, column 41:
PLS-00302: component 'SET_NO_OUTLINES' must be declared
ORA-06550: line 1, column 15:
PL/SQL: Statement ignored
EXP-00000: 导出终止失败
说明:服务器上是9.2的版本,本地工作站是10g2,发现不能用10g2的exp expdp来导出低版本的数据
解决:用服务器上的exp导出然后再导入,但是我以前经常用9i的exp导出8i的数据啊,看来10g在很多方面都做了很大的调整

PLS-00410: duplicate fields in RECORD,TABLE or argument list are not permitted
说明:太弱智了,变量重复定义了,好好看自己写的代码,容易走马虎眼

你可能感兴趣的:(apache,oracle,linux,redhat,perl)