Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-27-2004, 01:54 PM   #1
Registered: Nov 2003
Location: WA State
Distribution: Ubuntu 13.04
Posts: 727

Rep: Reputation: 31
Profile Manager

I am using Mozilla 1.6. Out of nowhere I got the profile manager screen saying "Mozilla cannot use the profile "Ray" because it is in use. Please choose another profile or create a new one." So it won't launch Mozilla w/o a new profile which has none of my bookmarks or settings. How can I get it back to where it was?
Old 03-27-2004, 01:58 PM   #2
Registered: Aug 2003
Location: Saint-Georges de Beauce
Distribution: Gentoo soon..
Posts: 193

Rep: Reputation: 30
Just click Cancel
Old 03-27-2004, 02:14 PM   #3
LQ Guru
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 46
When you try to click the Mozilla icon (or run "mozilla"), it is attempting to run a completely new instance on Mozilla, but you can only have once instance running under a certain profile. You only have one profile normally because that's the default and few people need to set another up.

So if you want a new window, just go to File --> New Window in Mozilla.

If you closed Mozilla completely and it is still popping that dialog up, something is wrong. You probably have to force kill mozilla like:
killall mozilla
Old 03-27-2004, 03:44 PM   #4
Registered: Nov 2003
Location: WA State
Distribution: Ubuntu 13.04
Posts: 727

Original Poster
Rep: Reputation: 31
Thanks. I restarted and it was ok.
Old 05-07-2004, 05:22 AM   #5
Registered: Aug 2003
Location: Northern Sweden
Distribution: Fedora Core 3
Posts: 52

Rep: Reputation: 15

I do also have this problem coming up now and then (not that often but anyway - it should be possible to get rid of that annoying thing).

It will probably disapeare when I restart X, but that is not a solution.

I run FC2 test-3 right now but the same issue appeares under FC1.

When i try to do like it said under this thread, I only got the message: " process killed"

and this command only gets this answer.
ps aux | grep mozilla
root 2572 0.0 0.1 4728 736 pts/1 S 11:20 0:00 grep mozilla

Anyone knows how to end this problem (finaly)?
Old 05-23-2004, 07:16 AM   #6
LQ Newbie
Registered: Aug 2003
Distribution: Red Hat Fedora
Posts: 9

Rep: Reputation: 0
Mozilla cannot user profile...

I occasionally get the same thing. This workaround from Sun is my answer:

If your system crashes or shuts down accidentally while Mozilla is running, Mozilla fails to clear the profile lock file. After you reboot your system and launch Mozilla, a dialog displays the following warning:

Mozilla cannot use the profile because it is in use. Please choose another profile or create a new one.

Remove the file $HOME/.mozilla/<profilename>/<random>/lock as a workaround.
Old 05-23-2004, 10:14 AM   #7
Registered: Nov 2003
Location: WA State
Distribution: Ubuntu 13.04
Posts: 727

Original Poster
Rep: Reputation: 31
Old 06-01-2004, 01:29 PM   #8
Registered: May 2002
Location: Seattle, WA, USA
Distribution: Gentoo
Posts: 136

Rep: Reputation: 15
This thread is a bit stale, but there is an unanswered part of the question that can still be addressed. The problem (restated) is that if one mozilla instance exists, one cannot always launch another without running into the profile manager. One can always use ^n to make a new instance, but with some imagination one can conceive of situations where this is not a desirable solution. For example: suppose you have several mozilla's up, you receive mail with a url in it and try to auto-launch mozilla from within the mail. Sometimes it won't work, and ^n only gives you a new instance without picking up the url from the mail.

Here's how I got around it. It's a hack, but it does work. I am assuming you have /usr/bin/urlview and /usr/bin/ installed. In your home directory, create the file ~/.urlview and put the following line in it:

COMMAND rm -f `find ~/.mozilla -name lock`; mozilla %s &
This will delete any existing lock files which prevents the profile manager from being activated.

Old 06-05-2004, 12:26 AM   #9
LQ Newbie
Registered: Jun 2004
Location: Los Angeles
Distribution: rh7.3
Posts: 2

Rep: Reputation: 0

To launch another instance of mozilla without being hindered by the profile manager, use the following shell script. Most of it comes from in an ealier release, but adapted here for 1.6. Just plugin your <installation path>.


# Variables
MOZ_DIST_BIN="<installation path>"
MOZ_PROGRAM="<installation path>/mozilla-bin"
MOZ_CLIENT_PROGRAM="<installation path>/mozilla-xremote-client"

check_running () {
$MOZ_CLIENT_PROGRAM 'ping()' 2>/dev/null >/dev/null
if [ "$RETURN_VAL" -eq "2" ]; then
echo 0
return 0
echo 1
return 1

# check to see if there's an already running instance or not

# If there is no command line argument at all then try to open a new
# window in an already running instance.
if [ "${ALREADY_RUNNING}" -eq "1" ] && [ -z "$1" ]; then
exec $MOZ_CLIENT_PROGRAM "xfeDoCommand(openBrowser)" 2>/dev/null >/dev/null
exec "$MOZ_DIST_BIN/" $script_args "$MOZ_DIST_BIN/mozilla-bin" "$@"


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
bypassing Profile manager in Mozilla Kilahchris Linux - Software 1 10-16-2004 03:27 AM
Mozilla 1.4 and profile manager linux_pioneer Linux - Software 5 07-22-2004 02:28 PM
mozilla profile manager HE|| again! itsjustme Linux - General 3 02-07-2004 10:15 AM
Disable Mozilla Profile Manager beajedi Linux - Software 10 01-28-2004 07:15 PM
Profile Manager for Mozilla 1.2 Qebex Linux - Software 2 09-22-2002 04:41 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:47 PM.

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