Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
|
01-30-2003, 03:44 PM
|
#1
|
Member
Registered: Jan 2003
Distribution: Deadhat 8.0
Posts: 42
Rep:
|
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
|
|
|
01-30-2003, 04:17 PM
|
#2
|
Senior Member
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692
Rep:
|
mozilla is already running, start 'top' as root and kill all mozilla processes, then start mozilla from your user account.
|
|
|
01-31-2003, 02:45 AM
|
#3
|
Member
Registered: Jan 2003
Distribution: Deadhat 8.0
Posts: 42
Original Poster
Rep:
|
Thanks got it working.
|
|
|
02-26-2003, 04:04 PM
|
#4
|
Member
Registered: Feb 2003
Location: huntsville, al
Distribution: debian, opensolaris
Posts: 99
Rep:
|
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.
Last edited by k4zau; 02-26-2003 at 04:07 PM.
|
|
|
02-26-2003, 10:00 PM
|
#5
|
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503
Rep:
|
You shouldn't be running Mozilla as root anyway!
|
|
|
02-27-2003, 03:07 PM
|
#6
|
Member
Registered: Feb 2003
Location: huntsville, al
Distribution: debian, opensolaris
Posts: 99
Rep:
|
I know. I don't care. Some insight into the problem would be more effective
|
|
|
02-27-2003, 05:01 PM
|
#7
|
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503
Rep:
|
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.
|
|
|
02-27-2003, 05:38 PM
|
#8
|
Member
Registered: Feb 2003
Location: huntsville, al
Distribution: debian, opensolaris
Posts: 99
Rep:
|
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.
|
|
|
03-17-2003, 10:15 PM
|
#9
|
LQ Newbie
Registered: Mar 2003
Location: California
Distribution: Fedora
Posts: 3
Rep:
|
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
|
|
|
03-17-2003, 10:29 PM
|
#10
|
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503
Rep:
|
Where is the profiles directory?
|
|
|
03-31-2003, 03:48 PM
|
#11
|
LQ Newbie
Registered: Mar 2003
Posts: 1
Rep:
|
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
|
|
|
03-31-2003, 04:00 PM
|
#12
|
Member
Registered: Mar 2003
Location: Manchester, NH, USA
Distribution: SuSE 9.1
Posts: 73
Rep:
|
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.
|
|
|
04-11-2003, 11:09 AM
|
#13
|
Member
Registered: Apr 2003
Location: A whole lot of nowhere.
Distribution: Mandrake 9.1
Posts: 58
Rep:
|
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...
|
|
|
05-22-2003, 11:06 PM
|
#14
|
LQ Newbie
Registered: May 2003
Posts: 1
Rep:
|
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)
|
|
|
05-26-2003, 03:20 PM
|
#15
|
Member
Registered: Dec 2002
Distribution: Slackware 12.0
Posts: 240
Rep:
|
Quote:
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.
|
Try setting your shortcuts to Mozilla to run
mozilla -remote "xfeDoCommand (openBrowser)"
|
|
|
All times are GMT -5. The time now is 08:59 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|