“This is the 19th day of my participation in the Gwen Challenge in November. Check out the details: The Last Gwen Challenge in 2021”
directory
preface
The body of the
At the end
preface
The ioTOP tool is used to check the I/O running status of the storage server.
yum install iotop -y
The following error message was encountered:
Mirrors.aliyun.com/centos/%24r… : [14] Errno HTTP Error 404 – the Not Found Trying other mirror. Mirrors.aliyuncs.com/centos/%24r… Timeout: [Errno 12] on mirrors.aliyuncs.com/centos/$rel… : (28, ‘Connection timed out after 30001 milliseconds) Trying other mirror. Mirrors.cloud.aliyuncs.com/centos/%24r… : [Errno 14] HTTP Error 404 – Not Found Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
Error screenshot:
The body of the
Suddenly saw that the mirror warehouse problem, naturally thought of the update tool warehouse, so run the command:
yum update
A similar error occurs again:
Mirrors.aliyun.com/centos/%24r… : [14] Errno HTTP Error 404 – the Not Found Trying other mirror. Mirrors.aliyuncs.com/centos/%24r… Timeout: [Errno 12] on mirrors.aliyuncs.com/centos/$rel… : (28, ‘Connection timed out after 30001 milliseconds) Trying other mirror. Mirrors.cloud.aliyuncs.com/centos/%24r… : [Errno 14] HTTP Error 404 – Not Found Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
Error screenshot:
I suddenly realized that the problem was unusual and used the following command to check the system version:
uname -a
Output result:
Linux al-bj-boom-hB-backstage -01 4.15.0-147-generic #151-Ubuntu SMP Fri Jun 18 19:21:19 UTC 2021 x86_64 GNU/Linux
By default, Ubuntu does not support yum, so use apt.
There are other ways to make Ubuntu support yum commands, but I haven’t tried that myself.
Use apt command to install the tool iotop successfully. Run the following command to check the I/O status of the server:
iotop
The result is as follows:
At the end
Today’s incident was a pure mistake, but it also shows a problem, do not take things for granted, it is easy to fall into the wrong way.
About the author: Hi, everyone, I am Liuzhen007, an audio and video technology enthusiast, CSDN blog expert, Huawei Cloud community cloud sharing expert, signed author, welcome to follow me to share more audio and video related content!