amcheck error while addition of w2k3 server as client
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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..
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,189
Rep:
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.
re:amcheck error while addition of w2k3 server as client
Quote:
Originally Posted by choogendyk
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..
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,189
Rep:
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.
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..
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,189
Rep:
Quote:
Originally Posted by raktri4u
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.