Hello Dirk, As I mentioned some time ago, when I do a "status slots" in the bat command line and my storage device is defined to be an autochanger, in the ensuing communications between the director and bat, the director issues a:
Enter autochanger drive[0]: and at that point, bat gets totally confused. Instead of doing a prompt, it starts up a new connection to the Director, which is useless, and all the rest of the output from the command is lost. The full debug output is: bat: bcomm/dircomm.cpp:246 conn 1 send: status slots bat: console/console.cpp:597 DisplaytoPrompt roxie-dir bat: bcomm/dircomm.cpp:321 conn 1 CMD BEGIN bat: bcomm/dircomm.cpp:292 conn 1 got: Automatically selected Storage: LTO-changer bat: bcomm/dircomm.cpp:292 conn 1 got: Enter autochanger drive[0]: bat: bcomm/dircomm.cpp:335 conn 1 PROMPT bat: console/console.cpp:609 endDisplaytoPrompt=-1 roxie-dir bat: mainwin.cpp:322 Exiting Wait State bat: bcomm/dircomm.cpp:446 m_notifier Enabling notifier: 1 roxie-dir bat: console/console.cpp:814 DirComm 2 About to Create and Connect roxie-dir bat: bcomm/dircomm.cpp:246 conn 2 send: .api 1 bat: console/console.cpp:597 DisplaytoPrompt roxie-dir bat: bcomm/dircomm.cpp:310 conn 2 CMD OK bat: bcomm/dircomm.cpp:329 conn 2 MAIN PROMPT bat: console/console.cpp:609 endDisplaytoPrompt=-1 roxie-dir bat: bcomm/dircomm.cpp:246 conn 2 send: . bat: bcomm/dircomm.cpp:321 conn 2 CMD BEGIN bat: bcomm/dircomm.cpp:310 conn 2 CMD OK bat: bcomm/dircomm.cpp:329 conn 2 MAIN PROMPT bat: bcomm/dircomm.cpp:212 Returning TRUE from DirComm->connect_dir : 2 roxie-dir bat: console/console.cpp:820 DirComm 2 Connected roxie-dir bat: bcomm/dircomm.cpp:69 DirComm 0 terminating connections roxie-dir bat: bcomm/dircomm.cpp:69 DirComm 1 terminating connections roxie-dir bat: bcomm/dircomm.cpp:69 DirComm 2 terminating connections roxie-dir Notice, how just after the PROMPT it starts a second connection. We are about to release Bacula version 3.0.2, and I would really like to have this fixed. I believe that the same thing happens if there are multiple Storage devices defined and the user must select among them. Can you help point out to me what needs to be fixed to keep bat from opening a second connection? Best regards, Kern ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Bacula-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-devel
