Categories

JAVA DATEBASE
Technology Network Community
Oracle Database
Fusion Middleware
Development Tools
Java
Desktop
Server & Storage Systems
Enterprise Management
Berkeley DB Family
Cloud Computing
Big Data
Business Intelligence
Architecture
Migration and Modernization
E-Business Suite
Siebel
PeopleSoft Enterprise
JD Edwards World
Industries
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
Primavera
ATG
Agile PLM
Endeca Experience Management
Fusion Applications
Archived Forums

 



Tags

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: http://sun.com/msg/SMF-8000-KS    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

if the solaris 11can use the SMC to control my system like the 10 ?
Solaris Express 11?
Upgrade from Solaris 11 Express to Solaris 11 Release(11/11) ERROR/PROBLEM
Will Update Manager automatically update my 2010.11 version to 2011.11 ?
seteuid() in Solaris 11/11
encrypted dataset - how to re-mount after reboot?
can't login with root
Question about what is and isn't included with the OTN License.
Explanation of using pkg image-create
XDMCP on Solaris 11
zfs snapshot: how to manually delete a file present in 3 snapshots?
Solaris 11 express LACP + multiple vNic + vLan problem.
Solaris 11 Express - nsswitch.conf settings lost after system reboot
Answered: How to Hibernate,Restart and Shut Down using terminal?
iSCSI and ZFS Thin Provisioning Sparse Volumes - constraints?
Performance Issues with ZFS + STMF