New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 631946 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Jul 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

Error initializing NSS without a persistent database: NSS error code: -5925

Reported by miguelms...@gmail.com, Jul 27 2016

Issue description

UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0

Steps to reproduce the problem:
1. I unnistalled/installed chromium (sudo apt-get purge chromium-browser and then rm ~/.config/chromium/ -rf) several times
2. sudo apt-get update
3. sudo apt-get install chromium-browser

What is the expected behavior?
Normal launch

What went wrong?
Every time i try to launch it these messages/errors occur:

$ sudo chromium-browser
[5642:5669:0727/105749:ERROR:nss_util.cc(740)] Error initializing NSS with a persistent database (sql:/home/miguel/.pki/nssdb): libsoftokn3.so: cannot open shared object file: No such file or directory
[5642:5669:0727/105749:ERROR:nss_util.cc(211)] Error initializing NSS without a persistent database: NSS error code: -5925
[5642:5669:0727/105749:FATAL:nss_util.cc(213)] nss_error=-5925, os_error=0

Crashed report ID: 

How much crashed? Whole browser

Is it a problem with a plugin? No 

Did this work before? Yes Until one week ago

Chrome version: Chromium 37.0.2062.120 Built on Ubuntu 12.04, running on Ubuntu 14.04  Channel: stable
OS Version: Ubuntu 14.04
Flash Version: Shockwave Flash 11.2 r202

This happens with google-chrome-stable as well, exactly the same thing
 
Screenshot from 2016-07-27 11:11:22.png
243 KB View Download
Cc: ashej...@chromium.org
 Issue 631948  has been merged into this issue.
Components: Internals>Network>SSL
Status: Untriaged (was: Unconfirmed)
Labels: Needs-Feedback
Why are you running with sudo?
Components: -Internals>Network>SSL Internals>Network>Certificate
No, I wasn't... That was one try between many many others, I just copied from the terminal the one with 'sudo...' by mistake and I didn't find the edit button for the report. I guess you can see from the image, the problem is the same, with sudo doesn't print "Aborted (core dumped)" but I think that's irrelevant. Thanks for the reply
It sounds like your distro has built NSS strangely/incorrectly. This may be an issue with your .pki/nssdb configuration (perhaps you or your enterprise admin recently changed this) or with your distro.

What version of libnss3 are you running? Does NSS's certutil (shipped as part of libnss3 or libnss3-util) work?

See https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/tools/NSS_Tools_certutil for documentation, but something like

certutil -L -d sql:$HOME/.pki/nssdb

should work, or should show the same error.
Thanks for the reply,

I had to install libnss3-tools (sudo apt-get install libnss3-tools), and I ran the commando you gave me, certutil -L -d sql:/home/miguel/.pki/nssdb . The error showed:

certutil: function failed: PR_LOAD_LIBRARY_ERROR: Failure to load dynamic library
libsoftokn3.so: cannot open shared object file: No such file or directory

Maybe I have to re-installed? Can you give me some pointers for how to do that. Or is there another solution?

Thanks very much
 
Screenshot from 2016-07-29 10:45:47.png
283 KB View Download
Status: WontFix (was: Untriaged)
I'm not sure, but at least that confirms the issue is in some way related to NSS/your distro, and not Chromium. Unfortunately, I don't have a good answer for NSS debugging.

I'm marking this WontFix, as it's an issue with your system installation.

Sign in to add a comment