{"id":38,"date":"2018-08-01T08:48:16","date_gmt":"2018-08-01T12:48:16","guid":{"rendered":"http:\/\/www.dev-notes.com\/blog\/?p=38"},"modified":"2018-08-02T08:48:26","modified_gmt":"2018-08-02T12:48:26","slug":"large-listener-log-file-size-causing-oracle-listener-to-fail","status":"publish","type":"post","link":"https:\/\/www.dev-notes.com\/blog\/2018\/08\/01\/large-listener-log-file-size-causing-oracle-listener-to-fail\/","title":{"rendered":"Large listener.log file size causing Oracle Listener to fail"},"content":{"rendered":"<p>Recently, I ran into a case in which the user was attempting to log on to a database, but the log on process was simply churning and churning without coming to an end.  When I tried to perform a TNSPING against it, that process also failed to return any results, or at least not in a reasonable amount of time.<\/p>\n<p>Thinking that it might be caused by a dead listener, I went on to the server and attempted to use the LSNRCTL command to restart the listener.  Surprisingly, I was encountered with a number of errors, including &#8220;TNS-12541: TNS:no listener&#8221; and &#8220;TNS-12560: TNS:protocol adapter error&#8221;.<\/p>\n<p>I was able to find a much more knowledgeable DBA to locate root problem &#8212; On this Windows-hosted Oracle database server, the listener.log file had grown too large.  Our solution:<\/p>\n<p>1. Archive the old listener.log file<br \/>\n2. Create an empty file by the same name<\/p>\n<p>After those two action, the listener was able to restart successfully, allowing user connections once again.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Listener of an Oracle database running on Windows might fail due to a large listener.log file<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[],"class_list":["post-38","post","type-post","status-publish","format-standard","hentry","category-oracle"],"_links":{"self":[{"href":"https:\/\/www.dev-notes.com\/blog\/wp-json\/wp\/v2\/posts\/38","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dev-notes.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dev-notes.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dev-notes.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dev-notes.com\/blog\/wp-json\/wp\/v2\/comments?post=38"}],"version-history":[{"count":2,"href":"https:\/\/www.dev-notes.com\/blog\/wp-json\/wp\/v2\/posts\/38\/revisions"}],"predecessor-version":[{"id":290,"href":"https:\/\/www.dev-notes.com\/blog\/wp-json\/wp\/v2\/posts\/38\/revisions\/290"}],"wp:attachment":[{"href":"https:\/\/www.dev-notes.com\/blog\/wp-json\/wp\/v2\/media?parent=38"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dev-notes.com\/blog\/wp-json\/wp\/v2\/categories?post=38"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dev-notes.com\/blog\/wp-json\/wp\/v2\/tags?post=38"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}