oracle 10g EM 遷移後的重建及亂碼解決
本文檔由ice.xie原創,轉載請說明出處由於OS相同,遷建采用了最簡單的,直接CP的方法,由於主機名不能一樣,在oracle 10g中需要重建EMemca -deconfig dbcontrol db -repos drop/*Enter the following information:Database SID: devdbListener port number: 1521Password for SYS user: Password for SYSMAN user: Do you wish to continue? [yes(Y)/no(N)]: yes..........................INFO: Repository successfully droppedEnterprise Manager configuration completed successfully*/emca -config dbcontrol db -repos create/*Ent
Oracle EBS工具FNDLOAD快樂體驗(-)
本文檔由ice.xie原創,轉載請說明出處FNDLOAD可以用來在不同的平台,環境間移植數據,比如可以相互間移植用戶,職責,功能,菜單等。。。The Generic Loader (FNDLOAD) is a concurrent program that can transfer Oracle Application entity data between database and text fileUsage: FNDLOAD logon 0 Y mode configfile datafile [ entity [ param ... ] ] where logon is username/password[@connect] mode is either UPLOAD or DOWNLOAD configfile is the configuration file datafile is the data file entity is an
oracle利用rman备份和恢复案例-丢失所有文件
本文档由ice.xie原创,转载请说明出处 1.归档模式 SQL> conn / as sysdba; 已连接。 SQL> archive log list; 数据库日志模式 存档模式 自动存档 启用 存档终点 f:oraclearch 最早的概要日志序列 0 下一个存档日志序列 1 当前日志序列 1 2.备份配置 rman target / 恢复管理器: 版本9.2.0.1.0 - Production Copyright (c) 1995, 2002, Oracle Corporatio 连接到目标数据库: ICE (DBID=1290799186)-最好记住,恢备时一般需要set dbid RMAN> configure controlfile autobackup on; RMAN> run{ 2> backup da
linux时间同步
本文档由ice.xie原创,转载请说明出处OS: oracle linux1.linux向windows时间同步net time -S 192.168.0.84 set2.linux与linux时间同步先建立一台NTP服务器,如192.168.0.1检查所需安装的rpm包rpm -qa | grep ntpntp-4.2.0.a.20040617-4.EL4.1vi /etc/ntpd.conf加入此行restrict 192.168.0.0 mask 255.255.255.0 nomodify notrap启动服务service ntpd start检查ntpd服务状态pgrep ntpdnetstat -an | grep 123另一台与这台对时即可(也需安装rpm包),只需运行[root@test2 etc]# ntpdate 192.168.0.128 Jun 11:49:15 ntpdate[3790]: adjust
使用pl/sql developer开发工具编译出现ORA-07445解决方法一例
使用pl/sql developer开发工具编译出现ORA-07445解决方法一例本文档由ice.xie整理,转载请说明出处OS:RHAS 4EBS:11.5.10.2问题:使用pl/sql developer开发工具无法编译存储过程,触发器,包等程序文件,出现not connect to oracle检查oracle,alter.log文件,并出现如下错误:Errors in file /ntkerp/orantkcn/erpdb/9.2.0/admin/erp_erp/udump/erp_ora_20918.trc:ORA-07445: exception encountered: core dump [ptmak()+106] [SIGSEGV] [Address not mapped to object] [0x8] [] []*** 2007-06-05 16:56:44.341ksedmp: internal or fatal err
安装EBS诊断工具
本文档由ice.xie原创,转载请说明出处OS: oracle linux 32bitEBS: 11.5.10.2apply adsplice patch 3636980打这个补丁之前一定要看readme因为在用adpatch打这个补丁之前有几个准备工作!1. Copy the following text files from 3636980 to $APPL_TOP/admin izuprod.txt izuterr.txt newprods.txt2. cd $APPL_TOP/admin3. adsplice When asked to enter the name of the AD Splicer control file, enter newprods.txt4. Verify that the product has been correctly created in the database. select APPLICATIO
EBS两个重要测试网页
本文档由ice.xie原创,转载请说明出处login test,ebs userhttp://[domain:port]/OA_HTML/jtflogin.jspTest your Webserver setup for Self Service Framework Applications http://[domain:port]/OA_HTML/jsp/fnd/aoljtest.jsp [@more@]
EBS修改首页的文字说明及logo
本文档由ice.xie原创,转载请说明出处首页的位置$COMMON_TOP/portal/[sid_hostname]index.htmlapptitle.htmlappsmed3.gif其中index.html是首页,apptitle.html是最上面的图标说明的画面,appsmed3.gif是logo,可以替换成自己公司的logo还应替换$AD_TOP/media/appsmed3.gif[@more@]
linux使用mutt自动发送oracle alter.log
本文档由ice.xie原创,转载请说明出处建立邮件目录mkdir -p ~/mail/inbox/{cur,new,tmp}mkdir -p ~/mail/postponed/{cur,new,tmp}mkdir -p ~/mail/sent/{cur,new,tmp}设置muttvi .muttrcset folder="~/mail"set mbox="~/mail/inbox"set mbox_type=maildirset spoolfile="~/mail/inbox"set postponed="~/mail/postponed"set record="~/mail/sent"set locale="zh_CN"邮件内容vi ~/hello.txtthis is auto mail by linux mutt!发送邮件scriptsvi mailoralog.sh取部分oracle aler
EBS dbTier恢复或重建appsutil目录
本文档由ice.xie原创,转载请说明出处1.产生appsutil.zip 在应用层,以APPL用户登陆 cd $AD_TOP/bin perl admkappsutil.pl 在 $APPL_TOP/admin/out目录下将会产生appsutil.zip2.copy,unzip appsutil.zip 在数据库层,以oracle用户登陆 将appsutil.zip,copy至ORACLE_HOME cd $ORACLE_HOME unzip -o appsutil.zip3.产生xml文件 在数据库层,以oracle用户登陆 数据库和监听需打开 cd $ORACLE_HOME/appsutil/bin perl adbldxml.pl tier=db appsuser=<APPSuser> appspasswd=<APPSpwd>4.产生scripts目录 在数据库层,以oracle用
EBS Clone失败的处理
本文档由ice.xie整理,转载请说明出处最近clone的时候老是出点问题,不知道为什么?我在正式环境下add datafile,clone的时候在正式环境已做了adpreclone.pl但把所有的datafile,redo file,control file,copy到测试环境做clone的时候仍然出了问题?无法创建控制文件!最后在metalink上找到了答案!Note id:260431.1solution:1.Take backup of adcrdb.zip 2.Unzip /appsutil/clone/data/stage/adcrdb.zip 3.open the adcrdbclone.sql 4.Add the datafile added in datafile section of adcrdbclone.sql after run of the peal script 5.Save
EBS职责失效问题的处理
职责失效问题的处理本文档由ice.xie整理,转载请说明出处首先把一个职责失效,然后再把这个职责的失效日期去掉!再把这个职责分给一个新的用户,发现这个用户的这个职责不能用!不知道大家的EBS有没有这种问题?各位请在测试环境下测试一下!OS:RHAS 4EBS:11.5.10.2处理方法:系统管理员->并发->管理器->管理启动工作流代理接收器服务然后再提交请求:同步 WF 局部表看来问题出现的原因就是没有启动 工作流代理接收器服务 这个并发管理器!總結:基本上11.5.10的版本上面都會遇到這個bug,是一定要打補丁5121512,才能解決的,但是我
oracle客户端字符集设置有趣的测试
oracle客户端字符集设置有趣的测试本文档由ice.xie整理,转载请说明出处今天在网上,郑全(oldboy)提出一个问题:在不修改注册表的情况下,如何修改客户端字符集?事由:一个客户端可能会连到多个数据库,因此有可能遇到多种字符集,比如说简体中文,繁体中文!众所周知,大家一般使用的改字符集的方法一般都是去注册表修改,类似于这样的键值:HKEY_LOCAL_MACHINESOFTWAREOracleHOME0下,如一般的简体中文nls_lang=SIMPLIFIED CHINESE_CHINA.ZHS16GBK思考:如何在windows下不修改注册表,而改变客户端的字符集设置呢? 修改环境变量,那
Oracle Ebs DB 9.2.0.6升级至9.2.0.8
Oracle Ebs DB 9.2.0.6升级至9.2.0.8本文档由ice.xie原创,转载请说明出处版本说明:EBS:11.5.10.2Oracle:9.2.0.6OS: RHAS 4(oracle linux)1.Apply patch OUI补丁patch 5035661 在APP,DB两节点都要打解压至IAS_ORACLE_HOME,ORACLE_HOMEperl OUIsetup.pl2.Perform 9.2.0.8 Patch Set installation tasks patch 4547809 ps:在xwindows下安装,关闭APP,DB,选择原来的oracle_home 3.Apply latest Oracle Patching Tool (OPatch) patch 2617419 patch 2617419 ps:解压后,覆盖到$ORACLE_HOME/opatch 4.Apply additional 9.2.0.8 RDBMS pa
EBS 重新编译oracle object
EBS 重新编译oracle object本文档由ice.xie原创,转载请说明出处1.check oracle objectSQL> select count(*) from dba_objects where status='INVALID';COUNT(*)----------18082.用APP用户,执行adadmin打开维护模式重新编译APPS SchemaCompile/Reload Applications Database Entities menu-> 1. Compile APPS schema编译完之后,最好再check一次SQL> select count(*) from dba_objects where status='INVALID';adadmin->Change Maintenance Mode->2. Disenable Maintenance Mode再重启应用即可[@more@]
oracle tkprof使用小结
oracle tkprof使用小结本文档由ice.xie原创,转载请说明出处1.chechk init.oratimed_statistics=trueTOP查出最耗资源的PID2.SQL> select s.sid,s.serial# from v$session s,v$process p where s.paddr=p.addr and p.spid='17397';3.如果需要在session级别上设置trace,可以在sqlplus中使用下列语句:SQL> alter session set sql_trace=true; 或者SQL> execute dbms_session.set_sql_trace(TRUE);会话已更改。4.如果要在PL/SQL中对session级别上设置trace,可以使用dbms_session这个包:SQL>exec dbms_system.set_sql_tra
Oracle中statpack使用
oracle_statpack1.check init.orajob_queue_processes >0timed_statistics =true2.step by stepcd $ORACLE_HOME/rdbms/adminsqlplus /nologconn / as sysdba;查看数据文件的目录SQL> select file_name from dba_data_files;FILE_NAME--------------------------------------------------------------------------------/erp/oratest/erptestdata/system09.dbf/erp/oratest/erptestdata/system08.dbf/erp/oratest/erptestdata/system07.dbf..............N Row selected建立statpack所需表空间SQL> create tablespace perfstat
linux静态路由
手工在linux添加静态路由cd /etc/sysconfigvi static-routesany net 192.168.1.0/24 gw 192.168.0.246[@more@]
EBS java插件
在用IE第一次登陆EBS时会提示下载一个java插件,之前一直不知道这个插件是放在ebs的哪个目录里,今天终于找到了!$COMMON_TOP/util/jinitiator我安装的11.5.10.2下面有三个不同版本的组件 jinit11816.exe, jinit13118.exe,jinit13121.exe[@more@]
建立CUX_TOP
1.创建cux用户SQL> conn / as sysdba;Connected.SQL> create tablespace APPS_NTK_CUX datafile '/erp/oraprod/proddata/ntkcux01.dbf'size 50m autoextend on next 1m;Tablespace created.SQL> create user cux identified by cux default tablespace APPS_NTK_CUX temporary tablespace temp;SQL> grant connect,resource to cux;Grant succeeded.SQL> grant select any table to cux;Grant succeeded.2.在$APPL_TOP下建立CUX目录,并保证其目录下与其它fnd等目录一样3.在$APPL_TOP下建立custom{sid}_{host}.env加入以上