sd02
小狐狸
小狐狸
  • UID31094
  • 注册日期2009-11-16
  • 最后登录2011-01-08
  • 发帖数12
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
阅读:10198回复:7

firefox不能上网(已解决)

楼主#
更多 发布于:2009-11-16 20:50
我用的是debian系统上的iceweasel,版本是3.06,可以上网,播放视频,说明网络是好的,subversion也可以用。
下载了firefox高版本,解压后直接运行其中的firefox,可是不能上网。页面上是:

Server not found
Firefox can't find the server at en-us.www.mozilla.com.

* Check the address for typing errors such as
ww.example.com instead of
<!-- w --><a class="postlink" href="http://www.example.com">www.example.com</a><!-- w -->

* If you are unable to load any pages, check your computer's network
connection.

* If your computer or network is protected by a firewall or proxy, make sure
that Firefox is permitted to access the Web.

这是什么原因呢?
我用的ADSL拨号上网。
mawith
火狐狸
火狐狸
  • UID18675
  • 注册日期2007-05-14
  • 最后登录2016-12-18
  • 发帖数263
  • 经验12枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 社区居民
1楼#
发布于:2009-11-16 20:50
别的网站也不能上么?
mygames10
狐狸大王
狐狸大王
  • UID30577
  • 注册日期2009-10-04
  • 最后登录2022-02-14
  • 发帖数337
  • 经验55枚
  • 威望0点
  • 贡献值48点
  • 好评度3点
  • 社区居民
  • 忠实会员
2楼#
发布于:2009-11-16 20:50
直接用IP看看能上网否
Nice to meet you.
sd02
小狐狸
小狐狸
  • UID31094
  • 注册日期2009-11-16
  • 最后登录2011-01-08
  • 发帖数12
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
3楼#
发布于:2009-11-16 20:50
mygames10:直接用IP看看能上网否回到原帖


直接用IP可以上! 例如 http://198.182.196.56/ 打开 http://www.linux.org
这是怎么回事呢?
mawith
火狐狸
火狐狸
  • UID18675
  • 注册日期2007-05-14
  • 最后登录2016-12-18
  • 发帖数263
  • 经验12枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 社区居民
4楼#
发布于:2009-11-16 20:50
可能DNS设置有问题。
sd02
小狐狸
小狐狸
  • UID31094
  • 注册日期2009-11-16
  • 最后登录2011-01-08
  • 发帖数12
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
5楼#
发布于:2009-11-16 20:50
DNS应该没问题,因为iceweasel可以上网,也可以ping通网站的域名。
可能是firefox的设置有什么问题,或者和iceweasel有什么冲突?
sd02
小狐狸
小狐狸
  • UID31094
  • 注册日期2009-11-16
  • 最后登录2011-01-08
  • 发帖数12
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
6楼#
发布于:2009-11-16 20:50
我的机器是Debian   amd64,运行firefox是有下面的错误,是不是因为是64位机器的原因?下面的错误提示有什么有用的信息吗?

~/Desktop/firefox$ ./firefox -profile ~/.firefox

(firefox-bin:3456): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libsmooth.so: 错误 ELF 类: ELFCLASS64

(firefox-bin:3456): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libsmooth.so: 错误 ELF 类: ELFCLASS64

(firefox-bin:3456): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libsmooth.so: 错误 ELF 类: ELFCLASS64

(firefox-bin:3456): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libsmooth.so: 错误 ELF 类: ELFCLASS64

(firefox-bin:3456): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libsmooth.so: 错误 ELF 类: ELFCLASS64

(firefox-bin:3456): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libsmooth.so: 错误 ELF 类: ELFCLASS64

(firefox-bin:3456): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libsmooth.so: 错误 ELF 类: ELFCLASS64

(firefox-bin:3456): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libsmooth.so: 错误 ELF 类: ELFCLASS64

(firefox-bin:3456): Gtk-WARNING **: Error loading theme icon 'gtk-add' for stock: 加载用来载入图像的模块失败:/usr/lib32/gtk-2.0/2.10.0/loaders/svg_loader.so:/usr/lib32/gtk-2.0/2.10.0/loaders/svg_loader.so: 无法打开共享对象文件: 没有那个文件或目录

