I am setting up a new installation and I am having difficulty with the
tape drive not being seen. Here is the error message:
Job=TapeBackup.2010-03-11_14.34.23_05
11-Mar 14:34 distress-dir JobId 20: Fatal error:
Storage daemon didn't accept Device "Drive-2" command.
11-Mar 14:34 distress-dir JobId 20: Error: Bacula distress-dir 5.0.1 (24Feb10):
11-Mar-2010 14:34:26
Build OS: x86_64-unknown-linux-gnu redhat
JobId: 20
Job: TapeBackup.2010-03-11_14.34.23_05
Backup Level: Full (upgraded from Incremental)
Client: "distress-fd" 5.0.1 (24Feb10)
x86_64-unknown-linux-gnu,redhat,
FileSet: "Tape Set" 2010-03-10 23:05:00
Pool: "Default" (From Job resource)
Catalog: "MyCatalog" (From Client resource)
Storage: "Tape-Left" (From Job resource)
Scheduled time: 11-Mar-2010 14:34:14
-----------------
I have check both the dir-conf and the sd-conf and either I am blind due
to the length of time I've spent on it or I am just missing it.
Probably an easy fix.....
Here are the snapshots of the config files.
DIR.conf
# Definition of DLT tape storage device
Storage {
Name = Tape-Right # Do not use "localhost" here
Address = distress # N.B. Use a fully qualified name here
SDPort = 9103
Password = "" # password for Storage daemon
Device = Drive-1 # must be same as Device in Storage daemon
Media Type = DLT-V4 # must be same as MediaType in Storage daemon
# Autochanger = yes # enable for autochanger device
}
# Definition of DLT tape storage device
Storage {
Name = Tape-Left # Do not use "localhost" here
Address = distress # N.B. Use a fully qualified name here
SDPort = 9103
Password = "" # password for Storage daemon
Device = Drive-2 # must be same as Device in Storage daemon
Media Type = DLT-V4 # must be same as MediaType in Storage daemon
# Autochanger = yes # enable for autochanger device
}
SD.conf
Device {
Name = Drive-1 #
Drive Index = 0
Media Type = DLT-V4
Archive Device = /dev/nst0
AutomaticMount = no; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
AutoChanger = yes
}
Device {
Name = Drive-2 #
Drive Index = 1
Media Type = DLT-V4
Archive Device = /dev/nst1
AutomaticMount = no; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
AutoChanger = yes
}
also get a GDB traceback each time the job errors:
[?1034h[Thread debugging using libthread_db enabled]
[New Thread 0x7fbb1e655710 (LWP 22578)]
[New Thread 0x7fbb1f056710 (LWP 22530)]
0x0000003666cd6ca3 in select () from /lib64/libc.so.6
$1 = '\000' <repeats 29 times>
$2 = 0xa16058 "bacula-sd"
$3 = 0xa16098 "/usr/bacula/bin/bacula-sd"
$4 = 0x0
$5 = 0x7fbb258cbd9e "5.0.1 (24 February 2010)"
$6 = 0x7fbb258cbdb7 "x86_64-unknown-linux-gnu"
$7 = 0x7fbb258cbdd0 "redhat"
$8 = 0x7fbb258cba7c ""
$9 = "distress", '\000' <repeats 41 times>
#0 0x0000003666cd6ca3 in select () from /lib64/libc.so.6
#1 0x00007fbb258a0ad4 in bnet_thread_server (addrs=<value optimized out>,
max_clients=<value optimized out>, client_wq=<value optimized out>,
handle_client_request=<value optimized out>) at bnet_server.c:161
#2 0x000000000040763e in main (argc=<value optimized out>,
argv=<value optimized out>) at stored.c:312
Thread 3 (Thread 0x7fbb1f056710 (LWP 22530)):
#0 0x000000366740b3b9 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
from /lib64/libpthread.so.0
#1 0x00007fbb258c402c in watchdog_thread (arg=<value optimized out>)
at watchdog.c:308
#2 0x0000003667406a3a in start_thread () from /lib64/libpthread.so.0
#3 0x0000003666cddf3d in clone () from /lib64/libc.so.6
#4 0x0000000000000000 in ?? ()
Thread 2 (Thread 0x7fbb1e655710 (LWP 22578)):
#0 0x000000366740eb3d in waitpid () from /lib64/libpthread.so.0
#1 0x00007fbb258bb7ad in signal_handler (sig=11) at signal.c:229
#2 <signal handler called>
#3 0x0000000000431bb3 in is_vol_in_autochanger (vol=<value optimized out>,
rctx=<value optimized out>) at reserve.c:389
#4 find_suitable_device_for_job (vol=<value optimized out>,
rctx=<value optimized out>) at reserve.c:456
#5 0x000000000043269a in use_storage_cmd (jcr=<value optimized out>)
at reserve.c:317
#6 use_cmd (jcr=<value optimized out>) at reserve.c:71
#7 0x000000000041e80f in handle_connection_request (arg=0xa1aad8)
at dircmd.c:233
#8 0x00007fbb258c44a9 in workq_server (arg=0x651e20) at workq.c:346
#9 0x0000003667406a3a in start_thread () from /lib64/libpthread.so.0
#10 0x0000003666cddf3d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()
Thread 1 (Thread 0x7fbb25889720 (LWP 22522)):
#0 0x0000003666cd6ca3 in select () from /lib64/libc.so.6
#1 0x00007fbb258a0ad4 in bnet_thread_server (addrs=<value optimized out>,
max_clients=<value optimized out>, client_wq=<value optimized out>,
handle_client_request=<value optimized out>) at bnet_server.c:161
#2 0x000000000040763e in main (argc=<value optimized out>,
argv=<value optimized out>) at stored.c:312
#0 0x0000003666cd6ca3 in select () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007fbb258a0ad4 in bnet_thread_server (addrs=<value optimized out>,
max_clients=<value optimized out>, client_wq=<value optimized out>,
handle_client_request=<value optimized out>) at bnet_server.c:161
161 if ((stat = select(maxfd + 1, &sockset, NULL, NULL, NULL)) < 0) {
Current language: auto
The current source language is "auto; currently c++".
maxfd = 4
sockset = {fds_bits = {16, 0 <repeats 15 times>}}
clilen = 16
turnon = 1
p = <value optimized out>
buf =
"10.10.10.3\000\000\000\000\000\000`<\211%\273\177\000\000\340)\356%\273\177\000\000\240\206\001\000\000\000\000\000\377\377\377\377\000\000\000\000\000\226\255%\273\177\000\000\005\000\000\000\000\000\000\000H\375d",
'\000' <repeats 37 times>"\200, Û€f6\000\000\000\005", '\000' <repeats 14
times>
allbuf =
"\323s\211%\273\177\000\000\000H\211%\273\177\000\000(D\211%\273\177\000\000\000\000\000\000\001\000\000\000\340)\356%\273\177\000\000\000\000\000\000\000\000\000\000\300\260\210%\273\177\000\000\000\300\210%\273\177\000\000\363\201\211%\273\177\000\000`\006\301f6\000\000\000P\r\211%\273\177\000\000\000\000\000\000\001\000\000\000x\002\000\000\001\000\000\000S\234\200f6",
'\000' <repeats 11 times>,
"8-\356%\273\177\000\000\240\353V\200\377\177\000\000\000\000\000\000\000\000\000\000\310\353V\200\377\177\000\000\340)\356%\273\177\000\000\300\260\210%\273\177\000\000S\234\200f6",
'\000' <repeats 11 times>"\300, \260\210%\273\177\000\000\001", '\000'
<repeats 15 times>,
"\001\000\000\000\273\177\000\000\340)\356%\273\177\000\000(\353V\200\377\177\000\000\000\000\000\000\001\000\000\000A!`+\000\000\000\000\323s\211%\273\177\000\000\032fY\211",
'\000' <repeats 12 times>...
stat = <value optimized out>
tlog = <value optimized out>
fd_ptr = 0x0
sockfds = {<SMARTALLOC> = {<No data fields>}, head = 0x7fff8056e940,
tail = 0x7fff8056e940, loffset = 0, num_items = 1}
newsockfd = <value optimized out>
cli_addr = {sa_family = 2,
sa_data = "\304\016\n\n\n\003\000\000\000\000\000\000\000"}
#2 0x000000000040763e in main (argc=<value optimized out>,
argv=<value optimized out>) at stored.c:312
312 &dird_workq, handle_connection_request);
test_config = false
ch = <value optimized out>
no_signals = <value optimized out>
thid = 140441666549520
uid = 0x0
gid = 0x0
#0 0x0000000000000000 in ?? ()
No symbol table info available.
#0 0x0000000000000000 in ?? ()
No symbol table info available.
#0 0x0000000000000000 in ?? ()
No symbol table info available.
#0 0x0000000000000000 in ?? ()
No symbol table info available.
#0 0x0000000000000000 in ?? ()
No symbol table info available.
--
---------------------------------------------------------------------------
Jerold Lowry
IT Manager / Software Engineer
Engineering Design Team (EDT), Inc. a HEICO company
1400 NW Compton Drive, Suite 315
Beaverton, Oregon 97006 (U.S.A.)
Phone: 503-690-1234 / 800-435-4320
Fax: 503-690-1243
Web: _www.edt.com <http://www.edt.com/>_
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|