When I compiled Bacula I have not compiled it with readline (--with-readline) support. So it did not work.
From: Konstantin Khomoutov [mailto:flatworm@...]
Sent: Wednesday, March 28, 2012 11:52 AM
To: Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC]
Subject: Re: [Bacula-users] recall previous command in bconsole
On Wed, 28 Mar 2012 10:21:44 -0500
"Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC]" <uthra.r.rao@...>
> In Bacula 5.2.6 when I go to "bconsole" and type commands and later if
> I want to recall the previous command it does not work. Normally this
> worked in old versions of Bacula if I pressed the "up arrow"
> button on my key board. Is there a way to recall the previous command
> in bconsole? Please let me know.
Check if your actual bconsole binary ("bconsole" itself may be a shell script running an actual binary) is linked against a library providing those advanced features like history. Usually it's either libreadline or libedit. Supposedly you have built bacula from source and failed to properly configure it so that bconsole wasn't linked against one of such libraries.
For instance, on my Debian system running Bacula 5.0.2:
$ ldd /usr/sbin/bacula-console |egrep 'readline|edit'
libreadline.so.6 => /lib/libreadline.so.6 (0xb7800000)