[OpenIndiana-discuss] auto-snaps cannot be started is this the known bug[s]
Harry Putnam
reader at newsguy.com
Sun Dec 5 05:55:56 UTC 2010
After a fresh install, my third in a series this last week (inside
vbox), this time on windows XP, I'm unable to turn on the
auto-snapshot services.
I enabled the time slider in the gui then proceeded to try to turn on
the services.
I got in a hurry and tried to do it with a for loop from the cmdline
like this:
for ii in `svcs -a|grep auto-snapshot`;do
svcadm enable -r $ii
done
Well, that was a pretty horrible thing to do since it fed lots of
garbage to svcadm.
The ouput lines were of the form:
offline 23:08:58 svc:/system/filesystem/zfs/auto-snapshot:daily
So of course the shell interpreter saw `offline' as a command,
`23:08:58' as a command and finally
svc:/system/filesystem/zfs/auto-snapshot:daily
svcadm was a bit flummoxed by it all.
Then when I realized my stupidity and tried a more conservative
method:
svcadm enable auto-snapshot:NAME
They weren't starting so I attributed it to having jimmied things up
with the dumb for loop.
So I rebooted thinking that would give svcadm time to forgive me. But
I see from dmesg and /var/adm/messages that there is still a big
problem... I kind of doubt now that it is related to my boner command
but maybe someone here will know, or know what to check into about
this.
It doesn't appear to be the same as a couple of fairly recent bugs I
googled up about the timeslider.
So on reboot heres what I see:
----- -------- ----- --=-- ----- ------- -----
from dmesg (wrapped for mail):
Dec 4 23:11:46 voi2 svc.startd[9]: [ID 122153 daemon.warning]
svc:/application/time-slider:default: Method or service exit timed
out. Killing contract 108.
Dec 4 23:11:46 voi2 svc.startd[9]: [ID 636263 daemon.warning]
svc:/application/time-slider:default: Method
"/lib/svc/method/time-slider start" failed due to signal KILL.
Dec 4 23:12:47 voi2 svc.startd[9]: [ID 122153 daemon.warning]
svc:/application/time-slider:default: Method or service exit timed
out. Killing contract 116.
Dec 4 23:12:47 voi2 svc.startd[9]: [ID 636263 daemon.warning]
svc:/application/time-slider:default: Method
"/lib/svc/method/time-slider start" failed due to signal KILL.
Dec 4 23:13:48 voi2 svc.startd[9]: [ID 122153 daemon.warning]
svc:/application/time-slider:default: Method or service exit timed
out. Killing contract 117.
Dec 4 23:13:48 voi2 svc.startd[9]: [ID 636263 daemon.warning]
svc:/application/time-slider:default: Method
"/lib/svc/method/time-slider start" failed due to signal KILL.
Dec 4 23:13:48 voi2 svc.startd[9]: [ID 748625 daemon.error]
application/time-slider:default failed: transitioned to maintenance
(see 'svcs -xv' for details)
Dec 4 23:13:48 voi2 fmd: [ID 377184 daemon.error] SUNW-MSG-ID:
SMF-8000-YX, TYPE: defect, VER: 1, SEVERITY: major
Dec 4 23:13:48 voi2 EVENT-TIME: Sat Dec 4 23:13:48 CST 2010
Dec 4 23:13:48 voi2 PLATFORM: VirtualBox, CSN: 0, HOSTNAME: voi2
Dec 4 23:13:48 voi2 SOURCE: software-diagnosis, REV: 0.1
Dec 4 23:13:48 voi2 EVENT-ID: 391f62ce-2b35-4756-ccca-cbf642d20671
Dec 4 23:13:48 voi2 DESC: A service failed - a method is failing in a
retryable manner but too often.
Dec 4 23:13:48 voi2 Refer to http://sun.com/msg/SMF-8000-YX for more
information.
Dec 4 23:13:48 voi2 AUTO-RESPONSE: The service has been placed into
the maintenance state.
Dec 4 23:13:48 voi2 IMPACT: svc:/application/time-slider:default is
unavailable.
Dec 4 23:13:48 voi2 REC-ACTION: Run 'svcs -xv
svc:/application/time-slider:default' to determine the generic reason
why the service failed, the location of any logfiles, and a list of
other services impacted.
----- -------- ----- --=-- ----- ------- -----
Following the advice from the last log there and running:
svcs -xv svc:/application/time-slider:default
State: maintenance since December 4, 2010 11:13:48 PM CST
Reason: Start method failed repeatedly, last died on Killed (9).
See: http://sun.com/msg/SMF-8000-KS
See: man -M /usr/share/man -s 1M zfs
See: /var/svc/log/application-time-slider:default.log
Impact: 5 dependent services are not running:
svc:/system/filesystem/zfs/auto-snapshot:daily
svc:/system/filesystem/zfs/auto-snapshot:frequent
svc:/system/filesystem/zfs/auto-snapshot:hourly
svc:/system/filesystem/zfs/auto-snapshot:monthly
svc:/system/filesystem/zfs/auto-snapshot:weekly
More information about the OpenIndiana-discuss
mailing list