Linux under the Oracle display garbled solution

Source: Internet
Author: User

1. Log in to the Oracle user, login DBA, display garbled???

[Email protected] ~]# su-oracle

[Email protected] ~]$ Sqlplus/as SYSDBA

Sql*plus:release 10.2.0.1.0-production on Tue Jul 22 18:27:40 2014

Copyright (c) 1982, 2005, Oracle. All rights reserved.

???:

Oracle Database 10g Enterprise Edition Release 10.2.0.1.0-64bit Production

With the partitioning, OLAP and Data Mining options

Sql> exit

[[email protected] ~]$ echo $NLS _lang//view current language, return to empty


[Email protected] ~]$ pwd

/home/oracle

[email protected] ~]$ cat. Bash_profile//view Bash_profile file

#. Bash_profile


# Get the aliases and functions

If [-f ~/.BASHRC]; Then

. ~/.bashrc

Fi


# User specific environment and startup programs


Path= $PATH: $HOME/bin


Export PATH

Unset USERNAME

Oracle_base=/u01/app/oracle

Export Oracle_base

Oracle_home=/u01/app/oracle/product/10.2.0/db_1

Export Oracle_home

Oracle_sid=jiagulun

Export Oracle_sid

Path= $PATH: $HOME/bin: $ORACLE _home/bin

[[email protected] ~]$ Vi. bash_profile//number and add the following 2 lines:

Export Lang=en_us. UTF-8

Export Nls_lang=american_america. Zhs16gbk

[[Email protected] ~]$ exit//Exit and login to Oracle user

Logout

[Email protected] ~]# su-oracle


[[email protected] ~]$ Sqlplus/as SYSDBA//show Normal No???


Sql*plus:release 10.2.0.1.0-production on Tue Jul 22 18:33:14 2014


Copyright (c) 1982, 2005, Oracle. All rights reserved.


Connected to:

Oracle Database 10g Enterprise Edition Release 10.2.0.1.0-64bit Production

With the partitioning, OLAP and Data Mining options


Sql> Show user;

USER is "SYS"


This article from "Let Go bo, live out wonderful!" "Blog, be sure to keep this provenance http://ibmcn.blog.51cto.com/510174/1441865

Linux under the Oracle display garbled solution

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.