今天一套測試環境用戶使用過程中報ORA-00600: internal error code, arguments: [1350], [1], [23], [], [], [], [], []
查看告警日誌,很多ORA-00600.trace文件也沒有可用信息。google發現問題在於ORA_NLS10環境變量
Summary
Errors in file /database/log/diag/rdbms/test/TEST/trace/TEST_ora_31964.trc (incident=64585):
ORA-00600: internal error code, arguments: [1350], [1], [23], [], [], [], [], [], [], [], [], []
more details in the trace file...
select T.nls_territory from
fnd_territories_vl T, v$nls_valid_values V
where T.nls_territory = V.value
and V.parameter = 'TERRITORY';
ORA-00600: internal error code, arguments: [1350], [1], [23], [], [], [], [], [], [], [], [], []
Cause: The error is raised when the environment variable ORA_NLS10 is set incorrectly or pointing to a wrong location. Executing the query as APPS results to ora-00600select T.nls_territory from
fnd_territories_vl T, v$nls_valid_values V
where T.nls_territory = V.value
and V.parameter = 'TERRITORY';
ORA_NLS10 should be set to $ORACLE_HOME/nls/data/9idata
Workaround:
For E-Business Suite 12 on 11gR2, see step 7 of Document 1058763.1
Create nls/data/9idata directory
On the database server node, as the owner of the Oracle RDBMS file system and database instance, run the $ORACLE_HOME/nls/data/old/cr9idata.pl script to create the $ORACLE_HOME/nls/data/9idata directory.1. cd $ORACLE_HOME/nls/data/
2. mv 9idata 9idata_old
3. perl $ORACLE_HOME/nls/data/old/cr9idata.pl
4. check new 9idata was created!
After creating the directory, make sure that the ORA_NLS10 environment variable is set
to the full path of the 9idata directory whenever you enable the 11g Oracle home.
5. Restart database and check the query again!