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/

最新文章

  1. struts2中的jsp值传到后台action接收的三种方法
  2. android XML布局 属性与运用
  3. [cocos2d-js]cc.RenderTexture几种用法(数字图片、刮刮乐效果)
  4. 《EXO指数型组织》阅读脑图
  5. matlab练习程序(矩形变换为单连通形状)
  6. Appium-android环境的快速搭建
  7. hdu 4044 GeoDefense (树形dp | 多叉树转二叉树)
  8. vim中的一些高级命令的使用
  9. Python手动构造Cookie模拟登录后获取网站页面内容
  10. H TML5 之 (1) 初识HTML5
  11. PHP 给前面或者后面添加0补位
  12. iOS、mac开源项目及库(感谢原作者的分享)
  13. OPENSSL库的使用-DES篇
  14. C# 开发系列(一)
  15. 正则去除html字符串中的注释、标签、属性
  16. Python学习第十五篇——类继承和类实例化
  17. 微信小程序 折叠效果
  18. 【Fanvas技术解密】HTML5 canvas实现脏区重绘
  19. 转 Linux下Nginx+PHP+MySQL配置
  20. 【Shell脚本编程系列】知识储备以及建立规范的脚本

热门文章

  1. Foreman--管理PuppetClient
  2. git指令
  3. hdu4639Hehe
  4. linq .dbml转化成sql脚本
  5. bzoj1789 AHOI 维护数列(线段树)
  6. 从算法入手讲解如何在SQL Server中实现最优最简
  7. 了解AngularJS $resource
  8. HDU 1163 Eddy's digital Roots
  9. Javascript 对输入框中的内容进行 “全选/反选”
  10. 七牛上传Qt版本