Re: [Bacula-users] Problems running Bacula BAT

2010-06-23 Thread Alex Huth
On Tue, Jun 22, 2010 at 03:42:36PM +0200, Cato Myhrhagen wrote:
> 
> Now I checked the log (/var/db/backula/log) and got the following error
> message:
> 22-Jun 10:31 backupserver.domainname.no-dir: ERROR in authenticate.c:418
> Unable to authenticate console "*UserAgent*" at client:127.0.0.1:36131.
> 
Try first to connect to the director using bconsole. It seems the
passwords between director and fd or sd are different.

Greetings

Alex Huth

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problems running Bacula BAT

2010-06-22 Thread Jon Schewe
On 6/22/10 9:47 AM, Geoff Steer wrote:
> Can you make a connections to the director from bconsole?
> If so, check the bat configuration file to make sure it points to the
> correct director/port. Check the password as well.
>
>   
Note that the bconsole.conf file and the bat.conf file should be
identical, except for comments. So if bconsole works, you may just want
to symlink to bat.conf.


--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problems running Bacula BAT

2010-06-22 Thread Geoff Steer
Can you make a connections to the director from bconsole?
If so, check the bat configuration file to make sure it points to the
correct director/port. Check the password as well.

Regards
geoff

On Tue, 2010-06-22 at 15:42 +0200, Cato Myhrhagen wrote:
> Hello
> 
> I still have som problems getting Bacula-Bat working. Here is what i
> have done so far:
> 
>  
> 1. Installed FreeBSD 8.0 rel
> 2. From the ports catalogue i have installed Gnome Lite
> 
> 3. Uppgraded all the ports with CVsup
> 
> 4. Then I installed Bacula 5.0.0.1 rel (with MySQL), altso from the
> ports catalogue (/usr/ports/sysutils/bacula-server)
> 
> 5. Installed BAT 5.0.0.1 (/usr/ports/sysutils/bacula-bat)
> 
> 6. Installed MySql 5.0.90(/usr/ports/databases/mysql55-server)
> 
> 7. Ran the 3 scripts to install the databases etc that is needed to
> run Bacula on the MySQL server 
> 
> # cd /usr/local/share/bacula/
> # ./grant_mysql_privileges
> # ./create_mysql_database
> # ./make_mysql_tables
> 
>  
> 
> I then tried to start Bat by opening Gnome, starting a terminalwindow
> and typing bat. Bat starts, but have som problems connecting. . It
> continues to try to connect to the database i think. In the lower left
> corner of the BAT Gui i continues to display the folloving:
> "Connecting to Director Localhost:9010" and then times out saying
> "Connection fails"
> 
>  
> 
> Checked if bacula is running (ps –aux | grep bacula) and it both the
> dir/sd is running. 
> 
> bacula   746  0.0  0.1  9996  4508  ??  Ss9:11AM
> 0:00.01 /usr/local/sbin/bacula-sd -u bacula -g bacula -v
> -c /usr/local/etc/bacula-sd.conf
> bacula  1192  0.0  0.2 13364  6132  ??  Ss   10:23AM
> 0:00.03 /usr/local/sbin/bacula-dir -u bacula -g bacula -v
> -c /usr/local/etc/bacula-dir.conf
>  
> Also checked if MySQL was running (ps –aux | grep mysql) 
> Did not get any result on this, but when I tried to start the
> database, I got the message that the process was already running, so
> assuming that MySQL is running. 
>  
> Now I checked the log (/var/db/backula/log) and got the following
> error message: 
> 22-Jun 10:31 backupserver.domainname.no-dir: ERROR in
> authenticate.c:418 Unable to authenticate console "*UserAgent*" at
> client:127.0.0.1:36131. 
>  
>  
> Also turned on de-bugging in BAT and get the following when I try to
> start BAT: 
> 
> backupserver# bat
> bat: bcomm/dircomm.cpp:188 DirComm 0 BAILING Connection failed
> backupserver.domainname.no-dir
> bat: bcomm/dircomm.cpp:222 Returning FALSE from DirComm->connect_dir :
> 0 backupserver.domainname.no-dir
> bat: mainwin.cpp:105 Setting initial window to
> backupserver.domainname.no-dir
> bat: console/console.cpp:860 DirComm 1 About to Create and Connect
> backupserver.domainname.no-dir
> bat: bcomm/dircomm.cpp:188 DirComm 1 BAILING Connection failed
> backupserver.domainname.no-dir
> bat: bcomm/dircomm.cpp:222 Returning FALSE from DirComm->connect_dir :
> 1 backupserver.domainname.no-dir
> bat: console/console.cpp:868 DirComm 1 NOT Connected
> backupserver.domainname.no-dir
> bat: console/console.cpp:860 DirComm 2 About to Create and Connect
> backupserver.domainname.no-dir
> bat: bcomm/dircomm.cpp:188 DirComm 2 BAILING Connection failed
> backupserver.domainname.no-dir
>  
> 
> Anybody have any idea on what could be wrong?
>  
> Best Regards
> Cato
> --
> ThinkGeek and WIRED's GeekDad team up for the Ultimate 
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
> lucky parental unit.  See the prize list and enter to win: 
> http://p.sf.net/sfu/thinkgeek-promo
> ___ Bacula-users mailing list 
> Bacula-users@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/bacula-users
-- 


