| Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
| 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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
04-13-2008, 11:01 AM
|
#1
|
|
Member
Registered: Apr 2008
Location: Antwerpen
Distribution: Mandriva 2008.0 KDE 3.5
Posts: 50
Rep:
|
Firefox is already running, but not responding - Bug?
"Firefox is already running, but not responding". I was looking for another way instead of rebooting the system and found something about killing the lock file. But I don't find any lock file. In which directory should it be?
Thanks!
Last edited by paulpeer; 04-14-2008 at 09:28 AM.
|
|
|
|
04-13-2008, 11:07 AM
|
#2
|
|
Senior Member
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142
Rep:
|
Open a console.
Use "pidof firefox" to get the process ID.
Use "kill pid#" to kill the running Firefox.
You could get tricky if you wanted and combine the two commands... "kill $(pidof firefox)".
If you just delete the lock file, you will be able to start a new Firefox process, but the old one will still be running, and borked, and using up resources.
|
|
|
|
04-13-2008, 11:11 AM
|
#3
|
|
Member
Registered: Apr 2008
Location: Antwerpen
Distribution: Mandriva 2008.0 KDE 3.5
Posts: 50
Original Poster
Rep:
|
Quote:
Originally Posted by ranger_nemo
Open a console.
Use "pidof firefox" to get the process ID.
Use "kill pid#" to kill the running Firefox.
|
Thanks, but ... pidof firefox gives no answer ... and yet it is still running...
|
|
|
|
04-13-2008, 11:40 AM
|
#4
|
|
LQ Newbie
Registered: Dec 2006
Location: Gorleston, Norfolk, UK
Distribution: Linux Mint Debian
Posts: 7
Rep:
|
try pidof firefox-bin
|
|
|
|
04-13-2008, 12:01 PM
|
#5
|
|
Registered User
Registered: Dec 2006
Posts: 1,454
Rep:
|
Can't you just click the close button and select Force Quit in the message window?
Linux is not Windows- you shouldn't need to reboot on a software crash...
Cheers
|
|
|
|
04-13-2008, 12:05 PM
|
#6
|
|
LQ Newbie
Registered: Dec 2006
Location: Gorleston, Norfolk, UK
Distribution: Linux Mint Debian
Posts: 7
Rep:
|
I'm guessing he can't do that because ff sometimes just disappears and if you try to start it you get the message Firefox is already running, but not responding
The only way to stop it is kill it.
|
|
|
|
04-13-2008, 12:11 PM
|
#7
|
|
Registered User
Registered: Dec 2006
Posts: 1,454
Rep:
|
Quote:
Originally Posted by Dennis99
I'm guessing he can't do that because ff sometimes just disappears and if you try to start it you get the message Firefox is already running, but not responding
The only way to stop it is kill it.
|
Ah, I see. I've never had that problem. The few times it "disappeared" I was able to restart it. When it "stopped responding", my suggestion worked.
Cheers
|
|
|
|
04-13-2008, 12:35 PM
|
#8
|
|
Member
Registered: Apr 2008
Location: Antwerpen
Distribution: Mandriva 2008.0 KDE 3.5
Posts: 50
Original Poster
Rep:
|
Quote:
Originally Posted by Dennis99
try pidof firefox-bin
|
Nope. No number appears ...
|
|
|
|
04-13-2008, 12:38 PM
|
#9
|
|
Member
Registered: Apr 2008
Location: Antwerpen
Distribution: Mandriva 2008.0 KDE 3.5
Posts: 50
Original Poster
Rep:
|
Quote:
Originally Posted by Dennis99
I'm guessing he can't do that because ff sometimes just disappears and if you try to start it you get the message Firefox is already running, but not responding
The only way to stop it is kill it.
|
Precisely. FF has dissapeared. When I try to start it again, I get only this message box with "Firefox is already running, but not responding."
|
|
|
|
04-13-2008, 12:50 PM
|
#10
|
|
Member
Registered: Apr 2008
Location: Antwerpen
Distribution: Mandriva 2008.0 KDE 3.5
Posts: 50
Original Poster
Rep:
|
Quote:
Originally Posted by paulpeer
Nope. No number appears ...
|
And by the way, the command
ps ax
doesn't show Firefox either ... So I suppose I'll just have to do it the windows way: reboot ... ?
|
|
|
|
04-13-2008, 12:52 PM
|
#11
|
|
Registered User
Registered: Dec 2006
Posts: 1,454
Rep:
|
I'm not familiar with Mandriva, but in this situation with (K)Ubuntu, one only needs to open System Monitor, select the Running Processes tab, and kill the application from there.
Cheers
|
|
|
|
04-13-2008, 01:05 PM
|
#12
|
|
Member
Registered: Mar 2005
Location: North Carolina
Distribution: Arch
Posts: 977
Rep:
|
The lock file should be in the user's home directory, mine is "/home/elliott/.mozilla/firefox/8bbnsdkz.default/lock"
If it doesn't show up in the process list, it isn't running, it is just a stale lock file.
|
|
|
|
04-13-2008, 01:36 PM
|
#13
|
|
Member
Registered: Oct 2005
Location: 127.0.0.1
Distribution: Ubuntu 12.04 X86_64
Posts: 954
Rep:
|
ps -A | grep firefox
then
kill -9 <pid>
|
|
|
|
04-13-2008, 01:48 PM
|
#14
|
|
Member
Registered: Apr 2008
Location: Antwerpen
Distribution: Mandriva 2008.0 KDE 3.5
Posts: 50
Original Poster
Rep:
|
Quote:
Originally Posted by dasy2k1
ps -A | grep firefox
|
Thanks, but the result is nothing. Firefox does not appear in the process list, nor is there any lock file in my home directory. And yet if I try to start Firefox, I get this "already running" box.
As I had this problem more than once, would ik make sence to reinstall/update Firefox? But I've never done such a thing. Could someone show me how?
Thanks!
|
|
|
|
04-13-2008, 01:49 PM
|
#15
|
|
Member
Registered: Apr 2008
Location: Antwerpen
Distribution: Mandriva 2008.0 KDE 3.5
Posts: 50
Original Poster
Rep:
|
Quote:
Originally Posted by elliott678
The lock file should be in the user's home directory
|
No, nothing there :-(
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:26 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
|
|