LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 04-13-2008, 11:01 AM   #1
paulpeer
Member
 
Registered: Apr 2008
Location: Antwerpen
Distribution: Mandriva 2008.0 KDE 3.5
Posts: 50

Rep: Reputation: 15
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.
 
Old 04-13-2008, 11:07 AM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
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.
 
Old 04-13-2008, 11:11 AM   #3
paulpeer
Member
 
Registered: Apr 2008
Location: Antwerpen
Distribution: Mandriva 2008.0 KDE 3.5
Posts: 50

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by ranger_nemo View Post
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...
 
Old 04-13-2008, 11:40 AM   #4
Dennis99
LQ Newbie
 
Registered: Dec 2006
Location: Gorleston, Norfolk, UK
Distribution: Debian, Manjaro, Raspian
Posts: 18

Rep: Reputation: 10
try pidof firefox-bin
 
Old 04-13-2008, 12:01 PM   #5
DragonSlayer48DX
Registered User
 
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 75
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
 
Old 04-13-2008, 12:05 PM   #6
Dennis99
LQ Newbie
 
Registered: Dec 2006
Location: Gorleston, Norfolk, UK
Distribution: Debian, Manjaro, Raspian
Posts: 18

Rep: Reputation: 10
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.
 
Old 04-13-2008, 12:11 PM   #7
DragonSlayer48DX
Registered User
 
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 75
Quote:
Originally Posted by Dennis99 View Post
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
 
Old 04-13-2008, 12:35 PM   #8
paulpeer
Member
 
Registered: Apr 2008
Location: Antwerpen
Distribution: Mandriva 2008.0 KDE 3.5
Posts: 50

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Dennis99 View Post
try pidof firefox-bin
Nope. No number appears ...
 
Old 04-13-2008, 12:38 PM   #9
paulpeer
Member
 
Registered: Apr 2008
Location: Antwerpen
Distribution: Mandriva 2008.0 KDE 3.5
Posts: 50

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Dennis99 View Post
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."
 
Old 04-13-2008, 12:50 PM   #10
paulpeer
Member
 
Registered: Apr 2008
Location: Antwerpen
Distribution: Mandriva 2008.0 KDE 3.5
Posts: 50

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by paulpeer View Post
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 ... ?
 
Old 04-13-2008, 12:52 PM   #11
DragonSlayer48DX
Registered User
 
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 75
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
 
Old 04-13-2008, 01:05 PM   #12
elliott678
Member
 
Registered: Mar 2005
Location: North Carolina
Distribution: Arch
Posts: 977

Rep: Reputation: 74
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.
 
Old 04-13-2008, 01:36 PM   #13
dasy2k1
Member
 
Registered: Oct 2005
Location: 127.0.0.1
Distribution: Manjaro
Posts: 963

Rep: Reputation: 36
ps -A | grep firefox

then
kill -9 <pid>
 
Old 04-13-2008, 01:48 PM   #14
paulpeer
Member
 
Registered: Apr 2008
Location: Antwerpen
Distribution: Mandriva 2008.0 KDE 3.5
Posts: 50

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by dasy2k1 View Post
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!
 
Old 04-13-2008, 01:49 PM   #15
paulpeer
Member
 
Registered: Apr 2008
Location: Antwerpen
Distribution: Mandriva 2008.0 KDE 3.5
Posts: 50

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by elliott678 View Post
The lock file should be in the user's home directory
No, nothing there :-(
 
  


Reply

Tags
firefox, readonly



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
thunderbird is already running but not responding wearetheborg Linux - Software 9 09-06-2011 12:52 PM
Slackware. The keyboard stops responding after "Running /etc/rc.d/rc.modules-2.6.21." kolRn Linux - Hardware 10 01-22-2008 12:02 AM
Firefox not responding. 0rinoco Linux - Newbie 2 09-24-2007 02:00 AM
Firefox is already running. . . slackwarefan Linux - Software 3 12-27-2005 06:56 PM
trying to get NIS up: ypserv running but not responding? BrianK Linux - Networking 1 06-07-2004 06:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 09:37 PM.

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