Remove “System Program Problem Detected” Messages From Ubuntu
One of my Ubuntu systems would pop up the following message multiple times after logging in:
System program problem detected
Do you want to report the problem now?
It was really annoying as simply closing the messages would cause them to return after a reboot.
This was happening due to a number of files in the /var/crash/
directory. After removing these, the problem went away. I did so from the command line as follows:
[chris@home ~]$ sudo rm /var/crash/*
[chris@home ~]$
While the idea of a crash report helping fix problems is nice, I really question whether they are that valuable. Personally, I’d rather never have to deal with them.
To ensure that I never have to deal with them again, I disabled the apport
service that is responsible for generating these crash reports.
To disable the service, first edit the /etc/default/apport
file:
[chris@home ~]$ gksu gedit /etc/default/apport
# set this to 0 to disable apport, or to 1 to enable it
# you can temporarily override this with
# sudo service apport start force_start=1
enabled=1
Then change enabled=1
to enabled=0
:
# set this to 0 to disable apport, or to 1 to enable it
# you can temporarily override this with
# sudo service apport start force_start=1
enabled=0
Save and close the file.
Finally, stop the still-running apport
service:
[chris@home ~]$ sudo stop apport
apport stop/waiting
[chris@home ~]$ http://chrisjean.com/2014/03/19/fix-system-program-problem-detected-messages-from-ubuntu/
最新文章
- struts2中的jsp值传到后台action接收的三种方法
- android XML布局 属性与运用
- [cocos2d-js]cc.RenderTexture几种用法(数字图片、刮刮乐效果)
- 《EXO指数型组织》阅读脑图
- matlab练习程序(矩形变换为单连通形状)
- Appium-android环境的快速搭建
- hdu 4044 GeoDefense (树形dp | 多叉树转二叉树)
- vim中的一些高级命令的使用
- Python手动构造Cookie模拟登录后获取网站页面内容
- H TML5 之 (1) 初识HTML5
- PHP 给前面或者后面添加0补位
- iOS、mac开源项目及库(感谢原作者的分享)
- OPENSSL库的使用-DES篇
- C# 开发系列(一)
- 正则去除html字符串中的注释、标签、属性
- Python学习第十五篇——类继承和类实例化
- 微信小程序 折叠效果
- 【Fanvas技术解密】HTML5 canvas实现脏区重绘
- 转 Linux下Nginx+PHP+MySQL配置
- 【Shell脚本编程系列】知识储备以及建立规范的脚本