(firefox-bin:3456): Gtk-WARNING **: Error loading theme icon 'gtk-close' for stock: 加载用来载入图像的模块失败:/usr/lib32/gtk-2.0/2.10.0/loaders/svg_loader.so:/usr/lib32/gtk-2.0/2.10.0/loaders/svg_loader.so: 无法打开共享对象文件: 没有那个文件或目录

(firefox-bin:3456): Gtk-WARNING **: Error loading theme icon 'gtk-go-back-ltr' for stock: 加载用来载入图像的模块失败:/usr/lib32/gtk-2.0/2.10.0/loaders/svg_loader.so:/usr/lib32/gtk-2.0/2.10.0/loaders/svg_loader.so: 无法打开共享对象文件: 没有那个文件或目录

(firefox-bin:3456): Gtk-WARNING **: Error loading theme icon 'gtk-go-forward-ltr' for stock: 加载用来载入图像的模块失败:/usr/lib32/gtk-2.0/2.10.0/loaders/svg_loader.so:/usr/lib32/gtk-2.0/2.10.0/loaders/svg_loader.so: 无法打开共享对象文件: 没有那个文件或目录

(firefox-bin:3456): Gtk-WARNING **: Error loading theme icon 'gtk-refresh' for stock: 加载用来载入图像的模块失败:/usr/lib32/gtk-2.0/2.10.0/loaders/svg_loader.so:/usr/lib32/gtk-2.0/2.10.0/loaders/svg_loader.so: 无法打开共享对象文件: 没有那个文件或目录

(firefox-bin:3456): Gtk-WARNING **: Error loading theme icon 'gtk-stop' for stock: 加载用来载入图像的模块失败:/usr/lib32/gtk-2.0/2.10.0/loaders/svg_loader.so:/usr/lib32/gtk-2.0/2.10.0/loaders/svg_loader.so: 无法打开共享对象文件: 没有那个文件或目录

(firefox-bin:3456): Gtk-WARNING **: Error loading theme icon 'gtk-home' for stock: 加载用来载入图像的模块失败:/usr/lib32/gtk-2.0/2.10.0/loaders/svg_loader.so:/usr/lib32/gtk-2.0/2.10.0/loaders/svg_loader.so: 无法打开共享对象文件: 没有那个文件或目录

(firefox-bin:3456): Gtk-WARNING **: Error loading theme icon 'gtk-stop' for stock: 加载用来载入图像的模块失败:/usr/lib32/gtk-2.0/2.10.0/loaders/svg_loader.so:/usr/lib32/gtk-2.0/2.10.0/loaders/svg_loader.so: 无法打开共享对象文件: 没有那个文件或目录

(firefox-bin:3456): Gtk-WARNING **: Error loading theme icon 'gtk-refresh' for stock: 加载用来载入图像的模块失败:/usr/lib32/gtk-2.0/2.10.0/loaders/svg_loader.so:/usr/lib32/gtk-2.0/2.10.0/loaders/svg_loader.so: 无法打开共享对象文件: 没有那个文件或目录

(firefox-bin:3456): Gtk-WARNING **: Error loading theme icon 'gtk-go-forward-ltr' for stock: 加载用来载入图像的模块失败:/usr/lib32/gtk-2.0/2.10.0/loaders/svg_loader.so:/usr/lib32/gtk-2.0/2.10.0/loaders/svg_loader.so: 无法打开共享对象文件: 没有那个文件或目录

(firefox-bin:3456): Gtk-WARNING **: Error loading theme icon 'gtk-go-back-ltr' for stock: 加载用来载入图像的模块失败:/usr/lib32/gtk-2.0/2.10.0/loaders/svg_loader.so:/usr/lib32/gtk-2.0/2.10.0/loaders/svg_loader.so: 无法打开共享对象文件: 没有那个文件或目录

==================================

作为对比,运行iceweasel时,输出下面的信息:
~$ iceweasel

** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: NP_Initialize
** Message: NP_Initialize succeeded
** Message: totemPlugin ctor [0x546eb20]
** Message: Init mimetype 'audio/x-pn-realaudio-plugin' mode 1
** Message: Base URI is 'http://bbs.dict.cn/viewthread.php?tid=35302&extra=page%3D12'
** Message: Real mimetype for 'audio/x-pn-realaudio-plugin' is 'audio/vnd.rn-realaudio'
argv[0] src http://bbs.dict.cn/attachment.php?aid=3 ... 1239096322
argv[1] type audio/x-pn-realaudio-plugin
argv[2] controls IMAGEWINDOW
argv[3] console media_yXm_
argv[4] height 20
argv[5] width 400
** Message: Representant for the console class is (nil)
** Message: mSrc: http://bbs.dict.cn/attachment.php?aid=3 ... 1239096322
** Message: mCache: 0
** Message: mControllerHidden: 0
** Message: mShowStatusbar: 0
** Message: mHidden: 0
** Message: mAudioOnly: 0
** Message: mAutostart: 0, mRepeat: 0
** Message: mConsole: media_yXm_
** Message: mControls: ImageWindow
** Message: Launching: /usr/lib/totem/gstreamer/totem-plugin-viewer --plugin-type complex --user-agent Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.13) Gecko/2009082120 Iceweasel/3.0.6 (Debian-3.0.6-1) --mimetype audio/vnd.rn-realaudio --no-autostart
** Message: Viewer spawned, PID 3380
** Message: GetValue variable 14 (e)
** Message: Initial window set, XID 2c01590 size 400x20
** Message: No viewer proxy yet, deferring SetWindow
** Message: GetValue variable 15 (f)
** Message: Unhandled variable NPPVpluginScriptableNPObject
** Message: GetValue variable 11 (b)
** Message: GetValue variable 268435466 (1000000a)
** Message: GetScriptable [0x546eb20]
** Message: totemComplexPlugin ctor [0x5477470]
** Message: Viewer DBus interface name is 'org.gnome.totem.PluginViewer_3380'
** Message: NameOwnerChanged old-owner '' new-owner ':1.15'
** Message: Viewer now connected to the bus
** Message: ViewerSetup
** Message: Calling SetWindow
Viewer: SetWindow XID 46142864 size 400:20
TotemEmbedded-Message: Viewer state: STOPPED
** Message: SetWindow reply
** Message: ViewerReady
** Message: totemPlugin ctor [0x7ff67c341240]
** Message: Init mimetype 'audio/x-pn-realaudio-plugin' mode 1
** Message: Base URI is 'http://bbs.dict.cn/viewthread.php?tid=35302&extra=page%3D12'
** Message: Real mimetype for 'audio/x-pn-realaudio-plugin' is 'audio/vnd.rn-realaudio'
argv[0] src http://bbs.dict.cn/attachment.php?aid=3 ... 1239096322
argv[1] type audio/x-pn-realaudio-plugin
argv[2] controls ControlPanel
argv[3] autostart true
argv[4] console media_yXm_
argv[5] height 32
argv[6] width 400
** Message: Representant for the console class is 0x546eb20
** Message: mSrc: http://bbs.dict.cn/attachment.php?aid=3 ... 1239096322
** Message: mCache: 0
** Message: mControllerHidden: 0
** Message: mShowStatusbar: 0
** Message: mHidden: 0
** Message: mAudioOnly: 0
** Message: mAutostart: 1, mRepeat: 0
** Message: mConsole: media_yXm_
** Message: mControls: ControlPanel
** Message: GetValue variable 14 (e)
** Message: Initial window set, XID 2c016ab size 400x32
** Message: No viewer proxy yet, deferring SetWindow
** Message: GetValue variable 15 (f)
** Message: Unhandled variable NPPVpluginScriptableNPObject
** Message: GetValue variable 11 (b)
** Message: GetValue variable 268435466 (1000000a)
** Message: GetScriptable [0x7ff67c341240]
** Message: GetScriptable [0x546eb20]
sd02
小狐狸
小狐狸
  • UID31094
  • 注册日期2009-11-16
  • 最后登录2011-01-08
  • 发帖数12
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
7楼#
发布于:2009-11-16 20:50
问题解决了
firefox默认使用IPV6,用下面的步骤禁止它就可以了:

   1.  Type about:config in the address bar, press Enter.
   2. Find network.dns.disableIPv6 in the list.
   3. Right-click -> Toggle.
   4. Restart your Mozilla application and try again.

http://kb.mozillazine.org/Error_loading_websites
IPV6部分

返回顶部