Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to fix the problem of system program errors detected in ubuntu

2025-04-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly shows you "how to fix system program errors detected in ubuntu", the content is easy to understand, clear, hope to help you solve doubts, the following let the editor lead you to study and learn "how to fix system program errors detected in ubuntu" this article.

In the past few weeks, there has been a message (almost) every time that Ubuntu 15.04 detected a system program error at startup and came out to "welcome" me. I ignored it directly at that time, but at some point, it was very annoying!

System program error detected (System program problem detected)

Do you want to report the problem immediately?

I know for sure that if you are a Ubuntu user, you may have encountered this annoying pop-up window. In this article, we will explore what to do when we encounter a "detected system program error (system program problem detected)" in Ubuntu 14.04,15.04.

How to solve the "system program error detected" error in Ubuntu? so what exactly is this notice about?

Generally speaking, it tells you that part of your system has crashed. Don't panic about the word "collapse". This is not a serious problem, your system is completely available. It's just that at some point before, a program crashed, and Ubuntu wants you to decide whether or not to report the problem to developers so they can fix it.

So, after we click the "report error" button, it will no longer be displayed?

No, it's not! Even if you click the "report error" button, you will be "welcomed" again by the following pop-up window:

Sorry, an internal error occurred in Ubuntu is an Apport, which will further open a web browser, and then you can fill in a Bug report file by logging in or creating a Launchpad account. (Apport is a system for collecting and reporting errors in Ubuntu, see Apport in Ubuntu Wiki). You see, this is a complicated process, and it takes four whole steps to complete.

But I want to help developers and let them know this loophole!

It's really thoughtful of you to think so, and it's the right thing to do. But in doing so, there are two problems. First, there is a very high probability that this vulnerability has been reported; second, even if you report a crash, there is no guarantee that you will never see it again.

So, you mean don't report the crash?

Yes and no. If you want, report it the first time you see it. You can view the crashed program in the "display details (Show Details)" shown in the image above. But if you keep seeing it, or if you don't want to report a Bug, then I suggest you get rid of it all at once!

Fix the "system program error detected" error in Ubuntu

These error reports are stored in the directory / var/crash in Ubuntu. If you look at this directory, you should see some files ending in crash.

My suggestion is to delete these error reports. Open a terminal and execute the following command:

Sudo rm / var/crash/*

This operation deletes everything in the / var/crash directory. In this way, you will no longer be disturbed by these pop-up windows that report previous program errors. But if another program crashes, you will see the "detected system program error" error again. You can delete these report files again, or you can disable Apport to completely get rid of this error pop-up window.

Completely get rid of the system error pop-up window in Ubuntu

If you do this, the system will no longer notify you when any program in the system crashes. If you want to ask my opinion, I will say that this is not a bad thing, unless you are willing to fill in the error report. If you don't want to fill in an error report, it makes no difference whether these error notifications exist or not.

To disable Apport and completely get rid of the program crash report in the Ubuntu system, open a terminal and enter the following command:

Gksu gedit / etc/default/apport

The contents of this file are:

# set 0 to disable Apportw, or 1 to enable it. # you can temporarily turn it off with the following command: # sudo service apport start force_start=1enabled=1

Change enabled=1 to enabled=0. Save and close the file. When you're done, you'll never see the pop-up window report an error again. Obviously, if we want to turn on error reporting again, we just need to open the file again and set enabled to 1.

The above is all the contents of this article entitled "how to fix system program errors detected in ubuntu". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report