le dahut wrote : > Hello, > > I'm using bacula 3.0.3 on Ubuntu Hardy and I have a strange problem. > > I cannot connect bacula-dir with bconsole. > > * bconsole and director passwords are the same > * bacula-dir has a new catalog > * port 9101 is listening > > > when I execute 'bacula-dir -d 999 -v -f' and 'bconsole -d 999' I get : > * in bacula-dir debug output : > 127.0.0.1-dir: bnet.c:670-0 who=client host=127.0.0.1 port=36131 > > * in bconsole debug output : > ... > 26-jan-2010 12:30:11 bconsole: parse_conf.c:962-0 T_EOB => define new > resource > 26-jan-2010 12:30:11 bconsole: parse_conf.c:888-0 parse state=0 pass=2 > got token=T_EOL > No record for 1001 console > Director: name=127.0.0.1-dir address=127.0.0.1 DIRport=9101 > 26-jan-2010 12:30:11 bconsole: parse_conf.c:996-0 Leave parse_config() > Connexion au Director 127.0.0.1:9101 > 26-jan-2010 12:30:11 bconsole: watchdog.c:78-0 Initialising NicB-hacked > watchdog thread > 26-jan-2010 12:30:11 bconsole: watchdog.c:250-0 NicB-reworked watchdog > thread entered > 26-jan-2010 12:30:11 bconsole: watchdog.c:193-0 Registered watchdog > 655d68, interval 15 one shot > 26-jan-2010 12:30:11 bconsole: btimers.c:155-0 Start thread timer 655cf8 > tid 7fe2ed0e06f0 for 15 secs. > 26-jan-2010 12:30:11 bconsole: bsock.c:221-0 Current > host[ipv4:127.0.0.1:9101] All host[ipv4:127.0.0.1:9101] > 26-jan-2010 12:30:11 bconsole: bsock.c:155-0 who=Director daemon > host=127.0.0.1 port=9101 > 26-jan-2010 12:30:11 bconsole: btimers.c:212-0 Stop thread timer 655cf8 > tid=7fe2ed0e06f0. > 26-jan-2010 12:30:11 bconsole: watchdog.c:213-0 Unregistered watchdog 655d68 > 26-jan-2010 12:30:11 bconsole: watchdog.c:193-0 Registered watchdog > 655cf8, interval 300 one shot > 26-jan-2010 12:30:11 bconsole: btimers.c:184-0 Start bsock timer 656008 > tid=7fe2ed0e06f0 for 300 secs at 1264505411 > > and here it freezes. > > There is nothing about bacula or bconsole in "/var/log* -r".
I've some additional informations : * all iptables rules are flushed/erased, all policies are on ACCEPT * hosts.allow and hosts.deny are OK * bacula-dir and bconsole are running on the same machine (as it appears with 127.0.0.1 in the debug log) With 'strace bconsole' the end of the debug is : """ socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3 setsockopt(3, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0 connect(3, {sa_family=AF_INET, sin_port=htons(9101), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 setsockopt(3, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0 futex(0x7f695e5da584, 0x85 /* FUTEX_??? */, 1) = 1 futex(0x7f695e5da540, 0x81 /* FUTEX_??? */, 1) = 1 nanosleep({0, 100000}, NULL) = 0 futex(0x7f695e5da584, 0x85 /* FUTEX_??? */, 1) = 1 futex(0x7f695e5da540, 0x81 /* FUTEX_??? */, 1) = 1 nanosleep({0, 100000}, NULL) = 0 write(3, "\0\0\0\32Hello *UserAgent* calling\n", 30) = 30 read(3, """ and then nothing else, bconsole seems to wait for bacula-dir to answer but 'tcpdump' shows that bacula-dir is the last to answer, here is the complete log for an execution of bconsole : """ 16:09:17.435756 IP 127.0.0.1.53054 > 127.0.0.1.9101: F 3289592864:3289592864(0) ack 3302469973 win 257 16:09:17.476094 IP 127.0.0.1.9101 > 127.0.0.1.53054: . ack 1 win 257 16:09:18.585127 IP 127.0.0.1.53055 > 127.0.0.1.9101: S 3970700469:3970700469(0) win 32792 <mss 16396,nop,nop,sackOK,nop,wscale 7> 16:09:18.585154 IP 127.0.0.1.9101 > 127.0.0.1.53055: S 3973170139:3973170139(0) ack 3970700470 win 32792 <mss 16396,nop,nop,sackOK,nop,wscale 7> 16:09:18.585170 IP 127.0.0.1.53055 > 127.0.0.1.9101: . ack 1 win 257 16:09:18.585681 IP 127.0.0.1.53055 > 127.0.0.1.9101: P 1:31(30) ack 1 win 257 16:09:18.585704 IP 127.0.0.1.9101 > 127.0.0.1.53055: . ack 31 win 257 """ I don't know what to do else. If someone has any idea, he is welcome. ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users