关于ubuntu12.04下google-chrome无法启动问题的解决
2015-12-27 15:22
573 查看
之前,因为java-7-openjdk-amd64配置时不知道怎么的,有了权限问题:很多文件无法正常访问。临时处理措施,是把这些文件直接chown 成当前用户,再chmod 755。然后就可以了。实际上,为了减少这样的操作,我会直接把无法访问文件所在目录下的一切文件全部处理掉:sudo chown username:username * sudo chmod 755 * 这样。
今天重启了一下电脑,因为eclipse一直打不开,看提示应是找不着java:
这很奇怪,因为make编译都可以的。然后我把J***A_HOME/ 的文件全部给chown & chmod,还是不行。于是打算重启电脑。有时候重启电脑的确会产生不一样的效果。
然后重启电脑后,发现我的chrome 打不开了。然后到terminal去打开,收到如下错误提示:
$ cd /usr/bin/
ts@ts-OptiPlex-3010:bin$ ll|grep chrome
lrwxrwxrwx 1 root root 31 Dec 8 10:07 google-chrome -> /etc/alternatives/google-chrome*
lrwxrwxrwx 1 root root 32 Nov 24 13:12 google-chrome-stable -> /opt/google/chrome/google-chrome*
alternatives$ ll|grep chrome
lrwxrwxrwx 1 root root 29 Dec 8 10:07 gnome-www-browser -> /usr/bin/google-chrome-stable*
lrwxrwxrwx 1 root root 29 Dec 8 10:07 google-chrome -> /usr/bin/google-chrome-stable*
lrwxrwxrwx 1 root root 29 Dec 8 10:07 x-www-browser -> /usr/bin/google-chrome-stable*
找到chrome安装的路径:/opt/google/chrome/。然后进入相应目录下,运行chrome得到如下错误信息:
chrome$ ./google-chrome
[3415:3415:1227/150957:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now.
You need to make sure that /opt/google/chrome/chrome-sandbox is owned by root and has mode 4755.
--2015-12-27 15:09:57-- https://clients2.google.com/cr/report
正在解析主机 clients2.google.com (clients2.google.com)... 74.125.23.139, 74.125.23.100, 74.125.23.101, ...
正在连接 clients2.google.com (clients2.google.com)|74.125.23.139|:443... 失败:连接超时。
正在连接 clients2.google.com (clients2.google.com)|74.125.23.100|:443...
Failed to get crash dump id.
Report Id:
已放弃 (核心已转储)
然后按提示的处理方式做:
chrome$ sudo chown root:root chrome-chronme
sudo chmod 4755 chrome-sandbox
然后问题解决。
PS:回头再看,是因为我处理java-7-openjdk-amd64/时,是在/opt/下sudo chown -R t:t * sudo chmod 755 -R *把所有的文件全处理掉了。所以这类操作的时候,头脑要清醒,要谨慎。现在还不知道其它什么东西是否还有影响。
今天重启了一下电脑,因为eclipse一直打不开,看提示应是找不着java:
这很奇怪,因为make编译都可以的。然后我把J***A_HOME/ 的文件全部给chown & chmod,还是不行。于是打算重启电脑。有时候重启电脑的确会产生不一样的效果。
然后重启电脑后,发现我的chrome 打不开了。然后到terminal去打开,收到如下错误提示:
$ cd /usr/bin/
ts@ts-OptiPlex-3010:bin$ ll|grep chrome
lrwxrwxrwx 1 root root 31 Dec 8 10:07 google-chrome -> /etc/alternatives/google-chrome*
lrwxrwxrwx 1 root root 32 Nov 24 13:12 google-chrome-stable -> /opt/google/chrome/google-chrome*
alternatives$ ll|grep chrome
lrwxrwxrwx 1 root root 29 Dec 8 10:07 gnome-www-browser -> /usr/bin/google-chrome-stable*
lrwxrwxrwx 1 root root 29 Dec 8 10:07 google-chrome -> /usr/bin/google-chrome-stable*
lrwxrwxrwx 1 root root 29 Dec 8 10:07 x-www-browser -> /usr/bin/google-chrome-stable*
找到chrome安装的路径:/opt/google/chrome/。然后进入相应目录下,运行chrome得到如下错误信息:
chrome$ ./google-chrome
[3415:3415:1227/150957:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now.
You need to make sure that /opt/google/chrome/chrome-sandbox is owned by root and has mode 4755.
--2015-12-27 15:09:57-- https://clients2.google.com/cr/report
正在解析主机 clients2.google.com (clients2.google.com)... 74.125.23.139, 74.125.23.100, 74.125.23.101, ...
正在连接 clients2.google.com (clients2.google.com)|74.125.23.139|:443... 失败:连接超时。
正在连接 clients2.google.com (clients2.google.com)|74.125.23.100|:443...
Failed to get crash dump id.
Report Id:
已放弃 (核心已转储)
然后按提示的处理方式做:
chrome$ sudo chown root:root chrome-chronme
sudo chmod 4755 chrome-sandbox
然后问题解决。
PS:回头再看,是因为我处理java-7-openjdk-amd64/时,是在/opt/下sudo chown -R t:t * sudo chmod 755 -R *把所有的文件全处理掉了。所以这类操作的时候,头脑要清醒,要谨慎。现在还不知道其它什么东西是否还有影响。
相关文章推荐
- Go语言编程-语法
- Golang中对interface{}做type assertion和type switch
- Celery+django_celery+flask_celery+rabbitmq+flower+
- django 快速搭建blog
- Moore’s Voting Algorithm
- go爬虫:抓取股票实时股份信息发送到邮箱
- golang开发环境配置及Beego框架安装
- Django项目开发纪要
- Web 应用性能和压力测试工具 Gor
- django处理流程分析
- Delegate 代理委托 +block+类别Category
- windows下用eclipse+goclipse插件+gdb搭建go语言开发调试环境
- Google Analytics多渠道实现
- win10怎么安装Google Earth(谷歌地球)?win10安装Google Earth Pro的教程
- google大牛Jeffrey Dean
- 批处理命令——goto 和 :
- Go 1.5交叉编译
- Google Analytics基本参数配置
- Ubuntu添加新硬盘,并修改/etc/fstab自动挂载后,重启卡在开机logo处
- UVaLive6039 Uva1668 Let's Go Green