Stopping because process dumped core and Stopping because service disabled
917866Feb 16 2012 — edited Mar 14 2012I am fairly new to SMF. I want SMF to ignore any crash dumps (seg faults) by my service's children. I thought I would achieve this by adding this to my svc.xml and doing a svcadm refresh and restart
<property_group name='startd' type='framework'>
<propval name='ignore_error' type='astring'
value='core,signal' />
</property_group>
Now I see the following in application-mysvc:default.log (questions inline as comments)
[ Feb 15 10:19:56 Enabled. ]
[ Feb 15 10:19:56 Executing start method ("/lib/svc/method/mysvc start") ]
tee: /dev/msglog: Permission denied
Started mysvc for server xxx
[ Feb 15 10:19:57 Method "start" exited with status 0 ]
[ Feb 15 10:26:41 Stopping because process dumped core. ] # why is SMF stopping mysvc - the core dump was in a child process - has the above config not gone into effect?
[ Feb 15 10:26:41 Executing stop method (:kill) ]
[ Feb 15 10:26:58 Executing start method ("/lib/svc/method/mysvc start") ] #is this some kind of auto-restart behaviour kicking in?
tee: /dev/msglog: Permission denied
Started mysvc for server xxx
[ Feb 15 10:26:58 Method "start" exited with status 0 ]
[ Feb 15 10:30:30 Stopping because service disabled. ] # Who disabled the service?
[ Feb 15 10:30:31 Executing stop method (:kill) ]
thanks
sriram