I've got crashplan 4.3.0 working in a jail (thebrig). I've got it starting using /etc/rc.local in the jail and am trying to make it shutdown nicely (when the jail shuts down) using the thebrig "User command stop" config/command.
If I configure the "User command stop" field to be the default
Code: Select all
/bin/sh /etc/rc.shutdownHowever, since I would prefer to nicely stop crashplan before stopping the jail, I tried to configure the "User command stop" field with the following instead:
Code: Select all
/compat/linux/bin/bash /compat/linux/usr/local/crashplan/bin/CrashPlanEngine stop && /bin/sh /etc/rc.shutdownThis is what shows up in the jail_crashplan_console.log.
Code: Select all
Mon Jul 13 00:48:39 MST 2015
Stopping CrashPlan Engine ... OK
Stopping lighttpd.
Stopping mdnsresponder.
Stopping jails:Stopping CrashPlan Engine ... OK
Stopping jails:Stopping CrashPlan Engine ... OK
Stopping jails:Stopping CrashPlan Engine ... OK
.
.
.
Stopping jails:Stopping CrashPlan Engine ... 90 second watchdog timeout expired. Shutdown terminated.
Mon Jul 13 00:52:04 MST 2015
Killed
Signal 15 (TERM) caught by ps (procps version 3.2.7).
Please send bug reports to <feedback@lists.sf.net> or <albert@users.sf.net>
Terminated
90 second watchdog timeout expired. Shutdown terminated.
Mon Jul 13 00:52:04 MST 2015
Killed
90 second watchdog timeout expired. Shutdown terminated.
Mon Jul 13 00:52:05 MST 2015
Killed
90 second watchdog timeout expired. Shutdown terminated.
Mon Jul 13 00:52:05 MST 2015
Killed
crashplan.localifconfig: ioctl (SIOCDIFADDR): Can't assign requested address
rm: /var/run/jail_crashplan.id: No such file or directory
.
Stopping cron.
Waiting for PIDS: 2000.
Stopping swap.
Stopping smbd.
Waiting for PIDS: 191690 second watchdog timeout expired. Shutdown terminated.
Mon Jul 13 00:52:05 MST 2015
Killed
crashplan.localifconfig: ioctl (SIOCDIFADDR): Can't assign requested address
rm: /var/run/jail_crashplan.id: No such file or directory
.
90 second watchdog timeout expired. Shutdown terminated.
Mon Jul 13 00:52:06 MST 2015
Killed
crashplan.localifconfig: ioctl (SIOCDIFADDR): Can't assign requested address
90 second watchdog timeout expired. Shutdown terminated.
Mon Jul 13 00:52:06 MST 2015
Killed
crashplan.localifconfig: ioctl (SIOCDIFADDR): Can't assign requested address
rm: /var/run/jail_crashplan.id: No such file or directory
.
90 second watchdog timeout expired. Shutdown terminated.
Mon Jul 13 00:52:06 MST 2015
, 1916Killed
.
Stopping nmbd.
Waiting for PIDS: 1914.
Stopping lockd.
Waiting for PIDS: 1703.
Stopping statd.
Waiting for PIDS: 1700.
crashplan.localifconfig: ioctl (SIOCDIFADDR): Can't assign requested address
rm: /var/run/jail_crashplan.id: No such file or directory
.
Stopping nfsd.
Waiting for PIDS: 1696 1698.
Stopping mountd.
Waiting for PIDS: 1680.
Stopping nfsuserd.
kill: 1649: No such process
kill: 1650: No such process
kill: 1651: No such process
kill: 1652: No such process
Stopping rpcbind.
Waiting for PIDS: 1644.
90 second watchdog timeout expired. Shutdown terminated.
Mon Jul 13 00:52:07 MST 2015
Killed
X-Powered-By: PHP/5.6.10^M
Expires: 0^M
Last-Modified: Mon, 13 Jul 2015 07:52:07 GMT^M
Expires: 0^M
Last-Modified: Mon, 13 Jul 2015 07:52:07 GMT^M
Cache-Control: no-store, no-cache, must-revalidate^M
Cache-Control: post-check=0, pre-check=0^M
Pragma: no-cache^M
Content-Type: text/html; charset=UTF-8^M
^M
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<head>
<title>nas4free.local - Extensions|TheBrig</title>
.
.
.
Stopping devd.
Waiting for PIDS: 1512.
Writing entropy file:.
crashplan.localifconfig: ioctl (SIOCDIFADDR): Can't assign requested address
rm: /var/run/jail_crashplan.id: No such file or directory
.
90 second watchdog timeout expired. Shutdown terminated.
Mon Jul 13 00:52:07 MST 2015
Killed
crashplan.localifconfig: ioctl (SIOCDIFADDR): Can't assign requested address
rm: /var/run/jail_crashplan.id: No such file or directory
.
90 second watchdog timeout expired. Shutdown terminated.
Mon Jul 13 00:52:07 MST 2015
Killed
crashplan.localifconfig: ioctl (SIOCDIFADDR): Can't assign requested address
rm: /var/run/jail_crashplan.id: No such file or directory
.
.
.
Code: Select all
Jul 13 00:50:34 nas4free lighttpd[2333]: (server.c.1558) server stopped by UID = 0 PID = 4558
Jul 13 00:52:04 nas4free rc.shutdown: 90 second watchdog timeout expired. Shutdown terminated.
Jul 13 00:52:05 nas4free last message repeated 3 times
Jul 13 00:52:05 nas4free smbd[2637]: STATUS=daemon 'smbd' finished starting up and ready to serve connectionskergewhs2011 (ipv4:192.168.3.21:52498) closed connection to service Mirror3TBa
Jul 13 00:52:05 nas4free rc.shutdown: 90 second watchdog timeout expired. Shutdown terminated.
Jul 13 00:52:06 nas4free last message repeated 3 times
Jul 13 00:52:06 nas4free nmbd[1914]: [2015/07/13 00:52:06.807856, 0] ../source3/nmbd/nmbd.c:57(terminate)
Jul 13 00:52:06 nas4free nmbd[1914]: Got SIGTERM: going down...
Jul 13 00:52:07 nas4free rc.shutdown: 90 second watchdog timeout expired. Shutdown terminated.
Jul 13 00:52:08 nas4free last message repeated 4 times
Jul 13 00:52:08 nas4free kernel: GEOM_MIRROR: Device Mirror2TBa: provider mirror/Mirror2TBa destroyed.
Jul 13 00:52:08 nas4free kernel: GEOM_MIRROR: Device Mirror2TBa destroyed.
Jul 13 00:52:08 nas4free kernel: GEOM: da6: the secondary GPT header is not in the last LBA.
Jul 13 00:52:08 nas4free rc.shutdown: 90 second watchdog timeout expired. Shutdown terminated.
Jul 13 00:52:08 nas4free kernel: GEOM: da1: the secondary GPT header is not in the last LBA.
Jul 13 00:52:08 nas4free kernel: GEOM_MIRROR: Device Mirror3TBa: provider mirror/Mirror3TBa destroyed.
Jul 13 00:52:08 nas4free kernel: GEOM_MIRROR: Device Mirror3TBa destroyed.
nas4free 9.3.0.2
thebrig 0.8
Any ideas as to what is going on here would be appreciated! Should I not be using the "User command stop" field for this purpose?
thanks
Wayne