--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Problems running Bacula BAT

2010-06-22 Thread Cato Myhrhagen
Hello

I still have som problems getting Bacula-Bat working. Here is what i have
done so far:


1. Installed FreeBSD 8.0 rel

2. From the ports catalogue i have installed Gnome Lite

3. Uppgraded all the ports with CVsup

4. Then I installed Bacula 5.0.0.1 rel (with MySQL), altso from the ports
catalogue (/usr/ports/sysutils/bacula-server)

5. Installed BAT 5.0.0.1 (/usr/ports/sysutils/bacula-bat)

6. Installed MySql 5.0.90(/usr/ports/databases/mysql55-server)

7. Ran the 3 scripts to install the databases etc that is needed to run
Bacula on the MySQL server

# cd /usr/local/share/bacula/
# ./grant_mysql_privileges
# ./create_mysql_database
# ./make_mysql_tables



I then tried to start Bat by opening Gnome, starting a terminalwindow and
typing bat. Bat starts, but have som problems connecting. . It continues to
try to connect to the database i think. In the lower left corner of the BAT
Gui i continues to display the folloving: "Connecting to Director
Localhost:9010" and then times out saying "Connection fails"



Checked if bacula is running (ps –aux | grep bacula) and it both the dir/sd
is running.
bacula   746  0.0  0.1  9996  4508  ??  Ss9:11AM   0:00.01
/usr/local/sbin/bacula-sd -u bacula -g bacula -v -c
/usr/local/etc/bacula-sd.conf
bacula  1192  0.0  0.2 13364  6132  ??  Ss   10:23AM   0:00.03
/usr/local/sbin/bacula-dir -u bacula -g bacula -v -c
/usr/local/etc/bacula-dir.conf

Also checked if MySQL was running (ps –aux | grep mysql)
Did not get any result on this, but when I tried to start the database, I
got the message that the process was already running, so assuming that MySQL
is running.

Now I checked the log (/var/db/backula/log) and got the following error
message:
22-Jun 10:31 backupserver.domainname.no-dir: ERROR in authenticate.c:418
Unable to authenticate console "*UserAgent*" at client:127.0.0.1:36131.



Also turned on de-bugging in BAT and get the following when I try to start
BAT:
backupserver# bat
bat: bcomm/dircomm.cpp:188 DirComm 0 BAILING Connection failed
backupserver.domainname.no-dir
bat: bcomm/dircomm.cpp:222 Returning FALSE from DirComm->connect_dir : 0
backupserver.domainname.no-dir
bat: mainwin.cpp:105 Setting initial window to
backupserver.domainname.no-dir
bat: console/console.cpp:860 DirComm 1 About to Create and Connect
backupserver.domainname.no-dir
bat: bcomm/dircomm.cpp:188 DirComm 1 BAILING Connection failed
backupserver.domainname.no-dir
bat: bcomm/dircomm.cpp:222 Returning FALSE from DirComm->connect_dir : 1
backupserver.domainname.no-dir
bat: console/console.cpp:868 DirComm 1 NOT Connected
backupserver.domainname.no-dir
bat: console/console.cpp:860 DirComm 2 About to Create and Connect
backupserver.domainname.no-dir
bat: bcomm/dircomm.cpp:188 DirComm 2 BAILING Connection failed
backupserver.domainname.no-dir


Anybody have any idea on what could be wrong?

Best Regards
Cato
--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users