Dennis,

Can you try the attached patch, it should print a better error message.

Jean-Louis

On 02/10/17 08:49 AM, Dennis Benndorf wrote:

Hi Jean-Louis,

yes I did:

    amanda@SERVER:~$ amcheck -c mirror CLIENT
    '/usr/local/etc/amanda/mirror/amanda.conf', line 110: warning:
    Keyword usetimestamps is deprecated.
    Amanda Backup Client Hosts Check
    --------------------------------
    ERROR: CLIENT: selfcheck request failed: No defined tcp_port_range
    in '/usr/local/etc/amanda-security.conf'
    Client check: 1 host checked in 12.103 seconds.  1 problem found.
    (brought to you by Amanda 3.5)

    amanda@SERVER:~$ cat /usr/local/etc/amanda-security.conf
    tcp_port_range=512,1023

    amanda@SERVER:~$ ls -l /usr/local/etc/amanda-security.conf
    -rw-r--r-- 1 root root 24 Okt  2 10:53
    /usr/local/etc/amanda-security.conf

Regards,
Dennis

Am 02.10.2017 um 14:38 schrieb Jean-Louis Martineau:
The host reporting this error is an amanda 3.5.
Do you added a tcp_port_range in the /usr/local/etc/amanda-security.conf file on that host (your server)?

Jean-Louis

On 02/10/17 05:10 AM, Dennis Benndorf wrote:
Hi,

might there be an issue with amanda-3.5 and the new option tcp_port_range in amanda-security.conf?
Amanda always tells this message:

    ERROR: CLIENT: selfcheck request failed: No defined
    tcp_port_range in '/usr/local/etc/amanda-security.conf'

We were running 3.3.9 before which worked fine. Server is 3.5 now, clients are 3.3.9. It seems not to recognize any setting in clients amanda-security.conf nevertheless placing it in /etc /etc/amanda or /usr/local/etc/ with permissions 644 and root:root ownership. Any idea?

Regards,
Dennis




*Disclaimer*

This message is the property of *CARBONITE, INC.* <http://www.carbonite.com> and may contain confidential or privileged information.

If this message has been delivered to you by mistake, then do not copy or deliver this message to anyone. Instead, destroy it and notify me by reply e-mail.


This message is the property of CARBONITE, INC. and may contain confidential or 
privileged information.
If this message has been delivered to you by mistake, then do not copy or 
deliver this message to anyone.  Instead, destroy it and notify me by reply 
e-mail
diff --git a/common-src/security-file.c b/common-src/security-file.c
index e3bb63e..f7ccef0 100644
--- a/common-src/security-file.c
+++ b/common-src/security-file.c
@@ -195,10 +195,12 @@ security_file_get_portrange(
     *phigh = -1;
     message = open_security_file(&sec_file);
     if (message) {
+	fprintf(stderr, "%s\n", get_message(message));
 	return FALSE;
     }
 
     if (!sec_file) {
+	fprintf(stderr, "no sec_file\n");
 	return FALSE;
     }
 

Reply via email to