- 论坛徽章:
- 0
|
为测试cacti监控数据库的功能,通过silent安装了oracle 10.2.0.1.0,但是没有安装EM。
然后下载Linux_x86_64_Grid_Control_agent_download_10_2_0_4_0.zip,接着使用silent方式安装,安装过程中报错,google搜索一天,无相关解决方法,特来求助
错误提示:
Analyzing dependencies
.................................................................Please check '/home/oracle/oraInventory/logs/silentInstall2009-12-16_11-51-41AM.log' for more details.
silentInstall2009-12-16_11-51-41AM.log 内容
*** Error Dialog: An error occurred during the interview for this component: Oracle Management Agent 10.2.0.4.0 . The Management Service host name cannot be null. ***
User Selected: S&top installation of this component only.
The Management Service host name cannot be null.
This silent installation was unsuccessful.
hosts内容
127.0.0.1 localhost.localdomain localhost
192.168.1.253 zt-188-205.localdomain zt-188-205
192.168.1.50 zt-188-206.localdomain zt-188-206
安装命令行
./runInstaller -silent -responseFile=/home/oracle/grid_control_agent/linux_x64/response/additional_agent.rsp
additional_agent.rsp内容
RESPONSEFILE_VERSION=2.2.1.0.0
UNIX_GROUP_NAME="oinstall"
FROM_LOCATION="/home/oracle/grid_control_agent/linux_x64/agent/stage/products.xml"
BASEDIR="/home/oracle/product/10.2.0/db_1"
b_upgrade=false
SHOW_WELCOME_PAGE=false
SHOW_NODE_SELECTION_PAGE=false
SHOW_CUSTOM_TREE_PAGE=false
SHOW_COMPONENT_LOCATIONS_PAGE=false
SHOW_SUMMARY_PAGE=false
SHOW_INSTALL_PROGRESS_PAGE=false
SHOW_REQUIRED_CONFIG_TOOL_PAGE=false
SHOW_CONFIG_TOOL_PAGE=false
SHOW_RELEASE_NOTES=false
SHOW_ROOTSH_CONFIRMATION=false
SHOW_END_SESSION_PAGE=false
SHOW_EXIT_CONFIRMATION=false
NEXT_SESSION=false
NEXT_SESSION_ON_FAIL=false
DEINSTALL_LIST={"oracle.sysman.top.agent","10.2.0.4.0"}
SHOW_DEINSTALL_CONFIRMATION=false
SHOW_DEINSTALL_PROGRESS=false
b_silentInstall=true
b_doAgentConfig=true
SHOW_XML_PREREQ_PAGE=false
SHOW_END_OF_INSTALL_MSGS=false
ACCEPT_LICENSE_AGREEMENT=true
TOPLEVEL_COMPONENT={"oracle.sysman.top.agent","10.2.0.4.0"}
SHOW_SPLASH_SCREEN=false
SELECTED_LANGUAGES={"en"}
COMPONENT_LANGUAGES={"en"}
sl_OMSConnectInfo=("zt-188-206","4889" 这里我指定了一个不存在的EM服务器及端口
s_agentServiceName="GridAgent"
oracle用户环境
ISTENER_NAME=orcl
HOSTNAME=zt-188-205
SHELL=/bin/bash
TERM=xterm
HISTSIZE=1000
TMPDIR=/tmp
NLS_LANG=american_america.al32utf8
ORACLE_DOC=/home/oracle/product/10.2.0/db_1/doc
USER=oracle
TEMP=/tmp
LD_LIBRARY_PATH=/home/oracle/product/10.2.0/db_1/lib32:/home/oracle/product/10.2.0/db_1/lib:
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01 r=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
ORA_NLS10=/home/oracle/product/10.2.0/db_1/nls/data
ORACLE_SID=orcl
ORACLE_BASE=/home/oracle
TNS_ADMIN=/home/oracle/admin/sqlnet
MAIL=/var/spool/mail/oracle
PATH=/home/oracle/product/10.2.0/db_1/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin
INPUTRC=/etc/inputrc
PWD=/home/oracle/grid_control_agent/linux_x64/agent
EDITOR=vi
LANG=en_US.UTF-8
SHLVL=1
HOME=/home/oracle
LOGNAME=oracle
CVS_RSH=ssh
LESSOPEN=|/usr/bin/lesspipe.sh %s
ORACLE_HOME=/home/oracle/product/10.2.0/db_1
G_BROKEN_FILENAMES=1
_=/bin/env
OLDPWD=/home/oracle
是不是目标服务器不与EM通讯,就不可以安装agent?
[ 本帖最后由 骡子先生 于 2009-12-16 11:55 编辑 ] |
|