I'm trying to get backuppc (v4.3.2 via the backuppc4-4.3.2 FreeBSD package)
going for the first time, with the server residing in a FreeNAS jail. I've
got the host configured and it's findable via nmblookup:

[root@backuppc /]# egrep -v '^#' /usr/local/etc/backuppc/hosts

host        dhcp    user    moreUsers     # <--- do not edit this line
kevin-pc        1       backuppc

[root@backuppc /]# nmblookup kevin-pc
192.168.0.21 kevin-pc<00>

I can ping the machine as the backuppc user:

[root@backuppc /]# sudo -u backuppc bash
[backuppc@backuppc /]$ ping -c 1 192.168.0.21
PING 192.168.0.21 (192.168.0.21): 56 data bytes
64 bytes from 192.168.0.21: icmp_seq=0 ttl=128 time=0.193 ms

--- 192.168.0.21 ping statistics ---
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.193/0.193/0.193/0.000 ms

But then when I go to start a backup, it immediately fails with no log
messages, the only indication I see is that this line increments in the
Host status screen:

Pings to kevin-pc have failed 6 consecutive times.

I've tried adding some logging here
<https://github.com/backuppc/backuppc/blob/be9ce58d286da03878a0f151959ec8ebce6d10ff/bin/BackupPC#L1118-L1133>
to
just print the $mesg it gets, assuming that this is where it's failing, but
nothing gets printed. I've also tried updating the $PingCmd for this host
to just be blank, or /bin/echo, nothing seems to work there either.

My guess is it's failing in some other way but there don't seem to be any
log entries explaining why and the obvious thing it might be (ping) seems
to work. Any ideas how I can find more info about what's breaking?
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to