LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 03-27-2004, 12:54 PM   #1
raysr
Member
 
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, 12:58 PM   #2
wiBo
Member
 
Registered: Aug 2003
Location: Saint-Georges de Beauce
Distribution: Gentoo soon..
Posts: 193

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

Rep: Reputation: 47
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:
Code:
killall mozilla
 
Old 03-27-2004, 02:44 PM   #4
raysr
Member
 
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, 04:22 AM   #5
thanquol
Member
 
Registered: Aug 2003
Location: Northern Sweden
Distribution: Fedora Core 3
Posts: 52

Rep: Reputation: 15
Unhappy

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: "...no 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, 06:16 AM   #6
GarrathE
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, 09:14 AM   #7
raysr
Member
 
Registered: Nov 2003
Location: WA State
Distribution: Ubuntu 13.04
Posts: 727

Original Poster
Rep: Reputation: 31
Thanks.
 
Old 06-01-2004, 12:29 PM   #8
jkcunningham
Member
 
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/url_handler.sh installed. In your home directory, create the file ~/.urlview and put the following line in it:

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

-Jeff
 
Old 06-04-2004, 11:26 PM   #9
GokuTakesIt
LQ Newbie
 
Registered: Jun 2004
Location: Los Angeles
Distribution: rh7.3
Posts: 2

Rep: Reputation: 0
Cool

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

#!/bin/sh

#
# 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
RETURN_VAL=$?
if [ "$RETURN_VAL" -eq "2" ]; then
echo 0
return 0
else
echo 1
return 1
fi
}

# check to see if there's an already running instance or not
ALREADY_RUNNING=`check_running`

# 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
else
exec "$MOZ_DIST_BIN/run-mozilla.sh" $script_args "$MOZ_DIST_BIN/mozilla-bin" "$@"
fi
 
  


Reply



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

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

All times are GMT -5. The time now is 11:55 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