BIEE安装及启动错误的处理(rhel5&hpux)

<?xml:namespace prefix = o />

BIEE RHEL5平台(x86

BIEE HPUX 11IV1

快速安装手册

作者: 齐琨

文档创建日期: <?xml:namespace prefix = st1 /><chsdate isrocdate="False" islunardate="False" day="21" month="3" year="2008" w:st="on">2008-03-21</chsdate>

最后更新日期: <chsdate isrocdate="False" islunardate="False" day="21" month="3" year="2008" w:st="on">2008-03-21</chsdate>

系统环境

Linux Test240 <chsdate isrocdate="False" islunardate="False" day="30" month="12" year="1899" w:st="on">2.6.18</chsdate>-8.el5 #1 SMP Fri Jan 26 14:15:14 EST 2007 x86_64 x86_64 x86_64 GNU/Linux

BIEE版本:biee_linux_x86_redhat_101332

Oracle版本:10gR2

安装前准备

n 创建用户 oraclebi/oraclebi,分配组为dba组。使用bash

n 安装JDK1.5,在java.sun.com下载jdk-1_5_0_15-linux-i586.bin,将文件传到/home/oraclebi目录下,赋予执行权限 ,执行bin文件,系统自动解压

$ chmod +x jdk-1_5_0_15-linux-i586.bin

$ ./ jdk-1_5_0_15-linux-i586.bin

n 编辑.bash_profile文件,将java路径放到最前。重新登录,检查。

$ java –version

java version "<chsdate isrocdate="False" islunardate="False" day="30" month="12" year="1899" w:st="on">1.5.0</chsdate>_15"

Java(TM) 2 Runtime Environment, Standard Edition (build <chsdate isrocdate="False" islunardate="False" day="30" month="12" year="1899" w:st="on">1.5.0</chsdate>_15-b04)

Java HotSpot(TM) Server VM (build <chsdate isrocdate="False" islunardate="False" day="30" month="12" year="1899" w:st="on">1.5.0</chsdate>_15-b04, mixed mode)

n 安装Oracle Client软件

具体安装步骤参考相应文档。

/u01/app/oracle目录下。

n 设置环境变量.bash_profileHPUX下的环境变量设置见.profile文件

$ vi .bash_profile

JAVA_HOME=/home/oraclebi/jdk<chsdate isrocdate="False" islunardate="False" day="30" month="12" year="1899" w:st="on">1.5.0</chsdate>_15

ORACLE_BASE=/u01/app/oracle

ORACLE_HOME=$ORACLE_BASE/oracle/product/<chsdate isrocdate="False" islunardate="False" day="30" month="12" year="1899" w:st="on">10.2.0</chsdate>/db_1

ORACLEBI_HOME=/usr/local/OracleBI

ORACLE_SID=orcl

NLS_LANG="Simplified Chinese_china".ZHS16GBK

PATH=$ORACLE_HOME/bin:/home/oraclebi/jdk<chsdate isrocdate="False" islunardate="False" day="30" month="12" year="1899" w:st="on">1.5.0</chsdate>_15/bin:$PATH:$HOME/bin

DISPLAY=192.168.2.17:0.0 #设置连接到X服务的IP地址

export ORACLE_SID

export ORACLE_BASE

export ORACLE_HOME

export ORACLEBI_HOME

export JAVA_HOME

export PATH

export DISPLAY

如果以 root 身份在 Solaris Linux 平台上安装,有时安装程序无法在 GUI 模式下正常启动,会出现以下消息:

The installer is unable to run in graphical mode.Try running the installer with the -console or -silent flag

如果未设置 DISPLAY 变量,则即使在本地计算机上运行安装程序也会出现此消息。

解决方案:如果在本地计算机上运行,请确保将 DISPLAY 变量设置为 :0.0

n 修改ulimit限制

$ ulimit –n unlimited

查看当前设置

$ ulimit

Unlimited

n 上传安装文件/home/oraclebi/bisetup解压

$cpio –idvm < biee_linux_x86_redhat_101332_disk1.cpio

n 进入目录,执行UnixChk.sh,我这里执行报错,

CHECK FAILED - ulimit -n should be at least 10240 or unlimited

但实际查看ulimit是设置为unlimited的,继续安装。

n 创建目录/usr/local/OracleBI/usr/local/OracleBIData

修改所有者和组

# mkdir /usr/local/OracleBI

# mkdir /usr/local/OracleBIData

$ chown oraclebi:users /usr/local/OracleBI

$ chown oraclebi:users /usr/local/OracleBIData

安装步骤

n 执行./setup.sh开始安装

<?xml:namespace prefix = v /><shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"><stroke joinstyle="miter"></stroke><formulas><f eqn="if lineDrawn pixelLineWidth 0"></f><f eqn="sum @0 1 0"></f><f eqn="sum 0 0 @1"></f><f eqn="prod @2 1 2"></f><f eqn="prod @3 21600 pixelWidth"></f><f eqn="prod @3 21600 pixelHeight"></f><f eqn="sum @0 0 1"></f><f eqn="prod @6 1 2"></f><f eqn="prod @7 21600 pixelWidth"></f><f eqn="sum @8 21600 0"></f><f eqn="prod @7 21600 pixelHeight"></f><f eqn="sum @10 21600 0"></f></formulas><path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"></path><lock v:ext="edit" aspectratio="t"></lock></shapetype><shape id="_x0000_i1025" style="WIDTH: 414.75pt; HEIGHT: 323.25pt" type="#_x0000_t75"><imagedata src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image001.png" o:title=""></imagedata></shape>

n 下一步,选择路径需要注意,

<shape id="_x0000_i1026" style="WIDTH: 414.75pt; HEIGHT: 323.25pt" type="#_x0000_t75"><imagedata src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image003.png" o:title=""><font size="3"></font></imagedata></shape>

n 选择基本安装,如果选择高级安装则需要先安装好application server,点击下一步

<shape id="_x0000_i1027" style="WIDTH: 414.75pt; HEIGHT: 323.25pt" type="#_x0000_t75"><imagedata src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image005.png" o:title=""><font size="3"></font></imagedata></shape>

n 选择完全安装,点击下一步

<shape id="_x0000_i1029" style="WIDTH: 414.75pt; HEIGHT: 323.25pt" type="#_x0000_t75"><imagedata src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image007.png" o:title=""><font size="3"></font></imagedata></shape>

n 选择JAVA_HOME/home/oraclebi/jdk<chsdate isrocdate="False" islunardate="False" day="30" month="12" year="1899" w:st="on">1.5.0</chsdate>_15

输入OC4J管理员的密码,这里输入oc4jadmin与用户名相同

点击下一步

<shape id="_x0000_i1030" style="WIDTH: 414.75pt; HEIGHT: 323.25pt" type="#_x0000_t75"><imagedata src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image009.png" o:title=""><font size="3"></font></imagedata></shape>

n 选择错误信息的提示语言,这里选择英文这会影响NQSServer.log的显示,点击下一步

<shape id="_x0000_i1031" style="WIDTH: 414.75pt; HEIGHT: 323.25pt" type="#_x0000_t75"><imagedata src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image011.png" o:title=""><font size="3"></font></imagedata></shape>

n 安装信息汇总提示,点击下一步,开始安装

<shape id="_x0000_i1032" style="WIDTH: 414.75pt; HEIGHT: 323.25pt" type="#_x0000_t75"><imagedata src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image013.png" o:title=""><font size="3"></font></imagedata></shape>

n 安装进度条会突然跳到100%,但是并不意味着安装完成,要等一段时间后进入下一截面才算安装完成。

<shape id="_x0000_i1033" style="WIDTH: 414.75pt; HEIGHT: 323.25pt" type="#_x0000_t75"><imagedata src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image015.png" o:title=""><font size="3"></font></imagedata></shape>

n 提示一些关于oc4j的信息

<shape id="_x0000_i1034" style="WIDTH: 414.75pt; HEIGHT: 323.25pt" type="#_x0000_t75"><imagedata src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image017.png" o:title=""><font size="3"></font></imagedata></shape>

安装后工作

n 修改user.sh,取消相应段的注释。

###############################################################

# Linux: Oracle BI 32 bit mode

################################################################

set +u

# Oracle Parameters

#---------------------------

# Make sure that Oracle DB 32 bit Client is installed

ORACLE_HOME=/u01/app/oracle/oracle/product/<chsdate isrocdate="False" islunardate="False" day="30" month="12" year="1899" w:st="on">10.2.0</chsdate>/db_1

export ORACLE_HOME

TNS_ADMIN=$ORACLE_HOME/network/admin

export TNS_ADMIN

PATH=$ORACLE_HOME/bin:/opt/bin:$PATH

export PATH

LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH

export LD_LIBRARY_PATH

n 检查BI 进程是否能正常启动

Oracle Business Intelligence Server process.(run-sa.sh)

Oracle Business Intelligence Presentation Services process.(run-saw.sh)

Oracle Business Intelligence Javahost process.(run-saw.sh)

Oracle Business Intelligence Scheduler process.(run-sch.sh)

Oracle Business Intelligence Cluster Controller.(run-ccs.sh)

./run-sa.sh start

./run-saw.sh start

./run-sch.sh start

./oc4j –start

停止oc4j

./oc4j –shutdown –port 23791 –password oc4jadmin

后台运行oc4j脚本

$ nohup ./oc4j –start > /tmp/a.log &

$ tail –f /tmp/a.log

n 验证

http://192.168.131.240:9704/analytics 登录,administrator/administrator

如果能正常显示则说明安装成功。

<shape id="_x0000_i1028" style="WIDTH: 414.75pt; HEIGHT: 323.25pt" type="#_x0000_t75"><imagedata src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image019.png" o:title=""><font size="3"></font></imagedata></shape>

Unix下配置Scheduler的过程和出现的问题

n 创建数据库用户S_NQ_SCHED/S_NQ_SCHED

n sqlplus连接到用户下,执行SQL语句,$ORACLEBI_HOME/server/Schema/SAJOBS.Oracle.sqlSAACCT.Oracle.sql

n 提示DSN的错误,需要修改odbc.ini

增加一个DSN的设置,

配置管理员名字和管理员密码,与rpd的一致

odbc.ini文件的内容

[ODBC Data Sources]

AnalyticsWeb=Oracle BI Server

Cluster=Oracle BI Server

SSL_Sample=Oracle BI Server

131.240=libnqsdbgatewayoci<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="10" unitname="g">10g</chmetcnv>.so

[131.240]

Driver=/usr/local/OracleBI/server/Bin/libnqsdbgatewayoci<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="10" unitname="g">10g</chmetcnv>.so

Description=test data source

ServerMachine=192.168.131.240

DBCName=192.168.131.240

Username=S_NQ_SCHED

Password=S_NQ_SCHED

Database=orcl

DefaultDatabase=orcl

$. sa-init.sh

$schconfig

database中配置DNS131.240

你可能感兴趣的:(jdk,oracle,linux,SQL Server,F#)