An error from listener
Recently I clone an identical EBS environment from PROD, but when I start app services I find that the concurrent manager can't be started due to the listener of app tier.the error is the following:
LSNRCTL> start
Starting /oracle/prodora/8.0.6/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 8.0.6.3.0 - Production
Log messages written to /oracle/prodora/8.0.6/network/admin/apps_pko.log
Listening on: (ADDRESS=(PROTOCOL=tcp)(DEV=6)(HOST=172.17.11.72)(PORT=1526))
Attempted to listen on: (ADDRESS=(PROTOCOL=ipc)(PARTIAL=yes)(QUEUESIZE=1))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Error: 2: No such file or directory
I notice that the end of error info is about Linux Error which shows no such file or directory.
The root cause is due to the missing of hidden directory /var/tmp/.oracle. This directory contains a number of 'special' socket files that are used by local clients to connect via the IPC protocol (sqlnet) to various Oracle processes including the TNS listener.
So the solution is so simple, just like that:
[root@oracle422 tmp]# mkdir .oracle
[root@oracle422 tmp]# chown -R oracle:oinstall /var/tmp/.oracle
[root@oracle422 tmp]# cd .oracle
[root@oracle422 .oracle]# ll
total 4
srwxrwxrwx 1 oracle oinstall 0 May 16 13:20 s#18628.1
[root@oracle422 .oracle]#
[root@oracle422 .oracle]#
[oracle@oracle422 PKO_oracle422]$ lsnrctl
LSNRCTL for Linux: Version 8.0.6.3.0 - Production on 16-MAY-2011 10:36:46
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Welcome to LSNRCTL, type "help" for information.
LSNRCTL> set cur APPS_PKO
Current Listener is APPS_PKO
LSNRCTL> start
Starting /oracle/prodora/8.0.6/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 8.0.6.3.0 - Production
Log messages written to /oracle/prodora/8.0.6/network/admin/apps_pko.log
Listening on: (ADDRESS=(PROTOCOL=tcp)(DEV=6)(HOST=172.17.11.72)(PORT=1526))
Connecting to (ADDRESS=(PROTOCOL=TCP)(Host=oracle422)(Port=1526))
STATUS of the LISTENER
------------------------
Alias APPS_PKO
Version TNSLSNR for Linux: Version 8.0.6.3.0 - Production
Start Date 16-MAY-2011 13:19:09
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security OFF
SNMP OFF
Listener Log File /oracle/prodora/8.0.6/network/admin/apps_pko.log
Services Summary...
FNDFS has 1 service handler(s)
FNDSM has 1 service handler(s)
The command completed successfully
LSNRCTL>
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/38542/viewspace-1049930/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Listener refused the connection with the following error:ORA-12514, TNS:listenerError
- MySQL案例09:Last_IO_Error: Got fatal error 1236 from master when reading data from binary logMySqlASTErrorGo
- 解決docker: Error response from daemon故障DockerError
- 解決ERROR 1030 (HY000): Got error 168 from storage engine apparmorErrorGoAPP
- PSQLException: ERROR: failed to find conversion function from unknown to charSQLExceptionErrorAIFunction
- docker無法拉取(pull)映象Error response from daemonDockerError
- MySQL主從複製報錯:Got fatal error 1236 from master when reading data fromMySqlGoErrorAST
- Maven+spring 報錯:Error configuring application listener of class org.springframework.web.contMavenSpringErrorAPPFrameworkWeb
- Listener
- 解決docker啟動映象報錯:docker: Error response from daemonDockerError
- JSON parse error: Cannot deserialize value of type `java.time.LocalDateTime` from StringJSONErrorJavaLDA
- [kubernetes]Error from server (BadRequest):container install-cni is not valid for pod kube-dnsErrorServerAIDNS
- Nginx編譯時error: assignment makes pointer from integer without a cast處理Nginx編譯ErrorAST
- cURL error 52: Empty reply from server GitHub 三方登入報錯ErrorServerGithub
- Error response from daemon: Get "https://registry-1.docker.io/v2/": netErrorHTTPDocker
- JavaWeb-ListenerJavaWeb
- Filter&ListenerFilter
- fitter&listener
- docker image rm發生錯誤 Error response from daemon: conflict: unable to remove repository referenceDockerErrorREM
- Error response from daemon: user declined directory sharing G:Config-Centerconfig acos-server.propertiesErrorServer
- 4.5.1.3 srvctl add listener
- 7、listener監聽
- listener_scan1.log、listener.log監聽日誌清理
- mysql 8 報錯 ERROR 1872 (HY000): Slave failed to initialize relay log info structure from the repositoryMySqlErrorAIStruct
- appium 初始化安裝的時候報錯 Error getting strings.xml from apkAPPErrorXMLAPK
- 重啟docker服務後,容器啟動報錯:Error response from daemon: id already in useDockerError
- Presto Event Listener開發REST
- Sanic listener() 方法/函式函式
- ORACLE之手動註冊監聽listener。alter system set local_listener="XXX"Oracle
- Oracle OCP(43):listener.oraOracle
- Oracle listener log配置與管理Oracle
- ORA-00130: invalid listener address
- Cookie,Session Filter,Listener詳解CookieSessionFilter
- oracle-listener 4GOracle
- From now on
- Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.dockerErrorHTTPDockerTCP
- SpringBoot如何註冊Servlet、Filter、ListenerSpring BootServletFilter
- 深入理解Flutter的Listener元件Flutter元件
- 關於RAC的remote_listenerREM