ERROR: 202.85.165.88: [addr 202.85.164.38: hostname lookup failed]
Dear all, Thanks for the guide for RPM for RH7.0. Now, it worsk for my own server's backup. But, for the another client backup, I have added the server's entry in the .amandahosts ns31.newsbook.net operator202.85.164.38 operator Then, I run the following on my server: sh-2.04$ ./amcheck DailySet1Amanda Tape Server Host Check-/var/tmp: 26420536 KB disk space available, that's plenty.NOTE: skipping tape-writable test.Tape DailySet100 label ok.Server check took 0.052 seconds. Amanda Backup Client Hosts Check----ERROR: 202.85.165.88: [addr 202.85.164.38: hostname lookup failed]Client check: 2 hosts checked in 0.023 seconds, 1 problem found. (brought to you by Amanda 2.4.1p1) And have the above problem. So, I use nslookup in my server and get: [root@ns31 DailySet1]# nslookup*** Can't find server name for address 202.85.164.38: Non-existent host/domain*** Can't find server name for address 202.85.138.168: Non-existent host/domain*** Can't find server name for address 202.85.153.182: Non-existent host/domain*** Default servers are not available Is it my IP setting wrong and cause the problem? How can I correct it? Yours, Richard Ao
Re: ERROR: 202.85.165.88: [addr 202.85.164.38: hostname lookup failed]
>*** Default servers are not available The machines which amanda thinks are the default name servers for your domain are for some reason not responding, it seems. Check your resolv.conf. -- Peter N. M. Hansteen [EMAIL PROTECTED] http://www.datadok.no Datadokumentasjon A/S, Bredsgaarden 2, N-5003 Bergen, Norway Tel: +47 55 32 08 02Fax: +47 55 32 14 95
Re: ERROR: 202.85.165.88: [addr 202.85.164.38: hostname lookup failed]
> richard wrote: > > *** Default servers are not available > Do you have a DNS server? It seems that you don't. If you really don't have one, then you should update your /etc/hosts file (or, more precisely, whichever alternative to DNS is listed in your /etc/nsswitch.conf file in the entry "hosts:") with entries for 202.85.164.38 and all the other adresses that AMANDA will need. If you have a DNS server, then you will have to check /etc/resolv.conf: the DNS server should be listed in the entry "nameserver". If nothing works, it's a deeper DNS problem of your site. -- Regards Chris Karakas Don´t waste your cpu time - crack rc5: http://www.distributed.net
Re: ERROR: 202.85.165.88: [addr 202.85.164.38: hostname lookup failed]
Dear all, Thanks for your hint. But I have checked the following and the problem still exists. After the ./amdump, I still get the error: FAILURE AND STRANGE DUMP SUMMARY: 202.85.165 /home lev 0 FAILED [202.85.165.88: [addr 202.85.164.38: hostname lookup failed] Can anyone tell me what is wrong with my setting This server is also a DNS server. My DNS setting is as followed: My /etc/resolv.conf: domain ns31.newsbook.net search ns31.newsbook.net nameserver 202.85.164.38 nameserver 202.85.138.168 nameserver 202.85.153.182 My server ns31.newsbook.net has been pointed to this server from my main DNS server. This server has its own DNS server from RH7.0 too. My /etc/named.boot file: directory /var/named cache . named.ca primary 0.0.127.in-addr.arpa named.local primary 202.85.164.38.in-addr.arpa rev.38.164.85.202 My /var/named/rev.38.164.85.202 file is: @ IN SOA ns31.newsbook.net. ns31.newsbook.net. ( 1997022700 ; serial 28800 ; refresh 14400 ; retry 360 ; expire 86400 ; default_ttl ) @ IN NS ns31.newsbook.net. 1 IN PTR ns31.newsbook.net. Yours, Richard Ao - Original Message - From: "Chris Karakas" <[EMAIL PROTECTED]> To: "richard" <[EMAIL PROTECTED]> Cc: "amanda-users" <[EMAIL PROTECTED]> Sent: Friday, December 08, 2000 11:11 PM Subject: Re: ERROR: 202.85.165.88: [addr 202.85.164.38: hostname lookup failed] > > richard wrote: > > > > *** Default servers are not available > > > > Do you have a DNS server? It seems that you don't. If you really don't > have one, then you should update your /etc/hosts file (or, more > precisely, whichever alternative to DNS is listed in your > /etc/nsswitch.conf file in the entry "hosts:") with entries for > 202.85.164.38 and all the other adresses that AMANDA will need. If you > have a DNS server, then you will have to check /etc/resolv.conf: the DNS > server should be listed in the entry "nameserver". If nothing works, > it's a deeper DNS problem of your site. > > -- > Regards > > Chris Karakas > Don´t waste your cpu time - crack rc5: http://www.distributed.net
Re: ERROR: 202.85.165.88: [addr 202.85.164.38: hostname lookup failed]
>My /etc/resolv.conf: >domain ns31.newsbook.net >search ns31.newsbook.net Here you are saying that your domain is ns31.newsbook.net. Is that what you want? - Peter -- Peter N. M. Hansteen [EMAIL PROTECTED] http://www.datadok.no Datadokumentasjon A/S, Bredsgaarden 2, N-5003 Bergen, Norway Tel: +47 55 32 08 02Fax: +47 55 32 14 95
Re: ERROR: 202.85.165.88: [addr 202.85.164.38: hostname lookup failed]
richard wrote: > > Dear all, > Thanks for your hint. But I have checked the following and the problem > still exists. > After the ./amdump, I still get the error: > FAILURE AND STRANGE DUMP SUMMARY: > 202.85.165 /home lev 0 FAILED [202.85.165.88: [addr 202.85.164.38: > hostname > lookup failed] [...] > My /etc/named.boot file: > directory /var/named > cache . named.ca > primary 0.0.127.in-addr.arpa named.local > primary 202.85.164.38.in-addr.arpa rev.38.164.85.202 There is no zone 202.85.164.38.in-addr.arpa. First of all, in-addr.arpa. counts backwards, so the PTR-Record for 202.85.165.88 is in Zone 165.85.202.in-addr.arpa. If you run an authoritative Zone for 165.85.202.in-addr.arpa and you don't own the complete zone, you will have troubles nslookuping the other hosts in that zone. You might want to setup "classless in-addr-arpa delegation" (RFC 2317). If this reverse zone ist hosted by your provider, ask him to add the correct hostname for 202.85.164.38. If this zone is hosted by you, make sure your parent zone's (85.202.in-addr.arpa) NS records point to your nameservers. $ dig 165.85.202.in-addr.arpa. ns ; <<>> DiG 8.2 <<>> 165.85.202.in-addr.arpa. ns ;; res options: init recurs defnam dnsrch ;; got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0 ;; QUERY SECTION: ;; 165.85.202.in-addr.arpa, type = NS, class = IN ;; ANSWER SECTION: 165.85.202.in-addr.arpa. 4D IN NS hk1dns01.iadvantage.net.hk. 165.85.202.in-addr.arpa. 4D IN NS hk1dns02.iadvantage.net.hk. ;; Total query time: 673 msec ;; FROM: apollo to SERVER: default -- 192.168.1.6 ;; WHEN: Mon Dec 11 12:08:34 2000 ;; MSG SIZE sent: 41 rcvd: 104
Re: ERROR: 202.85.165.88: [addr 202.85.164.38: hostname lookup failed]
richard wrote: > > My /var/named/rev.38.164.85.202 file is: > @ IN SOA ns31.newsbook.net. ns31.newsbook.net. ( > 1997022700 ; serial ^^ Did you change the serial number after any changes you made to the file? -- Regards Chris Karakas Don´t waste your cpu time - crack rc5: http://www.distributed.net