want to kill firefox using terminal but i get firefox-bin no process found

Asked by Russell Booth

I was trying to execute a firefox process via "killall firefox-bin" in the terminal when the message came up saying "firefox-bin no process found".

I looked up on the internet and someone said that the "firefox-bin" file should be located in the directory /usr/lib/iceweasel/.

When I look in the directory, I cannot find it, does anybody know where I can download this file or how I can install this file via the command line (i.e. Firefox-bin)?

I think this should allow me to execute the firefox process via the terminal.

Question information

Language:
Polish Edit question
Status:
Answered
For:
Ubuntu firefox Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

sudo fullupgrade; lsb_release -a; uname -a; locate firefox-bin

Thanks

Revision history for this message
Russell Booth (rbooth10) said :
#2

This is the output I got in the terminal

russell@russell-Presario-V6000:~$ sudo fullupgrade; lsb_release -a; uname -a; locate firefox-bin
[sudo] password for russell:
sudo: fullupgrade: command not found
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.10
Release: 10.10
Codename: maverick
Linux russell-Presario-V6000 2.6.35-32-generic #67-Ubuntu SMP Mon Mar 5 19:39:49 UTC 2012 x86_64 GNU/Linux
russell@russell-Presario-V6000:~$

I've been using another command to execute the firefox program , it is "Pkill firefox"

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

ok try:

sudo updatedb; locate firefox-bin

What is output please?

Revision history for this message
Russell Booth (rbooth10) said :
#4

Nothing happened when I typed that command in :-

russell@russell-Presario-V6000:~$ sudo updatedb; locate firefox-bin
russell@russell-Presario-V6000:~$

I opened up firefox to test it with the "killall firefox-bin" command and I still got this :-

russell@russell-Presario-V6000:~$ killall firefox-bin
firefox-bin: no process found
russell@russell-Presario-V6000:~$

Maybe I have to stick to using "pkill firefox" as this command does the same thing as that one, I looked in both files as to where the firefox-bin script is supposed to be (2 different people said Iceweasel & firefox directory) and it's not there,as if it has been deleted.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Hmmm, can you give the output of:

apt-cache policy firefox; ps -ef | grep -i fire

Thanks

Revision history for this message
Russell Booth (rbooth10) said :
#6

Well, I that in and this is the output I got :-

russell@russell-Presario-V6000:~$ apt-cache policy firefox; ps -ef | grep -i fire
firefox:
  Installed: 11.0+build1-0ubuntu0.10.10.2
  Candidate: 11.0+build1-0ubuntu0.10.10.2
  Version table:
 *** 11.0+build1-0ubuntu0.10.10.2 0
        500 http://au.archive.ubuntu.com/ubuntu/ maverick-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ maverick-security/main amd64 Packages
        100 /var/lib/dpkg/status
     3.6.10+build1+nobinonly-0ubuntu3 0
        500 http://au.archive.ubuntu.com/ubuntu/ maverick/main amd64 Packages
russell 2400 2379 0 14:22 pts/0 00:00:00 grep --color=auto -i fire

I still got this :-

russell@russell-Presario-V6000:~$ killall firefox-bin
firefox-bin: no process found
russell@russell-Presario-V6000:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#7

It seems to me that there was some misunderstanding. I try to shed some llight on a number of items:

The executable file firefox-bin is installed as part of the firefox package for the versions up to firefox 4.0.
It is no more existing in higher versions like 11.0 which is installed on your system.

A command like 'killall firefox-bin' searches the list of running processes and terminates each process that is running the firefox-bin command.

If killall does not find any process running that executable, it comes back with the message 'no process found'.

The aim of the killall command is terminating processes, not to start a new one. If you want to start a firefox process, you have to execute the 'firefox' command, not 'killall firefox'.

We do not know what the background of the internet page mentioned in your question is, so we cannot tell what the current equivalent of that command would be, now when firefox-bin does no nore exist. What I can imagine is the following background: If you do an update to the firefox package you should make sure, that there is no process using the firefox executable files. You can stop all processes runing firefox with a killall command. If no process is running firefox, the killall command will give a warning, but that does not matter, as the aim of 'make sure no firefox process is running' has been achieved anyhow.

And one last remark: The maverick (10.10) release of Ubuntu that you are running has already been declared end of life by April 10, 2012. You should consider upgrading to a supported release. see https://wiki.ubuntu.com/Releases

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#8

Maverick is now EOL, no updates or support. I suggest you clean install with Precise (Ubuntu 12.04)

Can you help with this problem?

Provide an answer of your own, or ask Russell Booth for more information if necessary.

To post a message you must log in.