LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 01-30-2003, 03:44 PM   #1
Boom
Member
 
Registered: Jan 2003
Distribution: Deadhat 8.0
Posts: 42

Rep: Reputation: 15
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
 
Old 01-30-2003, 04:17 PM   #2
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
mozilla is already running, start 'top' as root and kill all mozilla processes, then start mozilla from your user account.
 
Old 01-31-2003, 02:45 AM   #3
Boom
Member
 
Registered: Jan 2003
Distribution: Deadhat 8.0
Posts: 42

Original Poster
Rep: Reputation: 15
Thanks got it working.
 
Old 02-26-2003, 04:04 PM   #4
k4zau
Member
 
Registered: Feb 2003
Location: huntsville, al
Distribution: debian, opensolaris
Posts: 99

Rep: Reputation: 15
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.
 
Old 02-26-2003, 10:00 PM   #5
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
You shouldn't be running Mozilla as root anyway!
 
Old 02-27-2003, 03:07 PM   #6
k4zau
Member
 
Registered: Feb 2003
Location: huntsville, al
Distribution: debian, opensolaris
Posts: 99

Rep: Reputation: 15
I know. I don't care. Some insight into the problem would be more effective
 
Old 02-27-2003, 05:01 PM   #7
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
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.
 
Old 02-27-2003, 05:38 PM   #8
k4zau
Member
 
Registered: Feb 2003
Location: huntsville, al
Distribution: debian, opensolaris
Posts: 99

Rep: Reputation: 15
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.
 
Old 03-17-2003, 10:15 PM   #9
jost_d
LQ Newbie
 
Registered: Mar 2003
Location: California
Distribution: Fedora
Posts: 3

Rep: Reputation: 0
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
 
Old 03-17-2003, 10:29 PM   #10
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Where is the profiles directory?
 
Old 03-31-2003, 03:48 PM   #11
macx11
LQ Newbie
 
Registered: Mar 2003
Posts: 1

Rep: Reputation: 0
Arrow 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
 
Old 03-31-2003, 04:00 PM   #12
Linus VanPelt
Member
 
Registered: Mar 2003
Location: Manchester, NH, USA
Distribution: SuSE 9.1
Posts: 73

Rep: Reputation: 15
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.
 
Old 04-11-2003, 11:09 AM   #13
Crickit
Member
 
Registered: Apr 2003
Location: A whole lot of nowhere.
Distribution: Mandrake 9.1
Posts: 58

Rep: Reputation: 15
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...
 
Old 05-22-2003, 11:06 PM   #14
inveigh
LQ Newbie
 
Registered: May 2003
Posts: 1

Rep: Reputation: 0
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)
 
Old 05-26-2003, 03:20 PM   #15
oot
Member
 
Registered: Dec 2002
Distribution: Slackware 12.0
Posts: 240

Rep: Reputation: 30
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)"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
flash problem in mozilla can't find /usr/lib/mozilla ejbest Linux - Software 6 01-12-2010 10:48 AM
Mozilla and Mozilla Screen Problem satimis *BSD 12 04-11-2004 06:05 PM
Segfaults in Mozilla, Mozilla Firebird, and Mozilla Thunderbird Ninja Cow Linux - Software 2 02-02-2004 02:33 AM
Java for Mozilla and Mozilla-firebird Problem, Please help londonboi Linux - General 5 01-08-2004 06:07 AM
Problem upgrading mozilla-1.0.1 to mozilla 1.3.1 k0ljat Linux - Software 8 07-04-2003 02:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration