Technology Network Community
Oracle Database
Fusion Middleware
Development Tools
Server & Storage Systems
Enterprise Management
Berkeley DB Family
Cloud Computing
Big Data
Business Intelligence
Migration and Modernization
E-Business Suite
PeopleSoft Enterprise
JD Edwards World
JD Edwards EnterpriseOne
User Productivity Kit Pro (UPK) and Tutor
Governance, Risk & Compliance (GRC)
Master Data Management (MDM)
Oracle CRM On Demand
On Demand: SaaS and Managed Applications
AutoVue Enterprise Visualization
Agile PLM
Endeca Experience Management
Fusion Applications
Archived Forums



Solaris 11

Start method failed repeatedly, last exited with status 1

HI,  Ii am trying to implement to the Greenline/SMF feature on Solaris 10 box using once small pre-tested prgram.  Following is the manifest xml file   <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> <!--         Copyright 2004 Sun Microsystems, Inc.  All rights reserved.         Use is subject to license terms. --> <service_bundle type="manifest" name="pgrm">  <service name="application/management/pgrm" type="service" version="1">          <create_default_instance enabled="true"/>          <single_instance/>          <dependency name="filesystem" grouping="require_all" restart_on="none" type="service">                 <service_fmri value="svc:/system/filesystem/local"/>         </dependency>          <dependency name="network" grouping="require_all" restart_on="none" type="service">                 <service_fmri value="svc:/network/initial"/>         </dependency>          <exec_method type="method" name="start" exec="/lib/svc/method/pgrm start" timeout_seconds="30">         </exec_method>          <exec_method type="method" name="stop" exec="/lib/svc/method/pgrm stop" timeout_seconds="60"/>          <stability value="Unstable"/>          <template>                 <common_name>                         <loctext xml:lang="C"> sunmc.agent provides agent layer functionality in Sun Management Center.                         </loctext>                 </common_name>                 <documentation>                         <manpage title="webmin" section="1M" manpath="/usr/sfw/man"/>                 </documentation>         </template> </service>  </service_bundle>   #######$$$$ The Steps which i followed  1) created the above manifest   pgrm.rnd.xml  from the existing one.  2) cp  pgrm.rnd.xml  /var/svc/manifest/application/management/  3) cp pgrm /lib/svc/method/  4)svccfg -v import /var/svc/manifest/application/management/pgrm.rnd.xml svccfg: Refreshed application/management/sunmcagent:default. svccfg: Successful import.  5) svcadm enable svc:/application/management/pgrm:default  6)svcs svc:/application/management/pgrm:default      output of the above commands  STATE          STIME    FMRI maintenance    14:55:33 svc:/application/management/sunmcagent:default  7) svcs -vx pgrm  svc:/application/management/sunmcagent:default (sunmc.agent provides agent layer functionality in Sun Management Center.)  State: maintenance since Thu Mar 17 14:55:33 2005 Reason: Start method failed repeatedly, last exited with status 1.    See:    See: man -M /usr/sfw/man -s 1M webmin Impact: This service is not running.   @@@@ here i am not able to get my  pgrm  online ...  What could be the problem ...did i skip something or i went wrong somewhere.  Please review the above stuff and let me know your views

Hi,  take a look in   /var/svc/log/application-management-pgrm:default.log  Check if your method is executable:  bash-3.00# /lib/svc/method/pgrm start  hth,  Tobias

Related Links

Problems with creating 2nd repository
ZFS Integrity issues
Turn off Tile for backgound in Nautilus
11 11/11/11, 11.1 and HP Smart Arrays
Updates for Solaris 11.1 Free edition
Active Directory / ACL's
Force ashift=12 when creating a pool / adding vdev
Cannot boot Solaris 11.1 Live Media for x86
64-Bit PHP on x86-Solaris 11.1
Instability and Poor Performance with 11 11/11 and 11.1
ZFS - how to create two different pools over the same set of hard drives
Upgrade solaris 11.0 to 11.1 issue
Boot failure after change storage contoller pcie slot
S11.0 to S11.1 update failure - can't decipher what is needed
Sharing Linux(Mint) and S11 on the same (laptop) HD
A few more Solaris questions