LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-25-2011, 11:00 PM   #1
Huamin
Member
 
Registered: May 2011
Posts: 562

Rep: Reputation: 12
Unable to start Firefox


Hi,
Here is my Linux version
Scientific Linux release 6.0 (Carbon)

I don't know why it can't be started

Best regards
 
Old 05-26-2011, 01:15 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
How are we supposed to help with such little information? How are you trying to start Firefox? What happens when you do so? If you're not running it from a terminal, then try to do so, as there may be error messages.
 
Old 05-26-2011, 02:21 AM   #3
Huamin
Member
 
Registered: May 2011
Posts: 562

Original Poster
Rep: Reputation: 12
Many thanks Nylex. Now I type this in the terminal then nothing happens. The problem is like this.

[oracle@webserver ~]$ firefox
[oracle@webserver ~]$
 
Old 05-26-2011, 04:05 AM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,667

Rep: Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657
? is this machine connected to the net ?

this is sl6 and you posted in the "server" section
did you even install firefox ? it is not default for a server install but is for the desktop install .
 
Old 05-26-2011, 04:28 AM   #5
Huamin
Member
 
Registered: May 2011
Posts: 562

Original Poster
Rep: Reputation: 12
Thanks John. How can I check full firefox setup is there? But I'm sure that my partner did set it up.
 
Old 05-26-2011, 04:47 AM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,667

Rep: Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657
well what did you install ?
the headless ( or not) server version or the desktop version ?
to see where it is installed ( if it is ) run this
Code:
which firefox
the output should be "/usr/bin/firefox"

are you text only ?
or is Gnome ( or KDE or xfce or ? ) desktop used ?

also if you run
Code:
yum grouplist
in the "installed groups" section should be
"internet Applications " and "internet browser" & "Desktop" & "desktop Platform" & "General Purpose Desktop"

Last edited by John VV; 05-26-2011 at 04:54 AM.
 
Old 05-26-2011, 05:22 AM   #7
Huamin
Member
 
Registered: May 2011
Posts: 562

Original Poster
Rep: Reputation: 12
Many thanks. I've got these

http://www.4shared.com/photo/KvkQe2ey/fig122.html
 
Old 05-26-2011, 05:43 AM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,667

Rep: Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657
odd sl and the redhat RHN ????

that bit in the warning about yum not running as root so the RHN repo is not listed
that is odd

mixing the PAID FOR rhn for RHEL6 on sl6 (i guess that "yum-rhn-plugin " is installed )

do you have a desktop gui ?

rerun as root
Code:
su -
-- your root password --
yum grouplist
 
Old 05-26-2011, 05:52 AM   #9
Huamin
Member
 
Registered: May 2011
Posts: 562

Original Poster
Rep: Reputation: 12
Many thanks.

I've rerun it
http://www.4shared.com/photo/XdtZxl3S/fig123.html

Here is the desktop
http://www.4shared.com/photo/Ip6SkHLj/fig124.html
 
Old 05-26-2011, 07:05 AM   #10
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,667

Rep: Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657
this is making no since
seeing as
Quote:
But I'm sure that my partner did set it up.
ask your partner what they did
 
Old 05-26-2011, 09:12 AM   #11
16pide
Member
 
Registered: Jan 2010
Posts: 418

Rep: Reputation: 83
I think it could be you already have firefox running (although not displaying).
please run:
Code:
ps -edf|grep -i firefox
I suggest you kill the existing firefox processes before trying again.
then run firefox again from the command line, and tell us what it says.
If it still does not tell you anything, then here is what you can do:

/usr/bin/firefox should be a text file (a script). Edit it being super user, and change the first line to be:
Code:
#!/bin/sh -x
Then as your own user, run firefox again from the terminal, and post the output
 
Old 05-26-2011, 11:33 PM   #12
Huamin
Member
 
Registered: May 2011
Posts: 562

Original Poster
Rep: Reputation: 12
Many thanks all.

John,
Do you mena from the screenshots, the firefox was not set up yet?

Pide,

Here is what I've got

[oracle@webserver ~]$ ps -edf|grep -i firefox
oracle 4159 4129 0 11:26 pts/1 00:00:00 grep -i firefox

How to kill the existing firefox process?

And this file "/usr/bin/firefox" is readonly. Why do I need to change it?
 
Old 05-26-2011, 11:54 PM   #13
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,181

Rep: Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661
What are permissions on the file, run in a terminal: ls -l /usr/bin/firefox
post the output.
 
Old 05-27-2011, 12:05 AM   #14
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,667

Rep: Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657
Do you mena from the screenshots, the firefox was not set up yet?

maybe

a different poster did point out that ff might be already running BUT NOT VISIBLE
this dose happen
rebooting or killing the process using the pid fixes that

ask the person why set up the computer HOW thew installed firefox and the desktop
that output from "grouplist" makes NO SENSE

according to it
there is NO desktop installed
and no web browsers
and no mail client
no nothing that is in a default desktop install .
 
Old 05-27-2011, 03:40 AM   #15
16pide
Member
 
Registered: Jan 2010
Posts: 418

Rep: Reputation: 83
@huamin, the ps output means firefox is not already running. So no need to kill anything.
FYI, if you have to kill a process, you could have run:
Code:
killall firefox
And to answer your question, the edit to the firefox script I advised above means to run it in trace mode. it will tell you everything it does command by command, and we should be able to understand what is going wrong.
NB: you need to be root to edit that file
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Unable to print from Firefox dunric Slackware 7 10-15-2009 10:42 AM
unable to start SWAT in Firefox in fc7 callistussj Linux - Server 2 11-16-2008 12:47 PM
when i try to start firefox it acts like its going to start but then stops loading. krrish Red Hat 3 08-22-2007 08:32 AM
unable to start X rajeshsfo Linux - Software 1 02-02-2007 12:54 AM
unable to start royalflesh Linux - Laptop and Netbook 5 03-18-2006 08:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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