??pl/sql???????????????ORA-12541??TNS???????????
???????????? ???????[ 2013/7/2 10:40:27 ] ????????
??????dos???????????????????PL/SQL?????????? ORA-12541 ??12154??????Oracl Net Manager ??????ú??????????????????????????????????????????D:oracleproduct10.1.0db_1 etworkadminlistener.ora ?? tnsnames.ora ??????????????????????????????????????λ?????????и????????????????listener??
????????->cmd???dos????????lsnrctl stop????lsnrctl start????????μ?????????
???????????????pl/sql???????ORA-12541:TNS:?????????
????1. ???oracleproduct10.1.0db_1NETWORKloglistener.log??
????TNSLSNR for 32-bit Windows: Version 10.1.0.2.0 - Production on 04-1?? -2010 13:38:34
????Copyright (c) 1991?? 2004?? Oracle. All rights reserved.
??????????????D:oracleproduct10.1.0db_1 etworkadminlistener.ora
????д??D:oracleproduct10.1.0db_1 etworkloglistener.log????????
????д??D:oracleproduct10.1.0db_1 etwork racelistener.trc????????
?????????????0
?????? pid=7180 ???
????????: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\.pipeEXTPROCipc)))
??????????????????: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=pc-xxx.mail.yyy.cn)(PORT=1521)))
????TNS-12542: TNS: ?????????
????TNS-12560: TNS: Э????????????
????TNS-00512: ??????????
????32-bit Windows Error: 48: Unknown error
???????????: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\.pipeEXTPROCipc)))
????2. Oracle??listener????????
????3. ??oracleproduct10.1.0db_1NETWORKADMINlistener.ora
#listener.oraNetworkConfigurationFile??D??oracleproduct10.1.0db_1
etworkadminlistener.ora
#GeneratedbyOracleconfigurationtools.
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=PLSExtProc)
(ORACLE_HOME=D??oracleproduct10.1.0db_1)
(PROGRAM=extproc)
)
)
LISTENER=
(DESCRIPTION_LIST=
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC))
)
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=TCP)(HOST=pc-xxx.mail.yyy.cn)(PORT=1521))
)
)
)
??????(ADDRESS = (PROTOCOL = TCP)(HOST = pc-xxx.mail.yyy.cn)(PORT = 1521))
???????(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
????pc-xxx.mail.yyy.cn????????
????127.0.0.1?????????????????ip?????
????4. ??oracleproduct10.1.0db_1NETWORKADMIN nsnames.ora
??????????????
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = pc-xxx.mail.yyy.cn)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)
)
??????(ADDRESS = (PROTOCOL = TCP)(HOST = pc-xxx.mail.yyy.cn)(PORT = 1521))
???????(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
????5. ?????????listener
????????->cmd???dos????????lsnrctl stop????lsnrctl start?????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11