免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
123
最近访问板块 发新帖
楼主: happymood
打印 上一主题 下一主题

dbconsole不能启动的问题 [复制链接]

论坛徽章:
0
21 [报告]
发表于 2008-07-18 11:52 |只看该作者
原帖由 fusm 于 2008-7-18 10:55 发表
不全是啊,你建库只是em这里报了错吧?
库建成了没?
如果库建成了,你可以不管em这边的问题,按照以上步骤重建sysman schema和em配置即可。

如果当前库还没建好,dbca还没跑完,你可以先不理会它,到命令 ...


oracle@test-oradb:~> emca -RMT_PORT 5520 -JMS_PORT 5540  -AGENT_PORT 1830  -DBCONSOLE_HTTP_PORT 5500

STARTED EMCA at Wed Jan 02 02:35:59 CST 2002
Enter the following information about the database to be configured
Listener port number:
Database SID:
Service name:

Email address for notification: beyond.jing@xxxx.com.tw
Email gateway for notification: 192.168.100.10
Password for dbsnmp:  
Password for sysman:  
Password for sys:  

-----------------------------------------------------------------

You have specified the following settings

Database ORACLE_HOME ................ /opt/oracle/product/10.2/db_1
Enterprise Manager ORACLE_HOME ................ /opt/oracle/product/10.2/db_1

Database host name ................ test-oradb.ggyy
Listener port number ................
Database SID ................
Service name ................

Email address for notification ............... beyond.jing@xxxx.com.tw
Email gateway for notification ............... 192.168.100.10
我按照你这样说操作了,上面红色的部分如何填写?

论坛徽章:
0
22 [报告]
发表于 2008-07-18 11:55 |只看该作者
原帖由 fusm 于 2008-7-18 10:55 发表
不全是啊,你建库只是em这里报了错吧?
库建成了没?
如果库建成了,你可以不管em这边的问题,按照以上步骤重建sysman schema和em配置即可。

如果当前库还没建好,dbca还没跑完,你可以先不理会它,到命令 ...

建库没有完成,只跑了80%就出错了,就就是dbca到80%,就报这个错误

论坛徽章:
0
23 [报告]
发表于 2008-07-18 12:03 |只看该作者
你的监听器怎么配的就怎么填啊。

论坛徽章:
0
24 [报告]
发表于 2008-07-18 16:12 |只看该作者
原帖由 fusm 于 2008-7-18 12:03 发表
你的监听器怎么配的就怎么填啊。


oracle@test-oradb:~> emca -RMT_PORT 5520 -JMS_PORT 5540  -AGENT_PORT 1830  -DBCONSOLE_HTTP_PORT 5500

STARTED EMCA at Wed Jan 02 06:55:50 CST 2002
Enter the following information about the database to be configured
Listener port number: 1521        
Database SID: erp
Service name: erp
Email address for notification:
Email gateway for notification:
Password for dbsnmp:  
Password for sysman:  
Password for sys:  

-----------------------------------------------------------------

You have specified the following settings

Database ORACLE_HOME ................ /opt/oracle/product/10.2/db_1
Enterprise Manager ORACLE_HOME ................ /opt/oracle/product/10.2/db_1

Database host name ................ test-oradb.ggyy
Listener port number ................ 1521
Database SID ................ erp
Service name ................ erp
Email address for notification ...............
Email gateway for notification ...............

-----------------------------------------------------------------
Do you wish to continue? [yes/no]: yes
DBConsole is already configured for the database erp
Would you like to re-configure DBConsole for the specified database? [yes/no]: yes   
Make sure that DBConsole has been shutdown
When you are ready to continue, press <Enter>

Jan 2, 2002 6:57:45 AM oracle.sysman.emcp.EMConfig checkConfiguration
WARNING: 'shared_pool_size' must be greater than or equal to 80 MB.

执行后,,然后就出现上面的提示,然后就死掉了样

论坛徽章:
0
25 [报告]
发表于 2008-07-18 17:00 |只看该作者
WARNING: 'shared_pool_size' must be greater than or equal to 80 MB.
你的shared pool给的内存不够啊,需要改大初始化参数shared_pool_size。

论坛徽章:
0
26 [报告]
发表于 2008-07-18 17:11 |只看该作者
原帖由 fusm 于 2008-7-18 17:00 发表
WARNING: 'shared_pool_size' must be greater than or equal to 80 MB.
你的shared pool给的内存不够啊,需要改大初始化参数shared_pool_size。

我記得我給的是95M哦

论坛徽章:
0
27 [报告]
发表于 2008-07-18 17:19 |只看该作者
原帖由 fusm 于 2008-7-18 17:00 发表
WARNING: 'shared_pool_size' must be greater than or equal to 80 MB.
你的shared pool给的内存不够啊,需要改大初始化参数shared_pool_size。


oracle@test-oradb:~/product/10.2/db_1/cfgtoollogs> emca -RMT_PORT 5520 -JMS_PORT 5540  -AGENT_PORT 1830  -DBCONSOLE_HTTP_PORT 5500

STARTED EMCA at Wed Jan 02 08:03:18 CST 2002
Enter the following information about the database to be configured
Listener port number: 1521
Database SID: oracle
Service name: oracle
Email address for notification:
Email gateway for notification:
Password for dbsnmp:  
Password for sysman:  
Password for sys:  

-----------------------------------------------------------------

