{"id":1345,"date":"2012-02-21T16:37:49","date_gmt":"2012-02-21T15:37:49","guid":{"rendered":"http:\/\/www.zarrelli.org\/blog\/?p=1345"},"modified":"2012-02-21T16:42:15","modified_gmt":"2012-02-21T15:42:15","slug":"error-could-not-initialize-nss-on-debian-x86_64","status":"publish","type":"post","link":"https:\/\/www.zarrelli.org\/blog\/error-could-not-initialize-nss-on-debian-x86_64\/","title":{"rendered":"ERROR Could not initialize NSS on Debian x86_64"},"content":{"rendered":"<p>Few days ago I felt the need to setup Icedove so I could read my company email messages on my Debian 6.0 x86_64 notebook. Well, since we use Exchange I had to rely on Davmail to exchange emails with Exchange (sorry, I could not resist the joke). Well, as I checked the emails from my work account, Davmail sported the error &#8220;Could not initialize NSS&#8221;.<\/p>\n<p>Since I am a lazy guy, I checked Google for an answer, you can find it\u00a0<a href=\"http:\/\/www.unnaki.com\/2011\/07\/libnss3-so-error-on-debian-wheezy\/\">here<\/a>. I had to make just a little change cause I use a x64 OS:<\/p>\n<pre>uname -m\r\n<span style=\"color: #000000;\"><strong>x86_64<\/strong><\/span><\/pre>\n<p>Edit the file<\/p>\n<pre><span style=\"color: #339966;\">\/usr\/lib\/jvm\/java-6-openjdk\/jre\/lib\/security\/nss.cfg<\/span><\/pre>\n<p>And in this snippet<\/p>\n<pre>name = NSS\r\nnssLibraryDirectory = <span style=\"color: #ff0000;\">\/usr\/lib<\/span>\r\nnssDbMode = noDb\r\nattributes = compatibility<\/pre>\n<p>you have to change the nssLibraryDirectory value to<\/p>\n<pre>name = NSS\r\nnssLibraryDirectory = <span style=\"color: #ff0000;\">\/usr\/lib\/x86_64-linux-gnu<\/span>\r\nnssDbMode = noDb\r\nattributes = compatibility<\/pre>\n<p>If you have any problems with the nss.cfg file (backup it before you edit it), \u00a0you can always find a fresh copy in:<\/p>\n<pre>dpkg -S \/etc\/java-6-openjdk\/security\/nss.cfg\r\n<span style=\"color: #3366ff;\">openjdk-6-jre-headless<\/span>: \/etc\/java-6-openjdk\/security\/nss.cfg<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Few days ago I felt the need to setup Icedove so I could read my company email messages on my Debian 6.0 x86_64 notebook. Well, since we use Exchange I had to rely on Davmail to exchange emails with Exchange (sorry, I could not resist the joke). Well, as I checked the emails from my &hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,31,62],"tags":[388,385,386,387],"class_list":{"0":"post-1345","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-debian","7":"category-gnulinux","8":"category-sysadmin","9":"tag-davmail","10":"tag-debian-2","11":"tag-debian-6-0","12":"tag-nss","14":"without-featured-image"},"_links":{"self":[{"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/posts\/1345","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/comments?post=1345"}],"version-history":[{"count":0,"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/posts\/1345\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/media?parent=1345"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/categories?post=1345"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/tags?post=1345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}