Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
442 posts
|
Hi,
I installed Oracle C19 on AIX. There is no listener.log. How should we enable it? Thank you. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
5727 posts
|
No listener log?
Are you sure? Please check with lsnrctl status <listener_name> .. There should be log.xml path listed there.. Also in diagnostic_dest, there should be your listener log.. Example path: /u01/dbebs/product/19.0.0/admin/PROD_ebsclone/diag/tnslsnr/ebsclone/listener/trace/listener.log |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
442 posts
|
Hi,
Thank you Erman. Yes lsnrctl status <listener_name> .. gives log.xml . But in /u01/mydbs/product/19.0.0/admin/xxxe/diag/tnslsnr/listener/trace/ I do not have listener.log. Regards. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
5727 posts
|
What do you get when you search the file by name? cd /u01 find . -name listener*.log On Sat, 10 Apr 2021 at 09:01, big [via Erman Arslan's Oracle Forum] <[hidden email]> wrote: Hi, Erman Arslan, MBA Senior Director -Database & Systems @GTECH Oracle ACE (Application Technology, Databases and Engineered Systems) Apress Author - Practical Oracle E-Business Suite Oracle Certified Expert, Certified Exadata and Linux Administrator Author, Practical Oracle E-Business Suite Blog: ermanarslan.blogspot.com Forum: http://ermanarslan.blogspot.com/p/forum.html Mobile: +905334132140 |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
442 posts
|
Hi,
Thanks. $cd /u01 find . -name listener*.log $ Nothing found. Regards. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
5727 posts
|
You are on AIX right..
Try with the following; cd /u01 find . -name '*listener*' -print What is the output? Also check the listener's config.. Maybe, logging to listener.log is disable there.. Connect to the listener with lsnrctl and check the config.. LSNRCTL>set current_listener <listener_name> (if not using default LISTENER) LSNRCTL>show log_status If not enabled you can enable logging with the following; LSNRCTL>set current_listener <listener_name> (if not using default LISTENER) LSNRCTL>set LOG_STATUS on LSNRTCTL>save_config You can also try disabling and enabling the log_status.. LSNRCTL>set LOG_STATUS off LSNRCTL>set LOG_STATUS on LSNRCTL>save_config You can try this as well.. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
442 posts
|
Hi,
Thank you. find . -name '*listener*' -print ./config/listener.ora ./config/listener.ora_28jan21 LSNRCTL> set current_listener MYDB Current Listener is MYDB LSNRCTL> show log_status Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=MYDB_key)) MYDB parameter "log_status" set to ON The command completed successfully Thanks and regards. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
5727 posts
|
This post was updated on Apr 13, 2021; 11:31am.
If the log_status is already on, then disable and enable it..
Try disabling and enabling the log_status.. LSNRCTL>set LOG_STATUS off LSNRCTL>set LOG_STATUS on LSNRCTL>save_config Once you do the that, check the listener log again.. Also try to find the listener log by searching through / directory.. $cd / find . -name '*listener*' -print execute the above command with root and lets see.. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
5727 posts
|
what is your listener name?
Also try the search with; cd / find . -name '*<your_listener_name>*' -print |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
5727 posts
|
Also, you can check the files opened by a process..
I mean listener process should have already opened its log so you can check it.. /proc is our friend in these types of cases.. You are on IBM AIX , right? Check the following -> https://www.ibm.com/support/pages/how-list-files-opened-process |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
442 posts
|
Thanks. Yes we are on AIX.
In u0//diag/tnslsnr/xxx2/yyy/trace We have mydb.log With WARNING: Subscription for node down event still pending in it. It should be that? Regards. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
5727 posts
|
What is the name of your listener? 13 Nis 2021 Sal 20:18 tarihinde big [via Erman Arslan's Oracle Forum] <[hidden email]> şunu yazdı: Thanks. Yes we are on AIX. ... [show rest of quote] |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
442 posts
|
Thank you.
It should be MYDB since for status I run: lsnrctl status MYDB Regards. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
5727 posts
|
Then your listener name is mydb and your listener log name is accurate.
So what is the problem here? :) |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
442 posts
|
Hi,
Thanks Erman. The problem is that we have the following in alertlog and I would like to know where does it come from: Fatal NI connect error 12170. VERSION INFORMATION: TNS for IBM/AIX RISC System/6000: Version 19.0.0.0.0 - Production TCP/IP NT Protocol Adapter for IBM/AIX RISC System/6000: Version 19.0.0.0.0 - Production Oracle Bequeath NT Protocol Adapter for IBM/AIX RISC System/6000: Version 19.0.0.0.0 - Production Version 19.7.0.0.0 Time: 21-APR-2021 09:18:42 Tracing to file: Tns error struct: ns main err code: 12535 TNS-12535: TNS:operation timed out ns secondary err code: 12609 nt main err code: 0 nt secondary err code: 0 nt OS err code: 0 Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=xxxxx)(PORT=xxx)) Even if we can connect from Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=xxxxx)(PORT=xxx)) without problem. Best regards. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
5727 posts
|
This seems like a network issue.
Might be related with the SQLNET.RECV_TIMEOUT and / or SQLNET.SEND_TIMEOUT set in the client / server SQLNET.ORA files.. Still, you need to trace a failing connection.. Level 16 Oracle Net works.. MOS Note : SQL*Net & Oracle Net Services - Tracing and Logging at a Glance (Doc ID 219968.1) Also see : Troubleshooting Guide for TNS-12535 or ORA-12535 or ORA-12170 Errors (Doc ID 119706.1) racle Net SQLNET.SEND_TIMEOUT and SQLNET.RECV_TIMEOUT Parameters and errors ORA-12170 TNS-12535 ORA-12609 ORA-12608 (Doc ID 1335630.1) |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
442 posts
|
Hi,
Thank you. I commented these two in sqlnet.ora : SQLNET.RECV_TIMEOUT and SQLNET.SEND_TIMEOUT And no more : Fatal NI connect error 12170. Message in alertlog. Best regards. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
5727 posts
|
Good :) 23 Nis 2021 Cum 17:35 tarihinde big [via Erman Arslan's Oracle Forum] <[hidden email]> şunu yazdı: Hi, ... [show rest of quote] |
Free forum by Nabble | Edit this page |