Hi, On my main amanda installation I have a client that gives time out when doing backups. I have researched and checked out the most common problems. In the end I have found that:
- "amcheck Config -c client" gives 30 seconds of timeout. - I do not have any clue on the logs at the client. - Running the command by hand on the client I get segmentation fault. /usr/lib/amanda/amandad -auth=ssh amdump Segmentation fault - Running the command inside gdb I see a NULL pointer. gdb /usr/lib/amanda/amandad GNU gdb (Debian 8.2.1-2+b3) 8.2.1 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/lib/amanda/amandad...Reading symbols from /usr/lib/debug/.build-id/02/91452cbae527e441191377fd040fc0e0605a13.debug...done. done. gdb) run -auth=ssh amdump Starting program: /usr/lib/amanda/amandad -auth=ssh amdump [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7f3a777 in stream_sendpkt (cookie=0x5555555ae6f0, pkt=0x7fffffffe940) at security-util.c:215 215 security-util.c: No such file or directory. (gdb) rint rh Undefined command: "rint". Try "help". (gdb) print rh $1 = (struct sec_handle *) 0x5555555ae6f0 (gdb) print rh->rc $2 = (struct tcp_conn *) 0x0 (gdb) print cookie $3 = (void *) 0x5555555ae6f0 (gdb) bt #0 0x00007ffff7f3a777 in stream_sendpkt (cookie=0x5555555ae6f0, pkt=0x7fffffffe940) at security-util.c:215 #1 0x000055555555a4ab in protocol_accept (handle=0x5555555ae6f0, pkt=<optimized out>) at amandad.c:611 #2 0x00007ffff7f4a9c1 in ssh_accept (driver=<optimized out>, conf_fn=0x555555559ec0 <amandad_get_security_conf>, in=0, out=1, fn=0x55555555a430 <protocol_accept>, datap=0x0) at ssh-security.c:291 #3 0x0000555555557a1b in main (argc=<optimized out>, argv=0x7fffffffeca8) at amandad.c:522 I have seen this problema with the amanda from Debian for buster and with a personalized amanda package "3.5.1-4~WIP+5" that runs on all of my clients Debian buster. So the problem is not with my package. Can be something perculiar of Debian, but I presume that is something wrong with the client. I think that a SEGFAULT is not normal so here I am reporting in the case that someone can understand the cause in the code. Kind regards Jose M Calhariz -- -- A ciência aumenta nosso poder na mesma proporção que diminui o nosso orgulho --Claude Bernard
signature.asc
Description: PGP signature
