LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Firefox (https://www.linuxquestions.org/questions/suse-opensuse-60/firefox-491886/)

R4ms3s 10-12-2006 03:49 PM

Firefox
 
I am having a problem with Firefox. Half the time it will not come up. A quarter of the time it comes up but only to the SUSE homepage and I can go no further. The rest of the time I can maybe go to one page then it times out every friggin time.

I have tried to download the new version and i try to extract the tar:

tar -xzvf firefox-1.5.0.7.tar.gz

but i keep getting the error:

tar: firefox-1.5.0.7.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors

any ideas?
:cry:

R4ms3s 10-12-2006 03:58 PM

oh and Konqueror works fine

stress_junkie 10-12-2006 04:20 PM

You left a lot of information out such as what account you are using when you try to install Firefox, where the tar archive is located, and your current working directory when you issue the tar command. I can say one thing that is wrong with your tar command. You really need to include the p parameter so that the permissions on the files in the archive are applied when the files are extracted. Otherwise your files will be given the permissions of your current account based on its umask settings.

Let's say that the firefox-1.5.0.7.tar.gz is located in /tmp. The first thing that you want to do is log on as root. Then, since SuSE keeps Firefox in the /opt directory you need to change your current working directory to /opt. Then you should rename the existing firefox directory. Then extract the archive. Here are the commands after you log on as root.
Code:

cd /opt
mv firefox firefox-1.0.5.6
tar -xzvpf /tmp/firefox-1.5.0.7.tar.gz

Then if you had Macromedia Flash Player plugin installed in the old version of Firefox you can copy those files to the new version.
Code:

cp firefox-1.5.0.7/plugins/*flash* firefox/plugins
chmod a+rx firefox/plugins/*

You should see two files for Flash Player, firefox/plugins/flashplayer.xpt and firefox/plugins/libflashplayer.so.

Then you need to find out if there is a symbolic link in the normal PATH that points to firefox. You do this with the which command as follows.
Code:

which firefox
If it comes back with a path like /bin/firefox then you have to see if it is correct.
Code:

ls -l /bin/firefox
lrwxrwxrwx  1  root  root  4 Oct  2  13:18    /bin/firefox  -> /opt/firefox/firefox

If it looks like that then you should be okay. If it doesn't then you have to delete the link and make it like the one that I have showed you.
Code:

cd /bin
rm firefox
ln -s /opt/firefox/firefox firefox

If you don't have a link in /bin to firefox then just do the cd /bin and the ln -s /opt/firefox/firefox firefox.

Then try it out. You should use a normal user account for this. I try to avoid using the network from the root account. You should substitute an account on your system for "user01" in the example below.
Code:

cd
su - user01
DISPLAY=":0.0"
firefox

And see what happens. If you get an error saying that Firefox cannot open the display then just log off and log on as a normal user. Then enter the firefox command from a command line in a terminal window.

Let us know if you succeeded or not.

R4ms3s 10-13-2006 09:59 PM

Okay I am running as Root

I found a problem In my opt folder I have 3 Firefox folders I have:
firefox
firefox-1.0.5.6.
MozillaFirefox

I ran:
linux:/opt # tar -xzvpf /tmp/firefox-1.5.0.7.tar.gz

and got :

firefox/
firefox/.autoreg
firefox/chrome/
firefox/chrome/en-US.jar
firefox/chrome/en-US.manifest
firefox/chrome/browser.jar
firefox/chrome/browser.manifest
firefox/chrome/classic.jar
firefox/chrome/classic.manifest
firefox/chrome/comm.jar
firefox/chrome/comm.manifest
firefox/chrome/toolkit.jar
firefox/chrome/toolkit.manifest
firefox/chrome/icons/
firefox/chrome/icons/default/
firefox/chrome/icons/default/default.xpm
firefox/chrome/reporter.manifest
firefox/chrome/reporter.jar
firefox/chrome/pippki.jar
firefox/chrome/pippki.manifest
firefox/defaults/
firefox/defaults/pref/
firefox/defaults/pref/firefox-l10n.js
firefox/defaults/pref/reporter.js
firefox/defaults/pref/firefox.js
firefox/defaults/pref/channel-prefs.js
firefox/defaults/profile/
firefox/defaults/profile/bookmarks.html
firefox/defaults/profile/localstore.rdf
firefox/defaults/profile/prefs.js
firefox/defaults/profile/search.rdf
firefox/defaults/profile/mimeTypes.rdf
firefox/defaults/profile/chrome/
firefox/defaults/profile/chrome/userChrome-example.css
firefox/defaults/profile/chrome/userContent-example.css
firefox/defaults/autoconfig/
firefox/defaults/autoconfig/platform.js
firefox/defaults/autoconfig/prefcalls.js
firefox/browserconfig.properties
firefox/searchplugins/
firefox/searchplugins/amazondotcom.png
firefox/searchplugins/amazondotcom.src
firefox/searchplugins/answers.png
firefox/searchplugins/answers.src
firefox/searchplugins/creativecommons.png
firefox/searchplugins/creativecommons.src
firefox/searchplugins/eBay.gif
firefox/searchplugins/eBay.src
firefox/searchplugins/google.gif
firefox/searchplugins/google.src
firefox/searchplugins/yahoo.gif
firefox/searchplugins/yahoo.src
firefox/updater.ini
firefox/libmozjs.so
firefox/libplc4.so
firefox/libplds4.so
firefox/libxpcom.so
firefox/libxpcom_core.so
firefox/libxpistub.so
firefox/libnspr4.so
firefox/components/
firefox/components/libxpinstall.so
firefox/components/libjar50.so
firefox/components/libjsd.so
firefox/components/nsBrowserContentHandler.js
firefox/components/nsBrowserGlue.js
firefox/components/nsSetDefaultBrowser.js
firefox/components/jsconsole-clhandler.js
firefox/components/nsCloseAllWindows.js
firefox/components/nsDictionary.js
firefox/components/nsFilePicker.js
firefox/components/nsHelperAppDlg.js
firefox/components/nsInterfaceInfoToIDL.js
firefox/components/nsProxyAutoConfig.js
firefox/components/nsSidebar.js
firefox/components/nsXmlRpcClient.js
firefox/components/nsExtensionManager.js
firefox/components/nsUpdateService.js
firefox/components/libmozgnome.so
firefox/components/libnkgnomevfs.so
firefox/components/browser.xpt
firefox/libxpcom_compat.so
firefox/firefox-bin
firefox/firefox
firefox/mozilla-xremote-client
firefox/run-mozilla.sh
firefox/plugins/
firefox/plugins/libnullplugin.so
firefox/res/
firefox/res/cmessage.txt
firefox/res/hiddenWindow.html
firefox/res/ua.css
firefox/res/html.css
firefox/res/quirk.css
firefox/res/forms.css
firefox/res/EditorOverride.css
firefox/res/table-add-column-after-active.gif
firefox/res/table-add-column-after-hover.gif
firefox/res/table-add-column-after.gif
firefox/res/table-add-column-before-active.gif
firefox/res/table-add-column-before-hover.gif
firefox/res/table-add-column-before.gif
firefox/res/table-add-row-after-active.gif
firefox/res/table-add-row-after-hover.gif
firefox/res/table-add-row-after.gif
firefox/res/table-add-row-before-active.gif
firefox/res/table-add-row-before-hover.gif
firefox/res/table-add-row-before.gif
firefox/res/table-remove-column-active.gif
firefox/res/table-remove-column-hover.gif
firefox/res/table-remove-column.gif
firefox/res/table-remove-row-active.gif
firefox/res/table-remove-row-hover.gif
firefox/res/table-remove-row.gif
firefox/res/arrowd.gif
firefox/res/grabber.gif
firefox/res/viewsource.css
firefox/res/mathml.css
firefox/res/arrow.gif
firefox/res/loading-image.gif
firefox/res/broken-image.gif
firefox/res/fonts/
firefox/res/fonts/fontEncoding.properties
firefox/res/fonts/mathfont.properties
firefox/res/fonts/mathfontCMEX10.properties
firefox/res/fonts/mathfontCMSY10.properties
firefox/res/fonts/mathfontMath1.properties
firefox/res/fonts/mathfontMath2.properties
firefox/res/fonts/mathfontMath4.properties
firefox/res/fonts/mathfontMTExtra.properties
firefox/res/fonts/mathfontPUA.properties
firefox/res/fonts/mathfontSymbol.properties
firefox/res/fonts/pangoFontEncoding.properties
firefox/res/dtd/
firefox/res/dtd/mathml.dtd
firefox/res/dtd/xhtml11.dtd
firefox/res/html/
firefox/res/html/gopher-audio.gif
firefox/res/html/gopher-binary.gif
firefox/res/html/gopher-find.gif
firefox/res/html/gopher-image.gif
firefox/res/html/gopher-menu.gif
firefox/res/html/gopher-movie.gif
firefox/res/html/gopher-sound.gif
firefox/res/html/gopher-telnet.gif
firefox/res/html/gopher-text.gif
firefox/res/html/gopher-unknown.gif
firefox/res/unixcharset.properties
firefox/res/charsetalias.properties
firefox/res/charsetData.properties
firefox/res/langGroups.properties
firefox/res/language.properties
firefox/res/entityTables/
firefox/res/entityTables/html40Latin1.properties
firefox/res/entityTables/html40Special.properties
firefox/res/entityTables/html40Symbols.properties
firefox/res/entityTables/htmlEntityVersions.properties
firefox/res/entityTables/mathml20.properties
firefox/res/entityTables/transliterate.properties
firefox/res/svg.css
firefox/xpicleanup
firefox/extensions/
firefox/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/
firefox/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/install.rdf
firefox/extensions/inspector@mozilla.org/
firefox/extensions/inspector@mozilla.org/install.rdf
firefox/extensions/inspector@mozilla.org/components/
firefox/extensions/inspector@mozilla.org/components/inspector-cmdline.js
firefox/extensions/inspector@mozilla.org/components/libinspector.so
firefox/extensions/inspector@mozilla.org/components/inspector.xpt
firefox/extensions/inspector@mozilla.org/chrome.manifest
firefox/extensions/inspector@mozilla.org/chrome/
firefox/extensions/inspector@mozilla.org/chrome/inspector.jar
firefox/extensions/inspector@mozilla.org/defaults/
firefox/extensions/inspector@mozilla.org/defaults/preferences/
firefox/extensions/inspector@mozilla.org/defaults/preferences/inspector.js
firefox/extensions/talkback@mozilla.org/
firefox/extensions/talkback@mozilla.org/install.rdf
firefox/extensions/talkback@mozilla.org/chrome.manifest
firefox/extensions/talkback@mozilla.org/components/
firefox/extensions/talkback@mozilla.org/components/libqfaservices.so
firefox/extensions/talkback@mozilla.org/components/qfaservices.xpt
firefox/extensions/talkback@mozilla.org/components/talkback/
firefox/extensions/talkback@mozilla.org/components/talkback/master.ini
firefox/extensions/talkback@mozilla.org/components/talkback/talkback
firefox/extensions/talkback@mozilla.org/components/talkback/talkback.so
firefox/extensions/talkback@mozilla.org/components/talkback/XTalkback.ad
firefox/icons/
firefox/icons/mozicon16.xpm
firefox/icons/mozicon50.xpm
firefox/icons/document.png
firefox/icons/mozicon128.png
firefox/greprefs/
firefox/greprefs/all.js
firefox/greprefs/security-prefs.js
firefox/greprefs/xpinstall.js
firefox/libnssckbi.so
firefox/libnss3.so
firefox/libsmime3.so
firefox/libsoftokn3.chk
firefox/libsoftokn3.so
firefox/libssl3.so
firefox/updater
firefox/readme.txt
firefox/removed-files

And now I have the 3 Firefox folders. I opened up Fx just to see if maybe it had changed and it is the same one I was using before. But now it goes to SUSE's Homepage & Myspace.com but nothing else.


All times are GMT -5. The time now is 01:25 PM.