You have specified the following settings

Database ORACLE_HOME ................ /opt/oracle/product/10.2/db_1
Enterprise Manager ORACLE_HOME ................ /opt/oracle/product/10.2/db_1

Database host name ................ test-oradb.ggyy
Listener port number ................ 1521
Database SID ................ oracle
Service name ................ oracle
Email address for notification ...............
Email gateway for notification ...............

-----------------------------------------------------------------
Do you wish to continue? [yes/no]: yes
DBConsole is already configured for the database oracle
Would you like to re-configure DBConsole for the specified database? [yes/no]: yes
Make sure that DBConsole has been shutdown那个配置界面我一直都没有关,不知道有影响没有,它说dbconsole要关闭
When you are ready to continue, press <Enter>

Jan 2, 2002 8:05:21 AM oracle.sysman.emcp.EMConfig checkConfiguration
SEVERE: Repository already exists.  Fix the error(s) and run EM Configuration Assistant again in standalone mode.
Could not complete the configuration. Refer to the log file for details
我re-dbca一个user为oracle,出现上面的提示,

[ 本帖最后由 happymood 于 2008-7-18 17:21 编辑 ]

论坛徽章:
0
28 [报告]
发表于 2008-07-18 21:50 |只看该作者
原帖由 happymood 于 2008-7-18 17:19 发表


oracle@test-oradb:~/product/10.2/db_1/cfgtoollogs> emca -RMT_PORT 5520 -JMS_PORT 5540  -AGENT_PORT 1830  -DBCONSOLE_HTTP_PORT 5500

STARTED EMCA at Wed Jan 02 08:03:18 CST 2002
Enter the f ...

Mar 2, 2005 6:20:42 PM oracle.sysman.emcp.EMConfig checkConfiguration
SEVERE: Repository already exists.  Fix the error(s) and run EM Configuration
Assistant aga\
in in standalone mode.
Could not complete the configuration. Refer to the log file for details

According to the doc, I can use a command line arg to force the use of
an existing repository.

I added a -r to the command line:

[oracle@royal wrinkle]$ $ORACLE_HOME/bin/emca -r -f
/home/oracle/wrinkle/emcaParams.txt

STARTED EMCA at Wed Mar 02 18:26:10 PST 2005
Password for dbsnmp: o
Password for sysman: o
Password for sys: o

Mar 2, 2005 6:26:15 PM oracle.sysman.emcp.EMConfig updateReposVars
INFO: Updating file
/oracle/product/10.1.0.3/db/sysman/emdrep/config/repository.variables .\
..
Mar 2, 2005 6:26:23 PM oracle.sysman.emcp.EMConfig addPortEntries
INFO: Updating file /oracle/product/10.1.0.3/db/install/portlist.ini ...
Mar 2, 2005 6:26:23 PM oracle.sysman.emcp.EMConfig updateEmdProps
INFO: Updating file /oracle/product/10.1.0.3/db/sysman/config/emd.properties ...
Mar 2, 2005 6:26:23 PM oracle.sysman.emcp.EMConfig updateConfigFiles
INFO: targets.xml file is updated successfully
Mar 2, 2005 6:26:23 PM oracle.sysman.emcp.EMConfig updateEmomsProps
INFO: Updating file /oracle/product/10.1.0.3/db/sysman/config/emoms.properties
...
Mar 2, 2005 6:26:23 PM oracle.sysman.emcp.EMConfig updateConfigFiles
INFO: emoms.properties file is updated successfully
Mar 2, 2005 6:26:26 PM oracle.sysman.emcp.EMConfig startOMS
INFO: Starting the DBConsole ...
Mar 2, 2005 6:28:06 PM oracle.sysman.emcp.EMConfig perform
INFO: DBConsole is started successfully
Mar 2, 2005 6:28:06 PM oracle.sysman.emcp.EMConfig perform
INFO: >>>>>>>>>>> The Enterprise Manager URL is
http://royal.wrinkle.com:5500/em <<<<<<<<<<<
Enterprise Manager configuration is completed successfully
FINISHED EMCA at Wed Mar 02 18:28:08 PST 2005
[oracle@royal wrinkle]$

Here are the contents of emcaParams.txt:

EM_HOME=/oracle/product/10.1.0.3/db
ORACLE_HOME=/oracle/product/10.1.0.3/db
PORT=1521
SID=dev
HOST=royal
DBSNMP_PWD=o
SYSMAN_PWD=o
来源:http://www.freelists.org/archives/oracle-l/03-2005/msg00095.html
不知道通过上面可以可以解决呢?我在google都search了,好像这个最靠谱

论坛徽章:
0
29 [报告]
发表于 2008-07-18 22:26 |只看该作者
原帖由 happymood 于 2008-7-18 21:50 发表

Mar 2, 2005 6:20:42 PM oracle.sysman.emcp.EMConfig checkConfiguration
SEVERE: Repository already exists.  Fix the error(s) and run EM Configuration
Assistant aga\
in in standalone mode.
Co ...

[oracle@royal wrinkle]$ $ORACLE_HOME/bin/emca -r -f
我这里只有bin这个目录,里面是空的,没有emca这个文件!
/home/oracle/wrinkle/emcaParams.txt

[oracle@royal wrinkle]$

论坛徽章:
0
30 [报告]
发表于 2008-07-21 08:08 |只看该作者
自己up一個,
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP