如http://localhost:5560/em或http://localhost:1158/em等等,为什么不一样,从哪里可以查出来他用的是哪个?

解决方案 »

  1.   

    1158 是OEM的
    5560 是sqlplus的。端口不一样。 端口也是自己指定的。 
    $ORACLE_HOME\INSTALL\portlist.iniiSQL*Plus HTTP 端口号 =5560
    Enterprise Manager Console HTTP 端口 (orcl10g) = 1158
    Enterprise Manager 代理端口 (orcl10g) = 3938
      

  2.   

    文件路径:$ORACLE_HOME\INSTALL\portlist.ini 
    $ORACLE_HOME就是你安装Oracle的目录
      

  3.   


    这是我的. 每个人的安装目录都可能不同..
    D:\oracle\product\10.2.0\db_1\install\portlist.ini
      

  4.   

    呵呵,找到了,还有个问题,为什么我用1158进老是同一个数据库,我新建了个数据库,但一用em就是orcl数据库。。以前是用ms server没这么复杂。
      

  5.   


    在window下不同的实例有不同的dbconsole的服务,你在你的服务列表里查查看,是不是有多个类似OracleDBConsoleXXXX这样的服务,这里的XXX就是和你的实例名对应的。
      

  6.   

    iSQL*Plus HTTP 端口号 =5560
    Enterprise Manager Console HTTP 端口 (orcl) = 1158
    Enterprise Manager 代理端口 (orcl) = 3938Enterprise Manager Console HTTP 端口 (test) = 1159
    Enterprise Manager 代理端口 (test) = 3940
    那我在portlist.ini是否要这样配置?
      

  7.   


    还要确定你这个指定的SID的dbconsole的服务启动了没有,要启动了这个SID才能提供http的服务,才能访问的。
      

  8.   

    偶的就是两个数据库:orcl,smry。portlist.ini文件内容如下:
    iSQL*Plus HTTP 端口号 =5560
    Enterprise Manager Console HTTP 端口 (orcl) = 1158
    Enterprise Manager 代理端口 (orcl) = 3938
    Enterprise Manager Console HTTP 端口 (smry) = 5500
    Enterprise Manager 代理端口 (smry) = 1830打开服务,就可以分别访问两个数据库
    http://localhost:5500/em/console/logon/logon
    http://localhost:1158/em/console/logon/logon
      

  9.   

    补充:这个访问isqlplus
    http://localhost:5560/isqlplus/打开网址后:需要输入* 用户名       system
    * 口令         ****
      连接标识符    smry
    或者
    * 用户名       system
    * 口令         ****
      连接标识符   orcl