Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I seem to recall having this problem before, but for the life of me, I can't remember how I sorted it out.
If I try to start firefox, it just tells me to select a profile. I get the option of default or john. It doesn't matter which one I select, it just responds with "profile in use" and to do a new one.
I seem to recall last time I did that I lost all my bookmarks etc.
I've viewed a couple of threads on this - and tried the ones that suggested modifying the start command from mozilla/firefox -U% to mozilla/firefox -Profilemanager (and variations of that).
None of these seem to work and I currently can't get into firefox.
Could someone remind me how this is corrected please ???
Distribution: Debian Etch (w/ dual-boot XP for gaming)
Posts: 282
Rep:
I had something similar a while back and my memory is also a bit hazy - but I seem to remember there was some kind of (hidden?) lock file on the profile. This was on a Solaris box so my not being able to remember the actual location probably doesn't matter too much... Currently, my Firefox doesn't seem to worry about profiles (I can start many instances of it without being asked) so I can't check for any lock files. Perhaps looking in ~/.mozilla/firefox for all files might turn something up?
Logoff/reboot & then reopen mozilla, make sure that you first open a browser instance and wait for sometime rather than making too many clicks at same time, which causes the said problem.
Also whenever youa re stuck up in this manner, the box which sys profile in use also suggests to create a new one, so you could always use them.
As far as your bookmarks are concerned you will find them in $HOME/.mozilla/firefox
This happened to me...I stopped the process. You are being asked if you want to continue using the currently running browser by "Default" or "John" user. For some reason Firefox's process does not end properly.
I've managed to get it working - though whether it's the correct way or not I don't know, I've changed the command in the taskbar shortcut, back to just "mozilla-firefox", deleted the default profile and logged out and back in again - "it" seems to be starting now.
Although you can get all your bookmarks back if you go to your home folder and look for the .firefox file. In there you will find folders which are a folder for each profile. in those there is an xml file that keeps your booksmarks. you can open them and add all the lines into one. Delete the profiles(while firefox is not running) and then start firefox, make a new profile and copy that into the new profile folder. That way you would get back your bookmarks at least. Otherwise you can copy the content of the whole directory and recopy it into the newly created one.
Dtsazza was on the right path. The reason that the profile is unavailable is because the profile has a lockfile left from an unclean shutdown. The lock file is in
Code:
~/.mozilla/fifefox/(random string)/lock
If you do
Code:
ls ~/.mozilla/firefox/
You'll get the directory name that contains the lock file, named appropriately, lock. Just remove the lockfile, and you'll have access to the profiles again.
Distribution: Debian Etch (w/ dual-boot XP for gaming)
Posts: 282
Rep:
Having just had this happen to myself, I can confirm that JimBass is completely right. (Though the random string isn't entirely random - it's more like "<random string>.<profile name>", which may be useful if you have several profiles and thus several 'random' directories with lockfiles in).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.