Re: My 3.1.2 server starts ok, but taper never writes anything

2010-09-21 Thread Dustin J. Mitchell
On Mon, Sep 20, 2010 at 3:21 PM, Dustin J. Mitchell dus...@zmanda.com wrote: It's impractical to run this check in ./configure, but what do you think about running this check even on 'make all'? I committed this - on FreeBSD, this test will occur on 'make install'. Do you mind adding a

Re: My 3.1.2 server starts ok, but taper never writes anything

2010-09-20 Thread Dustin J. Mitchell
On Sun, Sep 19, 2010 at 4:48 PM, Stephen Corbesero corbes...@ptd.net wrote: That did it Or may have done it. Sounds like this has worked out. I had added a test to Amanda, which runs in 'make check' that should have detected this: 536 thread-check: libTests.la 537 $(PERL)

Re: My 3.1.2 server starts ok, but taper never writes anything

2010-09-19 Thread Stephen Corbesero
The saga continues. I changed my debugging statements to the Amanda::Debug::debug method as your suggested, so my messages are the SGC:'s in the taper debug log file below. I also added some of these debug calls to the Amanda::Taper::Scribe routines, but I don't see much more information.

Re: My 3.1.2 server starts ok, but taper never writes anything

2010-09-19 Thread Dustin J. Mitchell
On Sun, Sep 19, 2010 at 11:16 AM, Stephen Corbesero corbes...@ptd.net wrote: It still seems to hang right after the message about the 'Final linkage'.  That is coming from the link_elements() subroutine in xfer-src/xfer.c. Which is basically where the threading starts.. I am not sure what to

Re: My 3.1.2 server starts ok, but taper never writes anything

2010-09-19 Thread Stephen Corbesero
That did it Or may have done it. I upgraded my FreeBSD sources to the latest 8.x stable and recompiled the world (and kernel). I then compiled and installed Perl-5.10.1 for my FreeBSD by hand, specifically enabling its threaded option. Finally, I recompiled and reinstalled Amanda 3.1.2. I

Re: My 3.1.2 server starts ok, but taper never writes anything

2010-09-19 Thread Dustin J. Mitchell
On Sun, Sep 19, 2010 at 4:48 PM, Stephen Corbesero corbes...@ptd.net wrote: I upgraded my FreeBSD sources to the latest 8.x stable and recompiled the world (and kernel).  I then compiled and installed Perl-5.10.1 for my FreeBSD by hand, specifically enabling its threaded option. Finally, I

Re: My 3.1.2 server starts ok, but taper never writes anything

2010-09-19 Thread Dustin J. Mitchell
On Sun, Sep 19, 2010 at 11:05 PM, John Hein jh...@symmetricom.com wrote: (Currently, I don't think the amanda client executes threaded code, but that may change in the future - or may have already in 3.1/3.2 code - Dustin?). There is now a good bit of Perl running on the client side, but none

Re: My 3.1.2 server starts ok, but taper never writes anything

2010-09-18 Thread Stephen Corbesero
I did the gdb thing, but it really didn't produce much info. I used the command line gdb /usr/bin/perl5 70805 and after all of the 'loaded symbols' messages, I generated the following output. [Switching to Thread 28469480 (LWP 100148)] 0x28af6225 in __error () from /lib/libthr.so.3

Re: My 3.1.2 server starts ok, but taper never writes anything

2010-09-18 Thread Dustin J. Mitchell
On Sat, Sep 18, 2010 at 3:35 PM, Stephen Corbesero corbes...@ptd.net wrote:  (gdb) info threads  * 1 Thread 28469480 (LWP 100148)  0x28af6225 in __error ()     from /lib/libthr.so.3 Can you run the 'bt' command here to see what that thread is up to? (gdb) bt Dustin -- Open Source Storage

Re: My 3.1.2 server starts ok, but taper never writes anything

2010-09-18 Thread Stephen Corbesero
Here it is. Again, this is the output from gdb after all the loading symbols messages. Also, if it is worth anything, the state of the process is listed as 'umtxn' from top/ps. (This is a FreeBSD 8.1 system.) [Switching to Thread 28469480 (LWP 100132)] 0x28af6225 in __error () from

Re: My 3.1.2 server starts ok, but taper never writes anything

2010-09-18 Thread Dustin J. Mitchell
On Sat, Sep 18, 2010 at 4:17 PM, Stephen Corbesero corbes...@ptd.net wrote: Also, if it is worth anything, the state of the process is listed as 'umtxn' from top/ps.  (This is a FreeBSD 8.1 system.) Huh, so that sounds like a kernel lock: http://old.nabble.com/what-is-umtxn-td20860047.html

My 3.1.2 server starts ok, but taper never writes anything

2010-09-13 Thread Stephen Corbesero
I have just installed 3.1.2 on a FreeBSD 8.1 system. I have used various versions over the years, so the installation went well. I tried to follow the directions for setting up a virtual tape library. To start, I am just trying to backup a single file system from the backup server itself. I can

Re: My 3.1.2 server starts ok, but taper never writes anything

2010-09-13 Thread Dustin J. Mitchell
On Sun, Sep 12, 2010 at 9:54 AM, Stephen Corbesero corbes...@ptd.net wrote: driver: send-cmd time 22.514 to taper: FILE-WRITE 00-2 /amanda/holding-b/20100912102842/galadriel.corbesero.net._.2 galadriel.corbesero.net / 2 20100912102842 0 192 It looks like the taper is running. The

Re: My 3.1.2 server starts ok, but taper never writes anything

2010-09-13 Thread Stephen Corbesero
Yes, My guess would be the taper is just sitting there waiting for data. Here is the debug output. It is fairly short. The uninitialized value of data_path is what led me to believe that the send-cmd was bad. Sun Sep 12 10:28:44 2010: taper: pid 4465 ruid 601 euid 601 version 3.1.2: start

Re: My 3.1.2 server starts ok, but taper never writes anything

2010-09-13 Thread Dustin J. Mitchell
The warning is harmless, and has been fixed in trunk. On Mon, Sep 13, 2010 at 5:32 PM, Stephen Corbesero corbes...@ptd.net wrote: Sun Sep 12 10:29:05 2010: taper: Amanda::Taper::Scribe setting up a transfer with split method none Sun Sep 12 10:29:05 2010: taper: Starting x...@0x29f792b0

Re: My 3.1.2 server starts ok, but taper never writes anything

2010-09-13 Thread Stephen Corbesero
No.. I have only waited a few hours at a time, but it appears to just sit there. If I kill the taper process, everything shuts down normally, but the email says there was a taper protocol error and nothing was written. I turned on taper_debug in my amanda.conf, but that didn't seem to

Re: My 3.1.2 server starts ok, but taper never writes anything

2010-09-13 Thread Dustin J. Mitchell
On Mon, Sep 13, 2010 at 8:30 PM, Stephen Corbesero corbes...@ptd.net wrote: If I kill the taper process, everything shuts down normally, but the email says there was a taper protocol error and nothing was written. I turned on taper_debug in my amanda.conf, but that didn't seem to produce any