关于错误IOError:<urlopen error (-3, 'Temporary failure in name resolution')>的解决
来源:互联网 发布:知乎 mpacc值得读吗 编辑:程序博客网 时间:2024/04/24 04:20
fedora安装Tftp时出错:网上对此问题解决方法很多,但都没有解决此问题,最终还是从鸟哥的书上找到答案。
错误信息如下:
[root@tom ~]# yum install xinetd tftp tftp-server
Loaded plugins: refresh-packagekit
http://ftp-stud.hs-esslingen.de/pub/Mirrors/archive.fedoraproject.org/fedora/linux/releases/9/Everything/i386/os/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Trying other mirror.
http://fedora-mirror01.rbc.ru/pub/fedora-archive/fedora/linux/releases/9/Everything/i386/os/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Trying other mirror.
http://dl.fedoraproject.org/pub/archive/fedora/linux/releases/9/Everything/i386/os/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again
解决方法:
[root@tom /]# yum search tftp
Loaded plugins: refresh-packagekit
================================ Matched: tftp =================================
bootparamd.i386 : A server process which provides boot information to diskless
: clients
curl.i386 : A utility for getting files from remote servers (FTP, HTTP, and
: others)
jakarta-commons-net.noarch : Internet protocol suite Java library
tcp_wrappers.i386 : A security tool which acts as a wrapper for TCP daemons
tftp.i386 : The client for the Trivial File Transfer Protocol (TFTP)
tftp-server.i386 : The server for the Trivial File Transfer Protocol (TFTP)
[root@tom /]# yum install tftp.i386
Loaded plugins: refresh-packagekit
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package tftp.i386 0:0.48-3.fc9 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
tftp i386 0.48-3.fc9 fedora 28 k
Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 28 k
Is this ok [y/N]: y
Downloading Packages:
(1/1): tftp-0.48-3.fc9.i386.rpm | 28 kB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: tftp ######################### [1/1]
Installed: tftp.i386 0:0.48-3.fc9
Complete!
[root@tom /]# yum install tftp-server.i386
Loaded plugins: refresh-packagekit
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package tftp-server.i386 0:0.48-3.fc9 set to be updated
--> Processing Dependency: xinetd for package: tftp-server
--> Running transaction check
---> Package xinetd.i386 2:2.3.14-18.fc9 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
tftp-server i386 0.48-3.fc9 fedora 35 k
Installing for dependencies:
xinetd i386 2:2.3.14-18.fc9 fedora 124 k
Transaction Summary
=============================================================================
Install 2 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 160 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): xinetd-2.3.14-18.fc9.i386.rpm | 124 kB 00:01
(2/2): tftp-server-0.48-3.fc9.i386.rpm | 35 kB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: xinetd ######################### [1/2]
Installing: tftp-server ######################### [2/2]
Installed: tftp-server.i386 0:0.48-3.fc9
Dependency Installed: xinetd.i386 2:2.3.14-18.fc9
Complete!
[root@tom /]# yum install tcp_wrappers.i386
Loaded plugins: refresh-packagekit
Setting up Install Process
Parsing package install arguments
Package tcp_wrappers-7.6-52.fc9.i386 already installed and latest version
Nothing to do
[root@tom /]# yum install curl.i386
Loaded plugins: refresh-packagekit
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package curl.i386 0:7.18.1-1.fc9 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
curl i386 7.18.1-1.fc9 fedora 149 k
Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 149 k
Is this ok [y/N]: y
Downloading Packages:
(1/1): curl-7.18.1-1.fc9.i386.rpm | 149 kB 00:01
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: curl ######################### [1/1]
Installed: curl.i386 0:7.18.1-1.fc9
Complete!
[root@tom /]# yum install bootparamd.i386
Loaded plugins: refresh-packagekit
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package bootparamd.i386 0:0.17-27.fc9 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
bootparamd i386 0.17-27.fc9 fedora 21 k
Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 21 k
Is this ok [y/N]: y
Downloading Packages:
(1/1): bootparamd-0.17-27.fc9.i386.rpm | 21 kB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: bootparamd ######################### [1/1]
Installed: bootparamd.i386 0:0.17-27.fc9
Complete!
[root@tom /]#
测试:
[root@tom /]# cd tftpboot/
[root@tom tftpboot]# ls
[root@tom tftpboot]# vi /etc/xinetd.
xinetd.conf xinetd.d/
[root@tom tftpboot]# vi /etc/xinetd.d/t
tcpmux-server tftp time-dgram time-stream
[root@tom tftpboot]# vi /etc/xinetd.d/tftp
[root@tom tftpboot]# /etc/init.d/xinetd start
Starting xinetd: [ OK ]
[root@tom tftpboot]# /etc/init.d/xinetd restart
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
[root@tom tftpboot]# netstat -a | grep tftp
udp 0 0 *:tftp *:*
到此tftp启动成功
[root@tom /]# cd home/
[root@tom home]# ls
apache apache_1.3.36.tar.gz apache-arm fzf smb
[root@tom home]# tftp 127.0.0.1
tftp> help
tftp-hpa 0.48
Commands may be abbreviated. Commands are:
connect connect to remote tftp
mode set file transfer mode
put send file
get receive file
quit exit tftp
verbose toggle verbose mode
trace toggle packet tracing
literal toggle literal mode, ignore ':' in file name
status show current status
binary set mode to octet
ascii set mode to netascii
rexmt set per-packet transmission timeout
timeout set total retransmission timeout
? print help information
help print help information
tftp> get test
tftp> q
[root@tom home]# ls
apache apache_1.3.36.tar.gz apache-arm fzf smb test
//本机测试Tftp服务器成功
- 关于错误IOError:<urlopen error (-3, 'Temporary failure in name resolution')>的解决
- <urlopen error [Errno -3] Temporary failure in name resolution>
- Temporary failure in name resolution
- Temporary failure in name resolution
- Temporary failure in name resolution
- Resolving failed: Temporary failure in name resolution 错误解决方法
- Resolving failed: Temporary failure in name resolution 错误解决方法
- wget下载出现failed: Temporary failure in name resolution错误的解决方法
- socket.gaierror Errno -3 Temporary failure in name resolution
- telnet报错,Temporary failure in name resolution:Illegal seek
- Yum 出现 Temporary failure in name resolution 解决方案
- 控制节点mysql日志:Temporary failure in name resolution
- php_network_getaddresses: getaddrinfo failed:Temporary failure in name resolution
- 在安装python的pip工具时,遇到以下报错[Errno -3] Temporary failure in name resolution',)': /simple/pip/
- IP address could not be resolved: Temporary failure in name resolution
- IP address could not be resolved: Temporary failure in name resolution
- [MySQL]IP address '192.168.31.110' could not be resolved: Temporary failure in name resolution
- Caused by: java.net.UnknownHostException: www.baidu.com: Temporary failure in name resolution
- Internals of Java Class Loading
- 原始版N皇后问题,最慢的算法
- delphi数据库一些知识点
- Android ApiDemos示例解析(11):App->Activity->Receive Result
- 最详细的Cydia使用教程------完全版。新补充Cydia1.1.1离线安装(升级)方法。
- 关于错误IOError:<urlopen error (-3, 'Temporary failure in name resolution')>的解决
- 最全面的shsh备份及恢复教程,已更新Win版小雨伞4.33.00
- OpenGL纹理学习总结
- 感冒
- 随笔
- Kinect的软实力
- [原创]个人收集有关计算机视觉和模式识别相关的网址
- page62
- 经纬度知识-来源,计算,根据两点经纬度计算距离