How to Start Oracle 11g Enterprise Manager Grid Control Agent mannually

Step #1:First, you need to find out process PID (process id),you find out Java process PID

[root@x2270m2-198045 ~]# ps -ef | grep java
oracle    1177     1  0 09:03 ?        00:00:07 /u01/gc11g/jdk1.6.0_21/jre/bin/j                                                                                                 ava -classpath /u01/gc11g/jdk1.6.0_21/jre/lib/rt.jar:/u01/gc11g/jdk1.6.0_21/jre/                                                                                                 lib/i18n.jar:/u01/gc11g/OFM/patch_wls1032/profiles/default/sys_manifest_classpat                                                                                                 h/weblogic_patch.jar:/u01/gc11g/jdk1.6.0_21/lib/tools.jar:/u01/gc11g/OFM/utils/c                                                                                                 onfig/10.3/config-launch.jar:/u01/gc11g/OFM/wlserver_10.3/server/lib/weblogic_sp                                                                                                 .jar:/u01/gc11g/OFM/wlserver_10.3/server/lib/weblogic.jar:/u01/gc11g/OFM/modules                                                                                                 /features/weblogic.server.modules_10.3.2.0.jar:/u01/gc11g/OFM/wlserver_10.3/serv                                                                                                 er/lib/webservices.jar:/u01/gc11g/OFM/modules/org.apache.ant_1.7.0/lib/ant-all.j                                                                                                 ar:/u01/gc11g/OFM/modules/net.sf.antcontrib_1.0.0.0_1-0b2/lib/ant-contrib.jar:/u                                                                                                 01/gc11g/OFM/oms11g/sysman/jlib/emagentSDK.jar:/u01/gc11g/OFM/oms11g/sysman/jlib                                                                                                 /emCORE.jar:/u01/gc11g/OFM/oracle_common/modules/oracle.http_client_11.1.1.jar:/                                                                                                 u01/gc11g/OFM/oracle_common/modules/oracle.pki_11.1.1/oraclepki.jar:/u01/gc11g/O                                                                                                 FM/oracle_common/modules/oracle.osdt_11.1.1/osdt_cert.jar:/u01/gc11g/OFM/oracle_                                                                                                 common/modules/oracle.osdt_11.1.1/osdt_core.jar:/u01/gc11g/OFM/modules/com.bea.c                                                                                                 ore.apache.log4j_1.2.13.jar:/u01/gc11g/OFM/oracle_common/modules/oracle.jrf_11.1                                                                                                 .1/jrf-api.jar:/u01/gc11g/OFM/oracle_common/common/wlst/resources/jrf-wlst.jar:/                                                                                                 u01/gc11g/OFM/oracle_common/modules/oracle.odl_11.1.1/ojdl.jar:/u01/gc11g/OFM/or                                                                                                 acle_common/modules/oracle.odl_11.1.1/ojdl2.jar:/u01/gc11g/OFM/oracle_common/mod                                                                                                 ules/oracle.dms_11.1.1/dms.jar:/u01/gc11g/OFM/oracle_common/modules/oracle.dconf                                                                                                 ig-infra_11.1.1.jar:/u01/gc11g/OFM/oracle_common/modules/oracle.fabriccommon_11.                                                                                                 1.1/fabric-common.jar:/u01/gc11g/OFM/oracle_common/modules/oracle.xdk_11.1.0/xml                                                                                                 parserv2.jar:/u01/gc11g/OFM/oracle_common/modules/oracle.xdk_11.1.0/xml.jar:/u01                                                                                                 /gc11g/OFM/oracle_common/modules/oracle.wsm.common_11.1.1/wsm-pmlib.jar:/u01/gc1                                                                                                 1g/OFM/oracle_common/modules/oracle.wsm.common_11.1.1/wsm-policy-core.jar:/u01/g                                                                                                 c11g/OFM/oracle_common/modules/oracle.wsm.common_11.1.1/wsm-secpol.jar:/u01/gc11                                                                                                 g/OFM/oracle_common/modules/oracle.wsm.common_11.1.1/wsm-dependencies.jar:/u01/g                                                                                                 c11g/OFM/oracle_common/modules/oracle.wsm.policies_11.1.1/wsm-seed-policies.jar:                                                                                                 /u01/gc11g/OFM/oracle_common/modules/oracle.webservices_11.1.1/orawsdl.jar:/u01/                                                                                                 gc11g/OFM/oracle_common/modules/oracle.webservices_11.1.1/mdds.jar:/u01/gc11g/OF                                                                                                 M/oracle_common/modules/oracle.webservices_11.1.1/ws_confmbeans.jar:/u01/gc11g/O                                                                                                 FM/oracle_common/modules/org.apache.commons.digester_1.7.jar:/u01/gc11g/OFM/orac                                                                                                 le_common/../modules/javax.xml.bind_2.1.1.jar:/u01/gc11g/OFM/oracle_common/../mo                                                                                                 dules/javax.activation_1.1.jar:/u01/gc11g/OFM/oracle_common/../modules/javax.xml                                                                                                 .stream_1.1.1.0.jar:/u01/gc11g/OFM/oracle_common/modules/oracle.http_client_11.1                                                                                                 .1.jar:/u01/gc11g/OFM/oracle_common/modules/oracle.jmx_11.1.1/jmxframework.jar:/                                                                                                 u01/gc11g/OFM/oracle_common/modules/oracle.jmx_11.1.1/jmxspi.jar:/u01/gc11g/OFM/                                                                                                 oracle_common/modules/oracle.adf.dconfigbeans_11.1.1.jar:/u01/gc11g/OFM/oracle_c                                                                                                 ommon/modules/oracle.adf.share.ca_11.1.1/adf-share-base.jar:/u01/gc11g/OFM/oracl                                                                                                 e_common/modules/oracle.adf.share.ca_11.1.1/adf-share-ca.jar:/u01/gc11g/OFM/orac                                                                                                 le_common/modules/oracle.adf.share_11.1.1/adflogginghandler.jar:/u01/gc11g/OFM/o                                                                                                 racle_common/modules/oracle.adf.share_11.1.1/adfsharembean.jar:/u01/gc11g/OFM/or                                                                                                 acle_common/modules/oracle.adf.share_11.1.1/commons-el.jar:/u01/gc11g/OFM/oracle                                                                                                 _common/modules/oracle.adf.share_11.1.1/jsp-el-api.jar:/u01/gc11g/OFM/oracle_com                                                                                                 mon/modules/oracle.adf.share_11.1.1/oracle-el.jar:/u01/gc11g/OFM/oracle_common/c                                                                                                 ommon/wlst/resources/auditwlst.jar:/u01/gc11g/OFM/oracle_common/common/wlst/reso                                                                                                 urces/sslconfigwlst.jar:/u01/gc11g/OFM/oracle_common/common/wlst/resources/oamap                                                                                                 _help.jar:/u01/gc11g/OFM/oracle_common/common/wlst/resources/ossoiap_help.jar:/u                                                                                                 01/gc11g/OFM/oracle_common/common/wlst/resources/jps-wlst.jar:/u01/gc11g/OFM/ora                                                                                                 cle_common/modules/oracle.auditprovider_11.1.1/jps-wls-auditprovider.jar:/u01/gc                                                                                                 11g/OFM/oracle_common/modules/oracle.jps_11.1.1/jps-manifest.jar:/u01/gc11g/OFM/                                                                                                 oracle_common/modules/oracle.jps_11.1.1/jps-mbeans.jar:/u01/gc11g/OFM/oracle_com                                                                                                 mon/modules/oracle.jps_11.1.1/jps-upgrade.jar:/u01/gc11g/OFM/ora
oracle    1285  1229  0 09:03 ?        00:00:59 /u01/gc11g/jdk1.6.0_21/bin/java                                                                                                  -client -Xms2048m -Xmx4096m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxP                                                                                                 ermSize=512m -Dweblogic.Name=EMGC_ADMINSERVER -Djava.security.policy=/u01/gc11g/                                                                                                 OFM/wlserver_10.3/server/lib/weblogic.policy -Dweblogic.system.BootIdentityFile=                                                                                                 /u01/gc11g/gc_inst/user_projects/domains/GCDomain/servers/EMGC_ADMINSERVER/secur                                                                                                 ity/boot.properties -Dweblogic.nodemanager.ServiceEnabled=true -Djava.security.e                                                                                                 gd=file:///dev/urandom -Xverify:none -da -Dplatform.home=/u01/gc11g/OFM/wlserver                                                                                                 _10.3 -Dwls.home=/u01/gc11g/OFM/wlserver_10.3/server -Dweblogic.home=/u01/gc11g/                                                                                                 OFM/wlserver_10.3/server -Ddomain.home=/u01/gc11g/gc_inst/user_projects/domains/                                                                                                 GCDomain -Dcommon.components.home=/u01/gc11g/OFM/oracle_common -Djrf.version=11.                                                                                                 1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger                                                                                                  -Djrockit.optfile=/u01/gc11g/OFM/oracle_common/modules/oracle.jrf_11.1.1/jrocke                                                                                                 t_optfile.txt -Doracle.domain.config.dir=/u01/gc11g/gc_inst/user_projects/domain                                                                                                 s/GCDomain/config/fmwconfig -Doracle.server.config.dir=/u01/gc11g/gc_inst/user_p                                                                                                 rojects/domains/GCDomain/config/fmwconfig/servers/EMGC_ADMINSERVER -Doracle.secu                                                                                                 rity.jps.config=/u01/gc11g/gc_inst/user_projects/domains/GCDomain/config/fmwconf                                                                                                 ig/jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.ari                                                                                                 sidbeans.carmlloc=/u01/gc11g/gc_inst/user_projects/domains/GCDomain/config/fmwco                                                                                                 nfig/carml -Digf.arisidstack.home=/u01/gc11g/gc_inst/user_projects/domains/GCDom                                                                                                 ain/config/fmwconfig/arisidprovider -Dweblogic.alternateTypesDirectory=/u01/gc11                                                                                                 g/OFM/oracle_common/modules/oracle.ossoiap_11.1.1,/u01/gc11g/OFM/oracle_common/m                                                                                                 odules/oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Dweblogic.                                                                                                 management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsT                                                                                                 Console= -Dweblogic.ext.dirs=/u01/gc11g/OFM/patch_wls1032/profiles/default/syse                                                                                                 xt_manifest_classpath weblogic.Server
oracle    1444  1387  3 09:04 ?        00:04:00 /u01/gc11g/jdk1.6.0_21/bin/java                                                                                                  -client -Xms2048m -Xmx4096m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxP                                                                                                 ermSize=512m -Dweblogic.Name=EMGC_OMS1 -Djava.security.policy=/u01/gc11g/OFM/wls                                                                                                 erver_10.3/server/lib/weblogic.policy -Dweblogic.system.BootIdentityFile=/u01/gc                                                                                                 11g/gc_inst/user_projects/domains/GCDomain/servers/EMGC_OMS1/data/nodemanager/bo                                                                                                 ot.properties -Dweblogic.nodemanager.ServiceEnabled=true -Dweblogic.security.SSL                                                                                                 .ignoreHostnameVerification=true -Dweblogic.ReverseDNSAllowed=false -DINSTANCE_H                                                                                                 ME=/u01/gc11g/gc_inst/em/EMGC_OMS1 -DORACLE_HOME=/u01/gc11g/OFM/oms11g -Ddomain                                                                                                 .home=/u01/gc11g/gc_inst/user_projects/domains/GCDomain -Djava.awt.headless=true                                                                                                  -Ddomain.name=GCDomain -Docm.repeater.home=/u01/gc11g/OFM/oms11g -Djava.securit                                                                                                 y.egd=file:///dev/urandom -Xverify:none -da -Dplatform.home=/u01/gc11g/OFM/wlser                                                                                                 ver_10.3 -Dwls.home=/u01/gc11g/OFM/wlserver_10.3/server -Dweblogic.home=/u01/gc1                                                                                                 1g/OFM/wlserver_10.3/server -Ddomain.home=/u01/gc11g/gc_inst/user_projects/domai                                                                                                 ns/GCDomain -Dcommon.components.home=/u01/gc11g/OFM/oracle_common -Djrf.version=                                                                                                 11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Log                                                                                                 ger -Djrockit.optfile=/u01/gc11g/OFM/oracle_common/modules/oracle.jrf_11.1.1/jro                                                                                                 cket_optfile.txt -Doracle.domain.config.dir=/u01/gc11g/gc_inst/user_projects/dom                                                                                                 ains/GCDomain/config/fmwconfig -Doracle.server.config.dir=/u01/gc11g/gc_inst/use                                                                                                 r_projects/domains/GCDomain/config/fmwconfig/servers/EMGC_OMS1 -Doracle.security                                                                                                 .jps.config=/u01/gc11g/gc_inst/user_projects/domains/GCDomain/config/fmwconfig/j                                                                                                 ps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidb                                                                                                 eans.carmlloc=/u01/gc11g/gc_inst/user_projects/domains/GCDomain/config/fmwconfig                                                                                                 /carml -Digf.arisidstack.home=/u01/gc11g/gc_inst/user_projects/domains/GCDomain/                                                                                                 config/fmwconfig/arisidprovider -Dweblogic.alternateTypesDirectory=/u01/gc11g/OF                                                                                                 M/oracle_common/modules/oracle.ossoiap_11.1.1,/u01/gc11g/OFM/oracle_common/modul                                                                                                 es/oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Dweblogic.mana                                                                                                 gement.discover=false -Dweblogic.management.server=https://x2270m2-198045:7101 -                                                                                                 Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.d                                                                                                 irs=/u01/gc11g/OFM/patch_wls1032/profiles/default/sysext_manifest_classpath webl                                                                                                 ogic.Server
root     17253 17212  0 10:44 pts/3    00:00:00 grep java

You find three java PID
oracle    1177     1
oracle    1285  1229
oracle    1444  1387

Step #2: kill process using PID (process id)
[root@x2270m2-198045 ~]#
[root@x2270m2-198045 ~]# kill -9 1177
[root@x2270m2-198045 ~]# kill -9 1285
[root@x2270m2-198045 ~]# kill -9 1444

Step #3: Start Grid Control Agent
[root@x2270m2-198045 ~]# cd /etc/rc3.d
[root@x2270m2-198045 rc3.d]# ls S98*
S98avahi-daemon  S98gcstartup
[root@x2270m2-198045 rc3.d]# ./S98gcstartup start

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/25196159/viewspace-697461/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/25196159/viewspace-697461/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值