cram-md5 Authenticate NOT OK on AIX 5.3 bacula-fd

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

cram-md5 Authenticate NOT OK on AIX 5.3 bacula-fd

Fabio Xarax
Hi everybody,
 
I'm trying to save two AIX machines, but with no success :(
When I start bacula-fd in debug mode this is the log
 
/bacula/sbin/bacula-fd -c /bacula/conf/bacula-fd.conf -f -d 100
bacula-fd: filed_conf.c:448-0 Inserting director res: client-mon
bacula-fd: filed_conf.c:448-0 Inserting director res: server-dir
client-fd: bsys.c:498-0 Could not open state file. sfd=-1 size=192: ERR=No such file or directory
client-fd: filed.c:259-0 filed: listening on port 9102
client-fd: bnet_server.c:96-0 Addresses host[ipv4:0.0.0.0:9102]
client-fd: bnet.c:667-0 who=client host=192.168.9.100 port=9102
client-fd: find.c:81-0 init_find_files ff=20080bb0
client-fd: job.c:237-0 <dird: Hello Director server-dir calling
client-fd: job.c:253-0 Executing Hello command.
client-fd: cram-md5.c:73-0 send: auth cram-md5 <[hidden email]> ssl=0
client-fd: cram-md5.c:104-0 Authenticate NOT OK: wanted 8+/BDUIgnWYdj6/on6+d+A, got 91+sk5/Pv+RST1ET/6+rYC
client-fd: cram-md5.c:110-0 Auth failed PW: 0d96e3e4a99062657903754c9220dc80
client-fd: authenticate.c:139-0 cram_auth failed for 192.168.9.100
client-fd: job.c:256-0 Quit command loop. Canceled=0
client-fd: job.c:359-0 Calling term_find_files
client-fd: job.c:362-0 Done with term_find_files
client-fd: job.c:364-0 Done with free_jcr
 
and in server bconsole I get this error
 
14-May 11:01 server-dir JobId 0: Fatal error: Unable to authenticate with File daemon at "client:9102". Possible causes:
Passwords or names not the same or
Maximum Concurrent Jobs exceeded on the FD or
FD networking messed up (restart daemon).
Please see http://www.bacula.org/en/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION003760000000000000000 for help.
 
unfortunately conf files (on both server & clients) and password are ok :(
 
I tried connecting via telnet on client:9102 ... all ok, so port are reachable.
 
Can anyone help me?
Are there any other way to test connection via bacula connection (telnet on 9102)?
Thx
Fabio
 
PS:
other 4 client (2 Windows & 2 Linux) connect and bacul ok), so problem is only in AIX world :(

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Bacula-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-users
Reply | Threaded
Open this post in threaded view
|

Re: cram-md5 Authenticate NOT OK on AIX 5.3 bacula-fd

yistoneriver
Fabio,

I ran into the same problem when I build Ver 2.4.2 FD on AIX with Visual Age compler.  The configure script did not recognize Endian (should be Big-Endian, but treated as little-endina).  Try the following modification to the line in "configure" script and run configure again

Replace "exit" with "return" in the following line:
main(){long a=1L; char *p=(char *)&a; exit(*p);}

I hope the helps.
-Yuji

Fabio Xarax wrote
Hi everybody,

I'm trying to save two AIX machines, but with no success :(
When I start bacula-fd in debug mode this is the log

/bacula/sbin/bacula-fd -c /bacula/conf/bacula-fd.conf -f -d 100
bacula-fd: filed_conf.c:448-0 Inserting director res: client-mon
bacula-fd: filed_conf.c:448-0 Inserting director res: server-dir
client-fd: bsys.c:498-0 Could not open state file. sfd=-1 size=192: ERR=No
such file or directory
client-fd: filed.c:259-0 filed: listening on port 9102
client-fd: bnet_server.c:96-0 Addresses host[ipv4:0.0.0.0:9102]
client-fd: bnet.c:667-0 who=client host=192.168.9.100 port=9102
client-fd: find.c:81-0 init_find_files ff=20080bb0
client-fd: job.c:237-0 <dird: Hello Director server-dir calling
client-fd: job.c:253-0 Executing Hello command.
client-fd: cram-md5.c:73-0 send: auth cram-md5 <
123964342.1242291679@client-fd> ssl=0
client-fd: cram-md5.c:104-0 Authenticate NOT OK: wanted
8+/BDUIgnWYdj6/on6+d+A, got 91+sk5/Pv+RST1ET/6+rYC
client-fd: cram-md5.c:110-0 Auth failed PW: 0d96e3e4a99062657903754c9220dc80
client-fd: authenticate.c:139-0 cram_auth failed for 192.168.9.100
client-fd: job.c:256-0 Quit command loop. Canceled=0
client-fd: job.c:359-0 Calling term_find_files
client-fd: job.c:362-0 Done with term_find_files
client-fd: job.c:364-0 Done with free_jcr

and in server bconsole I get this error

14-May 11:01 server-dir JobId 0: Fatal error: Unable to authenticate with
File daemon at "client:9102". Possible causes:
Passwords or names not the same or
Maximum Concurrent Jobs exceeded on the FD or
FD networking messed up (restart daemon).
Please see
http://www.bacula.org/en/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION003760000000000000000for
help.

unfortunately conf files (on both server & clients) and password are ok :(

I tried connecting via telnet on client:9102 ... all ok, so port are
reachable.

Can anyone help me?
Are there any other way to test connection via bacula connection (telnet on
9102)?
Thx
Fabio

PS:
other 4 client (2 Windows & 2 Linux) connect and bacul ok), so problem is
only in AIX world :(

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
Reply | Threaded
Open this post in threaded view
|

Re: cram-md5 Authenticate NOT OK on AIX 5.3 bacula-fd

Fabio Xarax
In reply to this post by Fabio Xarax
Yes! It works!
Thank you!
Hope this can help all other user too ;)

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Bacula-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-users