[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bacula on Debian stable



Hi all,

I've installed Bacula on Debian stable and I can't connect to the
director daemon. I run the bconsole program as per instructions:
newlagaan:~# bconsole
Connecting to Director newlagaan:9101
Director authorization problem.
Most likely the passwords do not agree.
Please see
http://www.bacula.org/html-manual/faq.html#AuthorizationErrors for help.

This is after a fresh install and I get the same result after I go
through all the bacula *.conf files and set all the various passwords to
'foo'.

I've run bconsole with debug set to 1000:
newlagaan:~# bconsole -d 1000
bconsole: parse_conf.c:753 Enter parse_config()
bconsole: parse_conf.c:755 parse_config pass 1
bconsole: parse_conf.c:761 parse got token=T_EOL
bconsole: parse_conf.c:761 parse got token=T_EOL
bconsole: parse_conf.c:761 parse got token=T_EOL
bconsole: parse_conf.c:761 parse got token=T_EOL
bconsole: parse_conf.c:761 parse got token=T_IDENTIFIER
bconsole: parse_conf.c:180 Item=name def=no defval=0
bconsole: parse_conf.c:180 Item=description def=no defval=0
bconsole: parse_conf.c:180 Item=dirport def=yes defval=9101
bconsole: parse_conf.c:180 Item=address def=no defval=0
bconsole: parse_conf.c:180 Item=password def=no defval=0
bconsole: parse_conf.c:180 Item=enablessl def=yes defval=0
bconsole: parse_conf.c:761 parse got token=T_BOB
bconsole: parse_conf.c:761 parse got token=T_EOL
bconsole: parse_conf.c:761 parse got token=T_IDENTIFIER
bconsole: parse_conf.c:803 in T_IDENT got token=T_EQUALS
bconsole: parse_conf.c:810 calling handler for name
bconsole: mem_pool.c:127 sm_get_pool_memory give 8090ca0 to parse_conf.c:347
bconsole: mem_pool.c:221 free_pool_memory 8090ca0 pool=4 from
parse_conf.c:352
bconsole: parse_conf.c:761 parse got token=T_IDENTIFIER
bconsole: parse_conf.c:803 in T_IDENT got token=T_EQUALS
bconsole: parse_conf.c:810 calling handler for dirport
bconsole: parse_conf.c:761 parse got token=T_IDENTIFIER
bconsole: parse_conf.c:803 in T_IDENT got token=T_EQUALS
bconsole: parse_conf.c:810 calling handler for address
bconsole: parse_conf.c:761 parse got token=T_IDENTIFIER
bconsole: parse_conf.c:803 in T_IDENT got token=T_EQUALS
bconsole: parse_conf.c:810 calling handler for password
bconsole: parse_conf.c:761 parse got token=T_EOB
bconsole: parse_conf.c:830 T_EOB => define new resource
bconsole: parse_conf.c:761 parse got token=T_EOL
bconsole: parse_conf.c:755 parse_config pass 2
bconsole: parse_conf.c:761 parse got token=T_EOL
bconsole: parse_conf.c:761 parse got token=T_EOL
bconsole: parse_conf.c:761 parse got token=T_EOL
bconsole: parse_conf.c:761 parse got token=T_EOL
bconsole: parse_conf.c:761 parse got token=T_IDENTIFIER
bconsole: parse_conf.c:180 Item=name def=no defval=0
bconsole: parse_conf.c:180 Item=description def=no defval=0
bconsole: parse_conf.c:180 Item=dirport def=yes defval=9101
bconsole: parse_conf.c:180 Item=address def=no defval=0
bconsole: parse_conf.c:180 Item=password def=no defval=0
bconsole: parse_conf.c:180 Item=enablessl def=yes defval=0
bconsole: parse_conf.c:761 parse got token=T_BOB
bconsole: parse_conf.c:761 parse got token=T_EOL
bconsole: parse_conf.c:761 parse got token=T_IDENTIFIER
bconsole: parse_conf.c:803 in T_IDENT got token=T_EQUALS
bconsole: parse_conf.c:810 calling handler for name
bconsole: mem_pool.c:111 sm_get_pool_memory reuse 8090ca0 to
parse_conf.c:347
bconsole: mem_pool.c:221 free_pool_memory 8090ca0 pool=4 from
parse_conf.c:352
bconsole: parse_conf.c:761 parse got token=T_IDENTIFIER
bconsole: parse_conf.c:803 in T_IDENT got token=T_EQUALS
bconsole: parse_conf.c:810 calling handler for dirport
bconsole: parse_conf.c:761 parse got token=T_IDENTIFIER
bconsole: parse_conf.c:803 in T_IDENT got token=T_EQUALS
bconsole: parse_conf.c:810 calling handler for address
bconsole: parse_conf.c:761 parse got token=T_IDENTIFIER
bconsole: parse_conf.c:803 in T_IDENT got token=T_EQUALS
bconsole: parse_conf.c:810 calling handler for password
bconsole: parse_conf.c:761 parse got token=T_EOB
bconsole: parse_conf.c:830 T_EOB => define new resource
bconsole: parse_conf.c:761 parse got token=T_EOL
No record for 1001 console
Director: name=newlagaan-dir address=newlagaan DIRport=9101
bconsole: parse_conf.c:863 Leave parse_config()
Connecting to Director newlagaan:9101
bconsole: bnet.c:698 Current host[ipv4:192.168.0.3:9101] All
host[ipv4:192.168.0.3:9101]
bconsole: bnet.c:952 who=Director daemon host=newlagaan port=9101
bconsole: mem_pool.c:127 sm_get_pool_memory give 8091868 to bnet.c:957
bconsole: mem_pool.c:127 sm_get_pool_memory give 8091a98 to bnet.c:958
bconsole: watchdog.c:71 Initialising NicB-hacked watchdog thread
bconsole: watchdog.c:184 Registered watchdog 0x8091cc8, interval 300 one
shot
bconsole: btimers.c:169 Start bsock timer 0x8090be8 tid=0xb7d0d080 for
300 secs at 1143028890
bconsole: watchdog.c:234 NicB-reworked watchdog thread entered
bconsole: watchdog.c:286 pthread_cond_timedwait 60
bconsole: btimers.c:183 Stop bsock timer 0x8090be8 tid=0xb7d0d080 at
1143028895.
bconsole: watchdog.c:204 Unregistered watchdog 0x8091cc8
Director authorization problem.
Most likely the passwords do not agree.
Please see
http://www.bacula.org/html-manual/faq.html#AuthorizationErrors for help.
ERR=bconsole: mem_pool.c:221 free_pool_memory 808f1c0 pool=2 from
console.c:491
bconsole: watchdog.c:286 pthread_cond_timedwait 60
newlagaan:~#

Has anyone else come across this problem and did you have a fix for it?

Thanks,
Greg



Reply to: