Executing orabase or .oraenv fails with error :”Failed to create XML context, error 266″ (Doc ID 1961314.1)

Last updated on JUNE 16, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.1 and later
Generic UNIX

Symptoms

Executing the orabase or .oraenv command ,fails with error:

$ . oraenv
ORACLE_SID = [ ] ? ORCL
The Oracle base has been set to Failed to create XML context, error 266

% $ORACLE_HOME/bin/orabase
Failed to create XML context, error 266

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms