Wednesday 26 July 2017

isql error with LANG environment variable in sybase

Tags



Issue:

Try to connect the SYBASE database using isql or isql64 command getting below error

Operating System = SUSE LINUX 12 SPS02

Sybase  ASE         = 15.7 Version

" The Context allocation routine failed when tried to load localization file!

   one or more following problem may caused the failure

  Your sybase Home Directory is /sybase/<SID> .Check the environment variable SYBASE if it     is not the one you want!

  Using local name 'POSIX' define in environment variable LANG 

  Local name "POSIX" doesn't exist in your /sybase/<SID>/locales/locales.dat file

 An error occurred when attempting to allocate localization -related structures."



Screen Shot :



Solution:

set the Environment Variable LANG variable appropriately for the region you're in.

Example :
india means

export LANG=en_US.UTF-8





EmoticonEmoticon

Note: only a member of this blog may post a comment.