Get the App
SLTechnology News&Howtos  ›  Servers  › 

Centos6 system. Xsession-errors is a big deal.

Shulou Source: shulou.com Published: 2022-06-02 07:03:33 10月03日 Update

First, report errors and brief introduction. 1. Find problems

The alarm system alarm / storage reaches 95%. Log in to the server to check that there is a .xsession-errors file in the / root directory that is particularly large, reaching more than ten gigabytes.

2. Check the problem ①. Check the contents of the .xsession-errors file. There are other errors reported before, but the errors are repeated all the time and written all the time. GVFS-RemoteVolumeMonitor * *: New owner:1.35024783 for volume monitor org.gtk.Private.GduVolumeMonitor connected to the bus; seeding drives/volumen/GVFS-RemoteVolumeMonitor * *: invoking List () failed for type GProxyVolumeMonitorGdu:org.freedesktop.DBus.Error.NoReply;message did not receive a reply

② dbus-daemon and udisks-daemon occupy more CPU than 1578 dbus 20 0 22564 2112 780 S 31.6 0.0 46 dbus-daemon 4130 root 20 0 40732 2992 2240 R 19.7 0.0 28 ② 42.05 udisks-daemon

2. Problem analysis 1. This problem occurs only in the desktop version of the Linux system, and the default startup level is 5 (graphical interface) 2, which may be the character set problem of the system. 2. Solve problem 1. Change the startup level.

Note:

If it is an online business, pay attention to backup.

① to view the boot level of the system [root@cxm ~] # cat / etc/inittab id:5:initdefault:

Change ② to 3 (command line mode) [root@cxm ~] # cat / etc/inittab id:3:initdefault:

③ restart the system [root@cxm ~] # reboot

2. Modify the default character set ① View character set [root@cxm ~] # cat / etc/sysconfig/i18n .eucKR

My server cannot be modified because of the need of the machine. If you modify

② modifies [root@cxm ~] # cat / etc/sysconfig/i18n .UTF-8 SYSFONT=latarcyrheb-sun16

③ refresh [root@cxm ~] #. / etc/sysconfig/i18n

④ View

If it still doesn't work, you can only modify the character set and restart the service.

Tags: Problem system character set level service file server alarm no under business item content only command graphics backup situation alarm system Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft MySQL Shulou Technology Linux Huawei