netca 配置 local naming method报错-TNS-04605: Invalid syntax error: Unexpected char or LITERAL "(" befor
来源:互联网 发布:托福英语辅导机构知乎 编辑:程序博客网 时间:2024/06/05 12:29
[oracle@zoe ~]$ netca
Oracle Net Services Configuration:
ServiceAliasException: Could not enum Net Service Names: TNS-04404: no error
caused by: oracle.net.config.ConfigException: TNS-04414: File error
caused by: TNS-04605: Invalid syntax error: Unexpected char or LITERAL "(" before or at ( DESCRIPTION_LIST =
ServiceAliasException: Could not enum Net Service Names: TNS-04404: no error
caused by: oracle.net.config.ConfigException: TNS-04414: File error
caused by: TNS-04605: Invalid syntax error: Unexpected char or LITERAL "(" before or at ( DESCRIPTION_LIST =
Oracle Net Services configuration terminated by user. The exit code is -1
原因是$ORACLE_HOME/network/admin 下存在一个tnsnames.ora 文件, 而且该文件里面存在非tnsnames.ora格式的字符。
删除该文件,再次使用netca创建local naming,成功。
- netca 配置 local naming method报错-TNS-04605: Invalid syntax error: Unexpected char or LITERAL "(" befor
- Go报错 : syntax error: unexpected string, expecting comma or )
- 脚本报错:Syntax error: redirection unexpected
- Laravel:php artisan migrate报错SQLSTATE[42000]: Syntax error or access violation: 1067 Invalid default
- syntax error near unexpected token `local'
- shell编程报错:“syntax error near unexpected token `”
- rsync 脚本报错 “syntax error near unexpected token `(”
- cygwin shell报错: syntax error near unexpected token `$'{/r''
- shell编程报错:“syntax error near unexpected token `”
- shell编程报错:“syntax error near unexpected token `”
- shell---shell编程报错:“syntax error near unexpected token `”
- shell编程报错:“syntax error near unexpected token `”
- shell编程报错:“syntax error near unexpected token `”
- shell脚本数组报错Syntax error: "(" unexpected
- shell编程报错:“syntax error near unexpected token `”
- cygwin 报错“syntax error near unexpected token”
- shell 脚本报错^M: syntax error near unexpected token
- syntax error near unexpected token `$’do\r”报错问题
- COREBOOT + QEMU
- 正则表达式30分钟入门教程
- 关于struts2的namespace设置问题
- LINUX CENTOS下单网卡设置多个IP的方法(REDHAT)
- 正多边形的滚动与旋轮线下方的面积 (matrix67.com)
- netca 配置 local naming method报错-TNS-04605: Invalid syntax error: Unexpected char or LITERAL "(" befor
- UNIX IO---再谈文件描述符
- 关于 移位操作
- 【Tiny6410 And Linux】—(2.3)—使用工作队列处理按键中断——原理
- HttpClient入门
- error LNK2019: unresolved external symbol
- Linux下,对于LAMP组合,怎么查看安装时的编译参数
- ubuntu下建TFTP和NFS
- Qt 常用类 (15)—— QRadioButton