[OmniOS-discuss] Creating SMF service for Spread

Maria del Mar Perez maria at redmoon.es
Tue Feb 26 13:11:50 EST 2013


Hi,
I'm trying to create an SMF service to Spread, because the service Wackamole
need as dependency.

The manifest I created is next, but when I try to enable the service says the
following error:

*root @ w2: ~ # svcs-xv
svc :/ network / spread: spread (?)
  State: offline since February 26, 2013 20:00:22 CET
Reason: Start method is running.
    See: http://illumos.org/msg/SMF-8000-C4
    See: / var / svc / log / network-spread: spread.log
Impact: This service is not running.*


Here below attached the manifest and the service log:
Any idea what can happen?


----------------------------------------------------------------------------------------------------------------------------------
Manifest
----------------------------------------------------------------------------------------------------------------------------------
*<?xml version='1.0'?>
<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/**
service_bundle.dtd.1'>
<service_bundle type='manifest' name='export'>
  <service name='network/spread' type='service' version='0'>
    <dependency name='filesystem_minimal' grouping='require_all'
restart_on='none' type='service'>
      <service_fmri value='svc:/system/filesystem/**minimal'/>
    </dependency>
    <dependency name='network' grouping='optional_all' restart_on='error'
type='service'>
      <service_fmri value='svc:/milestone/network'**/>
    </dependency>
    <exec_method name='stop' type='method' exec=':kill'
timeout_seconds='60'/>
    <property_group name='tm_common_name' type='template'/>
    <instance name='spread' enabled='false'>
      <dependency name='config_data' grouping='require_all'
restart_on='none' type='path'>
        <service_fmri value='file://localhost/opt/**omni/etc/spread.conf'/>
      </dependency>
      <exec_method name='start' type='method' exec='/opt/omni/sbin/spread'
timeout_seconds='60'/>
      <property_group name='general' type='framework'>
     <propval name="duration" type="astring" value="contract"/>
        <property name='action_authorization' type='astring'/>
        <property name='value_authorization' type='astring'/>
      </property_group>
    </instance>
    <stability value='Unstable'/>
  </service>
</service_bundle>
*
----------------------------------------------------------------------------------------------------------------------------------
Log
----------------------------------------------------------------------------------------------------------------------------------
*
[ Feb 26 20:00:22 Executing start method ("/opt/omni/sbin/spread"). ]
/===========================================================================\
| The Spread Toolkit.
|
| Copyright (c)    1993-2002 Spread Concepts
LLC                               |
| All rights reserved.
|
|
|
| The Spread toolkit is    licensed under the Spread Open-Source
License.      |
| You may only use this    software in compliance with the
License.            |
| A copy of the    license    can be found at
http://www.spread.org/license       |
|
|
| This product uses software developed by Spread Concepts LLC for use
|
| in the Spread    toolkit. For more information about
Spread,                 |
| see http://www.spread.org
|
|
|
| This software    is distributed on an "AS IS" basis, WITHOUT WARRANTY
OF     |
| ANY KIND, either express or implied.
|
|
|
| Spread is developed at Spread    Concepts LLC and the Center for
Networking  |
| and Distributed Systems, The Johns Hopkins University.
|
|
|
| Creators:
|
|    Yair Amir             yairamir at cs.jhu.edu
|
|    Michal Miskin-Amir       michal at spreadconcepts.com
|
|    Jonathan Stanton       jstanton at gwu.edu
|
|
|
| Major
Contributors:                                                       |
|    Cristina Nita-Rotaru crisn at cs.purdue.edu -    GC
security.                |
|    Theo Schlossnagle      jesus at omniti.com - Perl, skiplists,
autoconf.     |
|    Dan Schoenblum      dansch at cnds.jhu.edu -    Java
interface.             |
|    John Schultz      jschultz at d-fusion.net    - contribution to process
|
|                                       group membership.
|
|
|
| Special thanks to the    following for providing    ideas and/or
code:          |
|    Ken Birman, Danny Dolev, Mike Goodrich, Ben Laurie,
|
|    David Shaw, Robbert VanRenesse.
|
|
|
| Partial funding provided by the Defense Advanced Research Project Agency
|
| (DARPA) and the National Security Agency (NSA) since 2000. The Spread
|
| toolkit is not necessarily endorsed by DARPA or the NSA.
|
|
|
| For a    full list of contributors, see Readme.txt in the
distribution.      |
|
|
| WWW:       www.spread.org     www.cnds.jhu.edu      www.spreadconcepts.com
|
| Contact: spread at spread.org
|
|
|
| Version 3.17.03 Built
15/October/2004                                     |
\===========================================================================/
Conf_init: using file: /opt/omni/etc/spread.conf
Successfully configured    Segment    0 [10.56.33.255:4803] with 2 procs:
                   wackamole: 10.56.33.63
                          w2: 10.56.33.64
[ Feb 26 20:01:21 Method or service exit timed out.  Killing contract 115. ]


**
Regards,
María del Mar Pérez Fajardo.**
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20130226/7c1dd339/attachment.html>


More information about the OmniOS-discuss mailing list