楼主: bobmwang

10gAS 包含的database和10g database 的区别

[复制链接]
论坛徽章:
0
11#
 楼主| 发表于 2005-4-19 16:55 | 只看该作者
to jyj:
安装完成的AS有自带的数据库,可以直接用

=---------

自带的数据库和独立安装的数据库没有区别吗?可以一样使用?那就太好了!
另外装AS infrastructure 后,再安装portal发现两者有些服务是重复的,并且安装时都要写/usr/bin
,会相互覆盖,所以不清楚两者如何共存在一台机器上,请指教!!!

使用道具 举报

回复
论坛徽章:
4
操作系统板块每日发贴之星
日期:2005-04-19 01:01:46授权会员
日期:2005-10-30 17:05:33管理团队2006纪念徽章
日期:2006-04-16 22:44:45会员2006贡献徽章
日期:2006-04-17 13:46:34
12#
发表于 2005-4-20 12:49 | 只看该作者
最初由 bobmwang 发布
[B]

.......
另外装AS infrastructure 后,再安装portal发现两者有些服务是重复的,并且安装时都要写/usr/bin
,会相互覆盖,所以不清楚两者如何共存在一台机器上,请指教!!! [/B]


right, some services, like http, oc4j, are included
by all instances. But  when other instances are
installed in the same host as infra, they will be configured to use other ports.

For, example, if infra use 1810 and 7777,  portal
instance will use 1811 and 7778.

使用道具 举报

回复
论坛徽章:
0
13#
 楼主| 发表于 2005-4-20 17:32 | 只看该作者
when I installed portal on the infrastrue host( fedora 3 x86_64),I found the portal can't start up.and the port were configured automaticly,port 1810 and 7777 can be accessed but 1811 is not, and 7778 is also can be accessed. my sequence to start is :
startup db   : in sqlpluse > starupdb
startup listener : >lsnrctl start
startup infrastructure  :infrastrure_home/opmn/bin/opmnctl startall     ;emctl start iasconsole
start portal                : portal_home/opmn/bin/opmnctl startall               ; emctl start iasconsole

.............I am not sure about how to start up them in a correct order and with correct command, use a bash
script is a good idea, will you give me some advise?

使用道具 举报

回复
论坛徽章:
4
操作系统板块每日发贴之星
日期:2005-04-19 01:01:46授权会员
日期:2005-10-30 17:05:33管理团队2006纪念徽章
日期:2006-04-16 22:44:45会员2006贡献徽章
日期:2006-04-17 13:46:34
14#
发表于 2005-4-21 03:58 | 只看该作者
最初由 bobmwang 发布
[B]when I installed portal on the infrastrue host( fedora 3 x86_64),I found the portal can't start up.and the port were configured automaticly,port 1810 and 7777 can be accessed but 1811 is not, and 7778 is also can be accessed. my sequence to start is :
startup db   : in sqlpluse > starupdb
startup listener : >lsnrctl start
[/B]


here I suppose u have setup ORACLE_HOME

[B]
startup infrastructure  :infrastrure_home/opmn/bin/opmnctl startall     ;emctl start iasconsole

[/B]


doesn't effect starting up infra becuase of
same ORACLE_HOME

[B]
start portal                : portal_home/opmn/bin/opmnctl startall               ; emctl start iasconsole
.....
[/B]


try to re-define ORACLE_HOME or unset
it , to see what happens.


BTW, if u have  problem, it's much helpful
to post the error msg. Thanks!

使用道具 举报

回复
论坛徽章:
0
15#
 楼主| 发表于 2005-4-21 09:01 | 只看该作者
below is my oracle profile:
$> cat /home/oracle/.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
ORACLE_BASE=/oracle/App;export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/Ashome;export ORACLE_HOME
ORACLE_PORTAL_HOME=$ORACLE_BASE/OraHomePortal; export ORACLE_PORTAL_HOME
ORACLE_SID=orcl10g;export ORACLE_SID
PATH=$PATH:$ORACLE_HOME/bin:$ORACLE_PORTAL_HOME/bin
export PATH

