尝试启动nodejs应用程序时出现此错误。 ORA-24408:无法生成唯一的服务器组名称。
我检查了所有必要的细节,一切似乎都很好。不确定我是否遗漏了任何东西或者是否需要在某处配置。
以下是主机配置文件的输出。
cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
<gave my machine ip> inches-rmtest01.aaitg.com
cat /etc/hostname
inches-rmtest01
cat /etc/sysconfig/network
# Created by anaconda
NETWORKING=yes
HOSTNAME=inches-rmtest01
我安装了oracle 12.1客户端并配置了tnsnames.ora,如下所示。
[rmtest01@inches-rmtest01 admin]$ cat tnsnames.ora
# tnsnames.ora Network Configuration File:
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = <gave ip where oracle db is installed>)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
)
)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
以下是我的sqlplus版本
[rmtest01@inches-rmtest01 admin]$ sqlplus
SQL*Plus: Release 12.1.0.2.0 Production on Sun Jul 17 16:54:55 2016
Copyright (c) 1982, 2014, Oracle. All rights reserved.
Enter user-name:
以下是我们尝试连接的数据库版本
Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64bit Production