Solution to problems encountered during system reinstallation and zone migration

Source: Internet
Author: User

Solution to problems encountered during system reinstallation and zone migration
Some old employees do not want to use R5000 and want to stick to 2003, so they will help them kill RHEL5.5 and R5K and downgrade and install RHEL4.7 and Lamma 2003.
The following are some problems and solutions encountered during the installation process:

1. When installing Linux with a USB flash drive, select Everything. After installation, you will find that there is no vsftpd service in the system (without this service, you will not be able to transmit data using fpt in the network ), you cannot find the service to Add in Add/Remove Application or the rpm package of the corresponding version on the Internet, so the U disk in the iso installation media mounted to the U disk in an empty directory (with command: mount-o loop U disk iso U disk mount directory), found that the disk has a vsftpd-2.0.1-6.el4.rpm package, so: rpm-ivh vsftpd-2.0.1-6.el4.rpm installation;

2. After the system is installed, the IP address of the NIC is always changed. You can only add a line to/etc/rc. d/rc. local to save the IP address after the system is restarted, for example:
Ifconfig eth0 10.52.19.52

3. When the two hosts share a set of dual screens, the login window cannot be found because the hosts are moved to another work location and re-wired. In this case, the analog wiring of the graphics card is removed and all the hosts are replaced with a digital line, you can see the logon window. after entering the system, change it from the nvidia-settings to the single screen mode, and then connect the analog line. Then, you can see the logon window when starting the system, after logging on to the system, you can change to the dual-Screen mode;

4. due to unexpected power loss or other causes, the video card driver is dropped. Therefore, the driver is reinstalled and the corresponding resolution is set using nvidia-settings. When you start Lamma, green is displayed on the left of the Logo icon, which indicates that it is normal, but the Lamma menu window does not pop up. In the terminal window, after you press: s2d, the system prompts that the current bit depth is not supported. In this case, go to the/etc/X11 directory and edit xorg. in the conf file, find Default Depth and Depth in Section "Screen", change 16 to 24, save and exit, and log out of the account and log on again to solve the problem;

5. Because several major work areas need to be restored, each work area has a large earthquake working directory (several hundred GB), which cannot be placed in one disk, dir. dat can define multiple storage paths, but it is better to define only one path, and then assign the working directories of each work zone to the corresponding disk by using symbolic links (the advantage of doing so is: convenience for backup or migration of earthquake work areas in the future );

6. Because the system uses the ext3 partition format, it may take a long time to check the disk whenever the system is restarted, in this case, you can change the value of 1 2 after the ults data disk in/etc/fstab to 0 to cancel disk scanning. However, to ensure the consistency of the disk file system, it is recommended that you do not modify the disk. (If you do not need to change the disk, You Should manually use The fsck command to scan and fix the disk at intervals. During restoration, the disk must be in the umount state, otherwise, the file system may be damaged );

7. When a system journal error occurs due to an unexpected power failure, the system is often inaccessible. You can use a USB flash drive to start the disk in rescue mode and use the fdisk-l command to find the corresponding disk, use the fsck-y command to Repair Disk Partitions. (This method was used to fix the failure of a R5000-mounted machine that failed to start due to a journal error a few days ago, but the work zone on the machine was not backed up. I strongly recommend that you back up the data, if the system breaks down, you can reload the data. Everything is useless. I have encountered disk read/write errors before, which are often difficult to fix. When I find a disk read/write error, I need to change the disk in time to prevent unexpected errors. Therefore, it is very important and necessary to back up data in a timely manner .)
*********
See this blog: Landmark automatic backup instance
Http://blog.chinaunix.net/uid-124509-id-3069622.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.