Linux common fault handling summary

  

1, can not enter the graphical interface:

Cause one: the user incorrectly configured the driver of the display card

Cause two: the user incorrectly configured the resolution < Br>

Cause three: The user deleted the relevant configuration file

2. The resolution cannot start the graphics environment:

Method 1: Boot select (Soft mode) enters the security mode and changes the display configuration.

Unable to start the graphical environment:

Method 2: Log in to the system as a command line

Execute the following command (note the case)

cp /etc /X11/xorg.conf.save /etc/X11/xorg.conf

3. Lost root password:

init 1=single-user mode

When the system starts Enter the number 1 directly and press the Enter key to enter the single-user mode


4, Linux notebook projection output

Edit: /etc/X11/xorg.conf in Driver &ldquo ; i810” and BusID “PCI:0:2:0″ add the following two sentences:

Option “MonitorLayout” “CRT,LFP”

Option “Clone” “true”

5, Kun Lun Linux Network Network upgrade

The first step to download the upgrade package

“updata-2008.2.14.rar” to the desktop

The second step is to right-click the upgrade package to select “ Compression”

The third step is to extract to

“updata-2008.2.14”

Kun Lun Linux Network Upgrade

Double-click the "“updata-2008.2.14” folder generated after decompression

Step 2 Select two upgrade files “update.tar.gz”

“updata.sh”

The third step is to right-click and select Copy

Kun Lun Linux Network Upgrade

The first step is to double-click "My Computer" on the desktop.

Step 2 Double-click “Storage Media”

Step 3 Double-click “ncdy”

Kun Lun Linux Network Upgrade

Double-click

“ Var”

Kun Lun Linux Network Upgrade

Double-click “ncdykj”

Kun Lun Linux Network Upgrade

Note Location

&ldquo ;/ncdy/var/ncdyky”

“Right click 

Select

“Paste 2 files”

Confirm Files

“update.tar.gz”

“updata.sh”

is copied to this directory

Kun Lun Linux Network Upgrade

Restart the computer Kun Lun Linux Confirm upgrade

The upgrade will result in the following “three channels”

6. The graphical interface cannot be started

• Cause one solution:

First the system can be booted into command line mode.

Step 1: Log in to the command line system

Enter the username root, note the lowercase

login as: root

Enter the password ncdyhhxx, note the input Not displayed

Password: ncdyhhxx

7, the graphical interface can not be started

Cause one solution:

Step 2: Check the system disk space status .

# df –h (Note # is the prompt, no input required)

The result is as follows:

/dev/sda1 20G 20G 0G 100% /

/dev/sda2 20G 72M 9G 1% /myfile

none 1014M 0 1014M 0% /dev/shm

/dev/sda4 180G 72M 9.3G 1% /ncdy< Br>

8, the graphical interface can not be started

• Cause one solution:

The third step: delete the system log.

# rm -rf /var/log/fwlog

# rm -rf /var/log/kernel

# rm -rf /var/log/messages*< Br>

# rm -rf /var/log/mysqld.log

# rm -rf /var/log/rflogview

Restart the system

# reboot

9, the resources in the network platform are not displayed

• Solution:

For the system is normal, but there are no resources in the network resource management, the following measures should be taken: Br>

Method 1:

Automatic upgrade via satellite as soon as possible.

Time: Every Monday and Wednesday, 11:00-12:00

After the system upgrade, a large number of logs in the system will be deleted periodically, and the database will be optimized and restored periodically.

10, the resources in the network platform are not displayed

Method 2:

Step 1: Login to the command line system

Enter the user name root, pay attention to lowercase

login as: root

Enter the password ncdyhhxx, note that it is not displayed when inputting

Password: ncdyhhxx

11, the resources in the network are not displayed

• Solution:

Step 2: Execute the database recovery optimization command

# myisamchk -c -r /var/lib/mysql/edu/*.MYI

(Note that MYI is capitalized)

# reboot (restart system)

Copyright © Windows knowledge All Rights Reserved