{"id":1089,"date":"2011-06-06T09:46:29","date_gmt":"2011-06-06T03:46:29","guid":{"rendered":"http:\/\/techsatwork.com\/blog\/?p=1089"},"modified":"2016-01-07T11:31:06","modified_gmt":"2016-01-07T05:31:06","slug":"a-case-of-bad-network-configuration-file","status":"publish","type":"post","link":"https:\/\/techsatwork.com\/?p=1089","title":{"rendered":"A case of bad network configuration file"},"content":{"rendered":"<p>DB2 works just great on any platform and it has becoming a lot more better with every release. \u00c2\u00a0This has nothing to do with this post ! \u00c2\u00a0Just wanted to say that ! \u00c2\u00a0Recently one of my novice system admin was configuring a DB2\/AIX server and somehow screwed up the IPv6 configuration. \u00c2\u00a0This caused db2 commands to appear to hang and \u00c2\u00a0responded extremely slow. \u00c2\u00a0DB2 commands returned the following message:<\/p>\n<p><span style=\"color: #99cc00;\"><em>DB21015E The Command Line Processor backend process request queue or input<\/em><\/span><br \/>\n<span style=\"color: #99cc00;\"><em>queue was not created within the timeout period. <\/em><\/span><\/p>\n<p>Starting with DB2 V9.1 when DB2 calls AIX with getaddrinfo(), it will ask for both an IPv4 and an IPv6 address. \u00c2\u00a0When the\u00c2\u00a0server \u00c2\u00a0does not have IPv6 configured, it is time consuming for AIX to attempt to get an IPv6 address before it fails. The\u00c2\u00a0AIX resolver will first get the address locally, then if that fails, it will go to the DNS server.\u00c2\u00a0Since DB2 relies on AIX for getting address information, this cause DB2 commands to appear to be hanging.<\/p>\n<p>Inorder forAIX resolver to return both IPv4 and IPv6 address, ensure the \/etc\/netsvc.conf file has the entry :<br \/>\n<span style=\"color: #99cc00;\"><em>hosts=local,bind<\/em><\/span><\/p>\n<p>For servers that do not have IPv6 configured, you should configure the<tt>\/etc\/netsvc.conf<\/tt> file as follows:<br \/>\n<span style=\"color: #99cc00;\"><em>hosts=local4,bind4<\/em><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>DB2 works just great on any platform and it has becoming a lot more better with every release. \u00c2\u00a0This has nothing to do with this post ! \u00c2\u00a0Just wanted to say that ! \u00c2\u00a0Recently one of my novice system admin was configuring a DB2\/AIX server and somehow screwed up the IPv6 configuration. \u00c2\u00a0This caused db2 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-container-style":"default","site-container-layout":"default","site-sidebar-layout":"default","site-transparent-header":"default","disable-article-header":"default","disable-site-header":"default","disable-site-footer":"default","disable-content-area-spacing":"default","footnotes":""},"categories":[3],"tags":[943,620,623,627,621,628,626,622,618,625,624,619],"class_list":["post-1089","post","type-post","status-publish","format-standard","hentry","category-db2","tag-db2","tag-db2-command-hangs","tag-db2-command-line-slow","tag-db2-command-slow","tag-db2-command-slow-response","tag-db2-hangs","tag-db2-netsvc-conf","tag-db2-responding-slow","tag-db21015e","tag-ipv4","tag-ipv6","tag-netsvc-conf"],"_links":{"self":[{"href":"https:\/\/techsatwork.com\/index.php?rest_route=\/wp\/v2\/posts\/1089","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techsatwork.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techsatwork.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techsatwork.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techsatwork.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1089"}],"version-history":[{"count":3,"href":"https:\/\/techsatwork.com\/index.php?rest_route=\/wp\/v2\/posts\/1089\/revisions"}],"predecessor-version":[{"id":1503,"href":"https:\/\/techsatwork.com\/index.php?rest_route=\/wp\/v2\/posts\/1089\/revisions\/1503"}],"wp:attachment":[{"href":"https:\/\/techsatwork.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1089"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techsatwork.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1089"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techsatwork.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1089"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}