Access as localuser not allowed from remoteuser@remotehost: Difference between revisions

From wiki.zmanda.com
Jump to navigation Jump to search
No edit summary
(rv - spam)
Line 84: Line 84:
----
----
See more [[amcheck issues]].
See more [[amcheck issues]].
<div  style="display:none">
[We are delicate. We do not delete your content.]
[l_sp1]
[http://ringtonemaker.blogs.eurosport.com/ ringtone maker]
[http://verizonringtone.forumco.com/ verizon ringtone]
[http://uscellularringtone.forumco.com US Cellular Ringtone]
[http://blog.investing.com/bcbgshoes/ bcbg shoes]
[http://www.buddyprofile.com/viewprofile.php?username=waterfordcrystal waterford crystal]
[http://www.buddyprofile.com/viewprofile.php?username=swarovskicrystal swarovski crystal bead]
[http://www.buddyprofile.com/viewprofile.php?username=mesotheliomalawsuits mesothelioma lawsuits]
[http://www.buddyprofile.com/viewprofile.php?username=mesotheliomasymptoms mesothelioma symptoms]
[http://www.buddyprofile.com/viewprofile.php?username=mesotheliomadiag mesothelioma diagnosis]
[http://www.missoula.com/blog/sexypromdresses/ Sexy Prom Dresses]
[http://www.justachat.com/blog/?w=naturalizershoes Naturalizer Shoes]
[http://www.toutelapoesie.com/blog/aerobed/ Aero Bed]
[http://www.totalvideogames.com/blog/freesprintringtones/ Free Sprint Ringtones]
[http://www.totalvideogames.com/blog/freeverizonringtones/ Free Verizon Ringtones]
[http://www.totalvideogames.com/blog/freenextelringtones/ free nextel ringtones]
[http://www.totalvideogames.com/blog/sexypromdresses/ sexy prom dress]
[http://www.totalvideogames.com/blog/formalpromdresses/ Formal Prom Dresses]
[http://www.totalvideogames.com/blog/cheappromdresses/ cheap prom dresses]
[http://www.totalvideogames.com/blog/plussizepromdress/ Plus Size Prom Dresses]
[http://www.totalvideogames.com/blog/tiffanypromdresses/ tiffany prom dresses]
[http://www.totalvideogames.com/blog/strippoker/ erotic games strip poker]
[http://www.totalvideogames.com/blog/pokemoncardgame/ pokemon trading card game rom]
[http://www.totalvideogames.com/blog/hoylecardgames/ hoyle card games]
[http://www.totalvideogames.com/blog/teenbra/ teen bra]
[http://www.totalvideogames.com/blog/brateencleavage/ Bra Teen Cleavage]
[http://www.totalvideogames.com/blog/microbiniki/ Micro Bikini]
[http://www.totalvideogames.com/blog/teensbra/ Teens Bra]
[http://www.totalvideogames.com/blog/sexybras/ sexy bras]
[http://www.totalvideogames.com/blog/bulmabra/ bulma bra]
[http://www.totalvideogames.com/blog/sheerbra/ sheer bra]
[http://www.totalvideogames.com/blog/autoloancalculator/ auto loan calculator]
[http://www.totalvideogames.com/blog/loanconsolidation/ Federal Student Loan Consolidation]
[http://www.totalvideogames.com/blog/privatestudentloan/ private student loan consolidation]
[http://www.totalvideogames.com/blog/acsstudentloans/ acs student loans]
[http://www.totalvideogames.com/blog/countrywidehomeloans/ countrywide home loans]
[http://www.totalvideogames.com/blog/refinancehomeloan/ refinance home loan st louis]
[http://www.buddyprofile.com/viewprofile.php?username=wacoalbras wacoal bras]
[http://www.buddyprofile.com/viewprofile.php?username=teenbra teen bra]
[http://www.buddyprofile.com/viewprofile.php?username=unsecuredloan unsecured signature loan]
[http://www.buddyprofile.com/viewprofile.php?username=homeloans Countrywide Home Loans]
[http://blog.moddingplanet.it/?w=formalpromdresses Formal Prom Dresses]
[http://blog.moddingplanet.it/?w=sexypromdress Sexy Prom Dress]
[http://blog.moddingplanet.it/?w=cocktaildresses cocktail dresses]
[http://www.buddyprofile.com/viewprofile.php?username=telmobile TMobile]
[http://www.buddyprofile.com/viewprofile.php?username=watersoftener water softener]
[http://www.buddyprofile.com/viewprofile.php?username=tanklesswaterheater tankless water heater]
[http://www.totalvideogames.com/blog/oscardresses/ oscar dresses]
[http://www.totalvideogames.com/blog/motherbridedress/ mother of the bride dresses]
[http://www.totalvideogames.com/blog/bridesmaiddresses/ bridesmaid dresses]
[http://www.totalvideogames.com/blog/cocktaildresses/ cocktail dresses]
[http://www.totalvideogames.com/blog/formaldresses/ formal dresses]
[http://www.totalvideogames.com/blog/easterdresses/ easter dresses]
[http://www.totalvideogames.com/blog/eveningdresses/ evening dresses]
[http://www.totalvideogames.com/blog/eveninggowns/ evening gowns]
[http://www.totalvideogames.com/blog/ballgowns/ ball gowns]
[http://www.totalvideogames.com/blog/formalgowns/ formal gowns]
[http://www.totalvideogames.com/blog/plussizewedding/ plus size wedding gowns]
[http://www.buddyprofile.com/viewprofile.php?username=rockportshoes rockport shoes]
[http://www.buddyprofile.com/viewprofile.php?username=osmosiswaterfilter reverse osmosis water filter]
[http://www.buddyprofile.com/viewprofile.php?username=merrellshoes merrell shoes]
[http://www.totalvideogames.com/blog/casinoroyale/ casino royale]
[http://www.totalvideogames.com/blog/throatpokers/ throat pokers]
[http://www.totalvideogames.com/blog/freestrippoker/ free strip poker]
[http://www.totalvideogames.com/blog/crazygameofpoker/ crazy game of poker]
[http://www.totalvideogames.com/blog/pokerchips/ poker chips]
[http://www.totalvideogames.com/blog/texasholdempoker/ texas holdem poker game]
[http://www.totalvideogames.com/blog/onlinepokeraide/ online poker aide]
[http://www.totalvideogames.com/blog/onlinepokerassistant/ online poker assistant]
[http://www.totalvideogames.com/blog/casinodirectory/ casino directory gambling online]
[http://www.totalvideogames.com/blog/onlinepaigowpoker/ online pai gow poker]
[http://www.totalvideogames.com/blog/hooterscasino/ hooters casino]
[http://www.totalvideogames.com/blog/atlanticcitycasino/ atlantic city casinos]
[http://www.totalvideogames.com/blog/buyativanonline/ buy ativan online]
[http://www.totalvideogames.com/blog/buyoxycontinonline/ buy oxycontin online]
[http://www.totalvideogames.com/blog/buyalprazolamonline/ buy alprazolam online]
[http://www.totalvideogames.com/blog/buyalprazolam/ buy alprazolam]
[http://www.totalvideogames.com/blog/cialisnoprescription/ cialis no prescription]
[http://www.totalvideogames.com/blog/xanaxxr/ xanax xr]
[http://www.totalvideogames.com/blog/ultramer/ ultram er]
[http://www.totalvideogames.com/blog/buyultramonline/ buy ultram online]
[http://www.totalvideogames.com/blog/genericfioricet/ generic fioricet]
[http://www.totalvideogames.com/blog/buyfioricetonline/ buy fioricet online]
[http://www.totalvideogames.com/blog/phentermine375mg/ phentermine 37 5mg]
[http://www.totalvideogames.com/blog/bontrilsr/ bontril sr]
[http://www.totalvideogames.com/blog/cheapbontril/ cheap bontril]
[http://www.totalvideogames.com/blog/ambiencr/ ambien cr]
[http://www.totalvideogames.com/blog/buydidrexonline/ buy didrex online]
[http://www.totalvideogames.com/blog/adipex/ adipex without a prescription]
[http://www.totalvideogames.com/blog/buytamiflu/ buy tamiflu]
[http://www.totalvideogames.com/blog/buyclonazepam/ buy clonazepam]
[http://www.totalvideogames.com/blog/purchasetramadol/ purchase tramadol without a prescription]
[http://www.totalvideogames.com/blog/buyacyclovir/ buy acyclovir]
[http://www.totalvideogames.com/blog/buycodeine/ buy codeine]
[http://www.totalvideogames.com/blog/privatepoker/ private poker tournament]
[http://www.totalvideogames.com/blog/freerollpoker/ freeroll poker tournament]
[http://www.totalvideogames.com/blog/caribbeanstudpoker/ caribbean stud poker]
[http://www.totalvideogames.com/blog/paradisepoker/ paradise poker]
[http://www.totalvideogames.com/blog/playfreestrippoker/ play free strip poker]
[http://www.totalvideogames.com/blog/eroticgames/ erotic games strip poker]
[http://www.totalvideogames.com/blog/onlinepoker/ online poker calculator]
[http://www.totalvideogames.com/blog/onlinepokertracker/ online poker tracker]
[http://www.totalvideogames.com/blog/buydiazepam/ buy diazepam]
[http://www.totalvideogames.com/blog/didrex/ didrex]
[http://www.totalvideogames.com/blog/buydidrex/ buy didrex]
[http://www.totalvideogames.com/blog/adipexpr/ adipex without prescription]
[http://www.totalvideogames.com/blog/adipexp/ adipex p]
[http://www.totalvideogames.com/blog/clonazepam/ clonazepam]
[http://www.totalvideogames.com/blog/bclonazepam/ buy clonazepam]
[http://www.totalvideogames.com/blog/diethylpropion/ diethylpropion]
[http://www.totalvideogames.com/blog/celexa/ celexa]
[http://www.totalvideogames.com/blog/paxilcr/ paxil cr]
[http://www.totalvideogames.com/blog/lorazepam/ lorazepam]
[http://www.totalvideogames.com/blog/hydrocodoneapap/ hydrocodone apap]
[http://www.totalvideogames.com/blog/lortab/ lortab]
[http://www.totalvideogames.com/blog/klonopin/ klonopin]
[http://www.totalvideogames.com/blog/norco/ norco]
[http://www.totalvideogames.com/blog/buypropecia/ buy propecia]
[http://www.totalvideogames.com/blog/orderpropecia/ order propecia]
[http://www.totalvideogames.com/blog/phendimetrazine/ phendimetrazine]
[http://www.totalvideogames.com/blog/Butalbital/ Butalbital]
[http://www.totalvideogames.com/blog/cheapxenical/ cheap xenical]
[http://www.totalvideogames.com/blog/wellbutrinxl/ wellbutrin xl]
[http://www.totalvideogames.com/blog/valtrex/ valtrex]
[http://www.totalvideogames.com/blog/vicodin/ vicodin without prescription]
</div>

Revision as of 08:01, 12 May 2006

--- This text was originally contributed to the AMANDA-FAQ-O-Matic by [email protected]. ---

Amcheck may give this error message:

Amanda Backup Client Hosts Check
--------------------------------
ERROR: clienthost: [access as localuser not allowed from remoteuser@remotehost] 

(x)inetd configuration on the client

First, if the localuser is not what you expect (i.e., not what you have specified in the --with-user flag, at configure time for that client), check the (x)inetd configuration file on the client: you must have specified the wrong username there.

Verify this is the name that is compiled into the Amanda client: look in the amandad debug file in the AMANDA_DBGDIR directory, and verify the CLIENT_LOGIN value).

File .amandahosts or .rhosts on the client

The file .amandahosts on the client has lines of the format:

 remotehost  remoteuser

indicating that user "remoteuser" from host "remotehost" is allowed to initiate a backup on this client.

The "remoteuser" is optional, and if omitted, defaults to the localuser that is running amandad, i.e. the user listed in the (x)inetd configuration file.

Make sure you specify the hostname exactly as it appears in the error message after the `@' sign. You'll need a fully-qualified domain name or not, depending on how your client resolves IP addresses to hostnames.

Depending on the error message saying:

access as backup not allowed from [email protected]

or

access as backup not allowed from amanda@saturn

then .amandahosts file on the client needs the first or the second line:

saturn.example.com  amanda
saturn  amanda

You may add both lines.

The .amandahosts file need strict permissions since version 2.5.0. The file should be owned by the dumpuser and not be readable or writeable by anyone else. Also, the home directory of the dumpuser (containing the .amandahosts file) should not be writeable by anyone else. Otherwise the file is ignored.

# chown amanda  ~amanda  ~/.amandahosts
# chmod 755 ~amanda
# chmod 600 ~amanda/.amandahosts

Make sure the dumpuser does have read access to the file, including the complete path leading to the file. Check the permissions of all the parent directories up to the root directory for at least 'x' access as the dumpuser on that client.

When the programs were compiled with "--without-amandahosts", then Amanda uses the file .rhosts instead. That file has the same format, and the same restrictions on permissions.

DNS issues on the client

If the "remotehost" is not what you expect, there may be a problem with the DNS resolution on the client.

You can add your preferred server hostname to the file /etc/hosts on the client:

/etc/hosts:

  1.2.3.4   amandaserver.example.com

And change the name lookup order in:

/etc/nsswitch.conf:

  hosts:   files, dns

making sure the hosts file is searched before name servers, by putting "files" in front of the other methods (ldap, nis, dns...)

You can use this technique also when the server is behind multiple NAT addresses, and the NAT address that the client sees is unpredictable (but only from a limited range). In that case add the possible names to /etc/hosts, and to .amandahosts:

/etc/hosts:

   100.100.100.1  ip001.example.com
   100.100.100.2  ip002.example.com

.amandahosts:

   ip001.example.com  amanda
   ip002.example.com  amanda

See more amcheck issues.