可以删除network/agent目录下的.q,.ver等文件,然后重新agentctl start即可
若提示sqlnet.ora错误,可以查看一下sqlnet.ora内容
# SQLNET.ORA Network Configuration File: D:/oracle/ora92/network/admin/sqlnet.ora
# Generated by Oracle configuration tools.
# Generated by Oracle configuration tools.
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
三层结构的sqlnet.ora的name
# NAMES.PREFERRED_SERVERS =
# (ADDRESS_LIST =
# (ADDRESS = (PROTOCOL = TCP)(HOST = MICROSOF-3D9384)(PORT = 1575))
# )
# NAMES.PREFERRED_SERVERS =
# (ADDRESS_LIST =
# (ADDRESS = (PROTOCOL = TCP)(HOST = MICROSOF-3D9384)(PORT = 1575))
# )