REPLICATION / error code of 255

Status
Not open for further replies.

BlazeStar

Patron
Joined
Apr 6, 2014
Messages
383
Hi,

Replication has been going on for several months.

Today it started failing and I'm getting completely spammed by message containing this :

Code:
 The replication failed for the local ZFS Data because the command:
/usr/bin/ssh -i /data/ssh/replication -o BatchMode=yes -o StrictHostKeyChecking=yes -o ConnectTimeout=7
   have returned an error code of 255


Any idea what this means?

Both FreeNAS systems are on 9.3

Thanks !
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
What happens when you run that command by hand?
 

BlazeStar

Patron
Joined
Apr 6, 2014
Messages
383
sorry for being such a n00b but can you tell me which command I should run?

The console reports this, for info :

Code:
Jun  9 20:34:04 NAS autorepl.py: [common.pipesubr:59] Popen()ing: /usr/bin/ssh -i /data/ssh/replication -o BatchMode=yes -o StrictHostKeyChecking=yes -o ConnectTimeout=7 -p 37951 XXX "zfs list -Hr -o name -t snapshot -d 1 'BACKUP' | tail -n 1 | cut -d@ -f2" || true
Jun  9 20:34:11 NAS autorepl.py: [tools.autorepl:302] Got 255 when running /usr/bin/ssh -i /data/ssh/replication -o BatchMode=yes -o StrictHostKeyChecking=yes -o ConnectTimeout=7
 

BlazeStar

Patron
Joined
Apr 6, 2014
Messages
383
Sorry for useless post...

Power loss where backup FreeNAS is located...

Now everything is cool.

One more question though...

I'm trying to find out if FreeNAS made a graceful shutdown (using NUT with the UPS).

In /var/log/messages last entries I see before power loss are :

Code:
Jun  9 11:51:41 NAS python: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
Jun  9 11:51:41 NAS python: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
Jun  9 11:51:41 NAS python: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
Jun  9 11:51:42 NAS syslog-ng[15997]: syslog-ng shutting down; version='3.5.6'


Not sure if the syslog-ng shut down means a graceful shutdown too?

/var/log/ups.log reports this :

Code:
20150609 114936 58 0.0 23 [OB DISCHRG] NA NA
20150609 115129 46 0.0 28 [FSD OB DISCHRG] NA NA
20150609 221815 100 123.0 0 [OL] NA NA
20150609 222315 100 124.0 0 [OL] NA NA
20150609 222707 NA NA NA [NA] NA NA
20150609 222708 100 123.0 0 [OL] NA NA


No idea what this could mean

Can't find anywhere to see any other relevant info.
 
Status
Not open for further replies.
Top