Re: A question about how ssh auth works
On Sat, Dec 11, 2010 at 11:32:39AM -0800, Lyndon Nerenberg (VE6BBM/VE7TFX) wrote: In the case, what does the ssh daemon on the clinet machhine do when it recies the requst from the Amanda server ? The server essentially does 'ssh client /usr/local/libexec/amandad ...' How does it know the path name on the client? In theory I could compile it to be in /foo/bar/obscure/andad, and this wold work fine. The compilation on the server knows it's firle structure layout, but I do not see how it can know the file system layout on the client(s)? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
A question about how ssh auth works
We have just set up our first client using ssh auth. This machine is behind firewall, and has a non routbale address (192.168,x,x). The firewall is set up such that ssh from outside for this machine goes to port 1026, and is port fwarded via the firewall to the clinet. I set this up following the instructions in the manual, and must say thank you for the fact that it works so well. Howeveer, my curiosity is killing me. How does amandad get woken up on the client machine ins this scenario? Normall it is listening on port 1080, and is managed by inetd (or one of it's cousins). In the case, what does the ssh daemon on the clinet machhine do when it recies the requst from the Amanda server ? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: Zmanda Client for Windows(x64) upgrade has installer error
On Tue, Nov 09, 2010 at 10:39:36PM +0530, Prashant Joshi wrote: Hi Debbie, I would need the following information to debug the issue: 1. Please send us the ZWCInstall.log located at %temp% LogFile.txt under the ZWC install dir\Debug to debug the issue. 2. What OS is ZWC installed on? Hopefullly Debbie will send uou item 1 shortly. As to item 2 Server 20008 R2 -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: Problems restarting zamanda windows service
On Fri, Jul 16, 2010 at 02:39:58AM -0700, Paddy Sreenivasan wrote: You are running old version of Windows Client on this machine. ZWC service is having problems during snapshot creation. Can you please upgrade to latest version of Windows Client? We have fixed OK, I will hunt that up today, and install it. Thanks. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: Problems restarting zamanda windows service
On Wed, Jul 14, 2010 at 10:48:44AM -0700, Paddy Sreenivasan wrote: Stan, The log files shows that VSS snapshot has been failing. We need complete logs (event logs and application logs) to find out what happened. Run ZWCsupport from the Start-Run menu and send the logs collected to commun...@zmanda.com Can do, thanks. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: Problems restarting zamanda windows service
On Wed, Jul 14, 2010 at 10:48:44AM -0700, Paddy Sreenivasan wrote: Stan, The log files shows that VSS snapshot has been failing. We need complete logs (event logs and application logs) to find out what happened. Run ZWCsupport from the Start-Run menu and send the logs collected to commun...@zmanda.com I ran the program to collect data, and the resultant CAB file is at http://beachcave.net/zamanda/ Hope that will help. Thanks for looking into this. The machine in quest BTW does have a failry active MySQL DB, if thta is a clue. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: Problems restarting zamanda windows service
On Tue, Jul 13, 2010 at 09:38:30PM -0700, Paddy Sreenivasan wrote: Can you check the log file for errors? http://wiki.zmanda.com/index.php/Zmanda_Windows_Client#Log_Files I am afraid I am overloaded by the amount of info in this file. I have put it up at gttp://beachcave.net/zamanda if you would like to look at it? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: Problems restarting zamanda windows service
On Sun, Jul 11, 2010 at 06:10:23AM -0700, Paddy Sreenivasan wrote: Stan, Which version of Windows? Do you have all service packs installed? Server 2008. I beleive so. Can you tell me how to check? This machine worked for seveal months, and then started exhibiting this behavior, with no chnages that I am aware of. How can I cehck and see if automatic windows updates are enabled on this machine? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: Problems restarting zamanda windows service
On Tue, Jul 13, 2010 at 04:27:27AM -0700, Paddy Sreenivasan wrote: On Tue, Jul 13, 2010 at 4:10 AM, stan st...@panix.com wrote: On Sun, Jul 11, 2010 at 06:10:23AM -0700, Paddy Sreenivasan wrote: Stan, Which version of Windows? Do you have all service packs installed? Server 2008. I beleive so. Can you tell me how to check? This machine worked for seveal months, and then started exhibiting this behavior, with no chnages that I am aware of. How can I cehck and see if automatic windows updates are enabled on this machine? http://www.microsoft.com/security/updates/checkversion.aspx I so love Windows :-( When I point IE on the mahcine in question toaht site it tells me I can't access it without adding it to the trusted sites. When I go to tools to do that, and try to add http://microsoft.com/* it tells me that is already in the list. Is there another way to do this check? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: Problems restarting zamanda windows service
On Tue, Jul 13, 2010 at 08:37:43AM -0600, Charles Curley wrote: On Tue, 13 Jul 2010 10:02:14 -0400 stan st...@panix.com wrote: On Tue, Jul 13, 2010 at 04:27:27AM -0700, Paddy Sreenivasan wrote: On Tue, Jul 13, 2010 at 4:10 AM, stan st...@panix.com wrote: On Sun, Jul 11, 2010 at 06:10:23AM -0700, Paddy Sreenivasan wrote: Stan, Which version of Windows? Do you have all service packs installed? Server 2008. I beleive so. Can you tell me how to check? This machine worked for seveal months, and then started exhibiting this behavior, with no chnages that I am aware of. How can I cehck and see if automatic windows updates are enabled on this machine? http://www.microsoft.com/security/updates/checkversion.aspx I so love Windows :-( When I point IE on the mahcine in question toaht site it tells me I can't access it without adding it to the trusted sites. When I go to tools to do that, and try to add http://microsoft.com/* it tells me that is already in the list. Is there another way to do this check? Um, use Firefox on Linux? As far as I know, it doesn't execute any code, but is a check list of things to do. E.g.: Check Windows To determine which version of Microsoft Windows you are running: 1. On the taskbar at the bottom of your screen, click Start, and then click Run. 2. In the Run dialog box, type: winver. NOTE: If you're using Windows Vista, type winver into the Search box. 3. Click OK. A dialog box displays the version that you are running. Thanks. The fact htat it was a .as[x URL made me think it _did_ something. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: Problems restarting zamanda windows service
On Sun, Jul 11, 2010 at 08:33:30AM -0400, stan wrote: On Thu, Jul 08, 2010 at 10:16:25AM -0500, Dustin J. Mitchell wrote: On Thu, Jul 8, 2010 at 6:26 AM, stan st...@panix.com wrote: Sugestions? Is this the most recent version? 3.1.1 I think? Not certain. I will check Monday. How can I find this out? Going in to service managaer, right clicking and choosing properties does nto rreveal this. I thought that was the windows way of doing this :-) -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: Problems restarting zamanda windows service
On Thu, Jul 08, 2010 at 10:16:25AM -0500, Dustin J. Mitchell wrote: On Thu, Jul 8, 2010 at 6:26 AM, stan st...@panix.com wrote: Sugestions? Is this the most recent version? 3.1.1 I think? Not certain. I will check Monday. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Problems restarting zamanda windows service
I have a few Windows machines that I use Amanda to backup. One of these machines is giving me issues with the Zmanda service. It is crashing almost every night. Even stranger, when I try to restart it remotely, I get the following message: Control service request failed. [DOS code 0x0426] .. Failed to start service: ZWCService [WERR_OK] But when I RDP to it, and look in service manager, it appears to be running. Sugestions? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: 2 config, noinc and nofull
On Wed, Mar 03, 2010 at 03:08:22PM -0500, Jean-Francois Malouin wrote: Hi All, I'm in the process of configuring a new amanda server for a rather large raid server and I thought I might ask for help or recommandations. What we do is slit\htly differrent. We archive to a RAIT consisting of one LT03 tape, and a dis based tape, each evening. Works well for us. Lots of luck. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: Another Windows client question
On Tue, Mar 02, 2010 at 04:58:11PM -0800, Paddy Sreenivasan wrote: ERROR: pbuild4.mcn.chs: Server validation Failed. Please register server with client. Please see http://forums.zmanda.com/showpost.php?p=4823postcount=3 Use ZWCconfig (use start menu) and set the Server value to the ip address of your Amanda server. Thanks, it backed up last night. So, I know have the Zamanda widnws client working on all of the following: XP Server 2003 (32 bit) Server 2008/R2 (64 bit). At the monent, I am not certain of the service pack, or rev of the XP and Server 2003. Thanks for the good work guys! -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Windows client and Windows firewall
I am comissioning my first Serev 2008 machine. I have installed the windows client, like I have done on my (few) otehr Windows machines, but it is not working. As in no conection at all. I suspect this may be because of teh WWindows firewall on the new machine. I am going to turn it off and try. Assuming this is the problem, what changes will I need to make to it, to allow Amanda to work? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Another Windows client question
Sorry for my total lack of experience in the Windows world :-( I turned off the Windows firewall on the Seerver 2008 box, and ran an amchekck. Here is what I got for thta machine: ERROR: pbuild4.mcn.chs: Server validation Failed. Please register server with client. Our configuration is such that the amanda backup user on all clients is amanda. I changed the name for the Windows client per the instructions on the wiki, ut I am still geting this message. What do I need to do to get past this error? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: Another Windows client question
On Tue, Mar 02, 2010 at 08:24:01AM -0700, John Hein wrote: stan wrote at 07:35 -0500 on Mar 2, 2010: Sorry for my total lack of experience in the Windows world :-( I turned off the Windows firewall on the Seerver 2008 box, and ran an amchekck. Here is what I got for thta machine: ERROR: pbuild4.mcn.chs: Server validation Failed. Please register server with client. Our configuration is such that the amanda backup user on all clients is amanda. I changed the name for the Windows client per the instructions on the wiki, ut I am still geting this message. What do I need to do to get past this error? I found that registering a name instead of an IP adress did not work with the current version of the amanda windows client. There is also an outstanding issue where (at least) some people are seeing incremental dumps doing everything (as if they were level 0). I have seen no solution, explanation or workaround for that. Ah, actually I forgot that I had to do that at all. I will go back and look at the wiki to figure out how I do that, thanks. In my case, as long as I am getting backups, all level 0 would be OK, but I do see sizes varying on my Windows clients. Thanks for pointing me in the right direction on this. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: Another Windows client question
On Tue, Mar 02, 2010 at 09:57:27AM -0600, Dustin J. Mitchell wrote: On Tue, Mar 2, 2010 at 9:35 AM, stan st...@panix.com wrote: Thanks for pointing me in the right direction on this. As you finish setting this up, please edit existing wiki articles or create new ones, to help the next person! I am still unable to get past this issue. At the moment, I cannot even get into the lgfile on the Windows box to try to figure out why this is failing. I get an error message about the file being open by another application, and therfore I cannot access it. Any sugestions here? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: Another Windows client question
On Tue, Mar 02, 2010 at 12:18:32PM -0500, stan wrote: On Tue, Mar 02, 2010 at 09:57:27AM -0600, Dustin J. Mitchell wrote: On Tue, Mar 2, 2010 at 9:35 AM, stan st...@panix.com wrote: Thanks for pointing me in the right direction on this. As you finish setting this up, please edit existing wiki articles or create new ones, to help the next person! I am still unable to get past this issue. At the moment, I cannot even get into the lgfile on the Windows box to try to figure out why this is failing. I get an error message about the file being open by another application, and therfore I cannot access it. Any sugestions here? I hate Windiws! rebooting got amcheck to be happy! Having sadi that, I still can't access the logfile. This is on a brand new Server 2008/R2 machine, if that matters. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Windows client and 64 bit windiws
I just got a new machine from Dell with Windows Server 2008 machine with the OSpreinstalled. Unfortunately, it appears to be the 64 bit version. When I try to install the Windows clinet it gives me an error about not supporting this processor type. What I have is version 2.6.1. Is there some way I can overcome this dificulty? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: FW: History report?
On Thu, Jan 28, 2010 at 10:13:08AM +0100, Uwe Menges wrote: stan wrote: Beacuse of the ongoing problems we ar having with getting reliable Amanda backups here, it has dawned on me that it would be nice to have a report showing how old the newest level zero is for each DLE, and so on for wach existant level. Is there an easy way to generate this report? I use amoverview uwe -diskwidth 28 -skipmissed -num0 to get such info. Hmm, well, that certainly oes presnt a lot of data :-) I was hoping for a more management freindly looking repport. I realize that with a day or so's effort I could probably cobble together something using perl, but i was hoping to stand on the shoulders of giants. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: FW: History report?
On Thu, Jan 28, 2010 at 02:12:05PM +0100, Gerhard den Hollander wrote: * stan st...@panix.com (Thu, Jan 28, 2010 at 01:53:12PM +0100) On Thu, Jan 28, 2010 at 10:13:08AM +0100, Uwe Menges wrote: stan wrote: Beacuse of the ongoing problems we ar having with getting reliable Amanda backups here, it has dawned on me that it would be nice to have a report showing how old the newest level zero is for each DLE, and so on for wach existant level. Is there an easy way to generate this report? I use amoverview uwe -diskwidth 28 -skipmissed -num0 to get such info. Hmm, well, that certainly oes presnt a lot of data :-) I was hoping for a more management freindly looking repport. I realize that with a day or so's effort I could probably cobble together something using perl, but i was hoping to stand on the shoulders of giants. I use the following scripts the first script just runs amadmin find for all our amanda configs and just prints all of that to stdout (its called amstatusall and looks like this Thaks, taht does looke useful. I will play with it. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: FW: History report?
On Thu, Jan 28, 2010 at 08:17:50AM -0500, Jean-Louis Martineau wrote: Parse the output of: amadmin CONF find Not exactly what you want: amanda CONF due The 2nd one is really not far from what I really need. I assume it would tell me if somethig was past due? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: FW: History report?
On Thu, Jan 28, 2010 at 08:17:50AM -0500, Jean-Louis Martineau wrote: Parse the output of: amadmin CONF find Not exactly what you want: amanda CONF due Jmm, this got me looking at the amadmin, so I started tryiing varios options to it. When I got to balance the last line of the output told me: (7 filesystems overdue. The most being overdue 34 days.) Which is pretty scarey. How can I list the ones that are overdue? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: FW: History report?
On Thu, Jan 28, 2010 at 10:45:35AM -0800, Paul Yeatman wrote: On Thu, 2010-01-28 at 12:03 -0500, stan wrote: On Thu, Jan 28, 2010 at 08:17:50AM -0500, Jean-Louis Martineau wrote: Parse the output of: amadmin CONF find Not exactly what you want: amanda CONF due Jmm, this got me looking at the amadmin, so I started tryiing varios options to it. When I got to balance the last line of the output told me: (7 filesystems overdue. The most being overdue 34 days.) Which is pretty scarey. How can I list the ones that are overdue? That's what the amanda CONF due should show you. You should find in the output 7 lines that say Overdue ## days: hostname:disk Thanks, I was being buried in data. now I used my friend grep, and I see it. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
FW: History report?
Beacuse of the ongoing problems we ar having with getting reliable Amanda backups here, it has dawned on me that it would be nice to have a report showing how old the newest level zero is for each DLE, and so on for wach existant level. Is there an easy way to generate this report? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
network issue ?
We are strugling with intermitent backup, and amchchek faillures, that I suspect are related to instablities in our network infratrucure. I hhave managed to produce an amchek failure from a 2.6.1P1 server to a clinet running the sme version. I have posted, what I think are, the correct debug files at http://beachcave.net/amanda/ (they seem to be to big to send to the list). Of particular inetest to me are a EOF that seems to be read by the client while doing the check. Can anyone explain to me what these logfiles are telling me? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Aquestion about amtape taper option
I am strugling to get something working here. I have a configuration where I use a combnation of vtapes, and a tape drive ti provide RAIT. At the moment, when I run amtape CONF slot 5 I seem to have slot 5 slected, but when I run ammtape CONF taper it seems to think that the next slot is slot 4. After running the slot command Here is what is in changer-status: # multi-changer state cache: DO NOT EDIT! curslot 5 curloaded 1 For what it's worth, the machine crashed last night during a run. I have donw an amcleanup. Is there someplace else thta has knowledge of the current slot? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: Aquestion about amtape taper option
On Tue, Jan 19, 2010 at 09:22:21AM -0600, Dustin J. Mitchell wrote: On Tue, Jan 19, 2010 at 6:52 AM, stan st...@panix.com wrote: At the moment, when I run amtape CONF slot 5 I seem to have slot 5 slected, but when I run ammtape CONF taper it seems to think that the next slot is slot 4. For what it's worth, the machine crashed last night during a run. I have donw an amcleanup. ??Is there someplace else thta has knowledge of the current slot? You found the current slot correctly, in the changer state. However, amtape taper does not return the next slot - it returns the next tape the taper will write to, by applying the taperscan algorithm - see amanda-taperscan(7). So what you have is not a changer misconfiguration, but your tapes are arranged such that the next tape Amanda will use is in slot 4. chg-multi is not fast-searchable, so stage 1 will be skipped, in this case. The new implementation of this algorithm is a good bit more verbose, so you can at least see what Amanda is thinking Thanks. Turns out the issue was unrealted to the machine crash. I am cycling in a series of new tapes, and it looks like I will have to manually take one out of tapelist every day till that is finished. It had 25 entries in it, not 25, as it should. BTW, I have tried to post a message with logfiles pertaining to my network issues 3 times, starting yesterday, and still don't see it coming back from the list. I have tried making them atchements, and puting them in the body. Is there a size limit? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Amanda (and I) are confused :-)
I have managed to get myself quite confused here, and I am hoping someone can help get me unconfused :-) I have a 2.6.1.p1 server that backs up to a RAIT. This RAIT consost of a vtape, and a real tape. We started out life with the tapes being labeled DailyDump00 - DailyDump24. The vtape partions are vtape1 -. vtape25. Yes I see that is a recipe for confusion. In any case, my tapes have grown old, and I am trying to insert new tapes. I am trying to lable these tapes as DailyDump50 - DailyDump74 Right at the moment, I can't seem to get Amanda to realize it has a tape avaialble. The top of the tapelist file looks like this: 0 DailyDump53 reuse 20100113222821 DailyDump52 reuse 20100112223028 DailyDump51 reuse 2010011133 DailyDump50 reuse 20100106222354 DailyDump24 reuse 20100104222421 DailyDump23 reuse 20100104072155 DailyDump22 reuse 20091231222145 DailyDump21 reuse 2009123038 DailyDump20 reuse 20091229222328 DailyDump19 reuse 20091228222726 DailyDump18 reuse 2009122323 DailyDump16 reuse 2009122404 DailyDump15 reuse 20091221222534 DailyDump12 reuse 20091220180442 DailyDump11 reuse 20091219190553 DailyDump10 reuse 2009121846 DailyDump09 reuse 20091217222502 DailyDump08 reuse 20091216222448 DailyDump07 reuse I would think this would be slot 4 in the changer, but for some reason I have to use amtape to position to slot 5 to see DailyDump53 ama...@amanda:/opt/amanda/etc/DailyDump$ amtape DailyDump slot 5 amtape: changed to slot 5 on rait:{file:/vtapes/DailyDump/vtape5,tape:/dev/nst0} ama...@amanda:/opt/amanda/etc/DailyDump$ amcheck -s DailyDump Amanda Tape Server Host Check - Holding disk /dumpdisk: 88156 MB disk space available, using 88056 MB slot 4:read label `DailyDump53', date `X'. NOTE: skipping tape-writable test Tape DailyDump53 label ok Server check took 12.881 seconds (brought to you by Amanda 2.6.1) So, at least at that point I would think I could run an amflush, but if I do I get: AW0041.mcn.chs:/dev/md/dsk/d0 0 6m failed to flush: no new tape (7:58:08) How can I get the poor girl (and I) unconfused? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: Amanda (and I) are confused :-)
On Fri, Jan 15, 2010 at 08:44:14AM -0500, Jean-Louis Martineau wrote: Stan, can you post the problem at the beginning of your post, I don't like to read a long post when I don't know why I read it. It's worse than top-posting :-).Subject should describe the problem, not how you feel. Post the taper debug files 1263560272.948044: taper: pid 12455 ruid 1001 euid 1001 version 2.6.1: start at Fri Jan 15 07:57:52 2010 1263560272.948691: taper: taper: pid 12455 executable taper version 2.6.1 1263560272.950686: taper: pid 12455 ruid 1001 euid 1001 version 2.6.1: rename at Fri Jan 15 07:57:52 2010 1263560272.950959: taper: getcmd: START-TAPER 20100115075749 1263560272.952129: taper: changer: -info 1263560273.209371: taper: changer: EXITSTATUS 0 1263560273.209438: taper: changer: current 25 0 1 1263560273.209457: taper: changer_query: changer return was 25 0 1 1263560273.209486: taper: changer_query: searchable = 1 1263560273.209498: taper: changer_find: looking for DailyDump00 changer is searchable = 1 1263560273.209512: taper: changer_search: DailyDump00 1263560273.209526: taper: changer: -search DailyDump00 1263560284.959528: taper: changer: EXITSTATUS 1 1263560284.959579: taper: changer: error Volume 'DailyDump00' not found 1263560284.959593: taper: changer: ERROR error Volume 'DailyDump00' not found 1263560284.959613: taper: changer: -slot current 1263560285.332835: taper: changer: EXITSTATUS 0 1263560285.332896: taper: changer: 3 rait:{file:/vtapes/DailyDump/vtape3,tape:/dev/nst0} 1263560285.333214: taper: status = complete 1263560285.447278: taper: warning: Inconsistent volume labels/datestamps: Got DailyDump52/20100113222821 on file:/vtapes/DailyDump/vtape3 against DailyDump53/X on /dev/nst0. 1263560285.447296: taper: Device rait:{file:/vtapes/DailyDump/vtape3,tape:/dev/nst0} error = 'Inconsistent volume labels/datestamps: Got DailyDump52/20100113222821 on file:/vtapes/DailyDump/vtape3 against DailyDump53/X on /dev/nst0.' 1263560285.447328: taper: Device rait:{file:/vtapes/DailyDump/vtape3,tape:/dev/nst0} setting status flag(s): DEVICE_STATUS_VOLUME_ERROR 1263560285.447358: taper: changer: -slot next 1263560285.717316: taper: changer: EXITSTATUS 1 1263560285.717352: taper: changer: error chg-multi: slot is empty: Unknown Device error 1263560285.717365: taper: changer: ERROR error chg-multi: slot is empty: Unknown Device error 1263560285.717394: taper: changer: -slot next 1263560285.985526: taper: changer: EXITSTATUS 1 1263560285.985586: taper: changer: error chg-multi: slot is empty: Unknown Device error 1263560285.985599: taper: changer: ERROR error chg-multi: slot is empty: Unknown Device error 1263560285.985628: taper: changer: -slot next 1263560286.255412: taper: changer: EXITSTATUS 1 1263560286.255478: taper: changer: error chg-multi: slot is empty: Unknown Device error 1263560286.255491: taper: changer: ERROR error chg-multi: slot is empty: Unknown Device error 1263560286.255522: taper: changer: -slot next 1263560286.524804: taper: changer: EXITSTATUS 1 1263560286.524840: taper: changer: error chg-multi: slot is empty: Unknown Device error 1263560286.524853: taper: changer: ERROR error chg-multi: slot is empty: Unknown Device error 1263560286.524883: taper: changer: -slot next 1263560286.792915: taper: changer: EXITSTATUS 1 1263560286.792951: taper: changer: error chg-multi: slot is empty: Unknown Device error 1263560286.792963: taper: changer: ERROR error chg-multi: slot is empty: Unknown Device error 1263560286.792993: taper: changer: -slot next 1263560287.063304: taper: changer: EXITSTATUS 1 1263560287.063341: taper: changer: error chg-multi: slot is empty: Unknown Device error 1263560287.063354: taper: changer: ERROR error chg-multi: slot is empty: Unknown Device error 1263560287.063383: taper: changer: -slot next 1263560287.334793: taper: changer: EXITSTATUS 1 1263560287.334853: taper: changer: error chg-multi: slot is empty: Unknown Device error 1263560287.334866: taper: changer: ERROR error chg-multi: slot is empty: Unknown Device error 1263560287.334894: taper: changer: -slot next 1263560287.604989: taper: changer: EXITSTATUS 1 1263560287.605042: taper: changer: error chg-multi: slot is empty: Unknown Device error 1263560287.605056: taper: changer: ERROR error chg-multi: slot is empty: Unknown Device error 1263560287.605144: taper: changer: -slot next 1263560287.874157: taper: changer: EXITSTATUS 1 1263560287.874216: taper: changer: error chg-multi: slot is empty: Unknown Device error 1263560287.874229: taper: changer: ERROR error chg-multi: slot is empty: Unknown Device error 1263560287.874263: taper: changer: -slot next 1263560288.147280: taper: changer: EXITSTATUS 1 1263560288.147319: taper: changer: error chg-multi: slot is empty: Unknown Device error 1263560288.147333: taper: changer: ERROR error chg-multi: slot is empty: Unknown Device error 1263560288.147363: taper: changer: -slot next 1263560288.416954
Re: Amanda (and I) are confused :-)
On Fri, Jan 15, 2010 at 09:31:47AM -0500, Jean-Louis Martineau wrote: stan wrote: 1263560285.332896: taper: changer: 3 rait:{file:/vtapes/DailyDump/vtape3,tape:/dev/nst0} 1263560285.333214: taper: status = complete 1263560285.447278: taper: warning: Inconsistent volume labels/datestamps: Got DailyDump52/20100113222821 on file:/vtapes/DailyDump/vtape3 against DailyDump53/X on /dev/nst0. 1263560285.447296: taper: Device rait:{file:/vtapes/DailyDump/vtape3,tape:/dev/nst0} error = 'Inconsistent volume labels/datestamps: Got DailyDump52/20100113222821 on file:/vtapes/DailyDump/vtape3 against DailyDump53/X on /dev/nst0.' 1263560285.447328: taper: Device rait:{file:/vtapes/DailyDump/vtape3,tape:/dev/nst0} setting status flag(s): DEVICE_STATUS_VOLUME_ERROR There is a mismatch, be sure that both changer current slot is the one you want. Do you see that error in the email report form amflush? But I did an explict amtape DailyDump slot 4, which should have gottent me to vtape4, and I ran an amcehcek after that and it was happy. And it's not like amflush tried to advance the changer, as vtape3 is _before_ vtape4. What am I missing? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: Amanda (and I) are confused :-)
On Fri, Jan 15, 2010 at 09:31:47AM -0500, Jean-Louis Martineau wrote: stan wrote: 1263560285.332896: taper: changer: 3 rait:{file:/vtapes/DailyDump/vtape3,tape:/dev/nst0} 1263560285.333214: taper: status = complete 1263560285.447278: taper: warning: Inconsistent volume labels/datestamps: Got DailyDump52/20100113222821 on file:/vtapes/DailyDump/vtape3 against DailyDump53/X on /dev/nst0. 1263560285.447296: taper: Device rait:{file:/vtapes/DailyDump/vtape3,tape:/dev/nst0} error = 'Inconsistent volume labels/datestamps: Got DailyDump52/20100113222821 on file:/vtapes/DailyDump/vtape3 against DailyDump53/X on /dev/nst0.' 1263560285.447328: taper: Device rait:{file:/vtapes/DailyDump/vtape3,tape:/dev/nst0} setting status flag(s): DEVICE_STATUS_VOLUME_ERROR There is a mismatch, be sure that both changer current slot is the one you want. Do you see that error in the email report form amflush? Yes: The next tape Amanda expects to use is: DailyDump00. The next new tape already labelled is: DailyDump13. Why is she not happy with the DailyDump53 tape I just labeled? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: Amanda (and I) are confused :-)
On Fri, Jan 15, 2010 at 09:31:47AM -0500, Jean-Louis Martineau wrote: stan wrote: 1263560285.332896: taper: changer: 3 rait:{file:/vtapes/DailyDump/vtape3,tape:/dev/nst0} 1263560285.333214: taper: status = complete 1263560285.447278: taper: warning: Inconsistent volume labels/datestamps: Got DailyDump52/20100113222821 on file:/vtapes/DailyDump/vtape3 against DailyDump53/X on /dev/nst0. 1263560285.447296: taper: Device rait:{file:/vtapes/DailyDump/vtape3,tape:/dev/nst0} error = 'Inconsistent volume labels/datestamps: Got DailyDump52/20100113222821 on file:/vtapes/DailyDump/vtape3 against DailyDump53/X on /dev/nst0.' 1263560285.447328: taper: Device rait:{file:/vtapes/DailyDump/vtape3,tape:/dev/nst0} setting status flag(s): DEVICE_STATUS_VOLUME_ERROR There is a mismatch, be sure that both changer current slot is the one you want. Do you see that error in the email report form amflush? Hmm, here is the tapelst file; 0 DailyDump53 reuse 20100113222821 DailyDump52 reuse 20100112223028 DailyDump51 reuse 2010011133 DailyDump50 reuse 20100106222354 DailyDump24 reuse 20100104222421 DailyDump23 reuse 20100104072155 DailyDump22 reuse 20091231222145 DailyDump21 reuse 2009123038 DailyDump20 reuse 20091229222328 DailyDump19 reuse 20091228222726 DailyDump18 reuse 2009122323 DailyDump16 reuse 2009122404 DailyDump15 reuse 20091221222534 DailyDump12 reuse 20091220180442 DailyDump11 reuse 20091219190553 DailyDump10 reuse 2009121846 DailyDump09 reuse 20091217222502 DailyDump08 reuse 20091216222448 DailyDump07 reuse 20091216073709 DailyDump06 reuse 20091214222533 DailyDump05 reuse 2009120950 DailyDump04 reuse 2009120845 DailyDump03 reuse 20091207222325 DailyDump02 reuse 20090918091726 DailyDump01 reuse 20090917060254 DailyDump00 reuse 0 DailyDump17 reuse 0 DailyDump14 reuse 0 DailyDump13 reuse It looks like thta may be the source of the confusion. Can I just correct this file by hand? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
What is this log file trying to tell me?
WE are still having major issues with our Amanda backups. Most of the machines that are failing still use UDP, and we recognize the need to get newer version of Amanda compiled on those clients. But in addition some machines using bsd_auth are failing. Here is some data from one of those machines, I have extrated what I think are the important peices ehre, but if more are needed, let me know. amandad: debug 1 pid 16548 ruid 404 euid 404: start at Mon Jan 11 12:51:29 2010 security_getdriver(name=bsdtcp) returns ff341ea0 amandad: version 2.5.1p2 amandad: build: VERSION=Amanda-2.5.1p2 amandad:BUILT_DATE=Sun Jul 12 14:09:31 GMT 2009 amandad:BUILT_MACH=SunOS AW0550 5.8 Generic_108528-13 sun4u sparc SUNW, Sun-Blade-100 amandad:CC=gcc OK /tmp/amanda has more than 64 KB available. OK /tmp/amanda has more than 64 KB available. OK /etc has more than 64 KB available. amandad: time 229.046: received ACK pkt: security_close(handle=2b3c0, driver=ff341ea0 (BSDTCP)) security_stream_close(350a8) security_stream_seterr(350a8, write error to : Broken pipe) amandad: time 229.046: pid 16548 finish time Mon Jan 11 12:55:18 2010 So, it looks like the clentrecived the reqyest, checked thigs, adn decided they wer OK, but did not suced in telling the master machine things were OK. Am I reading this corectly? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: What is this log file trying to tell me?
On Wed, Jan 13, 2010 at 07:49:28AM -0500, Jean-Louis Martineau wrote: What is the error you get from amcheck? timed out waiting for ACK. The '229.046' time is high for amcheck, try increasing ctimeout. ONce upon a time amchek would complete in a matter of seconds. Now it takes tens of minutes. All this without adding significantly to the number of DLE's. Given that, still think it's worth tweaking ctimeout? What phase of the handshaking is it for? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: does this compile error look fmailiar?
On Wed, Dec 30, 2009 at 01:30:16PM -0600, Dustin J. Mitchell wrote: On Wed, Dec 30, 2009 at 1:03 PM, stan st...@panix.com wrote: urity.c ??-fPIC -DPIC -o .libs/bsd-security.o In file included from bsd-security.c:33: util.h:349: error: parse error before in_port_t util.h:350: warning: function declaration isn't a prototype I suspect this patch might help: http://github.com/zmanda/amanda/commit/911a9b5fbf136ee0dbffcae4e9696be498491c43 Debbie reminded me that we really need 2.5.2, so I tried building 2.5.2p1, whch failed ad follows: Script started on Thu Dec 31 12:02:01 2009 AP0502# make Making all in gnulib { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ cat ./alloca_.h; \ } alloca.h-t mv -f alloca.h-t alloca.h rm -f string.h-t string.h { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' \ sed -e 's|@''ABSOLUTE_STRING_H''@|///usr/include/string.h|g' \ -e 's|@''HAVE_DECL_MEMMEM''@|1|g' \ -e 's|@''HAVE_MEMPCPY''@|1|g' \ -e 's|@''HAVE_DECL_MEMRCHR''@|1|g' \ -e 's|@''HAVE_STPCPY''@|1|g' \ -e 's|@''HAVE_STPNCPY''@|1|g' \ -e 's|@''HAVE_DECL_STRNCASECMP''@|1|g' \ -e 's|@''HAVE_STRCHRNUL''@|1|g' \ -e 's|@''HAVE_DECL_STRDUP''@|1|g' \ -e 's|@''HAVE_STRNDUP''@|1|g' \ -e 's|@''HAVE_DECL_STRNDUP''@|1|g' \ -e 's|@''HAVE_DECL_STRNLEN''@|1|g' \ -e 's|@''HAVE_STRPBRK''@|1|g' \ -e 's|@''HAVE_STRSEP''@|1|g' \ -e 's|@''HAVE_DECL_STRTOK_R''@|1|g' \ -e 's|@''REPLACE_STRCASECMP''@|0|g' \ -e 's|@''REPLACE_STRSTR''@|0|g' \ -e 's|@''REPLACE_STRCASESTR''@|0|g' \ ./string_.h; \ } string.h-t mv string.h-t string.h make all-am if /bin/ksh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../config -D_REENTRANT -Wall -Wextra -Wparentheses -Wdeclaration-after-statement -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wformat -Wsign-compare -Wfloat-equal -Wold-style-definition -Wno-error -D_GNU_SOURCE -MT lock.lo -MD -MP -MF .deps/lock.Tpo -c -o lock.lo lock.c; \ then mv -f .deps/lock.Tpo .deps/lock.Plo; else rm -f .deps/lock.Tpo; exit 1; fi mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I../config -D_REENTRANT -Wall -Wextra -Wparentheses -Wdeclaration-after-statement -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wformat -Wsign-compare -Wfloat-equal -Wold-style-definition -Wno-error -D_GNU_SOURCE -MT lock.lo -MD -MP -MF .deps/lock.Tpo -c lock.c -fPIC -DPIC -o .libs/lock.o lock.c:361: warning: missing braces around initializer lock.c:361: warning: (near initialization for `fresh_once.pthread_once_pad') gcc -DHAVE_CONFIG_H -I. -I. -I../config -D_REENTRANT -Wall -Wextra -Wparentheses -Wdeclaration-after-statement -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wformat -Wsign-compare -Wfloat-equal -Wold-style-definition -Wno-error -D_GNU_SOURCE -MT lock.lo -MD -MP -MF .deps/lock.Tpo -c lock.c -o lock.o /dev/null 21 if /bin/ksh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../config -D_REENTRANT -Wall -Wextra -Wparentheses -Wdeclaration-after-statement -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wformat -Wsign-compare -Wfloat-equal -Wold-style-definition -Wno-error -D_GNU_SOURCE -MT asnprintf.lo -MD -MP -MF .deps/asnprintf.Tpo -c -o asnprintf.lo asnprintf.c; \ then mv -f .deps/asnprintf.Tpo .deps/asnprintf.Plo; else rm -f .deps/asnprintf.Tpo; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../config -D_REENTRANT -Wall -Wextra -Wparentheses -Wdeclaration-after-statement -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wformat -Wsign-compare -Wfloat-equal -Wold-style-definition -Wno-error -D_GNU_SOURCE -MT asnprintf.lo -MD -MP -MF .deps/asnprintf.Tpo -c asnprintf.c -fPIC -DPIC -o .libs/asnprintf.o gcc -DHAVE_CONFIG_H -I. -I. -I../config -D_REENTRANT -Wall -Wextra -Wparentheses -Wdeclaration-after-statement -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wformat -Wsign-compare -Wfloat-equal -Wold-style-definition -Wno-error -D_GNU_SOURCE -MT asnprintf.lo -MD -MP -MF .deps/asnprintf.Tpo -c asnprintf.c -o asnprintf.o /dev/null 21 if /bin/ksh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../config -D_REENTRANT -Wall -Wextra -Wparentheses -Wdeclaration-after-statement -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wformat -Wsign-compare -Wfloat-equal -Wold-style-definition -Wno-error -D_GNU_SOURCE -MT gai_strerror.lo -MD -MP -MF .deps/gai_strerror.Tpo -c -o gai_strerror.lo gai_strerror.c; \ then mv -f .deps/gai_strerror.Tpo .deps/gai_strerror.Plo; else rm -f .deps/gai_strerror.Tpo; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../config -D_REENTRANT -Wall -Wextra -Wparentheses -Wdeclaration-after-statement -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wformat -Wsign-compare -Wfloat-equal -Wold-style-definition -Wno-error -D_GNU_SOURCE -MT gai_strerror.lo -MD -MP -MF .deps
Re: amcheck and backup failing
On Tue, Dec 29, 2009 at 05:57:07PM -0600, Dustin J. Mitchell wrote: On Tue, Dec 29, 2009 at 5:53 PM, stan st...@panix.com wrote: The clients can't do both, can they? Iwas thinking we had to change the setup in inetd.conf on avery client, when we did this change. You should probably verify my hunch with tcpdump or equivalent. I assume you chagned the 'auth' parameter in all of the dumptypes on the master, right? I sure thought so. I will check this morning. I notice that the machines that are exhbiting the problem are Solarid\s 5 machines. We have not yet managed to compile a new client for the,. Wgat version was the first to support bsd_auth? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: A Windows client question
On Tue, Dec 29, 2009 at 06:19:00PM -0800, Paddy Sreenivasan wrote: On Tue, Dec 29, 2009 at 4:10 PM, stan st...@panix.com wrote: I read in the docs for the Windows client that if snapshot mode was available, it could back up open databses corectly. Zmanda Windows Client uses VSS OK, so this leads to a couple of questins. 1. How can O determine if this mode is avaialble/being used? VSS is enabled by default. Please check Volume Shadow Copy service is running. 2. Does this include MS'es SQL database? Community version will backup MS SQL database as a file. It does not do anything special for the database. It can be used for cold backups. 3. How about the mySql instnace that the client uses itself? It can backup MySQL in the same manner. Paddy Thanks. Is this available on XP, and Server 2003? What types of filesystems does it work on? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: amcheck and backup failing
On Tue, Dec 29, 2009 at 05:57:07PM -0600, Dustin J. Mitchell wrote: On Tue, Dec 29, 2009 at 5:53 PM, stan st...@panix.com wrote: The clients can't do both, can they? Iwas thinking we had to change the setup in inetd.conf on avery client, when we did this change. You should probably verify my hunch with tcpdump or equivalent. I assume you chagned the 'auth' parameter in all of the dumptypes on the master, right? You rae correct. The machines that I am having (new) issues with are still using UDP. I suppose our network cotinues to dgrade :-( I thought Debbie and I changed _all_ machines to TCP this summer, but it appears that we left some clients using UDP. Looks like this won't work going foward. The machines in question are theSolaris 5 ones. Looks like they are at: amandad: version 2.4.3b4 amandad: build: VERSION=Amanda-2.4.3b4 amandad:BUILT_DATE=Mon Feb 3 09:40:35 GMT 2003 I gues we may have done this because this version does not support bsd_auth, would that be the case? If so, what is the earlist version that supports that feature? Thanks for pointing out the error of my ways. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: A Windows client question
On Tue, Dec 29, 2009 at 06:19:00PM -0800, Paddy Sreenivasan wrote: On Tue, Dec 29, 2009 at 4:10 PM, stan st...@panix.com wrote: I read in the docs for the Windows client that if snapshot mode was available, it could back up open databses corectly. Zmanda Windows Client uses VSS OK, so this leads to a couple of questins. 1. How can O determine if this mode is avaialble/being used? VSS is enabled by default. Please check Volume Shadow Copy service is running. 2. Does this include MS'es SQL database? Community version will backup MS SQL database as a file. It does not do anything special for the database. It can be used for cold backups. 3. How about the mySql instnace that the client uses itself? It can backup MySQL in the same manner. OK, looking in services, I find something called Volume Shadow Copy, running on all 5 machines (2 XP, and 3 Seerver 2003) in question, that's it, right? And BTW it must be enabled by default, becayse one of the XP machines is a virtual machine that I did the install on, and I know nothing about setting up Windows :-) Thanks for educating me. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: A Windows client question
On Wed, Dec 30, 2009 at 08:09:35AM -0800, Paddy Sreenivasan wrote: OK, looking in services, I find something called Volume Shadow Copy, running on all 5 machines (2 XP, and 3 Seerver 2003) in question, that's it, right? And BTW it must be enabled by default, becayse one of the XP Yes. It is enabled by default. Just check to make sure it is not disabled by someone else. It should be in manual or automatic mode. Cool, thanks. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
does this compile error look fmailiar?
I am trying to build 2.5.1p2 on a Solaris 5 machine that i just confirmed I can build 2.4.3b4 on this morning, so I know I have a somewhat sane build environment. configure seems happy, but the compile fails fairly quickly with this error. Any thoughts? urity.c -fPIC -DPIC -o .libs/bsd-security.o In file included from bsd-security.c:33: util.h:349: error: parse error before in_port_t util.h:350: warning: function declaration isn't a prototype -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: Dumpdates for Amanda client?
On Wed, Dec 30, 2009 at 12:19:13PM -0600, Dr 440 wrote: I'm using zmanda client 2.6.1, and I am trying to find the windows equivalent of unix's dumpdates file so I can debug a server issue. Does such an equivalent file/mechanism exist on the zmanda windows client? I see there is also a zwc-mysql application running as a service that works with zmanda. Is there any way to retrieve the data from there? Boy, I would think any stnadard query tool that could connect to MySQL would work. But I am no Windows expert. We just started using this client, and have found the logfile generated by the client to be a useful debging tool. alos, maybe that will help. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: does this compile error look fmailiar?
On Wed, Dec 30, 2009 at 01:30:16PM -0600, Dustin J. Mitchell wrote: On Wed, Dec 30, 2009 at 1:03 PM, stan st...@panix.com wrote: urity.c ??-fPIC -DPIC -o .libs/bsd-security.o In file included from bsd-security.c:33: util.h:349: error: parse error before in_port_t util.h:350: warning: function declaration isn't a prototype I suspect this patch might help: http://github.com/zmanda/amanda/commit/911a9b5fbf136ee0dbffcae4e9696be498491c43 Cool, thanks. Out of time today, and won't be back to work till (at least) Mondy, perhaps Tuesday, but i will try to find time to work on it then. Deb says we need 2.5.2, anyway, but I do have a working Soalri 5 build environement again, albeit ona production amchine. I might try to clone that machien to the one in the lab. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
amcheck and backup failing
ON my exciting installation with no changes (well I added some Windows clients). Several machines now are timing out on amcheck, and on the backup run. The machines seem to be somewhat variable, but I picked one that seems to be a consistent bad actor Here is the debug file from an amcheck this morning. --- amandad: debug 1 pid 20072 ruid 404 euid 404: start at Tue Dec 29 08:20:40 2009 amandad: version 2.4.3b4 amandad: build: VERSION=Amanda-2.4.3b4 amandad:BUILT_DATE=Mon Feb 3 09:40:35 GMT 2003 amandad:BUILT_MACH=SunOS AP0550 5.5.1 Generic_103640-20 sun4m sparc SUNW,SPARCstation-5 amandad:CC=gcc amandad:CONFIGURE_COMMAND='./configure' '--with-config=DailyDump' '--prefix=/opt/amanda' '--with-index-server=debian' '--with-user=amanda' '--with-group=operator' '--with-tape-server=debian' '--with-debugging' '--with-tape-device=/dev/nst0' '--sbindir=/opt/amanda/sbin' '--libexecdir=/opt/amanda/libexec' '--libdir=/opt/amanda/lib' '--with-configdir=/opt/amanda/etc/amanda' '--with-gnutar-listdir=/opt/amanda/var/amanda/gnutar-lists' '--mandir=/opt/amanda/man' '--without-rundump' '--without-server' amandad: paths: bindir=/opt/amanda/bin sbindir=/opt/amanda/sbin amandad:libexecdir=/opt/amanda/libexec mandir=/opt/amanda/man amandad:AMANDA_TMPDIR=/tmp/amanda AMANDA_DBGDIR=/tmp/amanda amandad:CONFIG_DIR=/opt/amanda/etc/amanda DEV_PREFIX=/dev/dsk/ amandad:RDEV_PREFIX=/dev/rdsk/ DUMP=/usr/sbin/ufsdump amandad:RESTORE=/usr/sbin/ufsrestore amandad:COMPRESS_PATH=/opt/FSFgzip/bin/gzip amandad:UNCOMPRESS_PATH=/opt/FSFgzip/bin/gzip amandad:MAILER=/bin/mailx amandad:listed_incr_dir=/opt/amanda/var/amanda/gnutar-lists amandad: defs: DEFAULT_SERVER=debian DEFAULT_CONFIG=DailyDump amandad:DEFAULT_TAPE_SERVER=debian amandad:DEFAULT_TAPE_DEVICE=/dev/nst0 HAVE_MMAP HAVE_SYSVSHM amandad:LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE amandad:AMANDA_DEBUG_DAYS=4 BSD_SECURITY USE_AMANDAHOSTS amandad:CLIENT_LOGIN=amanda FORCE_USERID HAVE_GZIP amandad:COMPRESS_SUFFIX=.gz COMPRESS_FAST_OPT=--fast amandad:COMPRESS_BEST_OPT=--best UNCOMPRESS_OPT=-dc amandad: time 0.003: got packet: Amanda 2.6 REQ HANDLE 000-0009 SEQ 1262258321 SECURITY USER amanda SERVICE selfcheck OPTIONS features=9ffe7f;maxdumps=1;hostname=AW0071.mcn.chs; DUMP /dev/md/dsk/d5 0 OPTIONS |;auth=BSD;srvcomp-best;index; DUMP /dev/md/dsk/d4 0 OPTIONS |;auth=BSD;srvcomp-best;index; DUMP /dev/md/dsk/d2 0 OPTIONS |;auth=BSD;srvcomp-best;index; DUMP /dev/md/dsk/d0 0 OPTIONS |;auth=BSD;srvcomp-best;index; amandad: time 0.004: sending ack: Amanda 2.4 ACK HANDLE 000-0009 SEQ 1262258321 amandad: time 0.040: bsd security: remote host amanda.mcn.chs user amanda local user amanda amandad: time 0.041: amandahosts security check passed amandad: time 0.041: running service /opt/amanda/libexec/selfcheck amandad: time 0.212: sending REP packet: Amanda 2.4 REP HANDLE 000-0009 SEQ 1262258321 OPTIONS features=feff9f00; OK /dev/md/dsk/d5 OK /dev/md/dsk/d5 OK /dev/md/rdsk/d5 OK /dev/md/dsk/d4 OK /dev/md/dsk/d4 OK /dev/md/rdsk/d4 OK /dev/md/dsk/d2 OK /dev/md/dsk/d2 OK /dev/md/rdsk/d2 OK /dev/md/dsk/d0 OK /dev/md/dsk/d0 OK /dev/md/rdsk/d0 OK /usr/sbin/ufsdump executable OK /usr/sbin/ufsrestore executable OK /opt/FSFgzip/bin/gzip executable OK /etc/dumpdates read/writable OK /dev/null read/writable OK /tmp/amanda has more than 64 KB available. OK /tmp/amanda has more than 64 KB available. OK /etc has more than 64 KB available. amandad: time 10.208: dgram_recv: timeout after 10 seconds amandad: time 10.209: waiting for ack: timeout, retrying amandad: time 11.817: got packet: Amanda 2.6 REQ HANDLE 000-0009 SEQ 1262258321 SECURITY USER amanda SERVICE selfcheck OPTIONS features=9ffe7f;maxdumps=1;hostname=AW0071.mcn.chs; DUMP /dev/md/dsk/d5 0 OPTIONS |;auth=BSD;srvcomp-best;index; DUMP /dev/md/dsk/d4 0 OPTIONS |;auth=BSD;srvcomp-best;index; DUMP /dev/md/dsk/d2 0 OPTIONS |;auth=BSD;srvcomp-best;index; DUMP /dev/md/dsk/d0 0 OPTIONS |;auth=BSD;srvcomp-best;index; amandad: time 11.817: it is not an ack amandad: time 21.808: dgram_recv: timeout after 10 seconds amandad: time 21.808: waiting for ack: timeout, retrying amandad: time 29.855: got packet: Amanda 2.6 REQ HANDLE 000-0009 SEQ 1262258321 SECURITY USER amanda SERVICE selfcheck OPTIONS features=9ffe7f;maxdumps=1;hostname=AW0071.mcn.chs; DUMP /dev/md/dsk/d5 0 OPTIONS |;auth=BSD;srvcomp-best;index; DUMP /dev/md/dsk/d4 0 OPTIONS |;auth=BSD;srvcomp-best;index; DUMP /dev/md/dsk/d2 0 OPTIONS |;auth=BSD;srvcomp-best;index; DUMP /dev/md/dsk/d0 0 OPTIONS |;auth=BSD;srvcomp-best;index; amandad: time 29.856: it is not an ack amandad: time 39.848: dgram_recv: timeout after 10 seconds amandad: time 39.849: waiting for ack: timeout, retrying amandad: time 49.848:
Re: amcheck and backup failing
On Tue, Dec 29, 2009 at 10:36:04AM -0600, Dustin J. Mitchell wrote: On Tue, Dec 29, 2009 at 8:03 AM, stan st...@panix.com wrote: I have a suspicion that we may be having network issues (loading ?). But i wanted the wisdom of the list on the, befoe I go try to get that addressed. What does this look like to you all? If your network is using WRED or any other drop-packets-deliberately queueing strategy, Amanda's UDP-based protocols will be hit particularly hard. UDP doesn't automatically retransmit, so Amanda has to do it, and Amanda's algorithms aren't quite up to TCP's (now 33 year-old!) capabilities. Thanks. We moved to all TCP (bsd_auth) 6 months or so agao, as Amanda became unusable using UDP. Problem is, now I am starting to see teh same behavior with TCP, or at least that's what I am afraid is hapening. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: amcheck and backup failing
On Tue, Dec 29, 2009 at 03:53:46PM -0600, Dustin J. Mitchell wrote: On Tue, Dec 29, 2009 at 3:42 PM, stan st...@panix.com wrote: We moved to all TCP (bsd_auth) 6 months or so agao, as Amanda became unusable using UDP. Problem is, now I am starting to see teh same behavior with TCP, or at least that's what I am afraid is hapening. Your error messages are from dgram_send, which is a UDP-related function, so you might want to check the config.. Really!! The clients can't do both, can they? Iwas thinking we had to change the setup in inetd.conf on avery client, when we did this change. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
A Windows client question
I read in the docs for the Windows client that if snapshot mode was available, it could back up open databses corectly. OK, so this leads to a couple of questins. 1. How can O determine if this mode is avaialble/being used? 2. Does this include MS'es SQL database? 3. How about the mySql instnace that the client uses itself? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
A Windows client question
I know nothing about Windows, and I was discussing something with someone who is a lot more knowledgeable in that area that I. Which leads to this question. How dose the Zamanda Windows client know what to back up for other than a level 0 backup? He thinks it might be that the manipulates the archive bit. If this is the case, is it possible that running an Amanda backup could cause problems for some other backup methodology? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: Windows client question
On Sun, Dec 20, 2009 at 11:35:38AM -0800, Paddy Sreenivasan wrote: Stan, The log snippet is not useful. It appears ZWC service crashed. Can you please confirm? If you need help, please collect logs. Please see http://forums.zmanda.com/showthread.php?t=2031 on how to send logs to us. I will add it to the wiki when I get time. Would you beleive, I did that, and now it works :-) Any thoughts? So, my current status is that my test machine works, but the first production machine is still returing: pselevent.meadwestvaco.com:C:0 planner: [pselevent.meadwestvaco.com: Server validation Failed. Please register server with client.] The 2 machines are set up identically. Any thoughts on this? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: Windows client question
On Mon, Dec 21, 2009 at 12:44:01PM -0800, Paddy Sreenivasan wrote: So, my current status is that my test machine works, but the first production machine is still returing: pselevent.meadwestvaco.com:C: ? ? ? ? ? ?0 ?planner: [pselevent.meadwestvaco.com: ?Server validation Failed. Please register server with client.] Please take a look at http://forums.zmanda.com/showthread.php?t=1369 thanks, Paddy OK, I have. We followed the directions to change the backup user from the web page. This has been done on both machines. The test machine works, and the production one does not. Changing to another user is not feasible, as I have 50+ exisitng *NIX clients :-) -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: Windows client question
On Mon, Dec 21, 2009 at 02:29:09PM -0800, Paddy Sreenivasan wrote: We followed the directions to change the backup user from the web page. This has been done on both machines. The test machine works, and the production one does not. Have you registered Amanda client with the Server i.e provided server IP address in the client registry? Paddy Yes, we copied the registry entry from the working machine. It's even there by IP address in case there is a name resolutin issue. There are multiple entries seperated bu commas. That's right, isn't it? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Windows client question
WE set up our first windows client yesetrday. amchheck worked OK, and when I left, amstatus showed about 36% complete, so I thoguth all was well. but this mrning, after the run completed, amstatus on the Amanda mcahine reports: chslsbrown.kapstonepaper.com:C: 0 dumper: [request failed: Connection refused](too) Here is the tail end of the log file from the client: nda Windows Client Version 2.6 Zmanda Windows Client, Copyright 2006-2007 Zmanda Inc. ---Log file header Process Id: 2284 ---Log file debug info 2284:360:19/12/2009:22:28:348::Query:ReadDOSEntries: GetHandle 2284:360:19/12/2009:22:28:395::Query:ReadDOSEntries: Executing Query SELECT RelativePath FROM ZWCCatalog.ZWCDataObjectSet WHERE DiskListId = 1 AND Backup = 1 ORDER BY `dosentryid` LIMIT 0,500 INTO OUTFILE 'C:/Program Files/Zmanda/Zmanda Client for Windows Community Edition/misc//IndexRecords' FIELDS ESCAPED BY ''; 2284:360:19/12/2009:22:28:880::Query:ReadDOSEntries: GetHandle 2284:360:19/12/2009:22:28:880::Query:ReadDOSEntries: Executing Query SELECT RelativePath FROM ZWCCatalog.ZWCDataObjectSet WHERE DiskListId = 1 AND Backup = 1 ORDER BY `dosentryid` LIMIT 500,500 INTO OUTFILE 'C:/Program Files/Zmanda/Zmanda Client for Windows Community Edition/misc//IndexRecords' FIELDS ESCAPED BY ''; -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Windows client problem
I am trying to set up my first pair of Windows clients. One of them curectly passes amchceck, and the other one fails. I am using a 2.6.1 server, and the latest Windows client downloaded today. On the server I get: ERROR: pselevent.meadwestvaco.com: Server validation Failed. Please register server with client. And here is the tail end of the log from the Windows machine: ---Log file debug info 4048:4064:19/12/2009:18:52:192::Catalog:GetStatementHandle: sql specific error 4048:4064:19/12/2009:18:52:192::Catalog: IsConnected: Reconnecting 4048:4064:19/12/2009:18:52:192::Catalog: IsConnected: Freeing connection handles 4048:4064:19/12/2009:18:52:192::Catalog:ConnectToDb: Preprocessing before connecting to driver 4048:4064:19/12/2009:18:52:192::Reading connection string from registry 4048:4064:19/12/2009:18:52:192::Connection string from registry is read successfully 4048:4064:19/12/2009:18:52:202::Catalog:ConnectToDb: Connecting to driver 4048:4064:19/12/2009:18:52:272::Catalog:ConnectToDb: Driver Connection is Successful 4048:4064:19/12/2009:18:52:272::Catalog: IsSchemaExists: Checking if schema exists 4048:4064:19/12/2009:18:52:272::Catalog: IsSchemaExists: Schema exists 4048:4064:19/12/2009:18:52:272::Catalog: IsConnected: Reconnecting to database 4048:4064:19/12/2009:18:52:272::Catalog: IsConnected: Connected to database 4048:4064:19/12/2009:18:52:282::Catalog: IsSchemaExists: Checking if schema exists 4048:4064:19/12/2009:18:52:282::Catalog: IsSchemaExists: Schema exists 4048:4064:19/12/2009:18:52:292::Catalog:DisconnectDb: Disconnecting DB 4048:4064:19/12/2009:18:52:292::Catalog:DisconnectDb: Connection to DB is disconnected successfully 4048:4064:19/12/2009:18:52:312::Catalog:GetStatementHandle: sql specific error 4048:4064:19/12/2009:18:52:312::Catalog: IsConnected: Reconnecting 4048:4064:19/12/2009:18:52:312::Catalog: IsConnected: Freeing connection handles 4048:4064:19/12/2009:18:52:312::Catalog:ConnectToDb: Preprocessing before connecting to driver 4048:4064:19/12/2009:18:52:312::Reading connection string from registry 4048:4064:19/12/2009:18:52:312::Connection string from registry is read successfully 4048:4064:19/12/2009:18:52:322::Catalog:ConnectToDb: Connecting to driver 4048:4064:19/12/2009:18:52:462::Catalog:ConnectToDb: Driver Connection is Successful 4048:4064:19/12/2009:18:52:462::Catalog: IsSchemaExists: Checking if schema exists 4048:4064:19/12/2009:18:52:462::Catalog: IsSchemaExists: Schema exists 4048:4064:19/12/2009:18:52:462::Catalog: IsConnected: Reconnecting to database 4048:4064:19/12/2009:18:52:462::Catalog: IsConnected: Connected to database 4048:4064:19/12/2009:18:52:462::Catalog:DisconnectDb: Disconnecting DB 4048:4064:19/12/2009:18:52:472::Catalog:DisconnectDb: Connection to DB is disconnected successfully 4048:4076:19/12/2009:18:53:898::CZWCJobHandler::ExecuteJob : Job Type = 3 4048:4076:19/12/2009:18:53:908::CZWCJobHandler::ExecuteJob : Job Type = 5 4048:4076:19/12/2009:18:53:908::CZWCJobHandler::ExecuteJob : Job Type = 21 4048:4076:19/12/2009:18:53:908::CZWCJobHandler::ExecuteJob : Job Type = 1 4048:4076:19/12/2009:18:53:908::CZWCJobHandler::ExecuteJob : Job Type = 3 4048:4076:19/12/2009:18:53:908::CZWCJobHandler::ExecuteJob : Job Type = 6 4048:4076:19/12/2009:18:53:908::ZWC Failure error code: 2 4048:4076:19/12/2009:18:53:918::CZWCJobHandler::ExecuteJob : Job Type = 7 4048:4076:19/12/2009:18:53:918::CZWCJobHandler::ExecuteJob : Job Type = 8 4048:1988:19/12/2009:18:53:928::RemoveStaleClient : Last error code is 0 4048:1988:19/12/2009:18:53:928::The operation completed successfully. 4048:1988:19/12/2009:18:53:928::Communication Layer : Connection closed by server. Can anyone see what I am doing wrong here? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: amanda-client.conf ?
On Wed, Dec 09, 2009 at 05:06:20PM -0500, Jean-Louis Martineau wrote: amrecover -oauth=bsdtcp This goes back at least as far as 2.5.1p2 -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
2.6.1 build on Solaris 8 question
I am trying to build 2.6.1 n Solaris 8. Configure is giving me the following error: sh: gnome-config: not found no *** Could not run GLIB test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GLIB is incorrectly installed. configure: error: glib not found or too old; See http://wiki.zmanda.com/index.php/Installation for help I downloaded and glib-2.14.1-sol25-sparc-local from the SunFreeware site, and installed it, but a find still does not find something called gnome-config. Shoould this come with this libarary? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Windows client and Amanda user on server
I saw the announcement of the new Windows client, and thought I would give it a try. However, looking at the installation instructions for it, they say that the Amanda user on the server must be amandabackup. I have a moderately large (50+) existing Amanda installation, and changing the user name on all those machines would be a big task. Is it possible to change the configuration on the Windows machine to use our existing design? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Windows client
I am trying out the new Windows client. This is my first atempt to back up a Windows machine using Amanda. amcheck is returning: ERROR: chslsbrown..com: Server validation Failed. Please register server with client. What do I need to do to acomplish this? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: Windows client and Amanda user on server
On Thu, Dec 10, 2009 at 09:41:44AM -0500, stan wrote: I saw the announcement of the new Windows client, and thought I would give it a try. However, looking at the installation instructions for it, they say that the Amanda user on the server must be amandabackup. I have a moderately large (50+) existing Amanda installation, and changing the user name on all those machines would be a big task. Is it possible to change the configuration on the Windows machine to use our existing design? Sorry, I found this information on the web page :-( However, even though I was able to make the chnages it sugested, I am still getting the following erro, when i run amcheck: ERROR: chslsbrown..com: Server validation Failed. Please register server with client. I loked at the GUI for teh zamanda service, and I don't see where to do this. Sorry, but I am really not very knowledgabel on the Windows side of things, and I assume that is where this issue is? I am running 2.6.1 on my server, and ahve a disklist entry like this: chslsbrown..com / zwc-normal 1 eth0 I have defined the new dumptype. Anything else I might have missed? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: Windows client and Amanda user on server
On Thu, Dec 10, 2009 at 10:31:05AM -0500, stan wrote: On Thu, Dec 10, 2009 at 09:41:44AM -0500, stan wrote: I saw the announcement of the new Windows client, and thought I would give it a try. However, looking at the installation instructions for it, they say that the Amanda user on the server must be amandabackup. I have a moderately large (50+) existing Amanda installation, and changing the user name on all those machines would be a big task. Is it possible to change the configuration on the Windows machine to use our existing design? Sorry, I found this information on the web page :-( However, even though I was able to make the chnages it sugested, I am still getting the following erro, when i run amcheck: ERROR: chslsbrown..com: Server validation Failed. Please register server with client. I loked at the GUI for teh zamanda service, and I don't see where to do this. Sorry, but I am really not very knowledgabel on the Windows side of things, and I assume that is where this issue is? I am running 2.6.1 on my server, and ahve a disklist entry like this: chslsbrown..com / zwc-normal 1 eth0 I have defined the new dumptype. Anything else I might have missed? Sorry to keep following up to my own email. I looked at the log file on the test Windows machine, and here is what I see: 2164:2240:10/12/2009:10:21:913::Catalog: IsConnected: Reconnecting to database 2164:2240:10/12/2009:10:21:913::Catalog: IsConnected: Connected to database 2164:2240:10/12/2009:10:21:913::Catalog:DisconnectDb: Disconnecting DB 2164:2240:10/12/2009:10:21:913::Catalog:DisconnectDb: Connection to DB is disconnected successfully 2164:2580:10/12/2009:10:22:844::CZWCJobHandler::ExecuteJob : Job Type = 3 2164:2580:10/12/2009:10:23:112::CZWCJobHandler::ExecuteJob : Job Type = 5 2164:2580:10/12/2009:10:23:112::CZWCJobHandler::ExecuteJob : Job Type = 21 2164:2580:10/12/2009:10:23:127::CZWCJobHandler::ExecuteJob : Job Type = 1 2164:2580:10/12/2009:10:23:127::CZWCJobHandler::ExecuteJob : Job Type = 3 2164:2580:10/12/2009:10:23:127::CZWCJobHandler::ExecuteJob : Job Type = 6 2164:2580:10/12/2009:10:23:143::[ZWCJobHandler::InitializeTemplate]::ERROR : Could not find the TemplateLocation registry key 2164:2580:10/12/2009:10:23:143::CZWCJobHandler : IsApplicationSupported: Application not supported 2164:2580:10/12/2009:10:23:143::CZWCJobHandler::ExecuteJob : Job Type = 7 2164:2580:10/12/2009:10:23:143::CZWCJobHandler::ExecuteJob : Job Type = 8 2164:2604:10/12/2009:10:23:143::RemoveStaleClient : Last error code is 0 2164:2604:10/12/2009:10:23:143::The operation completed successfully. 2164:2604:10/12/2009:10:23:143::Communication Layer : Connection closed by server. 2164:2580:10/12/2009:10:52:583::CZWCJobHandler::ExecuteJob : Job Type = 3 2164:2580:10/12/2009:10:53:755::CZWCJobHandler::ExecuteJob : Job Type = 5 2164:2580:10/12/2009:10:53:755::CZWCJobHandler::ExecuteJob : Job Type = 21 2164:2580:10/12/2009:10:53:755::CZWCJobHandler::ExecuteJob : Job Type = 1 2164:2580:10/12/2009:10:53:755::CZWCJobHandler::ExecuteJob : Job Type = 3 2164:2580:10/12/2009:10:53:755::CZWCJobHandler::ExecuteJob : Job Type = 6 2164:2580:10/12/2009:10:53:755::[ZWCJobHandler::InitializeTemplate]::ERROR : Could not find the TemplateLocation registry key 2164:2580:10/12/2009:10:53:755::CZWCJobHandler : IsApplicationSupported: Application not supported 2164:2580:10/12/2009:10:53:755::CZWCJobHandler::ExecuteJob : Job Type = 7 2164:2580:10/12/2009:10:53:755::CZWCJobHandler::ExecuteJob : Job Type = 8 2164:2604:10/12/2009:10:53:755::Got error while reading from socket 2164:2604:10/12/2009:10:53:755::ZWC Failure error code: 0 2164:2604:10/12/2009:10:53:755::RemoveStaleClient : Last error code is 10053 2164:2604:10/12/2009:10:53:755::An established connection was aborted by the software in your host machine. 2164:2604:10/12/2009:10:53:755::Communication Layer : Connection closed by server. Sorry for the ugly cut paste. BTW I copied the logfile.txt to one of my *NIX machines, and I was ging to send t, but it seems to not be a text file. What;s the storry here? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: Windows client and Amanda user on server
On Thu, Dec 10, 2009 at 12:03:26PM -0600, Dustin J. Mitchell wrote: On Thu, Dec 10, 2009 at 10:01 AM, stan st...@panix.com wrote: BTW I copied the logfile.txt to one of my *NIX machines, and I was ging to send t, but it seems to not be a text file. What;s the storry here? Windows text = UTF-16 with some kind of non-unicode encoding. It's an ASCII superset, to it's usually reasonably processable by something that can convert UTF-16 to UTF-8. Here's the script I use to read ZWC logfiles from their CABs (although I complain so loudly while doing so that I'm rarely asked to look at such problems anymore .. sometimes being the squeaky wheel gets you left alone!). Note that not all of the utf-16-utf-8 conversions work, due to .. some windows stupidity I'm sure. echo ** Extracting CAB cabextract -d $dirname $cabfile || exit 1 echo ** Fixing text files for i in $(find . -name '*.txt'); do if ! iconv -f utf-16 -t utf-8 $i $i.utf8; then echo skipping $i rm -f $i.utf8 continue fi mv $i.utf8 $i || exit 1 dos2unix $i done Interesting I learned (soemthing else I don't like about Windows). I have been doing some more googling. Can any assure me that someone has made a windows client work, after chnaging the backup user from amandabackup? I seem to have run out of things to try her. I am just about to decide that I can't make Windows backup work, which would be too bad, as it would encorage the Windows folks to labby for aomething else. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: Windows client and Amanda user on server
On Thu, Dec 10, 2009 at 12:20:54PM -0600, Dustin J. Mitchell wrote: On Thu, Dec 10, 2009 at 12:13 PM, stan st...@panix.com wrote: Interesting I learned (soemthing else I don't like about Windows). I have been doing some more googling. Can any assure me that someone ??has made a windows client work, after chnaging the backup user from amandabackup? Yes, I've talked to a number of folks on #amanda (and a few here, IIRC) who are using it successfully. But that's about all I know :( I seem to have run out of things to try her. I am just about to decide that I can't make Windows backup work, which would be too bad, as it would encorage the Windows folks to labby for aomething else. This may be due to a bug in the new release that was discovered. Paddy is looking into it, and will let you know. It's only 10:20am Pacific time - don't give up yet! ;) OK, if I can help test, or provide more information I will be happy to, and I admit to knowing _nothing_ about the Windows end :-) Thanks. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: Windows client and Amanda user on server
On Thu, Dec 10, 2009 at 10:40:21AM -0800, Paddy Sreenivasan wrote: Stan, This appears to be bug. We will have fixed Windows client in couple of hours. Cool, thanks very much. BTW My Amanda server just had a hardware failure, so there is no rush for me :-) -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: Windows client and Amanda user on server
On Thu, Dec 10, 2009 at 01:46:25PM -0500, Jean-Francois Malouin wrote: * Dustin J. Mitchell dus...@zmanda.com [20091210 13:21]: On Thu, Dec 10, 2009 at 12:13 PM, stan st...@panix.com wrote: Interesting I learned (soemthing else I don't like about Windows). I have been doing some more googling. Can any assure me that someone ?has made a windows client work, after chnaging the backup user from amandabackup? Yes, I've talked to a number of folks on #amanda (and a few here, IIRC) who are using it successfully. But that's about all I know :( I seem to have run out of things to try her. I am just about to decide that I can't make Windows backup work, which would be too bad, as it would encorage the Windows folks to labby for aomething else. This may be due to a bug in the new release that was discovered. Paddy is looking into it, and will let you know. It's only 10:20am Pacific time - don't give up yet! ;) I've been following this thread with interest as I'm about to embark on a similar quest, backing up a windows xp 64bits client which has copious amount of data... Reading from this thread and from the zmanda wiki: Is it true that the zmanda windows *client* requires that the amanda user on the *server* side *must* be named `amandabackup'??? Please, tell me this is ain't so! No , there are you happy now :-) Seriosuly, I just failed to scroll down far enough on the wiki page to see the instuctions as to how to do this. And they must be clear as I have never down any work on Windows, and Iam failry certain that I got it right. I almost went and said regedit to my Windows admin, but I figured he would say su root ; cd / ; rm -rf * back to me :-) -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: Windows client
On Thu, Dec 10, 2009 at 11:58:47AM -0800, Paddy Sreenivasan wrote: Please take a look at http://forums.zmanda.com/showthread.php?t=1369 Rigth, I figured out that I needed to run that program. Thanks. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: Windows client and Amanda user on server
On Thu, Dec 10, 2009 at 12:47:53PM -0800, Paddy Sreenivasan wrote: 2164:2580:10/12/2009:10:23:143::[ZWCJobHandler::InitializeTemplate]::ERROR : Could not find the TemplateLocation registry key 2164:2580:10/12/2009:10:23:143::CZWCJobHandler : IsApplicationSupported: Application not supported Above issue has been fixed in latest beta images. You will find it under version 2.6.1p2 at http://www.zmanda.com/download-amanda.php Wow! Fast work! Thanks, now I just have to get my Amanda server hardware repaired. I assume that I re-run the installer? And once I do that, do I have to go through the steps to change teh user again? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
amanda-client.conf ?
Tried to do some recovering yesterday, using amrecover, and could not get past the timeout waiting for ack on systems that were working, the last time I checked. Goggle led me to a post on the Zamnda forum suggesting that I needed an amanda-client.conf file. I have never even heard of this file in many years of suing amanda. Having said that, adding it, did solve the problem. Looking at this, it appears that when we changed to TCP from UDP this might be the trigger that meant we needed this file, as it does specify the auth. Is this what happened? If so, is there a way to specify this on the amrecover command line, so I don't have to put this file on 50+ machines? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
wrong restore arguments at top of file
WE just recently rebuilt 2.6.1 on FreeBSD 7.2 STABLE, and this mornign I went to do a restore, to find out that the header in the file contains an incorect invocation of the FreeBSD resore command. here is what is in the file: To restore, position tape at start of file and run: dd if=tape bs=32k skip=1 | /usr/bin/gzip -dc | /sbin/restore -xpGf - ... Problem is FreeBSD's restore does not support the -p nor -G flags. At what point in the configure/build process is this string determined? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: very slow amcheck
On Thu, Sep 24, 2009 at 11:10:11PM -0400, Nathan Stratton Treadway wrote: On Thu, Sep 24, 2009 at 11:38:57 -0400, stan wrote: Right, you and I are thinking alike on this. What I was hoping was that there was the functional equivilant of a -v (verbose) flag to amcheck, so that I could see what it was doing. On my system (Amanda 2.5.1p3), the amcheck log files found at /var/log/amanda/server/CONFIG/amcheck.*.debug do include timestamp information for when each remote host sent its reply package. It only has IP numbers (not host names), but there should be enough information there for you to at least figure out which hosts are taking the longest to reply (I belive that the /var/log/amanda here is the directory specified by the AMANDA_DBGDIR setting found in the amadmain CONFIG version output.) Thanks, that should help troubeshoot this. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs.
Re: very slow amcheck
On Thu, Sep 24, 2009 at 09:35:18AM -0400, Dustin J. Mitchell wrote: On Wed, Sep 23, 2009 at 9:19 AM, stan st...@panix.com wrote: We are in the process of making a number of significant changes to our internal network. At the moment, an amcheck on 52 machines, which ultimately reports no problems, is taking over 6 minutes. Historically, when no machines were down etc, this took less than 1 minute. How can I troubleshoot what is causing this slowness? Not to be coy, but I would guess that it's the significant changes you're making to your network! If I recall, you're using UDP-based auth, so perhaps these network changes are causing packet loss and retransmission? That's sort of the point. I need to be able to docment the brain damage that is being done to the network :-) WE are largely BSDTCP auth at this poit, as UPD stoped working a couple of months agao. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs.
Re: very slow amcheck
On Thu, Sep 24, 2009 at 11:32:17AM -0400, Dustin J. Mitchell wrote: On Thu, Sep 24, 2009 at 10:44 AM, stan st...@panix.com wrote: That's sort of the point. I need to be able to docment the brain damage that is being done to the network :-) If it's still TCP then the best thoughts I have are to look at ARP and DNS resolution times. Has a resolver been removed that one of your machines is still using? Right, you and I are thinking alike on this. What I was hoping was that there was the functional equivilant of a -v (verbose) flag to amcheck, so that I could see what it was doing. I'd prefer not to have to try to isolate the problem by adding each machine to disklist, and retrying it. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs.
Re: very slow amcheck
On Thu, Sep 24, 2009 at 11:32:17AM -0400, Dustin J. Mitchell wrote: On Thu, Sep 24, 2009 at 10:44 AM, stan st...@panix.com wrote: That's sort of the point. I need to be able to docment the brain damage that is being done to the network :-) If it's still TCP then the best thoughts I have are to look at ARP and DNS resolution times. Has a resolver been removed that one of your machines is still using? FYI, an amcheck of 53 machines (all of which pass) take a reliable 6 minutes. Historically, depending on whether we had read the tape before or not, the server could take up to 3 seconds, or less that 2. The clients, assuming no down machines, would all return within a few seconds. Clearly the network people are making things better :-( -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs.
very slow amcheck
We are in the process of making a number of significant changes to our internal network. At the moment, an amcheck on 52 machines, which ultimately reports no problems, is taking over 6 minutes. Historically, when no machines were down etc, this took less than 1 minute. How can I troubleshoot what is causing this slowness? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs.
listserver test
Sorry for the nosie, but my messages don't seem to be making it to the list, this morning. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs.
2nd test
Sorry again. I just resubscribed, and I am trying to make certain I am getting mail from the list. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs.
OpenBSD clients
I am trying this a 3rd time, W/O the atachments, and after resubscribing to the list :-( What a morning. In any case the debug files can be found at http://beachcave.net/amanda And I ma sorry if theis is a repeat, but I never saw the other 2 atempsts come back from the list. I am starting a new thread on this, as the old one was getting to be hard to find things in, and I have not worked on this for a couple of days. To revies, I am trying to get OpenBSD clients working with anything resembling a modern version of Amanda. The version of OpenBSD I am using is 4.5, which is the current version. I have a 2.6.1 master machine, running on Ubuntu Linux. I was sucesfully backing up a number of older versions of OpenBSD machines, with various older versions of Amanda. Amanda 2.5.0p1 with bsd auth works on these new OpenBSD machines. Amanda 2.5.2p1 (which I believe I need to support the user freindly recovery programs) does not work, Amcjeck runs fine, and the backups start, but 50% of them fail part way through the backup. I have tried going to bsdtcp auth with no improvement. I have truned of client compression with no improvemnt. Someone on the list told me that it appeared that the failure was occuring in the stream_accept() function call. which is defined in common-src/stream.c. I add some additional debuging for last nights run, as follows: } else if(nfound == 0) { dbprintf(plural(_(stream_accept: timeout after %d\n), _(stream_accept: timeout after %d\n), timeout), timeout); + dbprintf(plural(_(stream_accept: server_socket = %d\n), + _(stream_accept: server_socket = %d\n), + server_socket), + server_socket); But, it did not trigger. Amstaus reports: pblab:wd0a118m finished (23:04:26) pblab:wd0d1 0m finished (23:04:32) pblab:wd0e0 1m finished (23:04:22), PARTIAL pblab:wd0f1 5m finished (23:04:12), PARTIAL Here is what's left over in the dumpdisk area -rw--- 1 amanda amanda 1452032 2009-08-26 22:59 pblab.wd0e.0 -rw--- 1 amanda amanda 5560320 2009-08-26 22:59 pblab.wd0f.1 -rw--- 1 amanda amanda 205411 2009-08-26 22:52 pdns2.wd0a.0 -rw--- 1 amanda amanda 88462 2009-08-26 22:53 pdns2.wd0e.0 - Here are the size estimates: wd0a 0 SIZE 98393 wd0a 1 SIZE 19100 wd0f 0 SIZE 9507019 wd0f 1 SIZE 257082 wd0d 0 SIZE 180 I am atching the amandad debug files from last nights run. I have compiled amanda on the OpenBSD machine with denguing symbols, so that I run it under the debuger. Can anyone sugest what to do next to try to localize the problem? Thanks for all the help on this!! PS, can someone breifly describe the control flow of sending a backup, so that I cna figure out where to put more diagnostics in the appropriaye code? I assume amandad is where that needs to go? Or does it need to go in sendbackup? Or both? BTW, here are teh DLE's for this amchine: pblab wd0a stan-test 1 eth0 pblab wd0f stan-test 1 eth0 pblab wd0d stan-test 1 eth0 pblab wd0e stan-test 1 eth0 And here is the dumptype df: define dumptype stan-test { global comment Non-root partitions on reasonably fast machines compress none maxdumps 4 priority medium #auth bsdtcp } The only active lines in global are: index yes record yes Any sugestions whatsover as to how to proceed with debuging this will be greatly appreciated!! Thanks, again. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs.
mailing list issues (and OpenBSD clients)
I seem to be unable to get a failry lengthy message I wrote about the issues I am having with OpenBSD clinets acepted by the listserver. I've tried submiting it with and withou tacahments, and resubscribing to the list with no luck. But a shor message to the listserver cam abck. Strange. In any acse, in addition to the atachments, i ahve now put the email up on http://becahcave.net/amanda Hopefully thos interested in the issue with OpenBSD clinets will atke a minute to read it. Thanks. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs.
OpenBSD issues
On Thu, Aug 27, 2009 at 08:49:21AM -0400, stan wrote: Sorry again. I just resubscribed, and I am trying to make certain I am getting mail from the list. This is truning into a _verY- frustrating morning! I have made several attempts to send to the list some information regarding the status of OpenBSD clients, and NONE of the attempts have come back to me. I have posted 2 short test messages (this is a reply to the 2nd one) and they have BOTH shown up. I have resubscribed to the lsit, but that did not help. I have put the original message, and the debug files that I tried to attach to it up at http://bechacave.net/amanda I would greatly appreciate anyone that might have any ideas as to how to go foward on debuging this taking a minute, and looking at this. Thanks! -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs.
Doesn amanda no longer do estimates for a given host in parallel?
In doing some testing, it appears that Amanda 2.6.1 no longer does estimates for multiple DLE's on a client in parallel. Is this true? If so, can I configure Amanda to the old behavior? This will probably substantially increase the amount of time my run takes. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs.
Re: Doesn amanda no longer do estimates for a given host in parallel?
On Thu, Aug 27, 2009 at 02:45:31PM -0400, Jean-Louis Martineau wrote: man disklist, look for spindle, set them to different value or '-1' if you want parallel estimate and dump. Ah, they _are_ on teh same spindle, and I don't want to run the dumps at the same time, just the estimates. I suspose this is an improvemnt over the old behavior. I just hare change :-) -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs.
Re: Doesn amanda no longer do estimates for a given host in parallel?
On Thu, Aug 27, 2009 at 03:41:38PM -0400, Dustin J. Mitchell wrote: On Thu, Aug 27, 2009 at 3:06 PM, stanst...@panix.com wrote: Ah, they _are_ on teh same spindle, and I don't want to run the dumps at the same time, just the estimates. I suspose this is an improvemnt over the old behavior. I just hare change :-) I don't think this was a change -- at least, not in my time with Amanda.. OK, I guess I just had not watched it as closely as I have been in the last couple of weeks. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs.
Re: ZFS mount points
On Thu, Aug 27, 2009 at 02:56:37PM -0400, Brian Cuttler wrote: But I'm now forced ot ask if there is an amanda solution, or for that matter, as I migrate my users to this new system if amanda will support in excess of 1000 DLEs in a single config/disklist. I have ~ 500, and it's working fine. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs.
Re: Backup issues with OpenBSD 4.5 machines
On Fri, Aug 21, 2009 at 03:53:13PM -0600, Michael Burk wrote: Stan's not alone on this one. I have two OpenBSD 4.5 machines also on Sun SPARC hardware. I had this same trouble a couple months ago with 2.6.1, but didn't have time to look deeper. After seeing this discussion, I built amanda-2.6.2alpha-20090812 (can't get 0820 to compile). I'm getting exactly the same errors. I tried dump with and without compression. My Amanda server is on Solaris 10, and I have a mix of Solaris, Linux, and OpenBSD systems. Except for the above-mentioned build, everything is at 2.6.1p1. There are no firewalls on the Amanda server or the OpenBSD clients. I know me too responses aren't usually helpful, but maybe this will rule out the firewall question, at least. Thanks for confirming the problem report. Any cn hance of you trying 2.500, and 2.5.2 to see if the first works, and the 2nd doesn't? Are you using bsd auth? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs.
Re: Backup issues with OpenBSD 4.5 machines
On Mon, Aug 24, 2009 at 02:01:09PM -0400, Jean-Louis Martineau wrote: This bug can't be fixed until we understand it. Agreed. Ask on a OpenBSD list how a write to a blocking pipe can return EAGAIN. Or the pipe semantics changed and they don't default to blocking. I already posted the code snipet to the OpenBSD list, but no one has commented on it yet. I have found, in the past, that having a simple reproducable free standing code snippet that demonstrates the problem, can often result in a better result on mailing lists. I have not had time to try to understnad the code well enough to produce such an example, yet. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs.
Re: Backup issues with OpenBSD 4.5 machines
On Mon, Aug 24, 2009 at 02:01:09PM -0400, Jean-Louis Martineau wrote: You can also try the attached, it check the pipe are opened in blocking mode. I will try to test that today. Thanks. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs.
Re: Backup issues with OpenBSD 4.5 machines
On Mon, Aug 24, 2009 at 02:01:09PM -0400, Jean-Louis Martineau wrote: You can also try the attached, it check the pipe are opened in blocking mode. OK, I applied that to 2.61 (after figuriing out it would not apply to 2.5.2 :-)). Of 4 DLE's on the test OpenBSD machine 3failed with PARTIAL, one tiny one syas complete, and the only signifcant;y sized on seems to be stuck forever at 0.04%, at least that's what amstatus has been reporting for 15 minutes. I grep'ed the amanda debug files for pipe (that's what the new error messages start with right?) and did not find any instances of this. I can send this debug files, if it will help. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs.
Re: Backup issues with OpenBSD 4.5 machines
On Fri, Aug 21, 2009 at 09:57:36AM -0600, John Hein wrote: stan wrote at 10:56 -0400 on Aug 21, 2009: OK here is the latest on this saga :-) On one of the OpenBSD 4.5 machines I have built 2.5.0p1, and was able to back this machine up successfully (using classic UDP based authentication) On another of them, I built 2.5.2p1. The first attempt to back this machine up failed. I checked the log files, and found they were having issues because /etc/amdates was missing. I corrected that, and started a 2nd backup run. (Remember amcheck reports all is well with this machine). I got the following from amstatus when I attempted to back up this machine. Also remember, one of the test I ran with a 2.6.1 client was to connect a test machine directly to the client, using a crossover cable to eliminate any firewall, or router type issues. I am attaching, what I think is, the amadnad debug file associated with this failure. Can anyone suggest what I can do to further troubleshoot this? pb48:wd0f 1 dumper: [could not connect DATA stream: can't connect stream to pb48.meadwestvaco.com port 11996: Connection refused] (10:37:27) . . . amandad: time 30.019: stream_accept: timeout after 30 seconds amandad: time 30.019: security_stream_seterr(0x86b67000, can't accept new stream connection: No such file or directory) amandad: time 30.019: stream 0 accept failed: unknown protocol error amandad: time 30.019: security_stream_close(0x86b67000) amandad: time 60.027: stream_accept: timeout after 30 seconds amandad: time 60.027: security_stream_seterr(0x81212000, can't accept new stream connection: No such file or directory) amandad: time 60.027: stream 1 accept failed: unknown protocol error amandad: time 60.027: security_stream_close(0x81212000) amandad: time 90.035: stream_accept: timeout after 30 seconds amandad: time 90.036: security_stream_seterr(0x84877000, can't accept new stream connection: No such file or directory) amandad: time 90.036: stream 2 accept failed: unknown protocol error amandad: time 90.036: security_stream_close(0x84877000) amandad: time 90.036: security_close(handle=0x81bbf800, driver=0x298a9240 (BSD)) amandad: time 120.044: pid 17702 finish time Fri Aug 21 10:39:27 2009 For some reason the socket is not getting marked ready for read. select(2) is timing out waiting. Firewall setup perhaps? This bit of code in 2.5.2p1's common-src/stream.c is where the failure is happening for you... int stream_accept( int server_socket, int timeout, size_t sendsize, size_t recvsize) { SELECT_ARG_TYPE readset; struct timeval tv; int nfound, connected_socket; int save_errno; int ntries = 0; in_port_t port; assert(server_socket = 0); do { ntries++; memset(tv, 0, SIZEOF(tv)); tv.tv_sec = timeout; memset(readset, 0, SIZEOF(readset)); FD_ZERO(readset); FD_SET(server_socket, readset); nfound = select(server_socket+1, readset, NULL, NULL, tv); if(nfound = 0 || !FD_ISSET(server_socket, readset)) { save_errno = errno; if(nfound 0) { dbprintf((%s: stream_accept: select() failed: %s\n, debug_prefix_time(NULL), strerror(save_errno))); } else if(nfound == 0) { dbprintf((%s: stream_accept: timeout after %d second%s\n, debug_prefix_time(NULL), timeout, (timeout == 1) ? : s)); errno = ENOENT; /* ??? */ return -1; The firts thing I notice when comparing this function in 2.5.0 vs 2.5.2 is that 2.5.0 does: tv.tv_usec = 0; and 2.5.2 does not. Could thim make a difference? Both do tv.tv_sec = timeout; -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs.
Re: How can a write to a blocking pipe return EAGAIN?
On Mon, Aug 24, 2009 at 10:39:21PM +0200, Bret S. Lambert wrote: On Mon, Aug 24, 2009 at 04:25:39PM -0400, stan wrote: I am trying to get Amanda of a recent vintage working on 4.5. The developrs don't understand how writing to a blocking pipe can return EAGAIN. Should the write just block? Yes, it should, and a quick, about-to-go-to-bed readthrough of the pipe write path shows that it shouldn't; is Amanda doing fcntls to the fd? If so, check those to be absolutely sure that they're not doing something hinkey. Thanks for the quick reply. I am trying to come up with a small demonstration peice of code to try to localize teh problem. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs.
Re: How can a write to a blocking pipe return EAGAIN?
On Mon, Aug 24, 2009 at 09:34:50PM +0100, Owain Ainsworth wrote: On Mon, Aug 24, 2009 at 04:25:39PM -0400, stan wrote: I am trying to get Amanda of a recent vintage working on 4.5. The developrs don't understand how writing to a blocking pipe can return EAGAIN. Should the write just block? Are they using pthreads? I am fairly certain not. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs.
Re: Backup issues with OpenBSD 4.5 machines
On Tue, Aug 18, 2009 at 08:06:46AM -0400, Jean-Louis Martineau wrote: stan wrote: Any thoughts as to why I have twice as many debug files as I expect? When a dump fail, amanda try it a second time. OK here is the latest on this saga :-) On one of the OpenBSD 4.5 machines I have built 2.5.0p1, and was able to back this machine up successfully (using classic UDP based authentication) On another of them, I built 2.5.2p1. The first attempt to back this machine up failed. I checked the log files, and found they were having issues because /etc/amdates was missing. I corrected that, and started a 2nd backup run. (Remember amcheck reports all is well with this machine). I got the following from amstatus when I attempted to back up this machine. Also remember, one of the test I ran with a 2.6.1 client was to connect a test machine directly to the client, using a crossover cable to eliminate any firewall, or router type issues. I am attaching, what I think is, the amadnad debug file associated with this failure. Can anyone suggest what I can do to further troubleshoot this? pb48:wd0f 1 dumper: [could not connect DATA stream: can't connect stream to pb48.meadwestvaco.com port 11996: Connection refused] (10:37:27) -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. amandad: debug 1 pid 17702 ruid 1002 euid 1002: start at Fri Aug 21 10:37:27 2009 Reading conf file /opt/amanda/etc/amanda-client.conf. amandad: time 0.000: security_getdriver(name=BSD) returns 0x298a9240 amandad: version 2.5.2p1 amandad: time 0.001: build: VERSION=Amanda-2.5.2p1 amandad: time 0.001:BUILT_DATE=Fri Aug 21 07:26:22 EDT 2009 amandad: time 0.001:BUILT_MACH=OpenBSD pb48 4.5 GENERIC#1749 i386 CC=gcc amandad: time 0.001:CONFIGURE_COMMAND='./configure' '--with-config=DailyDump' '--prefix=/opt/amanda' '--with-index-server=amanda.meadwestvaco.com' '--with-tape-server=amanda.meadwestvaco.com' '--with-tape-device=chg-multi' '--with-changer-device=chg-multi' '--with-user=amanda' '--with-group=operator' '--with-debugging' '--sbindir=/opt/amanda/sbin' '--libexecdir=/opt/amanda/libexec' '--libdir=/opt/amanda/lib' '--with-configdir=/opt/amanda/etc' '--with-gnutar-listdir=/opt/amanda/var/gnutar-lists' '--mandir=/opt/amanda/man' '--with-buffered-dump' '--without-rundump' amandad: time 0.001: paths: bindir=/opt/amanda/bin sbindir=/opt/amanda/sbin amandad: time 0.001:libexecdir=/opt/amanda/libexec mandir=/opt/amanda/man amandad: time 0.001:AMANDA_TMPDIR=/tmp/amanda AMANDA_DBGDIR=/tmp/amanda amandad: time 0.001:CONFIG_DIR=/opt/amanda/etc DEV_PREFIX=/dev/ amandad: time 0.001:RDEV_PREFIX=/dev/r DUMP=/sbin/dump amandad: time 0.001:RESTORE=/sbin/restore VDUMP=UNDEF VRESTORE=UNDEF amandad: time 0.001:XFSDUMP=UNDEF XFSRESTORE=UNDEF VXDUMP=UNDEF VXRESTORE=UNDEF amandad: time 0.001:SAMBA_CLIENT=/usr/local/bin/smbclient amandad: time 0.001:GNUTAR=/usr/local/bin/gtar COMPRESS_PATH=/usr/bin/gzip amandad: time 0.001:UNCOMPRESS_PATH=/usr/bin/gzip LPRCMD=/usr/bin/lpr amandad: time 0.001:MAILER=/usr/bin/Mail amandad: time 0.001:listed_incr_dir=/opt/amanda/var/gnutar-lists amandad: time 0.001: defs: DEFAULT_SERVER=amanda.meadwestvaco.com amandad: time 0.001:DEFAULT_CONFIG=DailyDump amandad: time 0.001:DEFAULT_TAPE_SERVER=amanda.meadwestvaco.com amandad: time 0.001:DEFAULT_TAPE_DEVICE=chg-multi HAVE_MMAP NEED_STRSTR amandad: time 0.001:HAVE_SYSVSHM LOCKING=**NONE** DEBUG_CODE AMANDA_DEBUG_DAYS=4 amandad: time 0.001:BSD_SECURITY RSH_SECURITY USE_AMANDAHOSTS amandad: time 0.001:CLIENT_LOGIN=amanda FORCE_USERID HAVE_GZIP amandad: time 0.001:COMPRESS_SUFFIX=.gz COMPRESS_FAST_OPT=--fast amandad: time 0.001:COMPRESS_BEST_OPT=--best UNCOMPRESS_OPT=-dc amandad: time 0.001: dgram_recv(dgram=0x298ad244, timeout=0, fromaddr=0x298bd230) amandad: time 0.001: (sockaddr_in *)0x298bd230 = { 2, 927, 10.209.129.22 } amandad: time 0.001: security_handleinit(handle=0x81bbf800, driver=0x298a9240 (BSD)) amandad: time 0.006: accept recv REQ pkt: SERVICE sendbackup OPTIONS features=9ffe7f;hostname=pb48;config=DailyDump; DUMP wd0f 1 2009:8:20:2:48:55 OPTIONS |;auth=BSD;index; amandad: time 0.006: creating new service: sendbackup OPTIONS features=9ffe7f;hostname=pb48;config=DailyDump; DUMP wd0f 1 2009:8:20:2:48:55 OPTIONS |;auth=BSD;index; amandad: time 0.007: sending ACK pkt: amandad: time 0.007: dgram_send_addr(addr=0x81bbf820, dgram=0x298ad244) amandad: time 0.007: (sockaddr_in *)0x81bbf820 = { 2, 927, 10.209.129.22 } amandad: time 0.007: dgram_send_addr: 0x298ad244-socket = 0 amandad: time 0.013: security_streaminit(stream=0x86b67000, driver=0x298a9240 (BSD)) amandad: time 0.013: try_socksize: send buffer size is 65536
Re: Backup issues with OpenBSD 4.5 machines
On Tue, Aug 18, 2009 at 08:06:46AM -0400, Jean-Louis Martineau wrote: stan wrote: Any thoughts as to why I have twice as many debug files as I expect? One thing I forgot to put in the previous message is that 10.209.129.22 is the Amanda Master machine's address. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs.
Re: Backup issues with OpenBSD 4.5 machines
On Fri, Aug 21, 2009 at 09:57:36AM -0600, John Hein wrote: stan wrote at 10:56 -0400 on Aug 21, 2009: OK here is the latest on this saga :-) On one of the OpenBSD 4.5 machines I have built 2.5.0p1, and was able to back this machine up successfully (using classic UDP based authentication) On another of them, I built 2.5.2p1. The first attempt to back this machine up failed. I checked the log files, and found they were having issues because /etc/amdates was missing. I corrected that, and started a 2nd backup run. (Remember amcheck reports all is well with this machine). I got the following from amstatus when I attempted to back up this machine. Also remember, one of the test I ran with a 2.6.1 client was to connect a test machine directly to the client, using a crossover cable to eliminate any firewall, or router type issues. I am attaching, what I think is, the amadnad debug file associated with this failure. Can anyone suggest what I can do to further troubleshoot this? pb48:wd0f 1 dumper: [could not connect DATA stream: can't connect stream to pb48.meadwestvaco.com port 11996: Connection refused] (10:37:27) . . . amandad: time 30.019: stream_accept: timeout after 30 seconds amandad: time 30.019: security_stream_seterr(0x86b67000, can't accept new stream connection: No such file or directory) amandad: time 30.019: stream 0 accept failed: unknown protocol error amandad: time 30.019: security_stream_close(0x86b67000) amandad: time 60.027: stream_accept: timeout after 30 seconds amandad: time 60.027: security_stream_seterr(0x81212000, can't accept new stream connection: No such file or directory) amandad: time 60.027: stream 1 accept failed: unknown protocol error amandad: time 60.027: security_stream_close(0x81212000) amandad: time 90.035: stream_accept: timeout after 30 seconds amandad: time 90.036: security_stream_seterr(0x84877000, can't accept new stream connection: No such file or directory) amandad: time 90.036: stream 2 accept failed: unknown protocol error amandad: time 90.036: security_stream_close(0x84877000) amandad: time 90.036: security_close(handle=0x81bbf800, driver=0x298a9240 (BSD)) amandad: time 120.044: pid 17702 finish time Fri Aug 21 10:39:27 2009 For some reason the socket is not getting marked ready for read. select(2) is timing out waiting. Firewall setup perhaps? This bit of code in 2.5.2p1's common-src/stream.c is where the failure is happening for you... Interesting. Is this different in 2.5.0, than in 2.5.2 ? RE firewall: Always my first suspicion around here :-( But, I tride this with a 2.6.1 on OpenBSD 4.5 yesterday, which I had connected to the Amanda master machine via a crossover cable to eliminate thta, and the failure there _appeared_ to be identical to the original failure. I have noot tried this with a 2.5.2 client. I supose I should do that test.. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs.
Re: Backup issues with OpenBSD 4.5 machines
On Fri, Aug 21, 2009 at 09:57:36AM -0600, John Hein wrote: stan wrote at 10:56 -0400 on Aug 21, 2009: OK here is the latest on this saga :-) On one of the OpenBSD 4.5 machines I have built 2.5.0p1, and was able to back this machine up successfully (using classic UDP based authentication) On another of them, I built 2.5.2p1. The first attempt to back this machine up failed. I checked the log files, and found they were having issues because /etc/amdates was missing. I corrected that, and started a 2nd backup run. (Remember amcheck reports all is well with this machine). I got the following from amstatus when I attempted to back up this machine. Also remember, one of the test I ran with a 2.6.1 client was to connect a test machine directly to the client, using a crossover cable to eliminate any firewall, or router type issues. I am attaching, what I think is, the amadnad debug file associated with this failure. Can anyone suggest what I can do to further troubleshoot this? pb48:wd0f 1 dumper: [could not connect DATA stream: can't connect stream to pb48.meadwestvaco.com port 11996: Connection refused] (10:37:27) . . . amandad: time 30.019: stream_accept: timeout after 30 seconds amandad: time 30.019: security_stream_seterr(0x86b67000, can't accept new stream connection: No such file or directory) amandad: time 30.019: stream 0 accept failed: unknown protocol error amandad: time 30.019: security_stream_close(0x86b67000) amandad: time 60.027: stream_accept: timeout after 30 seconds amandad: time 60.027: security_stream_seterr(0x81212000, can't accept new stream connection: No such file or directory) amandad: time 60.027: stream 1 accept failed: unknown protocol error amandad: time 60.027: security_stream_close(0x81212000) amandad: time 90.035: stream_accept: timeout after 30 seconds amandad: time 90.036: security_stream_seterr(0x84877000, can't accept new stream connection: No such file or directory) amandad: time 90.036: stream 2 accept failed: unknown protocol error amandad: time 90.036: security_stream_close(0x84877000) amandad: time 90.036: security_close(handle=0x81bbf800, driver=0x298a9240 (BSD)) amandad: time 120.044: pid 17702 finish time Fri Aug 21 10:39:27 2009 For some reason the socket is not getting marked ready for read. select(2) is timing out waiting. Firewall setup perhaps? This bit of code in 2.5.2p1's common-src/stream.c is where the failure is happening for you... OK, I reproduced the failure with only a crossover cable between the test client and the Amanda Master: 192.168.1.2:wd0f 0 dumper: [could not connect DATA stream: can't connect stream to 192.168.1.2 port 24376: Connection refused] (13:48:23) Note the 192.168.1.2 address :-) This is with a 2.5.2p1 clinet on OpenBSD 4.5 2.5.0p1 works on this same machine/OS/netwrok configuration. So, it appears to me that this must be because of something that changed between 2.5.0p1 and 2.5.2p1. And we have a pretty good idea where in the code this is failing. So can anyone enlighten me as to what chaged in this area between those 2 versions? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs.
Re: Backup issues with OpenBSD 4.5 machines
On Fri, Aug 21, 2009 at 01:23:29PM -0600, John Hein wrote: stan wrote at 13:56 -0400 on Aug 21, 2009: OK, I reproduced the failure with only a crossover cable between the test client and the Amanda Master: Just because you're using a crossover cable doesn't rule out firewall or other such socket level interference. I'm not saying that's your problem, but using a crossover cable doesn't rule it out. Fair enough, but I think we can rule that out in this case. First, I control the 2 computersin question. The Master backus up 55 machines a day taht consist of a diverse nix of OS'es, and Amanda versions. It's a Linux machine, and I am not running a firwall on it. The client is an OpenBSD machine. I use these for my firewalls, so I am familiar with configuring firewalls on them, Doing so requires (as a minimum) running pf. I am not running pf on the test machine at all. I am not certain whether the sendbackup executable, or amandad opens the port on the client side. My guess is that it is not suceding in doing this. Thus when the Master tries to connect to it, there is no port for it to connect to. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs.
Re: Backup issues with OpenBSD 4.5 machines
On Tue, Aug 18, 2009 at 10:39:45AM -0400, Jean-Louis Martineau wrote: stan wrote: I know I have asked this before, but I can't recall getting a definative answer. Is port usage different between 2.5.x and 2.6 clients, when talkimng to a 2.6 server? No, the same port are used if configured with the same port range. Do yousee something in the firewall log? Sorry to take so long to get back to everyone on this. I had one of my contractors decide he did not want to work, so I have been trying to do his job, and mine :-( In any case, today I took a crossover cable, and set up a direct 192.169 connection between my Amanda master machine and one of the OpenBSD machines in the lab. h behavior is exactly the same. That is, check passes, estimate gets done, and the dump fails in mid dump. It is interesting that the files on the dumpdisk are of varying sizes, so it's not like the dumps are not getting started. Now that we have eliminated the firewall issues. what can I do next to further diagnose this failure? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs.
Problems with 4.5 and Amanda 2.6.1
I recently tried to upgrade several of my OpenBSD machines to 4.5 (X86). I also upgraded the Amanda clients on them to 2.6.1, which I have working on FreeBSD, Linux, Solaris 5, Solaris 8, and HP-UX. Despite my best efforts, I have yet to get the OpenBSD 4.5 clients to back up correctly. All the configurations are set up to match what has been done on FreeBSD. Amcheck works fine, and when I start a backup, the size estimates step works. But 80% of the time the actual dumps fail. They start, but fail in mid dump. They are returning a EAGAIN error on the network pipes back to the Amanda master machine. I have connected one of the OpenBSD machines directly to the Amanda master with a crossover cable to eliminate any possible firewall/router et all issues. I notice that the port of Amanda is quite an old version, and the developers of this project are (unfortunately) breaking compatibility with older clients. I don't like this, but, at this point in time, it is beyond my resources to address this breakage. Has anyone gotten an newer version of Amanda to work on OpenBSD 4.5? Can anyone suggest what I should do to try to diagnose this problem further? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs.
Re: Problems with 4.5 and Amanda 2.6.1
On Thu, Aug 20, 2009 at 12:54:06PM -0400, Chris Hoogendyk wrote: stan wrote: I recently tried to upgrade several of my OpenBSD machines to 4.5 (X86). I also upgraded the Amanda clients on them to 2.6.1, which I have working on FreeBSD, Linux, Solaris 5, Solaris 8, and HP-UX. Despite my best efforts, I have yet to get the OpenBSD 4.5 clients to back up correctly. All the configurations are set up to match what has been done on FreeBSD. Amcheck works fine, and when I start a backup, the size estimates step works. But 80% of the time the actual dumps fail. They start, but fail in mid dump. They are returning a EAGAIN error on the network pipes back to the Amanda master machine. I have connected one of the OpenBSD machines directly to the Amanda master with a crossover cable to eliminate any possible firewall/router et all issues. I notice that the port of Amanda is quite an old version, and the developers of this project are (unfortunately) breaking compatibility with older clients. I don't like this, but, at this point in time, it is beyond my resources to address this breakage. Has anyone gotten an newer version of Amanda to work on OpenBSD 4.5? Can anyone suggest what I should do to try to diagnose this problem further? Sounds like you've had a fair bit of experience on various platforms implementing Amanda. Since you upgraded the OpenBSD, perhaps for sanity and just checking and troubleshooting, you should grab an older Amanda that you already have implemented, and get that working on the upgraded OpenBSD. That might just work, or it might clue you in to what's going on. Thanks, I was just thinking of doing that. Unfortunately the OpenBSD machines were not all alike (ah, such is life) and were of various OS and Amanda versions. We have also decided to not go beyond 2.5.2 on some of our machines that are traped in history land. As that version supports all of the functionality we need (bsdtcp auth, and restore compatibility with our 2.6.1 server). I am presently trying to get that working on one of the OpenBSD 2.5 machines, but that isn't going all that well either. None of our OpenBSD machines that we are replacing had a version of Amanda that new, so just copying binaries over from one of the not yet updated machines doesn't make too much sense. What a frustrating week this has been!! Thanks for the suggestions. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs.
Re: Problems with 4.5 and Amanda 2.6.1
On Thu, Aug 20, 2009 at 12:54:06PM -0400, Chris Hoogendyk wrote: stan wrote: I recently tried to upgrade several of my OpenBSD machines to 4.5 (X86). I also upgraded the Amanda clients on them to 2.6.1, which I have working on FreeBSD, Linux, Solaris 5, Solaris 8, and HP-UX. Despite my best efforts, I have yet to get the OpenBSD 4.5 clients to back up correctly. All the configurations are set up to match what has been done on FreeBSD. Amcheck works fine, and when I start a backup, the size estimates step works. But 80% of the time the actual dumps fail. They start, but fail in mid dump. They are returning a EAGAIN error on the network pipes back to the Amanda master machine. I have connected one of the OpenBSD machines directly to the Amanda master with a crossover cable to eliminate any possible firewall/router et all issues. I notice that the port of Amanda is quite an old version, and the developers of this project are (unfortunately) breaking compatibility with older clients. I don't like this, but, at this point in time, it is beyond my resources to address this breakage. Has anyone gotten an newer version of Amanda to work on OpenBSD 4.5? Can anyone suggest what I should do to try to diagnose this problem further? Sounds like you've had a fair bit of experience on various platforms implementing Amanda. Since you upgraded the OpenBSD, perhaps for sanity and just checking and troubleshooting, you should grab an older Amanda that you already have implemented, and get that working on the upgraded OpenBSD. That might just work, or it might clue you in to what's going on. One more thing thta's going to make this df`ificult is that the contractor I had do this upgrade installed 86 OpenBSD, when we had AMD64 previously. So my old binaries are not any good either :-( -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs.