Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

As my laptop hard rive was knackered I was adivsed to use ubuntu, it set-up perfectly. But i tried downloading Google Chrome and Flash Player because I couldnt watch any videos and now Firefox has become unresponsive.

It says

Firefox is already running but it is not responding. To open a new window, you must first close the exisitng firefox process or restart your system.

I tried restarting but that hasn't worked.

Ubuntu also asked me if i wanted to do a update which I did, could this be a problem also. When I try to delete the files, it tells me the following:

The link ''lock'' is broken. move it to the rubbish bin.

This link cannot be used, because it's target '127.0.1.1;+1885'' doesn't exist

  • Killing the process does not work either.
share|improve this question
add comment

5 Answers

Open a terminal (most likely with control + alt + t) or use the dash).

From the terminal, with this command you can find the Process ID (pid) of firefox

ps -u $USER -f | grep firefox | awk '{print $2}' | head -1

Take the resulting number, and run the following command in the terminal window

kill -9 <pid>

but replace <pid> with the output from the first command.

share|improve this answer
    
so the number that came up is 8188 where do i put it –  James Tweed Nov 19 '12 at 19:40
    
could you tell me the exact code to put in as it says 'invalid signal specification' am i doing it wrong –  James Tweed Nov 19 '12 at 19:47
    
kill -9 8188 that's what you have to enter. –  Uri Herrera Nov 19 '12 at 19:48
    
it say's command not found –  James Tweed Nov 19 '12 at 19:54
    
The kill command was not found? If you modify what I wrote above to be ps -u $USER -f | grep firefox | awk '{print $2}' you can use the kill command for all those numbers. –  philshem Nov 19 '12 at 20:22
show 2 more comments

Open the file manager and press Ctrl+H to see hidden files. GO into .mozilla->firefox and there should be one folder in there, possibly with a very weird name. Now, go into that folder and delete the files lock and .parentlock to allow Firefox to access its SQlite database.

share|improve this answer
    
would file manager be in file system –  James Tweed Nov 19 '12 at 11:38
    
gone into the folder and there's 'crash reports' ido6h0pe.default and 'profiles.ini –  James Tweed Nov 19 '12 at 11:42
    
It won't let me delete anything. –  James Tweed Nov 19 '12 at 11:45
    
@JamesTweed Press Ctrl+H as .lock is hidden/ –  hexafraction Nov 19 '12 at 13:08
    
where's file manager –  James Tweed Nov 19 '12 at 18:33
show 3 more comments

Even though the Firefox GUI isn't visible, the process is likely still running in the background. You can see the process number with ps -e | grep firefox and using kill # to kill that process number should allow you to reopen firefox.

share|improve this answer
    
i done that but still unresponsive –  James Tweed Nov 19 '12 at 20:06
    
I reread your question. Are you saying that a full reboot still results in the same message? –  data88 Nov 19 '12 at 20:10
    
i've just restarted the laptop and once i restart it says there is file errors do i want to repair, i press F and it goes to the admin section. but i dont have a clue what to do from there –  James Tweed Nov 19 '12 at 20:15
add comment

Do a

pkill firefox 

at the terminal!

share|improve this answer
    
nope didnt do anything –  James Tweed Nov 19 '12 at 19:57
add comment

Then go for any newer version of Firefox by these commands.......After connecting it to internet try these commands.....

1.sudo apt-get install firefox(for firefox)

2.sudo apt-get install chromium-browser(for chrome)

3.sudo apt-get install flash-player(for flash player)

share|improve this answer
    
Two of those three commands have next to nothing to do with Firefox itself. "Going for a newer version" isn't a solution to the problem either. This message persists through the versions, and is fully intentional - even though it is sometimes thrown when not needed. –  FEichinger Nov 19 '12 at 11:46
    
how do i solve it then –  James Tweed Nov 19 '12 at 11:56
    
Ok....I got my mistake..... –  Venkata Sateesh Netti Nov 19 '12 at 12:06
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.