前言:
本文针对Informatica在Linux Red Hat5.8上的安装过程中遇到的问题进行整理。
正文:
1. 产品安装过程中提示无法创建Domain([ICMD_10033] Command [defineDomain] failed with error [[INFASETUP_10002])
1)错误日志:
[ICMD_10033] Command [defineDomain] failed with error [[INFASETUP_10002] Cannot create the domain because of the following error: [OSGIWRAPPER_00001] Internal error. A repository internal error occurred: '[OSGIWRAPPER_00003] Internal error. A repository internal error occurred while installing the bundle from the following location: '/opt/infa/Informatica/9.6.1/plugins/dynamic/com.informatica.adapter.teradata.connection.modelRegistration_1.0.0.jar': 'An error occurred trying to read the bundle'. Contact Informatica Global Customer Support.'. Contact Informatica Global Customer Support..]. |
2)问题分析及解决步骤:
Infa产品在安装时需要nofile参数值至少16K以上,系统参数的限制可以使用ulimit命令进行查看。
步骤如下:
通过扩大nofile参数的限制,至少16K(16000)。 第一步,修改文件 /etc/security/limits.conf。 vi /etc/security/limits.conf 加上: * soft nofile 8192 * hard nofile 20480 第二步,修改 /etc/pam.d/login 文件,确保存在以下内容 session required /lib/security/pam_limits.so 另外确保/etc/pam.d/system-auth文件有下面内容 session required /lib/security/$ISA/pam_limits.so 这一行确保系统会执行这个限制。 第三步,登录infa用户,执行 #ulimit -n 1024。 |
3)参考内容:
1. Re: [ICMD_10033] Command [defineDomain] failed with error sujata kumari PC Express Professional sujata kumari Aug 4, 2014 1:36 AM (in response to user144134)
Hi, There can be couple of reasons for this failure: 1. if the installer is corrupt and is not extracted properly. To isolate this, please try downloading and extracting the installer again. But before this, please verify: 1. nofiles/file descriptor value: this value should be more than 16k for 9.6 installation. You can use the command ulimit -a to get this value. 2. We also get this error when there is insufficient disk space. Please verify this using: df -k Regards, Sujata |
2. 产品安装过程提示Ping Domain Error
1)错误日志:
Pinging domain... 8:19:22 AM **********************************
Command Executed : /opt/infa/Informatica/9.6.1/isp/bin/infacmd.sh ping -dn Domain_mdm -dg mdm:6005 -re 300
Exit Code : 255
OutPut : [ICMD_10033] Command [ping] failed with error [[INFACMD_10053] [[JSF_0055] Cannot connect to the domain [Domain_mdm] to look up the service [/coreservices/DomainService]. Check the port number, host name, or service name. Ensure that network connectivity is established.Domain [Domain_mdm] Host:Port [mdm:6005] ] did not ping back. It might be due to one of the following reasons: => Domain might not be running. => Domain name, host name or port number might be incorrect. => If the domain is in TLS mode with non default SSL certificate then environment variables INFA_TRUSTSTORE and INFA_TRUSTSTORE_PASSWORD might be set to incorrect values or Truststore might not have correct domain certificate.]. |
2)解决办法:
将Infa安装目录下的Java环境变量添加到Path目录 编辑infa用户下的.bash_profile文件 export PATH=$INFA_HOME/java/jre/bin:$PATH
保存后执行 Source .bash_profile
验证 [infa@mdm ~]$ java -version java version "1.7.0_55" Java(TM) SE Runtime Environment (build 1.7.0_55-b13) Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)
|
3)参考:
Hi John, Thanks for your interest to solve this problem. I am sucessed to solve this problem. Here are the steps i followed to resolve. The Informatica services stops autmatically, thats why the Installer unable to ping the domain. I go in to the Event Viewer for the services i found java run time environment not found. (Java runtime environment allredy installed in my mechine) I found that the environment variable for this JRE not present in the path. I updated the path Evironment variable by the installed location of the JRE. then bounce the server and I did the installations again. This time Installer ping the domain sucessfully. Thanks, Rajesh |
3.Repository Service启动后的页面编码问题
1)错误信息:
2)原因分析及解决步骤
原因分析: informatica产品安装背后AdminConsole的Code page默认为UTF-8,若此时创建存储库服务采用的字符集编码为简体中文,就会导致存储库服务无法正常启动。必须确保两者是一致的。
步骤如下:
第一步,设置infa的AdminConsole’s Code page为“MS936”。 在安装完infa后,编辑.bash_profile文件,添加以下配置。 export LANG=C export LC_ALL=C export PM_CODEPAGENAME="MS936" export INFA_HOME=/opt/infa/Informatica/9.6.1 export INFA_DOMAINS_FILE=$INFA_HOME/domains.infa export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$INFA_HOME/server/bin: /home/oracle/app/oracle/product/11.2.0/dbhome_1/lib
保存后执行 Source .bash_profile 使其生效 第二步,重启PowerCenter服务。 Cd $INFA_HOME/tomcat/bin ./infaservice.sh shutdown ./infaservice.sh startup 检查服务启动情况 Netstat –an | grep 6005 第三步,删除旧的存储库服务。 第四步,删除并新建存储库服务对应的数据库用户(因为里面已经有内容,必须要重建)。 ---DROP USER DROP USER INFA_REP CASCADE; ---CREATE USER CREATE USER INFA_REP IDENTIFIED BY INFA_REP; GRANT CONNECT,RESOURCE,CREATE VIEW TO INFA_REP; 第五步,新建存储库服务,并指定Code page为Ms Windows Simplified Chinese.
|
4.创建Integration Service后无法启动
1)错误日志:
2)解决办法:
进入Repository Service的属性页面,将其运行模式改成Normal。