This happened to me before, but I never bothered to document the recovery process. I learned my lesson, thank you very much:
- step #0: find the location of the default Firefox user profile, and then cd to it:
- step #1: remove the previous session's lock file:
rm .parentlockyou may be lucky, and all may just work now. I wasn't, and it didn't.
- step #2: if Firefox complains that bookmarks and history have been disabled, then you should move away the places database and try again:
mv places.sqlite places.sqlite.backup mv places.sqlite-journal places.sqlite-journal.backupthe good news is that Firefox will most likely start with your bookmarks intact, the bad news is that you've just reset your browsing history...
- step #3: I thought I was out of the woods - everything looked normal enough, until I restarted Firefox - a few hours later - only to discover that Firefox stopped saving cookies, so that I had to re-login to every web site that required it (so many!). I fixed this by moving away the cookies database:
mv cookies.sqlite cookies.sqlite.backup mv cookies.sqlite-journal cookies.sqlite-journal.backup