name server cannot be used, reason: Temporary failure in name resolution
2014.12.18
做同步時間的時候,執行命令操作:
[root@zhanglin ~]# /usr/sbin/ntpdate pool.ntp.org
會報錯:
Name server cannot be used, exiting18 Dec 19:39:39 ntpdate[3592]: name server cannot be used, reason: Temporary failure in name resolution
1、首先確認ntpd 服務是開啟的。
[root@retail-153 ~]# /etc/init.d/ntpd start
正在啟動 ntpd: [確定]
2、檢查你的DNS是否新增,如果沒有新增,就把你所使用的新增上去。
編輯檔案:
[root@zhanglin ~]# vi /etc/resolv.conf
# Generated by NetworkManager
nameserver 202.99.144.12
nameserver 202.99.143.11
或者新增通用DNS: nameserver 8.8.8.8
測試:
[root@zhanglin ~]# ntpdate pool.ntp.org
18 Dec 13:40:32 ntpdate[23722]: the NTP socket is in use, exiting
[root@retail-153 ~]# date -R
Thu, 18 Dec 2014 13:40:36 +0800
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/30936525/viewspace-2018409/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- [virtualbox] temporary failure in name resolutionAI
- IP address could not be resolved: Temporary failure in name resolutionAI
- Temporary failure in name resolution - DNS引發的問題和思考AIDNS
- MySQL could not be resolved: Temporary failure in name resolution報錯解決方法MySqlAI
- Resolving failed: Temporary failure in name resolution 錯誤解決方法AI
- Resolving archive.cloudera.com... failed: Temporary failure in nameHiveCloudAI
- Object Name Resolution (248)Object
- ImportError: cannot import name parseImportError
- nginx server_nameNginxServer
- importError: cannot import name 'izip_longest'ImportError
- Warning: Cannot redeclare function_name()Function
- MSSQL Server Rename Server_nameSQLServer
- 寶塔:續簽SSL證書報錯Verification failed, domain name resolution error or verification URL cannot be accessed!AIError
- cannot import name ‘multiarray‘ from ‘numpy.core‘Import
- cannot import name '_psutil_linux'ImportLinux
- server_name 原始碼分析Server原始碼
- Import Error: cannot import name ‘export_saved_modelImportErrorExport
- ImportError: cannot import name ‘imresize‘解決辦法ImportError
- ImportError: cannot import name ‘BaseQuery‘ from ‘flask_sqlalchemy‘ImportErrorFlaskSQL
- DB_NAME&TANCE_NAME&DB_UNIQUE_NAME&ORACLE_SID&GLOBAL_NAME&DB_DOMAIN&SERVICE_NAMEOracleAI
- error: '[class name]' does not name a typeError
- CUUG 筆記ORACLE db_name instance_name gobal_name service_name db_unique_name分析筆記OracleGo
- ImportError: cannot import name ‘audio_ops‘ (TensorFlow)ImportError
- 更改Global_name, domain_name, db_name 的方法AI
- DB_NAME、DB_UNIQUE_NAME、SERVICE_NAME和INSTANCE_NAME等的區別
- 解決 ImportError: cannot import name 'imread' from 'scipy.misc'ImportError
- ImportError: cannot import name 'get_ora_doc' from partially initialized moduleImportErrorZed
- Python django報錯ImportError: cannot import name find_specPythonDjangoImportError
- db_name,db_domain, global_name, service_name的區別AI
- Oracle修改instance_name、db_name、db_unique_name、service_namesOracle
- HTTP_HOST 和 SERVER_NAME 的區別HTTPServer
- vmware server web access的login name和passwordServerWeb
- instance_name、db_name、ORACLE_SID、db_name等的區別Oracle
- asp.net mvc get controller name and action nameASP.NETMVCController
- db_name和db_unique_name的區別
- SID、ORACLE_SID、INSTANCE_NAME、DB_NAME、SERVER_NAMES、GLOBAL_DBNAME等區別OracleServer
- ORACLE_SID,INSTANCE_NAME和DB_NAMEOracle
- DB_NAME DB_UNIQUE_NAME 和 SID 的理解