-------------------------------cat end----------------
I run the command with a complete path because I think in this way will avoid invalid AS startuping order, as you know there are duplicated commands in infra_home and portal_home,and thery are exported to the path.
The other question ,there are two Oracle Applicagtion Server ,one is with Infrastructure and the other is with Portal, and one emctl comands in each home bin, so which one I should use? the OAS of portal show
the entry of infrastructure ,but OAS with infra there is no entry for Portal.
There is one strange thing ,when I run 'opmnctl startll' , in infra_hjome it's responsed quickly ,however in portal_home ,it is runing slowly, Is there some difference with the command in two home?

I just tried  to run the commands I post yesterday, I found  1811,1810 ,7777,7778 are available to access.
but in infrastructure OEM the general status is down while http_server and oc4j_security ,oid are up,why?
in portal OEM I found the general status is down too,but ecept Portalortal all other services is up, how can I startup the Portalotal?
Last night I had a quick reading through the Oracle@ Application Server Portal Configuration Guide for OTN, but still no idea about the troulle shooting.
Now I think the trouble focus on how to start the Portaloral and how to avoid duplicated services eating up my RAM memory.

使用道具 举报

回复
论坛徽章:
0
16#
 楼主| 发表于 2005-4-21 09:07 | 只看该作者
I don't know why the charactor 'p' hase been translated into a naughty face icon above.
PpP

使用道具 举报

回复
论坛徽章:
0
17#
 楼主| 发表于 2005-4-21 09:30 | 只看该作者

My erro logs

