谷歌Chrome浏览器配置文件被占用错误的解决求助
谷歌Chrome浏览器配置文件被占用错误的解决求助
问题描述
用户启动Chrome时碰到了配置文件被占用的报错,终端里的具体输出如下:
terminal-dogma@banshee:~/Softwares$ google-chrome [37887:37887:0808/165922.595508:ERROR:process_singleton_posix.cc(353)] The profile appears to be in use by another Google Chrome process (3153) on another computer (terminal-dogma-Aspire-A715-75G). Chrome has locked the profile so that it doesn't get corrupted. If you are sure no other processes are using this profile, you can unlock the profile and relaunch Chrome. [37887:37887:0808/165922.595584:ERROR:message_box_dialog.cc(144)] Unable to show a dialog outside the UI thread message loop: Google Chrome - The profile appears to be in use by another Google Chrome process (3153) on another computer (terminal-dogma-Aspire-A715-75G). Chrome has locked the profile so that it doesn't get corrupted. If you are sure no other processes are usin...
对应的错误弹窗截图:
解决方案
针对这个问题,给你几个实用的解决步骤,按顺序尝试即可:
先处理跨设备的占用问题:错误提示明确提到另一台电脑(terminal-dogma-Aspire-A715-75G)上有Chrome进程(ID3153)在使用这个配置文件。如果这台设备是你自己的,先登录进去彻底关闭Chrome(包括后台挂着的进程),等1-2分钟再重启本地的Chrome,大概率能自动解锁。
手动删除锁文件解锁:如果确定没有其他设备或进程在占用,可手动删除Chrome的锁文件:
- 打开终端,进入Chrome配置文件目录:
cd ~/.config/google-chrome/Default/(如果用的是其他自定义配置文件,把Default换成对应的文件夹名) - 删除锁文件:
rm SingletonLock - 重新启动Chrome就可以了。
小提醒:操作前最好备份一下配置文件目录,避免不小心弄丢书签、密码这些重要数据。
- 打开终端,进入Chrome配置文件目录:
清理本地残留进程:有时候本地Chrome的后台进程没彻底关掉,也会触发这个报错:
- 在终端执行命令查找所有Chrome相关进程:
ps aux | grep chrome - 找到对应的进程ID(比如错误里的3153,如果本地也存在这个进程的话),执行
kill -9 <进程ID>强制结束进程 - 之后重新启动Chrome试试。
- 在终端执行命令查找所有Chrome相关进程:
要是以上方法都没解决,还可以试试新建一个Chrome配置文件临时使用,或者备份数据后重新安装Chrome。
备注:内容来源于stack exchange,提问作者Sambit Mandi
相关产品推荐
相关产品推荐

