Troubleshooting: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 1: | Line 1: | ||
== What kind of trouble? == | == What kind of trouble? == | ||
[[amdump command]] | [[amdump command]] | ||
Line 18: | Line 16: | ||
[[amverify command]] | [[amverify command]] | ||
=== General networking === | |||
; Issue : Amanda server and backup client are connected to the Internet via ADSL. It seems that when Amanda on the backup client does a DNS lookup for my Amanda server, it sees something like: | |||
which is generated by the ISP. Since the machine has a static IP address, the really-long-and-annoying-hostname shouldn't change. How to use backup server's hostname | |||
actual hostname (amanda.mydomain.com) instead of the long ISP name? | |||
; Solution : | |||
* Define the IP address in the hosts file (/etc/hosts) on the backup client | |||
XXX.XXX.XXX.XXX amanda.mydomain.com | |||
* Change the name lookup order in /etc/nsswitch.conf file to | |||
hosts: files dns | |||
The lookup order, eg. files dns (and/or ldap, nis, ...) so that hosts file | |||
is searched before name servers. |
Revision as of 19:36, 14 November 2005
What kind of trouble?
General networking
- Issue
- Amanda server and backup client are connected to the Internet via ADSL. It seems that when Amanda on the backup client does a DNS lookup for my Amanda server, it sees something like:
[email protected]
which is generated by the ISP. Since the machine has a static IP address, the really-long-and-annoying-hostname shouldn't change. How to use backup server's hostname actual hostname (amanda.mydomain.com) instead of the long ISP name?
- Solution
- Define the IP address in the hosts file (/etc/hosts) on the backup client
XXX.XXX.XXX.XXX amanda.mydomain.com
- Change the name lookup order in /etc/nsswitch.conf file to
hosts: files dns
The lookup order, eg. files dns (and/or ldap, nis, ...) so that hosts file is searched before name servers.