[Thu Apr 21 08:27:56 2005] [notice] FastCGI: process manager initialized (pid 6583)
[Thu Apr 21 08:27:57 2005] [notice] Oracle-Application-Server-10g/10.1.2.0.0 Oracle-HTTP-Server configured -
- resuming normal operations
[Thu Apr 21 08:27:57 2005] [notice] Accept mutex: fcntl (Default: sysvsem)
[Thu Apr 21 08:27:58 2005] [notice] FastCGI: process manager initialized (pid 6612)
[Thu Apr 21 08:27:59 2005] [notice] Oracle-Application-Server-10g/10.1.2.0.0 Oracle-HTTP-Server configured -
- resuming normal operations
[Thu Apr 21 08:27:59 2005] [notice] Accept mutex: fcntl (Default: sysvsem)
[Thu Apr 21 08:27:59 2005] [warn] long lost child came home! (pid 6584)
[Thu Apr 21 08:30:15 2005] [warn] [client 10.12.39.18] [ecid: 75628568254,1] MOD_OC4J_0184: Failed to find a
n oc4j process for destination: OC4J_Portal
[Thu Apr 21 08:30:15 2005] [error] [client 10.12.39.18] [ecid: 75628568254,1] MOD_OC4J_0145: There is no oc4
j process (for destination: OC4J_Portal) available to service request.
[Thu Apr 21 08:30:15 2005] [error] [client 10.12.39.18] [ecid: 75628568254,1] MOD_OC4J_0119: Failed to get a
n oc4j process for destination: OC4J_Portal
[Thu Apr 21 08:30:15 2005] [error] [client 10.12.39.18] [ecid: 75628568254,1] MOD_OC4J_0013: Failed to call
destination: OC4J_Portal's service() to service the request.
[Thu Apr 21 08:30:16 2005] [notice] child pid 6623 exit signal Segmentation fault (11)
[Thu Apr 21 08:30:29 2005] [notice] child pid 6626 exit signal Segmentation fault (11)
[Thu Apr 21 08:31:15 2005] [notice] child pid 6992 exit signal Segmentation fault (11)
[Thu Apr 21 08:32:30 2005] [warn] [client 10.12.39.18] [ecid: 75628706195,1] MOD_OC4J_0184: Failed to find a
n oc4j process for destination: OC4J_Portal
[Thu Apr 21 08:32:30 2005] [error] [client 10.12.39.18] [ecid: 75628706195,1] MOD_OC4J_0145: There is no oc44j process for destination: OC4J_Portal
[Thu Apr 21 08:32:30 2005] [error] [client 10.12.39.18] [ecid: 75628706195,1] MOD_OC4J_0013: Failed to call
destination: OC4J_Portal's service() to service the request.
[Thu Apr 21 08:32:31 2005] [notice] child pid 6629 exit signal Segmentation fault (11)
[Thu Apr 21 08:36:15 2005] [notice] child pid 7282 exit signal Segmentation fault (11)
[Thu Apr 21 08:37:11 2005] [notice] child pid 6635 exit signal Segmentation fault (11)
[Thu Apr 21 08:37:31 2005] [notice] child pid 7253 exit signal Segmentation fault (11)
[Thu Apr 21 08:38:58 2005] [error] [client 10.12.39.18] [ecid: 84219037868,1] File does not exist: /oracle/A
pp/OraHomePortal/Apache/Apache/htdocs/favicon.ico
[Thu Apr 21 08:39:09 2005] [error] [client 10.12.39.18] [ecid: 75629114993,1] File does not exist: /oracle/A
pp/OraHomePortal/Apache/Apache/htdocs/favicon.ico
[Thu Apr 21 08:39:10 2005] [notice] child pid 6666 exit signal Segmentation fault (11)
[Thu Apr 21 08:39:23 2005] [error] [client 10.12.39.18] [ecid: 75629129630,1] File does not exist: /oracle/A
pp/OraHomePortal/Apache/Apache/htdocs/favicon.ico
[Thu Apr 21 08:40:29 2005] [notice] child pid 6988 exit signal Segmentation fault (11)
[Thu Apr 21 08:41:15 2005] [notice] child pid 8175 exit signal Segmentation fault (11)
[Thu Apr 21 08:42:04 2005] [notice] child pid 8270 exit signal Segmentation fault (11)
[Thu Apr 21 08:42:31 2005] [notice] child pid 9080 exit signal Segmentation fault (11)
[Thu Apr 21 08:42:59 2005] [notice] child pid 6862 exit signal Segmentation fault (11)
[Thu Apr 21 08:46:15 2005] [notice] child pid 8605 exit signal Segmentation fault (11)
[Thu Apr 21 08:47:31 2005] [notice] child pid 9086 exit signal Segmentation fault (11)
[Thu Apr 21 08:48:34 2005] [notice] child pid 9927 exit signal Segmentation fault (11)
[Thu Apr 21 08:51:15 2005] [notice] child pid 9921 exit signal Segmentation fault (11)
[Thu Apr 21 08:52:31 2005] [notice] child pid 9624 exit signal Segmentation fault (11)
[Thu Apr 21 08:53:35 2005] [notice] child pid 9924 exit signal Segmentation fault (11)
[Thu Apr 21 08:53:35 2005] [notice] child pid 10607 exit signal Segmentation fault (11)
[Thu Apr 21 08:53:36 2005] [notice] child pid 9083 exit signal Segmentation fault (11)
[Thu Apr 21 08:53:36 2005] [notice] child pid 10610 exit signal Segmentation fault (11)
[Thu Apr 21 08:56:15 2005] [notice] child pid 10821 exit signal Segmentation fault (11)
[Thu Apr 21 08:57:31 2005] [notice] child pid 10801 exit signal Segmentation fault (11)
[Thu Apr 21 09:00:29 2005] [notice] child pid 10604 exit signal Segmentation fault (11)
[Thu Apr 21 09:01:15 2005] [notice] child pid 10807 exit signal Segmentation fault (11)
[Thu Apr 21 09:02:31 2005] [notice] child pid 11254 exit signal Segmentation fault (11)
[Thu Apr 21 09:05:22 2005] [notice] child pid 10575 exit signal Segmentation fault (11)
[Thu Apr 21 09:05:23 2005] [notice] FastCGI: process manager initialized (pid 12870)
[Thu Apr 21 09:05:24 2005] [notice] Oracle-Application-Server-10g/10.1.2.0.0 Oracle-HTTP-Server configured -
- resuming normal operations
[Thu Apr 21 09:05:24 2005] [notice] Accept mutex: fcntl (Default: sysvsem)
[Thu Apr 21 09:05:24 2005] [warn] long lost child came home! (pid 6613)
[Thu Apr 21 09:06:15 2005] [notice] child pid 12936 exit signal Segmentation fault (11)
[Thu Apr 21 09:06:36 2005] [notice] child pid 12915 exit signal Segmentation fault (11)
[Thu Apr 21 09:07:30 2005] [notice] child pid 12918 exit signal Segmentation fault (11)
[Thu Apr 21 09:10:29 2005] [notice] child pid 12909 exit signal Segmentation fault (11)
[Thu Apr 21 09:11:14 2005] [notice] child pid 12944 exit signal Segmentation fault (11)
[Thu Apr 21 09:12:31 2005] [notice] child pid 13712 exit signal Segmentation fault (11)
[Thu Apr 21 09:05:24 2005] [notice] Accept mutex: fcntl (Default: sysvsem)
[Thu Apr 21 09:05:24 2005] [warn] long lost child came home! (pid 6613)
[Thu Apr 21 09:06:15 2005] [notice] child pid 12936 exit signal Segmentation fault (11)
[Thu Apr 21 09:06:36 2005] [notice] child pid 12915 exit signal Segmentation fault (11)
[Thu Apr 21 09:07:30 2005] [notice] child pid 12918 exit signal Segmentation fault (11)
[Thu Apr 21 09:10:29 2005] [notice] child pid 12909 exit signal Segmentation fault (11)
[Thu Apr 21 09:11:14 2005] [notice] child pid 12944 exit signal Segmentation fault (11)
[Thu Apr 21 09:12:31 2005] [notice] child pid 13712 exit signal Segmentation fault (11)
[Thu Apr 21 09:16:15 2005] [notice] child pid 14376 exit signal Segmentation fault (11)
[Thu Apr 21 09:17:31 2005] [notice] child pid 13519 exit signal Segmentation fault (11)
[Thu Apr 21 09:20:29 2005] [notice] child pid 13752 exit signal Segmentation fault (11)
[Thu Apr 21 09:21:15 2005] [notice] child pid 13547 exit signal Segmentation fault (11)
[Thu Apr 21 09:21:20 2005] [notice] child pid 12921 exit signal Segmentation fault (11)
[Thu Apr 21 09:21:25 2005] [notice] child pid 12912 exit signal Segmentation fault (11)
[Thu Apr 21 09:21:25 2005] [notice] child pid 14975 exit signal Segmentation fault (11)
[Thu Apr 21 09:21:27 2005] [notice] child pid 13709 exit signal Segmentation fault (11)
[Thu Apr 21 09:21:27 2005] [notice] child pid 14972 exit signal Segmentation fault (11)
[Thu Apr 21 09:22:31 2005] [notice] child pid 15512 exit signal Segmentation fault (11)
[Thu Apr 21 09:26:15 2005] [notice] child pid 15464 exit signal Segmentation fault (11)
[Thu Apr 21 09:27:31 2005] [notice] child pid 15503 exit signal Segmentation fault (11)
[Thu Apr 21 09:30:29 2005] [notice] child pid 16249 exit signal Segmentation fault (11)
[Thu Apr 21 09:31:01 2005] [notice] child pid 15509 exit signal Segmentation fault (11)
[Thu Apr 21 09:31:04 2005] [notice] child pid 15482 exit signal Segmentation fault (11)



:

使用道具 举报

回复
论坛徽章:
4
操作系统板块每日发贴之星
日期:2005-04-19 01:01:46授权会员
日期:2005-10-30 17:05:33管理团队2006纪念徽章
日期:2006-04-16 22:44:45会员2006贡献徽章
日期:2006-04-17 13:46:34
18#
发表于 2005-4-21 09:46 | 只看该作者
you need to use emctl  in both infra and portal, one will use 1810, and another use 1811.

You'd better check metalink why there are segmentation fault.

使用道具 举报

回复
论坛徽章:
0
19#
 楼主| 发表于 2005-4-21 13:22 | 只看该作者
Thank you!
But how to check metalink?

使用道具 举报

回复
论坛徽章:
1
授权会员
日期:2005-10-30 17:05:33
20#
发表于 2005-6-2 16:17 | 只看该作者
樓頂的兄弟,不要聽他們這些人講,自己看文檔會好些..
我把這個問題澄清一下:

10gAS包涵的database是一個數據庫,它擁有midddle-tier所必需的schema.
除此之外沒有任何的不同和和10g database.

專家建議infrastracture 和middle-tier最好裝在不同的host 上,當然你裝在同一個host 上也沒有任何問題.

使用道具 举报

回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 未成年人举报专区 
京ICP备16024965号-8  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表