\r\n\r\n#cat/etc/defaultrouter\r\n192.168.101.10\r\n\r\n\r\n\r\n#cat/etc/hostname.pcn0 \r\nSolaris\r\n\r\n\r\n\r\n#cat /etc/nodename\r\nSolaris\r\n\r\n\r\n#cat/etc/resolv.conf\r\nnameserver 192.168.101.2\r\n\r\n\r\n\r\n# cat /etc/hosts\r\n#\r\n# Internet host table\r\n#\r\n127.0.0.1 localhost\r\n192.168.101.225 Solaris loghost\r\n\r\n\r\n\r\n# cat /etc/nsswitch.conf\r\n#\r\n# /etc/nsswitch.files:\r\n#\r\n# An example file that could be copied over to /etc/nsswitch.conf; it\r\n# does not use any naming service.\r\n#\r\n# \"hosts:\" and \"services:\" in this file are used only if the\r\n# /etc/netconfig file has a \"-\" for nametoaddr_libs of \"inet\" transports.\r\n\r\npasswd: files\r\ngroup: files\r\nhosts: file dns\r\nipnodes: files\r\nnetworks: files\r\n\r\n\r\n
原帖由 \"junglelion\" 發(fā)表:\n兄弟,問(wèn)題在這里:\r\n#vi /etc/nsswitch.conf\r\n把hosts: file dns\r\n改為hosts: files dns\r\n然后保存,重新啟動(dòng),保證OK,你少了一個(gè)\"s\"\r\n
歡迎光臨 Chinaunix (http://72891.cn/) | Powered by Discuz! X3.2 |