Upload
randall-may
View
9
Download
6
Embed Size (px)
DESCRIPTION
Doc 1
Citation preview
ExecutionOfOCIApplicationCausesCoreDumpAndOCI21500Error(DocID430683.1)
InthisDocument
SymptomsChangesCauseSolutionReferences
APPLIESTO:
OracleDatabaseEnterpriseEditionVersion10.2.0.1to10.2.0.2[Release10.2]SQL*PlusVersion10.2.0.1to10.2.0.2[ReleaseOracle10g]Informationinthisdocumentappliestoanyplatform.***Checkedforrelevanceon13May2014***
AIX5LBasedSystem(64bit)5.3,andcanalsooccuronmostUNIXOSwith64bit.
SYMPTOMS
ExecutionofOCIapplicationcausescoredumpandthrowserrorOCI21500.
OCI21500:Message21500notfound;Nomessagefileforproduct=RDBMS,facility=OCI;arguments:
[kope2uattr:charpass][0x0000000C1][][]
Whentheerrorhappenstheusersweresetting"setserveroutputon"fromtheOCIapplicationsession.WhilethesameapplicationworksfineforORACLEuser.
CHANGES
UpgradingfromPreviousVersionofOracletotheLaterVersionofOracle.
CAUSE
OCIapplicationonServerorClientusingBequeth(BEQ)mode(anemptyorNULLconnectstringinOCIServerAttachcall)requiresthattheTWO_TASKvariableshouldbeset.TheseissuesaregenericandcouldhappentoanyUNIX64bitOSandforprotocolslikeTCPandBEQaswell.
Bug4860003,SQLPLUSCRASHESWITHOCI21500[KOXSIHREAD1]ANDDUMPSCORE
SQLPLUScrasheswithOCI21500errorandacoredumpwhen"setserveroutputon"isruninthesamesessionwherestartupcommandisexecuted.
SOLUTION
1.SetTWO_TASKtoafullyqualifiedconnectstring,orifTNS_ADMINisset,thenyoucanset
ittoatnsnames.oraentry.
e.g.,
TWO_TASK="(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(Host=myhost)(Port=10201)))(CONNECT_DATA=(SID=DB102X)))"
exportTWO_TASK
Pleasenotethatyourhost,port,SIDcouldbedifferentthantheabove.
i.e.,SpecifythefullconnectdescriptorintheTWO_TASKenvironmentvariable,sameasinyourtnsnames.ora
2.Echothe$TWO_TASKvariableandensurethatitissettothecorrectvalue.
e.g.,
echo$TWO_TASK
3.Changethepermissionsof$ORACLE_HOMEdirectory,i.e.,
chmod+R755
toalldirectoriesunderORACLE_HOME.
Ifyoucannotchangethepermissionsontheentire$ORACLE_HOMEdirectory,youwouldatleastneedtochangethepermisssionsforthefollowingdirectories:
chmod755$ORACLE_HOME/nlschmod755$ORACLE_HOME/nls/datachmod755$ORACLE_HOME/nls/mesg
AlternativelyyoucanapplythefollowingpatchbasedonyourOS:
Patch4860003forHPUXPARISC64bitPatch6019127forSUNSolarisSPARC64bit
PleaseNotethat'Bug4860003:SQLPLUSCRASHESWITHOCI21500[KOXSIHREAD1]ANDDUMPSCORE'showsupwhentryingtosetsomeparametersontheSQLPLUSproductbuttherealproblemhappensatthegenericpartofthecode.ThecodelinesareinternaltoRDBMSGeneric.Problemwaswithpicklingandunpicklingofimageson64bit
platforms.ThisproblemthusisnotpotentiallyspecifictoSQL*PlusanditseemsspecifictotheObjectManagementlayer.ForSupportreasons,sinceitisshowsupontheSQLPLUSproduct,itmostlygetsroutedtothisProductset.