On Wed, Jan 22, 2003 at 08:03:43AM -0700, Santiago wrote: > Hello. I am new to amanda, so please forgive any newbie questions. I > have done my best to RTFM for all of the docs I can find googling > amanda. My question relates to the hostname lookup performed by amanda - > I have put the correct machine name/IP in /etc/hosts. There is no DNS > resolution for this machine (or many other machines that I will be > backing up). How do I correct this error and get amanda to resolve > hostnames correctly (from my /etc/hosts file)? > > TIA, > Santiago > > Yes, the machine resolves to /etc/hosts first. > > [root@backup root]# ping scratchy > PING scratchy (xxx.xxx.195.18) from 10.0.0.10 : 56(84) bytes of data. > 64 bytes from scratchy (xxx.xxx.195.18): icmp_seq=1 ttl=254 time=0.652 ms > 64 bytes from scratchy (xxx.xxx.195.18): icmp_seq=2 ttl=254 time=0.286 ms > > [root@backup root]# su amanda -c "amcheck Daily" > Amanda Tape Server Host Check > ----------------------------- > Holding disk /dumps/amanda: 218906388 KB disk space available, that's plenty > ERROR: /dev/nst0: No such file or directory > (expecting a new tape) > NOTE: skipping tape-writable test > NOTE: info dir /usr/local/var/amanda/DailySet1/curinfo: does not exist > NOTE: it will be created on the next run > Server check took 0.018 seconds > > Amanda Backup Client Hosts Check > -------------------------------- > ERROR: scratchy: [addr xxx.xxx.195.20: hostname lookup failed] > Client check: 1 host checked in 0.061 seconds, 1 problem found >
What if you put in the IP addr or a FQDN for scratchy in the disklist? Does amcheck find it then? BTW amcheck "-c" will skip to that part. -- Jon H. LaBadie [EMAIL PROTECTED] JG Computing 4455 Province Line Road (609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax)