LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 02-25-2009, 05:36 PM   #1
raktri4u
LQ Newbie
 
Registered: Feb 2009
Posts: 12

Rep: Reputation: 0
Thumbs up amcheck error while addition of w2k3 server as client


Hey all,
i am working for amanda backup and added a w2k3 client for backup.But when i am running amcheck its giving the following error::::


-sh-3.1$ amcheck lucknowwinbackup
Amanda Tape Server Host Check
-----------------------------
slot 1:read label `lucknowwinbackup-1', date `X'.
NOTE: skipping tape-writable test
Tape lucknowwinbackup-1 label ok
NOTE: host info dir /etc/amanda/lucknowwinbackup/curinfo/windsor.<domainname>.com does not exist
NOTE: it will be created on the next run.
NOTE: index dir /etc/amanda/lucknowwinbackup/index/windsor.<domainname>.com does not exist
NOTE: it will be created on the next run.
Server check took 0.133 seconds

Amanda Backup Client Hosts Check
--------------------------------
ERROR: windsor.<domainname>.com: Server validation Failed. Please register server with client.
Client check: 1 host checked in 0.204 seconds. 1 problem found.

(brought to you by Amanda 2.6.0p1)






while i successfully added few linux clients and backedup and restored...
can anybody help me out for this error..


Thanks in advance

Rak
 
Old 02-25-2009, 09:36 PM   #2
choogendyk
Senior Member
 
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,189

Rep: Reputation: 105Reputation: 105
OK, I'm not sure what's up without seeing more on how you set it up and what versions you are using and so on. However, I typically take error messages and throw them at google. That turned up a similar exchange on the zmanda forums. So, I'm making some assumptions and tossing some questions from that thread.

I'm puzzled by the <domainname> -- did the error message do that, or did you obfuscate it when you posted it? If that is the error message, then that would be your error -- you failed to fill out that information when you configured it.

Assuming you did fill the server name/fqdn correctly in ZWCConfig, make sure the Amanda "Server IP/FQDN" is entered correctly in the registry under HKEY_LOCAL_MACHINE\SOFTWARE\Zmanda\ZWC\1.0\Install \Servers.

Restart ZWCservice after fixing the server address.

Does your user match up as amandabackup on both machines?

You may need to recompile with the configuration option --with-user=amandabackup, if that is what was wrong. Simply adjusting the config files may not do the job; although, you could check the following key: HKEY_LOCAL_MACHINE\SOFTWARE\zmanda\zwc\1.0\Install \backupUser

Again, without getting more detail from you, I'm having trouble coming up with more than that.
 
Old 02-26-2009, 10:22 AM   #3
raktri4u
LQ Newbie
 
Registered: Feb 2009
Posts: 12

Original Poster
Rep: Reputation: 0
re:amcheck error while addition of w2k3 server as client

Quote:
Originally Posted by choogendyk View Post
OK, I'm not sure what's up without seeing more on how you set it up and what versions you are using and so on. However, I typically take error messages and throw them at google. That turned up a similar exchange on the zmanda forums. So, I'm making some assumptions and tossing some questions from that thread.

I'm puzzled by the <domainname> -- did the error message do that, or did you obfuscate it when you posted it? If that is the error message, then that would be your error -- you failed to fill out that information when you configured it.

Assuming you did fill the server name/fqdn correctly in ZWCConfig, make sure the Amanda "Server IP/FQDN" is entered correctly in the registry under HKEY_LOCAL_MACHINE\SOFTWARE\Zmanda\ZWC\1.0\Install \Servers.

Restart ZWCservice after fixing the server address.

Does your user match up as amandabackup on both machines?

You may need to recompile with the configuration option --with-user=amandabackup, if that is what was wrong. Simply adjusting the config files may not do the job; although, you could check the following key: HKEY_LOCAL_MACHINE\SOFTWARE\zmanda\zwc\1.0\Install \backupUser

Again, without getting more detail from you, I'm having trouble coming up with more than that.


Many thanks for ur reply choogendyk.Now sorry i didnt described too much as this error is killing me..
Description---

*Amanda-backup_server--2.6.0p1-1.fc6
*<domainname>---i edited the domainname..Thats my domain..assume it as <mydomain>.i m sure thats not the problem.just wanted to hide it.
*I followed the Amanda_Community_Setup_15_minutes_ver13 configuration for this project.
*HKEY_LOCAL_MACHINE\SOFTWARE\Zmanda\ZWC\1.0\Install \Servers is showing the right server name which is samurai.<mydomain>.com
* same user for server and client i.e. amandabackup along with the same password.
* No iptables ON nor selinux.
* The most confusing thing is that i have configured 2 servers redhat-server.<mydomain>.com and this samurai.<mydomain>.com.Now i have added both servers for the same w2k3 client called windsor.<mydomain>.com.....loll the same configuration on redhat-server for the same win client is working but for samurai its throwing this error-----

