On Tue, 2015-11-10 at 17:00 +0000, Reid Thompson wrote:
> On Tue, 2015-11-10 at 16:15 +0000, Patrick O'Callaghan wrote:
> > On Tue, 2015-11-10 at 08:02 -0500, John Lauterbach wrote:
> > > I would very much appreciate some help from the experts on this
> > > problem.  Again,
> > > evolution 3.16.5 running under Ubuntu 15.10.  When I start evolution
> > > from the
> > > command line I get "Failed to initialize NSS SQL database in
> > > sql:/etc/pki/nssdb:
> > > NSS error -8126 "
> > > 
> > > Google searches on that error do not yield ways of correcting this
> > > problem.  If
> > > I have a corrupted database, what is the syntax for running the
> > > program that
> > > corrects database error?
> > 
> > Try this:
> > 
> > cd ~/.cache/evolution/mail/
> > 
> > for i in `find . -name folders.db`
> > do
> >     echo "Rebuilding Table $i"
> >     sqlite3 $i "vacuum;"
> > done
> > 
> > Make sure Evo is completely off (--force-shutdown) before doing this.
> > 
> > poc
> > _______________________________________________
> > evolution-list mailing list
> > evolution-list@gnome.org
> > To change your list options or unsubscribe, visit ...
> > https://mail.gnome.org/mailman/listinfo/evolution-list
> 
> the nssdb folder for the user is in ~/.pki
> the system nss folder, if it exists, is in /etc/pki/
> (just as a note, in case /etc/pki/nssdb doesn't exist on your host, my system
> does not have /etc/pki and evo functions fine)
> 
> $ ag nssdb
> evolution/win32/patches/nss.patch
> 380:@@ -12,6 +12,8 @@ LIBRARY_NAME = nssdbm
> 382: MAPFILE = $(OBJDIR)/nssdbm.def
> 
> evolution-data-server/NEWS
> 4260: Bug 585301 - Use ~/.pki/nssdb for NSS SQL database, not Evolution
> directory. (David Woodhouse)
> 
> evolution-data-server/camel/camel.c
> 56:#define NSS_SYSTEM_DB "/etc/pki/nssdb"
> 132:                   * operating systems we use ~/.pki/nssdb/, which
> is
> where
> 144:                          g_get_home_dir (), ".pki/nssdb", NULL );

checked one of my other hosts ( an ubuntu box ).

rthompso@endpoint:~$ cd /etc/pki
rthompso@endpoint:/etc/pki$ ls -rlt
total 0
lrwxrwxrwx 1 root root 14 Sep 24  2014 nssdb -> /var/lib/nssdb
rthompso@endpoint:/etc/pki$ cd nssdb
rthompso@endpoint:/etc/pki/nssdb$ ls -rlt
total 44
-rw-r--r-- 1 root root 16384 Jul  8 12:58 secmod.db
-rw-r--r-- 1 root root   449 Jul  8 12:58 pkcs11.txt
-rw-r--r-- 1 root root 11264 Jul  8 12:58 key4.db
-rw-r--r-- 1 root root  9216 Jul  8 12:58 cert9.db

rthompso@endpoint:/etc/pki/nssdb$ file *
cert9.db:   SQLite 3.x database
key4.db:    SQLite 3.x database
pkcs11.txt: ASCII text
secmod.db:  Berkeley DB 1.85 (Hash, version 2, native byte-order)


_______________________________________________
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list

Reply via email to