日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

OEM status|start|stop

發(fā)布時間:2025/3/14 编程问答 26 豆豆
生活随笔 收集整理的這篇文章主要介紹了 OEM status|start|stop 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

OEM一旦建立以后,LINUX的主機名(hosts)就不要去改變。

?

[oracle@redhat4 ~]$ emctl start dbconsole
OC4J Configuration issue. /u01/app/oracle/product/11.2.0/dbhome_1/oc4j/j2ee/OC4J_DBConsole_redhat4.7_ORCL not found.
[oracle@redhat4 ~]$ cd /u01/app/oracle/product/11.2.0/dbhome_1/oc4j/j2ee/
[oracle@redhat4 j2ee]$ ls -l
total 72
-rw-r--r--?? 1 oracle oinstall 1006 Oct? 6 16:20 deploy_db_wf.ini
drwxr-xr-x? 14 oracle oinstall 4096 Oct? 6 16:17 home
drwxr-xr-x?? 3 oracle oinstall 4096 Oct? 6 16:15 oc4j_applications
drwxr-x---?? 6 oracle oinstall 4096 Oct? 6 16:15 OC4J_DBConsole
drwxr-x---? 10 oracle oinstall 4096 Oct? 6 17:36 OC4J_DBConsole_redhat4.7_ora11g
drwxr-x---? 10 oracle oinstall 4096 Oct? 6 16:27 OC4J_DBConsole_redhat4.7_orcl
drwxr-xr-x?? 5 oracle oinstall 4096 Oct? 6 16:15 OC4J_Workflow_Component_Container
drwxr-xr-x?? 5 oracle oinstall 4096 Oct? 6 16:15 OC4J_Workflow_Management_Container
drwxr-xr-x?? 2 oracle oinstall 4096 Oct? 6 16:17 utilities
[oracle@redhat4 ~]$ vi .bash_profile

# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
??????? . ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH
unset USERNAME

export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
export ORACLE_SID=orcl
#export ORACLE_SID2=ora11g
export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK
export PATH=$PATH:$ORACLE_HOME/bin:.
export ORACLE_UNQNAME=$ORACLE_SID

[oracle@redhat4 ~]$ source .bash_profile
[oracle@redhat4 ~]$ emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation.? All rights reserved.
https://redhat4.7:1158/em/console/aboutApplication
Oracle Enterprise Manager 11g is running.
------------------------------------------------------------------
Logs are generated in directory /u01/app/oracle/product/11.2.0/dbhome_1/redhat4.7_orcl/sysman/log

[oracle@redhat4 ~]$ export ORACLE_SID=ora11g
[oracle@redhat4 ~]$ emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation.? All rights reserved.
https://redhat4.7:5500/em/console/aboutApplication
Oracle Enterprise Manager 11g is running.
------------------------------------------------------------------
Logs are generated in directory /u01/app/oracle/product/11.2.0/dbhome_1/redhat4.7_ora11g/sysman/log

?

https://redhat4.7:1158/em/

https://redhat4.7:5500/em/

[oracle@redhat4 ~]$ netstat -tulnp|grep 1158? #port
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp??????? 0????? 0 :::1158???????????????????? :::*??????????????????????? LISTEN????? 9936/java
[oracle@redhat4 ~]$ netstat -tulnp|grep 5500?? #port
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp??????? 0????? 0 :::5500???????????????????? :::*??????????????????????? LISTEN????? 22639/java


[oracle@redhat4 ~]$ w
21:06:10 up? 7:43,? 4 users,? load average: 0.05, 0.06, 0.07
USER???? TTY????? FROM????????????? LOGIN@?? IDLE?? JCPU?? PCPU WHAT
root???? 192.168. 192.168.10.1???? 13:28??? 0.00s? 0.00s? 0.13s /usr/bin/gnome-session
root???? :0?????? -??????????????? 14:22?? ?xdm?? 16:10?? 0.06s /usr/bin/gnome-session
root???? pts/1??? 192.168.10.1:0.0 19:40??? 4:25?? 0.07s? 0.07s -bash
root???? pts/2??? 192.168.10.1???? 20:59??? 0.00s? 0.00s? 0.00s w

轉(zhuǎn)載于:https://www.cnblogs.com/quanweiru/p/4928752.html

總結(jié)

以上是生活随笔為你收集整理的OEM status|start|stop的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。