{"id":280,"date":"2022-08-30T14:58:43","date_gmt":"2022-08-30T14:58:43","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/09\/17\/sysctl-no-such-key-error-for-ipv6-parameters-record-and-share-programming-errors\/"},"modified":"2022-08-30T14:58:43","modified_gmt":"2022-08-30T14:58:43","slug":"sysctl-no-such-key-error-for-ipv6-parameters-record-and-share-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/sysctl-no-such-key-error-for-ipv6-parameters-record-and-share-programming-errors\/","title":{"rendered":"sysctl no such key error for ipv6 parameters-Record and share programming errors"},"content":{"rendered":"<p>Recently, I observed that the ssh-ing to my ubuntu (12.04) server had become very, very slow. Typically the login would take 6-7 seconds, and there was a definite lag between me typing my commands and them showing up on the terminal. I have another Ubuntu server(11.04) on the same network, and there were no such issues with that.<\/p>\n<p>We also host a website off the 12.04 server, and that too takes inordinately long times to load up.<\/p>\n<p>So on looking around, I found that disabling ipv6 could solve the problem. I went ahead and modified the <code>sysctl.conf<\/code> file with the following parameters:<\/p>\n<pre><code>net.ipv6.conf.all.disable_ipv6 = 1\nnet.ipv6.conf.default.disable_ipv6 = 1\nnet.ipv6.conf.lo.disable_ipv6 = 1\n<\/code><\/pre>\n<p>I executed <code>sudo sysctl -p<\/code>, rebooted the system, and things seem to be much better. All the lag issues were solved.<\/p>\n<p>However, a couple of days back, we restarted the server after installing some new packages. And lo, all the connectivity lag issues were back. I verified that the <code>sysctl.conf<\/code> file still had the entries, and they did.<\/p>\n<p>However, when I tried to execute the <code>sudo sysctl -p<\/code> command again, now I&#8217;m getting<\/p>\n<pre><code>error: \"net.ipv6.conf.all.disable_ipv6\" is an unknown key\nerror: \"net.ipv6.conf.default.disable_ipv6\" is an unknown key\nerror: \"net.ipv6.conf.lo.disable_ipv6\" is an unknown key\n<\/code><\/pre>\n<p>I get it for all the ipv6 parameters. So now the connectivity is really slow, and the <code>sysctl<\/code> option seems to be jeopardized. Is there anything else I can try?<\/p>\n<p>And yeah, I just ran <code>ip a | grep inet6<\/code>, and nothing was returned. So I&#8217;m guessing the issue is not ipv6 related.<\/p>\n<p>Help, anyone? Thanks!<\/p>\n<p id=\"rop\"><small>Originally posted 2013-09-17 00:20:38. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>Recently, I observed that the ssh-ing to my ubuntu (12.04) server had become very, very slow. Typically the login would take 6-7 seconds, and there was a definite lag between me typing my commands and them showing up on the terminal. I have another Ubuntu server(11.04) on the same network, and there were no such [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-280","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/280","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=280"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/280\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=280"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=280"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=280"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}