{"id":1127,"date":"2009-09-14T09:51:36","date_gmt":"2009-09-14T14:51:36","guid":{"rendered":"http:\/\/jianmingli.com\/wp\/?p=1127"},"modified":"2009-09-14T09:51:36","modified_gmt":"2009-09-14T14:51:36","slug":"troubleshooting-oracle-tns-failed-to-start-error","status":"publish","type":"post","link":"https:\/\/jianmingli.com\/wp\/?p=1127","title":{"rendered":"Troubleshooting Oracle TNS Failed to Start Error"},"content":{"rendered":"<span id=\"Solution\"><h2>Solution<\/h2><\/span>\n<p>Remove <strong>ORACLE_HOME<\/strong> environment variable.<\/p>\n<span id=\"Scenario\"><h2>Scenario<\/h2><\/span>\n<p>I installed 10g Dev Suite on the same XP box where I had 10.2 db previously installed. Now TNSListener service failed to start.<\/p>\n<span id=\"Installation_locations:\"><h3>Installation locations:<\/h3><\/span>\n<pre>C:\\oracle\\product\\10.2.0\\db_1\\bin;\r\nC:\\DevSuiteHome_1\r\n<\/pre>\n<p>* hosts:<\/p>\n<pre lang=\"txt\">\r\n127.0.0.1     localhost\r\n10.10.10.10   mybox\r\n<\/pre>\n<p>* sqlnet.ora:<\/p>\n<pre lang=\"txt\">\r\n# sqlnet.ora Network Configuration File: C:\\DevSuiteHome_1\\network\\admin\\sqlnet.ora\r\n# Generated by Oracle configuration tools.\r\n\r\nSQLNET.AUTHENTICATION_SERVICES= (NONE)\r\nNAMES.DIRECTORY_PATH= (TNSNAMES)\r\n<\/pre>\n<p>* listener.ora:<\/p>\n<pre lang=\"txt\">\r\n# listener.ora Network Configuration File: C:\\DevSuiteHome_1\\NETWORK\\ADMIN\\listener.ora\r\n# Generated by Oracle configuration tools.\r\n\r\nSID_LIST_LISTENER =\r\n  (SID_LIST =\r\n    (SID_DESC =\r\n      (SID_NAME = PLSExtProc)\r\n      (ORACLE_HOME = C:\\oracle\\product\\10.2.0\\db_1)\r\n      (PROGRAM = extproc)\r\n    )\r\n  )\r\n\r\nLISTENER =\r\n  (DESCRIPTION_LIST =\r\n    (DESCRIPTION =\r\n      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))\r\n    )\r\n    (DESCRIPTION =\r\n      (ADDRESS = (PROTOCOL = TCP)(HOST = mybox.my.com)(PORT = 1521))\r\n    )\r\n  )\r\n\r\nTRACE_LEVEL_LISTENER = ADMIN\r\n<\/pre>\n<p>* tnsnames.ora:<\/p>\n<pre lang=\"txt\">\r\n# tnsnames.ora Network Configuration File: C:\\DevSuiteHome_1\\network\\admin\\tnsnames.ora\r\n# Generated by Oracle configuration tools.\r\n\r\nORCL =\r\n  (DESCRIPTION =\r\n    (ADDRESS = (PROTOCOL = TCP)(HOST = mybox.my.com)(PORT = 1521))\r\n    (CONNECT_DATA =\r\n      (SERVER = DEDICATED)\r\n      (SERVICE_NAME = orcl)\r\n    )\r\n  )\r\n\r\nEXTPROC_CONNECTION_DATA =\r\n  (DESCRIPTION =\r\n    (ADDRESS_LIST =\r\n      (ADDRESS = (PROTOCOL = TCP)(HOST = mybox.my.com)(PORT = 1521))\r\n    )\r\n    (CONNECT_DATA =\r\n      (SERVICE_NAME = PLSExtProc)\r\n    )\r\n  )\r\n<\/pre>\n<p>* %PATH%<\/p>\n<pre lang=\"txt\">\r\nC:\\oracle\\product\\10.2.0\\db_1\\bin;C:\\DevSuiteHome_1\\bin;C:\\DevSuiteHome_1\\jdk\\jre\\bin\\classic;C:\\DevSuiteHome_1\\jdk\\jre\\bin;C:\\DevSuiteHome_1\\jdk\\jre\\bin\\client;C:\\DevSuiteHome_1\\jlib;C:\\DevSuiteHome_1\\jre\\1.4.2\\bin\\client;C:\\DevSuiteHome_1\\jre\\1.4.2\\bin;<\/pre>\n<p>* Also tried but no help<\/p>\n<pre>\r\nnetsh winsock reset catalog\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Solution Remove ORACLE_HOME environment variable. Scenario I installed 10g Dev Suite on the same XP box where I had 10.2 db previously installed. Now TNSListener service failed to start. Installation locations: C:\\oracle\\product\\10.2.0\\db_1\\bin; C:\\DevSuiteHome_1 * hosts: 127.0.0.1 localhost 10.10.10.10 mybox * &hellip; <a href=\"https:\/\/jianmingli.com\/wp\/?p=1127\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[35],"tags":[],"class_list":["post-1127","post","type-post","status-publish","format-standard","hentry","category-oracle"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8cRUO-ib","_links":{"self":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1127","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1127"}],"version-history":[{"count":1,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1127\/revisions"}],"predecessor-version":[{"id":1128,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1127\/revisions\/1128"}],"wp:attachment":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1127"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1127"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1127"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}