tnsping: NL-00605: national language initialization failed sqlplus Error 5

wbiadm@wbidevrk1p:[/home/wbiadm]# tnsping
NL-00605: national language initialization failed
NL-00605: national language initialization failed

wbiadm@wbidevrk1p:[/home/wbiadm]# tnsping
NL-00605: national language initialization failed
NL-00605: national language initialization failed

wbiadm@wbidevrk1p:[/home/wbiadm]# sqlplus
Error 5 initializing SQL*Plus
NLS initialization error

[@more@]

nutshell for 2hrs searching the relative information, making a lot of change on binary, env, etc.

Finally got the root cause from manual ( RTFM *_& )

Lightweight Instant Client

SQL*Plus Instant Client using the lightweight OCI package displays error messages in English only and supports only specific character sets. It is significantly smaller than SQL*Plus Instant Client using the Basic OCI package.

Valid values for NLS_LANG parameters with the lightweight Instant Client are:

  • language must always be American.

  • territory can be any valid territory supported by the Oracle Database.

  • charset is one of the following character sets:

    • US7ASCII

    • WE8DEC

    • UTF8

    • AL16UTF16

    • AL32UTF8

For example:

NLS_LANG=AMERICAN_AMERICA.UTF8

See the Oracle Database Globalization Support Guide, and NLS_LANG Environment Variable for more information about NLS settings.

Lightweight SQL*Plus Instant Client Error with Unsupported Character Set

Attempting to start SQL*Plus Instant Client with an unsupported character set will fail with the following error:

Error 5 initializing SQL*Plus
NLS initialization error

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/67/viewspace-1015732/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/67/viewspace-1015732/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值