-sh-3.1$ amcheck -c lucknowwinbackup

Amanda Backup Client Hosts Check
--------------------------------
ERROR: windsor.<mydomain>.com: Server validation Failed. Please register server with client.
Client check: 1 host checked in 0.485 seconds. 1 problem found.

(brought to you by Amanda 2.6.0p1)
-sh-3.1$


...
Dont know what to do..i reinstalled ZWC on win server and restarted the service but the same error..

Plz plz help me out for this

Thanks in advance
Rak
 
Old 02-27-2009, 07:28 AM   #4
choogendyk
Senior Member
 
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,189

Rep: Reputation: 105Reputation: 105
You say the same configuration is working for the same client on one server but not on another server. You have two Amanda backup servers? And the client was added to both? Or to one at one time and then to the other at another time?

You say you reinstalled ZWC on the Windows machine, and restarted it. I'm guessing that the sequence of steps is important and that you've got something tangled up by changing directions, but that's just a guess. Maybe, look through http://wiki.zmanda.com/index.php/Zmanda_Windows_Client, and see if that tells you anything. I'm not sure where to go from here. Have you looked at the server's debug logs? See http://wiki.zmanda.com/index.php/Ama...les/Debug_Logs for help in finding them, if you don't know where they are. If you find anything you think might be revealing, post it back here.
 
Old 03-09-2009, 12:37 PM   #5
raktri4u
LQ Newbie
 
Registered: Feb 2009
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks gain for providing help dear..
Yes i hv 2 amanda servers.one is a 2.6.18-92.el5(Test workstation) and the not working one is as above described.
For demo purpose i did the same client on the test workstation and its working fine with same w2k3 client but not for the main server.I hv checked all the settings again and again both are same but god knows why this is the situation.
Yes i hv gone through with the link u provided..thanks for that as well but mainly i hv followed Amanda_Community_Setup_15_minutes_ver13.pdf for this configuration..

Please help me out guys...

Thanks in advance
Rak
 
Old 03-10-2009, 05:37 PM   #6
choogendyk
Senior Member
 
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,189

Rep: Reputation: 105Reputation: 105
Quote:
Originally Posted by raktri4u View Post
Please help me out guys...
... works best for those who help themselves.

don't mean that to be snide, it's just that additional details previously requested might point us in the right direction, and only you can help with that.

Debug logs? Any clues there? Look on the server you are trying to get it to work with as well as on the client that is failing. A link was provided in my last post on where to find Debug logs.

I also commented that the sequence might be important, and that might have gotten tangled by adding the client to one server and then to another. I've never done that. Might work just fine, but it feels a bit odd to me. If it weren't working for me, and I was having trouble figuring it out, I would delete the client from the server, completely uninstall the Amanda client from the client, and start completely clean and fresh adding it to the server again, being careful to follow each step in the instructions.

For a more extreme example, I recently installed a server's OS three times, wiping it each time, until I got it working like I wanted.

Start by checking the debug logs.
 
Old 03-13-2009, 10:56 AM   #7
raktri4u
LQ Newbie
 
Registered: Feb 2009
Posts: 12

Original Poster
Rep: Reputation: 0
Thumbs up

Hey cheers choogendyk,
thanks man for all ur time and support..i got success now...dont know whats the wrong.but i did the whole configuration and i can now got the desired ..now i can backup from both the servers to the same win2k3 client...

u were so helpfull frnd...

in case of any help i will ping to u again..loll
Thanks
Rak
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Server and Client process using Openssl: Error: no client certificate available lokesh_c2004 Linux - Security 2 11-10-2008 08:30 AM
Usually problems with Windows Explorer in w2k3 over server Debian 3.0 luisben Linux - Networking 1 03-23-2008 03:05 PM
Port 80, 443 need forwarded to W2K3 Server/Linux Server canegames Linux - Server 4 11-13-2007 04:09 AM
Restoring w2k3 server question? OneManOfBits General 0 05-09-2007 09:47 AM
My w2k3 server is not booting up?? frankkky General 2 04-26-2007 01:34 PM


All times are GMT -5. The time now is 06:56 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration