TNS-12505 TNS:listener could not resolve SID given in connect descriptorCause: The SID in CONNECT_DATA was not found in the listener's tables.Action: Check to make sure that the SID specified is correct. The SIDs that are currently registered with the listener can be obtained by typing "LSNRCTL SERVICES listener_name". These SIDs correspond to SID_NAMEs in TNSNAMES.ORA, or DB_NAMES in the INIT.ORA file.
同时你使用了oe,这是你数据库SID,是吗?
我已经把关于oracle的所有服务都启动了