在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
连接错误 root@ubuntu:/opt/ora10/network/admin# ls listener.ora samples shrept.lst sqlnet.ora tnsnames.ora (2),修改listerner.ora配置 SQLNET_AUTHENTICATION_SERVICES= (NTS) 修改为: SQLNET_AUTHENTICATION_SERVICES= (NONE) 我发现我的sqlnet.ora根本没有这项目设置,我的sqlnet.ora里面只有一句是NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT) SQL> startup ORACLE instance started. 3.解决问题三,sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory 方向键乱码 apt-get install libreadline5-dev //ubuntu要安装这个 wget ftp://ftp.gnu.org/gnu/readline/readline-6.2.tar.gz tar zxvf readline-6.2.tar.gz cd readline-6.2 wget ftp://ftp.gnu.org/gnu/readline/readline-6.2-patches/readline62-001 wget ftp://ftp.gnu.org/gnu/readline/readline-6.2-patches/readline62-001.sig patch -p0 < readline62-001 //打补丁 ./configure make && make install 注意:-p后面的是零,不是字母o。如果不安装apt-get install libreadline5-dev这个话,安装rlwrap,./configure老是报错。 wget http://utopia.knoware.nl/~hlub/uck/rlwrap/rlwrap-0.37.tar.gz tar zxvf rlwrap-0.37.tar.gz cd rlwrap-0.37 ./configure make && make install 注意:先装readline,然后安装rlwrap,不然./configure的时候会报错的,如下 configure: error: You need the GNU readline library(ftp://ftp.gnu.org/gnu/readline/ ) to build this program! 三,修改用户根目录下的.bashrc # some more ls aliases alias ll='ls -alF' alias la='ls -A' alias l='ls -CF' alias sqlplus='rlwrap sqlplus' //添加这一行 修改.bashrc要重起电脑。如果没有.bashrc,修改.bash_profile或者.profile文件。 |
请发表评论