linux(fedora13)下google chrome 安装后无法启动Failed to move to new PID namespace: Operation not permitted

系统环境:fedora13, linux 2.6.31.5-127.fc12.i686.PAE, gnome

核心操作:关闭selinux

以前使用fedora12及更早的fedora版本,安装chrome都非常正常,安装后,就可以正常启动运行。但这次,突然出问题了,从系统菜单里启动,老半天没有一点反应,查看进程,有chrome进程,看来是有错误了。于是杀死进程,命令行启动,看看究竟是什么错误消息。

/usr/bin/google-chrome: /lib/libz.so.1: no version information available (required by /usr/bin/google-chrome)
/usr/bin/google-chrome: /lib/libz.so.1: no version information available (required by /usr/bin/google-chrome)
Failed to move to new PID namespace: Operation not permitted

习惯性的拿错误消息问google,结果全是英文页面,看了两个,好像也没有说出来最终的解决方法。那就是自己捣腾一下,说不定就解决了。

上面两行错误消息,看不出来名堂,但下面的条里 not permitted,没权限,怀疑是否是不是selinux的原因,但没有看到selinux消息报告,所以之前没有想到这里,印象中sellinux是启动的,fedora13安装后,selinux就是启动的,经常会造成一点问题,由于对selinux并不熟悉,出问题时只好关掉。扯远了——不管是不是,关掉看看。

setenforce 0

再从命令行里启动,好了,chrome还给一个对话框,大意说启动失败了,是不是要报告错误,选择跳过,然后是就正常的询问是否从其它浏览器里导入设置,因为firefox正在启动中,无法完成导入,也跳过。接下来就是跟平时无两样的chrome。

从命令行终端里拷出来从安装到问题解决的整个过程的消息,稍做删减,帖在下面,以备查阅。

———————————————————————–

[feng@fsc ~]$ su
密码:
[root@fsc feng]# touch /etc/default/google-chrome
[root@fsc feng]# pwd
/home/feng
[root@fsc feng]# cd downloads/
[root@fsc downloads]# ll
总用量 293296
…….
-rw-rw-r–. 1 feng feng 27101501  9月 24 22:24 google-chrome-stable_current_i386.rpm
…….
[root@fsc downloads]# ll
总用量 293296
…….
-rwxr-xr-x. 1 feng feng 27101501  9月 24 22:24 google-chrome-stable_current_i386.rpm
…….
[root@fsc downloads]# rpm -ivh google-chrome-stable_current_i386.rpm
warning: google-chrome-stable_current_i386.rpm: Header V3 DSA/SHA1 Signature, key ID 7fac5991: NOKEY
error: Failed dependencies:
lsb >= 3.2 is needed by google-chrome-stable-6.0.472.63-59945.i386
[root@fsc downloads]# yum install lsb
已加载插件:presto, refresh-packagekit
设置安装进程
解决依赖关系
–> 执行事务检查
—> 软件包 redhat-lsb.i686 0:4.0-5.fc13 将被 安装
updates/filelists_db                                     | 6.8 MB     00:32
–> 处理依赖关系 /usr/bin/pax,它被软件包 redhat-lsb-4.0-5.fc13.i686 需要
–> 执行事务检查
—> 软件包 pax.i686 0:3.4-10.fc12 将被 安装
–> 完成依赖关系计算

依赖关系解决

================================================================================
软件包              架构          版本                  仓库              大小
================================================================================
正在安装:
redhat-lsb          i686          4.0-5.fc13            updates           25 k
为依赖而安装:
pax                 i686          3.4-10.fc12           fedora            67 k

事务概要
================================================================================
Install       2 Package(s)

总下载量:92 k
Installed size: 156 k
确定吗?[y/N]:y
下载软件包:
Setting up and reading Presto delta metadata
updates/prestodelta                                      | 332 kB     00:01
Processing delta metadata
Package(s) data still to download: 92 k
(1/2): pax-3.4-10.fc12.i686.rpm                          |  67 kB     00:00
(2/2): redhat-lsb-4.0-5.fc13.i686.rpm                    |  25 kB     00:00
——————————————————————————–
总计                                            123 kB/s |  92 kB     00:00
运行 rpm_check_debug
执行事务测试
事务测试成功
执行事务
正在安装       : pax-3.4-10.fc12.i686                                     1/2
正在安装       : redhat-lsb-4.0-5.fc13.i686                               2/2

已安装:
redhat-lsb.i686 0:4.0-5.fc13

作为依赖被安装:
pax.i686 0:3.4-10.fc12

完毕!
[root@fsc downloads]# rpm -ivh google-chrome-stable_current_i386.rpm
warning: google-chrome-stable_current_i386.rpm: Header V3 DSA/SHA1 Signature, key ID 7fac5991: NOKEY
Preparing…                ########################################### [100%]
1:google-chrome-stable   ########################################### [100%]
job 1 at Fri Sep 24 22:34:00 2010
[root@fsc downloads]# ps aux |grep chrome
feng     11721  0.0  0.3  67368  9068 ?        S    22:33   0:00 /opt/google/chrome/google-chrome
feng     11724  0.0  0.0  67636  2540 ?        S    22:33   0:00 /opt/google/chrome/google-chrome
root     11725  0.0  0.0      0     0 ?        Z    22:33   0:00 [chrome-sandbox] <defunct>
root     11769  0.0  0.0   4316   736 pts/0    R+   22:34   0:00 grep chrome
[root@fsc downloads]# exit
exit
[feng@fsc ~]$ chrome
bash: chrome: command not found
[feng@fsc ~]$ google-chrome
/usr/bin/google-chrome: /lib/libz.so.1: no version information available (required by /usr/bin/google-chrome)
/usr/bin/google-chrome: /lib/libz.so.1: no version information available (required by /usr/bin/google-chrome)
Failed to move to new PID namespace: Operation not permitted

^C
[feng@fsc ~]$ lsb >= 3.2 is needed by google-chrome-stable-6.0.472.63-59945.i386
[feng@fsc ~]$ su
密码:
[root@fsc feng]# setenforce
usage:  setenforce [ Enforcing | Permissive | 1 | 0 ]
[root@fsc feng]# setenforce 0
[root@fsc feng]# setenforce 0
[root@fsc feng]# exit
exit
[feng@fsc ~]$ google-chrome
/usr/bin/google-chrome: /lib/libz.so.1: no version information available (required by /usr/bin/google-chrome)
/usr/bin/google-chrome: /lib/libz.so.1: no version information available (required by /usr/bin/google-chrome)
/opt/google/chrome/chrome: /lib/libz.so.1: no version information available (required by /opt/google/chrome/chrome)
/opt/google/chrome/chrome: /lib/libz.so.1: no version information available (required by /opt/google/chrome/chrome)
[11975:11975:33768698664:ERROR:chrome/common/json_pref_store.cc(44)] Error reading Preferences: File doesn’t exist. /home/feng/.config/google-chrome/Local State: 没有那个文件或目录
[11975:11975:33768781502:ERROR:chrome/common/json_pref_store.cc(44)] Error reading Preferences: File doesn’t exist. /home/feng/.config/google-chrome/Default/Preferences: 没有那个文件或目录
/proc/self/exe: /lib/libz.so.1: no version information available (required by /proc/self/exe)
/proc/self/exe: /lib/libz.so.1: no version information available (required by /proc/self/exe)
^Z
[2]+  Stopped                 google-chrome
[feng@fsc ~]$ bg 2
[2]+ google-chrome &
[feng@fsc ~]$




coded by nessus
发表评论?

0 条评论。

发表评论