Mozilla problem
Im having a problem with Mozilla that Ive had before in previous Linux installations.
When I try to launch the program I get an error "Mozilla cannot use the profile "default" because it is in use. Please choose another profile or create a new one. I dont really care about profiles, I just want the program to work and have all my previous settings. How can I disable this? I dont need multiple profiles, 1 is just fine for me :) Thanks |
mozilla is already running, start 'top' as root and kill all mozilla processes, then start mozilla from your user account.
|
Thanks got it working. :)
|
I'm having the same problem, except I always log in as root. Even after I kill all processes that seem to be related to Mozilla, the profile manager still comes up and it won't let me go back into my old profile because it says it's still in use. I use Mozilla 1.2 (I think 1.0.1 is still installed on the system but it was before, and never caused any trouble) The problem began when Mozilla wouldn't work, and I restarted the computer... when it came back up, this profile crap began. This is making me angry.
Thanks in advance for your help. |
You shouldn't be running Mozilla as root anyway!
|
:rolleyes: I know. I don't care. Some insight into the problem would be more effective
|
:confused: Well your not going to get any help with that attitude! No really I've had this problem before and I did fix it. Of course your situation may be different but what I did was uninstall the previous version of Mozilla. I think somehow it was using my profile from the old Mozilla when I open up the new Mozilla.
I assume you know how to uninstall it so I won't go into that. Let me know if this is "effective" for you. |
Well, I didn't mean to be a smarta** but I was a bit irked at first.. this was a very frustrating problem. Actually, once I left this site, I decided to take a chance and just uninstall and then reinstall the Mozilla RPM... I saved my bookmark file to another location and then ran the RPM; Mozilla let me put the bookmarks in the new profile folder after restart.
So I guess that's the only way to fix the problem. Thanks for the information, apparently that's the way to go. |
One reason for mozilla to not launch the default profile is the presence of a stale lock file in the profiles directory. The file is usually a link named "lock". Deleting the file should allow you to lauch the default profile again...
- Jost:) |
Where is the profiles directory?
|
Kill the mozilla-bin process
Inside your home directory is .mozilla. Navigate through default and through the next directory (it'll have a random name). Inside is a link call lock that points to 127.0.0.1:PID. The PID is the mozilla-bin Process ID. Type ps PID replacing the PID with the actual number that came after the colin. Top will not show this process because it's idling and would be at the very bottom of the list. Type kill -9 PID to kill it right away. It'll come back as normal now.
No need to remove: /home/strike/.mozilla/default/jraqn4og.slt/lock |
I've noticed that Mozilla will let you open new windows by doing Cntl-N, but if you select Mozilla from a menu or the desktop I get the error message you describe.
AFAIK, this also happens if you are switching from one desktop to another. |
The lock file is what prevents you from creating new instances of Mozilla. I was playing around with the lock file, and this is what I found:
-Everytime you open a new instance of Mozilla, a new lock file is made. -Everytime a new lock is made, it points to a new PID. -Deleting the lock file allows you to open 1 new window, then a new lock file is created. -A lock file is not made if you open a new window using Ctrl+N or File > New > Navigator Window Maybe this info will come in handy to someone. I'm still trying to find a way around the lock file, myself... |
far and away not the cleanest solution, but I ended up using an alias to clean up the mess:
alias moz 'rm /home/inveigh/.mozilla/default/jraqn4og.slt/lock ; mozilla ' killing the PID as mentioned by macx11 kills the window that created the lock (at least it does for me) |
Quote:
mozilla -remote "xfeDoCommand (openBrowser)" |
All times are GMT -5. The time now is 04:01 PM. |