[Bacula-users] debug available on bacula-fd?

2007-01-22 Thread Jo Rhett
Okay, I've got the weirdest authentication problem.  We've got dozens  
of clients set up, and they all work.  But this one new linux system  
keeps getting auth errors.  We have gotten two good backups, but the  
followups always fail.  We've changed passwords, everything.

1. No firewall between the hosts (dedicated backup network)
2. Telnet 9102 to the client or 9103 client to backup server works fine

Is there any debug I can enable on the filedaemon to figure out what  
it thinks is wrong?  Nothing is being logged...

-- 
Jo Rhett
senior geek
Silicon Valley Colocation





-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] debug available on bacula-fd?

2007-01-22 Thread Arno Lehmann
Hi,

On 1/22/2007 8:48 PM, Jo Rhett wrote:
 Okay, I've got the weirdest authentication problem.  We've got dozens  
 of clients set up, and they all work.  But this one new linux system  
 keeps getting auth errors.  We have gotten two good backups, but the  
 followups always fail.  We've changed passwords, everything.
 
 1. No firewall between the hosts (dedicated backup network)
 2. Telnet 9102 to the client or 9103 client to backup server works fine
 
 Is there any debug I can enable on the filedaemon to figure out what  
 it thinks is wrong?  Nothing is being logged...

What I'd do in your situation is:
- shutdown the FD on the funny client
- start the FD manually like 'bacula-fd -c ... -f -d 1000 | tee 
./bacula-fd-1000.log'
- try to connect to the FD using bconsoles status comand
- watch the log lines scroll

But first check that the DIR has the correct address for the FD - 
perhaps the IP address has changed some time in between... 'show 
client=...' in bconsole is a good first step. Also, look up the 
documentation to the setip command - that one can cause you lots of fun :-)

Arno


-- 
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] debug available on bacula-fd?

2007-01-22 Thread Jo Rhett
 What I'd do in your situation is:
 - shutdown the FD on the funny client
 - start the FD manually like 'bacula-fd -c ... -f -d 1000 | tee
 ./bacula-fd-1000.log'
 - try to connect to the FD using bconsoles status comand

This works fine.  This has always worked fine.  It's just the backups  
which fail, which is why I am so very confused.

 - watch the log lines scroll

 But first check that the DIR has the correct address for the FD -
 perhaps the IP address has changed some time in between... 'show
 client=...' in bconsole is a good first step.

Naw, IPs are fine.  Testing using telnet too :-)

status client works fine talking to the FD.  That's what is  
confusing me.

 Also, look up the
 documentation to the setip command - that one can cause you lots of  
 fun :-)

Eh?  Clue me in please.  (I have no login on the linux box, so ...)

-- 
Jo Rhett
senior geek
Silicon Valley Colocation





-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] debug available on bacula-fd?

2007-01-22 Thread Arno Lehmann
Hi,

On 1/22/2007 11:45 PM, Jo Rhett wrote:
 What I'd do in your situation is:
 - shutdown the FD on the funny client
 - start the FD manually like 'bacula-fd -c ... -f -d 1000 | tee
 ./bacula-fd-1000.log'
 - try to connect to the FD using bconsoles status comand
 
 
 This works fine.  This has always worked fine.  It's just the backups  
 which fail, which is why I am so very confused.

Ok, now I am confused, too :-;

 - watch the log lines scroll

 But first check that the DIR has the correct address for the FD -
 perhaps the IP address has changed some time in between... 'show
 client=...' in bconsole is a good first step.
 
 
 Naw, IPs are fine.  Testing using telnet too :-)

Yes, but I had the impression that the DIR might have the wrong IP of 
your client.

 status client works fine talking to the FD.  That's what is  confusing 
 me.
 
 Also, look up the
 documentation to the setip command - that one can cause you lots of  
 fun :-)
 
 
 Eh?  Clue me in please.  (I have no login on the linux box, so ...)

Nothing linux specific - purely Bacula.

You can dynamically assign a new address to a client using the setip 
command. You only need a configured console, connect using one of 
Baculas console programs to the DIR, issue 'setip' and the DIR learned a 
new address for the client you logged in from.

But that's not the problem here, I assume, because if it would the 
status command would not work.

Anyway, then keep the debug output running and stored and start a job 
and see what happens. Perhaps that debug output tells something interesting.

Arno

-- 
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] debug available on bacula-fd?

2007-01-22 Thread Jo Rhett
 - try to connect to the FD using bconsoles status comand

 This works fine.  This has always worked fine.  It's just the backups
 which fail, which is why I am so very confused.

 Ok, now I am confused, too :-;

Hehehe.  You're gonna laugh.

Someone decided to bring up a new system, and just went and grabbed  
the next IP.  So there was a bacula client on that IP but it wasn't  
the one which we had configured.

I'm going to start hardcoding ARPs for this network to prevent that  
kind of silliness again.

But that does bring up the question as to why a bacula client without  
the properly password was working fine for status...?

-- 
Jo Rhett
senior geek
Silicon Valley Colocation





-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] debug available on bacula-fd?

2007-01-22 Thread Dan Langille
On 22 Jan 2007 at 16:44, Jo Rhett wrote:

  - try to connect to the FD using bconsoles status comand
 
  This works fine.  This has always worked fine.  It's just the backups
  which fail, which is why I am so very confused.
 
  Ok, now I am confused, too :-;
 
 Hehehe.  You're gonna laugh.
 
 Someone decided to bring up a new system, and just went and grabbed  
 the next IP.  So there was a bacula client on that IP but it wasn't  
 the one which we had configured.
 
 I'm going to start hardcoding ARPs for this network to prevent that  
 kind of silliness again.
 
 But that does bring up the question as to why a bacula client without  
 the properly password was working fine for status...?

I know that *whatever* client you were talking to, it had the right 
stuff.

-- 
Dan Langille : Software Developer looking for work
my resume: http://www.freebsddiary.org/dan_langille.php
PGCon - The PostgreSQL Conference - http://www.pgcon.org/



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users