Ubuntu 16.04下Google-Chrome安装打开错误提示:
[18724:18724:0420/141032.551154:ERROR:process_singleton_posix.cc(416)] readlink failed: Permission denied
[18724:18724:0420/141032.551203:ERROR:process_singleton_posix.cc(252)] readlink(/home/xxx/.config/google-chrome/SingletonLock) failed: Permission denied
[18724:18724:0420/141032.551236:ERROR:process_singleton_posix.cc(252)] readlink(/home/xxx/.config/google-chrome/SingletonLock) failed: Permission denied
[18724:18724:0420/141032.551248:ERROR:process_singleton_posix.cc(276)] Failed to create /home/xxx/.config/google-chrome/SingletonLock: Permission denied
[18724:18724:0420/141032.551277:ERROR:process_singleton_posix.cc(416)] readlink failed: Permission denied
[18724:18724:0420/141032.551291:ERROR:process_singleton_posix.cc(252)] readlink(/home/xxx/.config/google-chrome/SingletonLock) failed: Permission denied
[18724:18724:0420/141032.551358:ERROR:chrome_browser_main.cc(1571)] Failed to create a ProcessSingleton for your profile directory. This means that running multiple instances would start multiple browser processes rather than opening a new window in the existing process. Aborting now to avoid profile corruption.
[18724:18759:0420/141032.568992:ERROR:cache_util.cc(134)] Unable to move cache folder /home/xxx/.config/google-chrome/ShaderCache/GPUCache to /home/xxx/.config/google-chrome/ShaderCache/old_GPUCache_000
[18724:18759:0420/141032.569018:ERROR:disk_cache.cc(132)] Unable to create cache
[18724:18759:0420/141032.569024:ERROR:shader_disk_cache.cc(593)] Shader Cache Creation failed: -2
问题原因:在执行创建配置文件夹与缓冲文件夹命令时,由于目录已经存在,无法执行操作
解决方案:
1.卸载chrome.(非必须)
apt-get purge google-chrome-stable
2.安装chrome.(非必须)
3.删除缓存和配置文件夹.(必须)
rm -rf /home/<<your username>>/.config/google-chrome/
rm -rf /home/<<your username>>/.cache/google-chrome/
4.运行chrome