I have problem when connecting to the Director daemon.
 
the following is my configure:
{
 CFLAGS="-g -Wall" ./configure \
  --sbindir=/usr/local/bacula/bin \
  --sysconfdir=/usr/local/bacula/bin \
  --enable-smartalloc \
  --with-sqlite=/usr/local/bacula/depkgs/sqlite \
  --with-working-dir=/usr/local/bacula/working \
  --with-pid-dir=/usr/local/bacula/bin/working \
  --with-subsys-dir=/usr/local/bacula/bin/working \
  --enable-conio
}
after make and make install bacula,I use default config.
then I "./bacula start" ---ok
but    "./bconsole"     ---bconsole:  Fatal error: bnet.c:775 Unable to connect to Director daemon on backup:9101.
                           ERR=Connection refused
 
Last I see the log:
"bconsole:  Fatal error: bnet.c:775 Unable to connect to Director daemon on backup:9101. ERR=Connection refused
 Could not open pid file. /usr/local/bacula/bin/working/bacula-dir.9101.pid ERR=No such file or directory"
 
This is my first time use bacula,and this problem have puzzled me several days.
 Any comments/advice would be appreciated.
 
 thanks

Reply via email to