Client configured for auth=bsd while server requested 'bsdudp': Difference between revisions

From wiki.zmanda.com
Jump to navigation Jump to search
(add reference to amservice)
(man links)
 
Line 4: Line 4:


=Solution=
=Solution=
* Authentication on the client and server should match for both backup ([[amdump]]) as well recovery ([[amrecover]]) process.
* Authentication on the client and server should match for both backup ({{man|8|amdump}}) as well recovery ({{man|8|amrecover}}) process.
** Fix the authentication value on in the xinetd configuration on the Amanda client; or
** Fix the authentication value on in the xinetd configuration on the Amanda client; or
** Fix the authentication field in the dumptype definition (in [[amanda.conf]]) on the Amanda server
** Fix the authentication field in the dumptype definition (in {{man|8|amanda.conf}}) on the Amanda server


You can test a client's configuration from the server with [[amservice]] in Amanda-2.6.1 or higher.
You can test a client's configuration from the server with {{man|8|amservice}} in Amanda-2.6.1 or higher.
   amservice clienthostname auth noop </dev/null
   amservice clienthostname auth noop </dev/null
where ''auth'' is the authentication you have configured on the client.  If this displays a line beginning with "OPTIONS", then the client is configured correctly, and you should check your dumptype on the server.  Otherwise, check the configuration on the client.
where ''auth'' is the authentication you have configured on the client.  If this displays a line beginning with "OPTIONS", then the client is configured correctly, and you should check your dumptype on the server.  Otherwise, check the configuration on the client.

Latest revision as of 21:00, 30 June 2008

This article is a part of the Troubleshooting collection.

Problem

Authentication on the client and server does not match. The error message will display which authentication protocol is configured on server and the client.

Solution

  • Authentication on the client and server should match for both backup (amdump(8)) as well recovery (amrecover(8)) process.
    • Fix the authentication value on in the xinetd configuration on the Amanda client; or
    • Fix the authentication field in the dumptype definition (in amanda.conf(8)) on the Amanda server

You can test a client's configuration from the server with amservice(8) in Amanda-2.6.1 or higher.

 amservice clienthostname auth noop </dev/null

where auth is the authentication you have configured on the client. If this displays a line beginning with "OPTIONS", then the client is configured correctly, and you should check your dumptype on the server. Otherwise, check the configuration on the client.