You are on page 1of 57

Ho me

Abo ut

Articles

Presentatio ns

Subscribe

A blog without a catchy title


Installing Oracle Forms/Reports 11.1.1.4 on Red Hat 5 (64-bit)

by Pet er Lorenzen

Peter Lorenzen 30/08-2011

Archive
Select Month

My f irst installation of Forms/Reports services on a Weblogic server was not as easy as I would have expected so I thought I would share the steps.

Categories
Select Category

First have a look at the Installation Guide f or Oracle Portal, Forms, Reports and Discoverer Overview Download the sof tware Prepare the OS Install JRockit Install Weblogic server 10.3.4 Install the latest Weblogic CPU/PSU Install Forms/Reports version 11.1.1.2.0 Patch Forms/Reports to version 11.1.1.4.0 Install the latest version of opatch Install the latest Forms/Reports CPU Conf igure Forms/Reports
PDFmyURL.com

Links
Facebook Goodreads Last.fm Linkedin

Homes overview Verif ying the Installation Conf igure automatic start of the servers/processes Conf igure OCM Create sof t link as JRockit alias Download the software JRockit Weblogic 10.3.4 Weblogic 10.3.4 July 2011 CPU/PSU (Patch 12357891) Forms/Reports 11.1.1.2.0 Disk1 Forms/Reports 11.1.1.2.0 Disk2 Forms/Reports 11.1.1.2.0 Disk3 Forms/Reports 11.1.1.2.0 Disk4 Forms/Reports version 11.1.1.4.0 (Patch 11060983) Latest version of the opatch f rom MOS (6880880) Forms/Reports 11.1.1.4 July 2011 CPU (12434184) Latest version of the OCM f rom MOS Prepare the OS I am using Red Hat 5.x 64-bit. Check the System Requirements f or UNIX Operating Systems . Create user, group and directories: 1 2 3 4 5 6 7 8 9 10 groupadd oinstall useradd -g oinstall -G oinstall oracle passwd oracle mkdir mkdir mkdir mkdir -p /data01/app/ -p /data01/app/oracle -p /data01/app/oracle/product /data01/tmp

chown -R oracle:oinstall /data01/app/


PDFmyURL.com

10 11

chown -R oracle:oinstall /data01/app/ chmod -R 775 /data01/app/

/etc/hosts: T he Reports service is named like this: RptSvr_[myHostName]. T he name cannot be longer than 30 characters. I got an error because it used the server name including the domain (wintermute.dk.logica.com): 1 2 3 4 oracle.as.config.impl.SimpleProvisionException: Invalid component name: RptSvr_wintermute.dk.logica.co (Component name must begin with an alphabetic character; may only contain alphanumeric characters, or the underscore (_) or hyphen (-) characters; and must be 4 to 30 characters long.)

I solved this by inserting this in the hosts f ile: 1 172.31.8.238 wintermute.dk.logica.com wintermute

T hen the service name will be RptSvr_wintermute. Firewall: I got the below error because the Report service could not be started: 1 2 3 4 5 6 Process (index=1,uid=1000236589,pid=26680) failed to start a managed process after the maximum retry limit Log: /data01/app/oracle/product/fmw/instances/diagnostics/logs/ ReportsServerComponent/RptSvr_wintermute_FRinst/console~ RptSvr_wintermute_FRinst~1.log

T his was because the local f irewall on the server was running. Reports is broadcasting something on port 14021. As soon as I allowed 14021:udp in the f irewall it worked f ine. Install JRockit 1 ./jrockit-jdk1.6.0_26-R28.1.4-4.0.1-linux-x64.bin

PDFmyURL.com

PDFmyURL.com

PDFmyURL.com

PDFmyURL.com

Install Weblogic server 10.3.4 Forms/Reports 11.1.1.4 is not certif ied with Weblogic 10.3.5 so use 10.3.4. For more inf ormation checke MOS article 1316076.1. Take care when downloading the wls1034_generic.jar f ile since some browsers will rename it to wls1034_generic.zip. 1 2 /data01/app/oracle/product/jrockit-jdk1.6.0_26-R28.1.4-4.0.1/bin/java -jar -Djava.io.tmpdir=/data01/tmp wls1034_generic.jar -log=wls_install.log

-Djava.io.tmpdir is only needed if there is not enough tmp space.


PDFmyURL.com

Below I have ignored the screens where you can sign up f or security updates etc.

PDFmyURL.com

PDFmyURL.com

PDFmyURL.com

PDFmyURL.com

PDFmyURL.com

PDFmyURL.com

PDFmyURL.com

Install the latest Weblogic CPU/PSU Weblogic 10.3.4 July 2011 CPU/PSU (Patch 12357891) 1 2 3 4 5 unzip p12357891_1034_Generic.zip mkdir /data01/app/oracle/product/fmw/utils/bsu/cache_dir/ cp H94Y.jar /data01/app/oracle/product/fmw/utils/bsu/cache_dir/. cp patch-catalog_15776.xml /data01/app/oracle/product/fmw/utils/bsu/ cache_dir/patch-catalog.xml

Make sure that the patch-catalog_15776.xml is renamed to patch-catalog.xml!


PDFmyURL.com

1 2 3

cd /data01/app/oracle/product/fmw/utils/bsu/ ./bsu.sh -prod_dir=/data01/app/oracle/product/fmw/wlserver_10.3 -patchlist=H94Y -verbose -install

Verif y that the patch is installed. 1 2 ./bsu.sh -prod_dir=/data01/app/oracle/product/fmw/wlserver_10.3 -status=applied -verbose -view

Install Forms/Reports version 11.1.1.2.0 1 2 cd ofm_pfrd_linux_11.1.1.2.0_64_disk1_1of1/Disk1 ./runInstaller

Below I have ignored the screens where you can sign up f or security updates etc.

PDFmyURL.com

PDFmyURL.com

1 2 3 4 5 6 7 8

cd /home/oracle/oraInventory ./createCentralInventory.sh Setting the inventory to /home/oracle/oraInventory Setting the group name to oinstall Creating the Oracle inventory pointer file (/etc/oraInst.loc) Changing permissions of /home/oracle/oraInventory to 770. Changing groupname of /home/oracle/oraInventory to oinstall. The execution of the script is complete
PDFmyURL.com

PDFmyURL.com

PDFmyURL.com

PDFmyURL.com

PDFmyURL.com

PDFmyURL.com

T he above screen will be repeated for all the disks (several times).

PDFmyURL.com

PDFmyURL.com

cd /data01/app/oracle/product/f mw/pf rd_binaries ./oracleRoot.sh

PDFmyURL.com

Patch Forms/Reports to version 11.1.1.4.0 Patch 11060983. 1 2 cd p11060983_111140_Linux-x86-64/Disk1 ./runInstaller

Below I have ignored the screens where you can sign up f or security updates etc.
PDFmyURL.com

PDFmyURL.com

PDFmyURL.com

PDFmyURL.com

PDFmyURL.com

cd /data01/app/oracle/product/f mw/pf rd_binaries ./oracleRoot.sh

PDFmyURL.com

Install the latest version of opatch 1 2 unzip p6880880_111000_Linux-x86-64.zip -d /data01/app/oracle/product/fmw /pfrd_binaries

Install the latest Forms/Reports CPU

PDFmyURL.com

Forms/Reports 11.1.1.4 July 2011 CPU (12434184) 1 2 cd p12434184_111140_Linux-x86-64/12434184 /data01/app/oracle/product/fmw/pfrd_binaries/OPatch/opatch apply

Configure Forms/Reports 1 2 cd /data01/app/oracle/product/fmw/pfrd_binaries/bin ./config.sh

Below I have ignored the screens where you can sign up f or security updates etc.

PDFmyURL.com

PDFmyURL.com

PDFmyURL.com

PDFmyURL.com

PDFmyURL.com

PDFmyURL.com

PDFmyURL.com

PDFmyURL.com

When you press conf igure it might take a long time bef ore it proceeds so be patient

PDFmyURL.com

PDFmyURL.com

PDFmyURL.com

Homes overview T here is a wealth of homes in this installation: Domain Home /data01/app/oracle/product/f mw/user_projects/domains/FormsReports Instance Home /data01/app/oracle/product/f mw/instances/FRinst Middleware Home /data01/app/oracle/product/f mw
PDFmyURL.com

Oracle Commone Home /data01/app/oracle/product/f mw/oracle_common Oracle Home /data01/app/oracle/product/f mw/pf rd_binaries Weblogic Server Home /data01/app/oracle/product/f mw/wlserver_10.3 For more inf ormation check the Oracle Fusion Middleware Installation Planning Guide. Verifying the Installation OPMN status: 1 2 3 4 5 6 7 8 9

cd /data01/app/oracle/product/fmw/instances/FRinst/bin ./opmnctl status -l Processes in Instance: FRinst ---------------------------------+--------------------+---------+----------+------------+----------+-----------+----ias-component | process-type | pid | status | uid | memused | uptime | port ---------------------------------+--------------------+---------+----------+------------+----------+-----------+----emagent_FRinst | EMAGENT | 6332 | Alive | 1120212237 | 63828 | 2:45:41 | N RptSvr_wintermute_FRinst | ReportsServerComp~ | 7644 | Alive | 1120212239 | 63828 | 2:34:25 | N ohs1 | OHS | 5467 | Alive | 1120212232 | 144976 | 3:07:36 | http

Checking Browser URLs: If you are not sure which ports are used check this f ile: /data01/app/oracle/product/f mw/pf rd_binaries/install/portlist.ini 1 2 3 4 5 6 7 8 9 10 11 12 #Sun Aug 28 01:32:58 CEST 2011 OPMN_LOCAL_PORT=6700 OHS_LISTEN_PORT=8888 WLS_FORMS_PORT=9001 OHS_SSL_PORT=8890 OHS_PROXY_PORT=8889 WLS_REPORTS_PORT=9002 OPMN_REQUEST_PORT=6702 OPMN_REMOTE_PORT=6701 DOMAIN_PORT=7001 NODE_MANAGER_PORT=-1 EMAGENT_PORT=5155

Screenshots:
PDFmyURL.com

Administration Server Console http://wintermute:7001/console Enterprise Manager Console http://wintermute:7001/em Enterprise Manager Agent http://wintermute:5155/emd/main Oracle Forms http://wintermute:8888/f orms/f rmservlet Oracle Reports http://wintermute:8888/reports/rwservlet Configure automatic start of the servers/processes I always use the Node Manager to restart the Weblogic servers af ter a server boot. If you dont want to use the Node Manager have a look at this MOS note: Sample Script (Unix): Start / Stop Oracle Fusion Middleware 11g OPMN and WebLogic Components [ID 1060855.1] Besides Weblogic we also need to start the opmn processes. I did the f ollowing: 1. Set CrashRecoveryEnabled=true in Weblogic_Server_Home/common/nodemanager/nodemanager.properties 2. Set the NodeManager Username and Password in the Admin server console. Domain => Security => Advanced 3. Created two (+init script) boot scripts: /etc/init.d/f mwNodeManager /etc/init.d/initFmwNodeManager /etc/init.d/opmn 4. Added them 1 2 3 4 5 6 7 8 9 10 cd /etc/init.d chkconfig --add fmwNodeManager chkconfig --level 3 fmwNodeManager on chkconfig --level 5 fmwNodeManager on chkconfig --list fmwNodeManager chkconfig chkconfig chkconfig chkconfig --add opmn --level 3 opmn on --level 5 opmn on --list opmn
PDFmyURL.com

5. Stop/start everything manually Stop all Weblogic servers via the Admin server console and killing the Node Manager process. Start the Node Manager via: 1 /etc/init.d/fmwNodeManager start

Start the Admin server via: 1 2 3 4 5 6 . /data01/app/oracle/product/fmw/user_projects/domains/FormsReports/bin/ setDomainEnv.sh java weblogic.WLST nmConnect(username='nodemgr',password='passwd',domainName='FormsReports', port='5556',nmType='ssl') nmStart('AdminServer')

Start the two Managed servers via the Admin Server console. 6. Boot the server and check if everything starts up. Configure OCM As f ar as I know OCM will def ault upgrade it self if it has a direct connection to Oracle via the Internet. But I normally do this manually Download the latest OCM f rom MOS. T his installation contains two OCM installations: /data01/app/oracle/product/f mw/utils/ccr /data01/app/oracle/product/f mw/oracle_common/ccr I assume that it does not make a dif f erence which one you use. 1 2 3 4 5 6 rm -rf /data01/app/oracle/product/fmw/utils/ccr unzip p5567658_1035_Linux-x86-64.zip -d /data01/app/oracle/product/fmw/utils . /data01/app/oracle/product/fmw/user_projects/domains/FormsReports/ bin/setDomainEnv.sh export ORACLE_HOME=/data01/app/oracle/product/fmw/utils export JAVA_HOME=/data01/app/oracle/product/jrockit-jdk
PDFmyURL.com

6 7 8 9

export JAVA_HOME=/data01/app/oracle/product/jrockit-jdk 1.6.0_26-R28.1.4-4.0.1 cd $ORACLE_HOME/ccr/bin ./setupCCR -s 12345678 nobody@logica.com DK

Verif y that it is working: 1 2 3 4 5 6 7 8 9 cd $ORACLE_HOME/ccr/bin ./emCCR start ./emCCR status ./emCCR -register test ./emCCR -verbose test ./emCCR register ./emCCR collect ./emCCR upload ./emCCR disable_target

You need to restart the Weblogic Admin server bef ore OCM will pickup all the targets. Create soft link as JRockit alias I always create a sof tlink f or the JDK and ref erence it everywhere so it is easier to upgrade it. 1 2 ln -s /data01/app/oracle/product/jrockit-jdk1.6.0_26-R28.1.4-4.0.1 /data01/app/oracle/product/java_current

Stop the Weblogic servers/processes (Admin, Managed, Node Manager). Replace the paths to the JDK: 1 2 3 cd /data01/app/oracle/product/fmw find . -type f -exec sed -i "s/\/data01\/app\/oracle\/product\/jrockit-jdk 1.6.0_26-R28.1.4-4.0.1/\/data01\/app\/oracle\/product\/java_current/g" {} \;

21 comments read them below or add one

PDFmyURL.com

Feresht eh

September 28 , 20 11 at 0 7:20

Dear Mr. Lo renzen Thanks a lo t fo r yo ur helpful do cument. I have RHEL5 o n a 6 4 bit bo x and installing weblo gic 10 .3.2 and fo rm/repo rt 11.1.1.2.during fo rm/repo rt co nfiguratio n I get this erro r message: /u0 1/Oracle/Middleware/as_1/bin/rwserver: erro r while lo ading shared libraries: libXm.so .3: canno t o pen shared o bject file: No such file o r directo ry These are so me related info : $echo $LD_LIBRARY_PATH /u0 1/app/o racle/pro duct/10 .2.0 /db_1/lib:/lib:/usr/lib:/usr/lib6 4 ls -l `find / -name libXm.so .* -print` -rw-r 1 o racle o install 46 6 376 Sep 12 20 0 5 /u0 1/app/o racle/pro duct/10 .2.0 /db_1/lib/stubs/libXm.so .3 lrwxrwxrwx 1 o racle o install 25 Sep 27 15:45 /u0 1/Oracle/Middleware/as_1/lib32/stubs/libXm.so .3 -> /usr/lib6 4/libXm.so .4.0 .1 -rw-r 1 o racle o install 36 1729 Sep 27 15:43 /u0 1/Oracle/Middleware/as_1/lib32/stubs/libXm.so .3.ORG lrwxrwxrwx 1 o racle o install 25 Sep 27 15:45 /u0 1/Oracle/Middleware/as_1/lib/stubs/libXm.so .3 -> /usr/lib6 4/libXm.so .4.0 .1 -rw-r 1 o racle o install 41546 9 Sep 27 15:43 /u0 1/Oracle/Middleware/as_1/lib/stubs/libXm.so .3.ORG lrwxrwxrwx 1 ro o t ro o t 14 Sep 21 14:20 /usr/lib6 4/libXm.so .4 -> libXm.so .4.0 .1 -rwxr-xr-x 1 ro o t ro o t 28 36 528 Mar 2 20 10 /usr/lib6 4/libXm.so .4.0 .1 lrwxrwxrwx 1 ro o t ro o t 25 Sep 27 15:13 /usr/lib/libXm.so .3 -> /usr/lib6 4/libXm.so .4.0 .1 -rwxr-xr-x 1 ro o t ro o t 25428 6 0 No v 14 20 0 6 /usr/lib/libXm.so .3.0 .2 # ldco nfig -p |grep libXm.so libXm.so .4 (libc6 ,x8 6 -6 4) => /usr/lib6 4/libXm.so .4 libXm.so .3 (libc6 ) => /usr/lib/libXm.so .3 what sho uld I do ? Thanks in advanced Fereshteh LD_LIBRARY_PATH is /u0 1/app/o racle/pro duct/10 .2.0 /db_1/lib:/lib:/usr/lib:/usr/lib6 4

PDFmyURL.com

Pet er Lorenzen
Hi Fereshteh,

September 28 , 20 11 at 13:46

Lo o ks like yo u are missing so me packages like o penmo tif22. Did yo u go thro ugh the requirements fo r Red Hat 5.x befo re trying to install? Check this: http://do wnlo ad.o racle.co m/do cs/html/E18 558 _0 1/fusio n_requirements.htm#BABGBCIG Regards Peter

f eresht eh

Octo ber 2, 20 11 at 12:15

Dear Mr. Lo renzen Thanks a lo t fo r yo ur help. ano ther pro blem : I co pied a fo rm (xxx.fmb , xxx.fmx) fro m Windo ws to Linux server in $FMW_HOME/as_1/fo rms (where the test.fmb exists) but when I run it in bro wser, I get this erro r: FRM-40 0 10 : Canno t read fro m xxx.fmx while test.fmb successfuly co uld be run. what sho uld i do ?

Pet er Lorenzen

Octo ber 2, 20 11 at 15:35

Yo u canno t mo ve a .fmx fro m Windo ws to Linux o r fro m 32-bit server to 6 4-bit server. Yo u sho uld delete the .fmx file and then reco mpile the .fmb file o n the Linux server. Regards Peter

Feresht eh

Octo ber 3, 20 11 at 0 9 :10

Thanks a lo t fo r yo ur help. As yo u kno w Fo rm/Repo rt builder is no t suppo rted in RHEL5 (6 4 bit). Then I sho uld co mpile fo rms with what to o l?

PDFmyURL.com

Regards

Feresht eh

Octo ber 3, 20 11 at 12:42

I use frmcmp.sh in this way : $ORACLE_INSTANCE/bin/frmcmp.sh mo dule=test2.fmx userid=user/pass@mydb ( env variablesORACLE_INSTANCE, ORACLE_HOME, are set pro perly) the erro r is FRM-9 150 0 : Unable to start/co mplete the build. what sho uld i do ?

Pet er Lorenzen

Octo ber 3, 20 11 at 20 :0 8

Yo u can get that erro r fo r several reaso ns. Check Master No te fo r Kno wn Causes o f FRM-9 150 0 [ID 756 38 4.1] o n MOS. Regards Peter

Feresht e

Octo ber 6 , 20 11 at 12:53

Thanks. so rry to bo ther yo u.Im newbi in Oracle, Ido nt kno w ho w i can find Master No te fo r Kno wn Causes o f FRM-9 150 0 [ID 756 38 4.1] o n MOS.(What is the meaning o f MOS ?) I searched the Oracle fo rum but co uldnt be successful. Regards, Fereshte

Pet er Lorenzen

Octo ber 7, 20 11 at 0 1:45


PDFmyURL.com

Pet er Lorenzen
That is OK. MOS stands fo r My Oracle Suppo rt and can be accessed here: https://suppo rt.o racle.co m It is the mo st impo rtant kno wledge repo sito ry fo r Oracle info rmatio n. Do nt just rely o n Go o gle but use MOS as the first place to lo o k. Yo u need a suppo rt license to access MOS but if yo u are wo rking pro cessio nal with Oracle yo u sho uld have access. Regards Peter

f eresht e

Octo ber 8 , 20 11 at 0 6 :33

Thanks alo t dear friend.

Feresht e

Octo ber 25, 20 11 at 14:16

Dear Mr. Lo renzen When I transfer a fo rm fro m windo ws to my RHEL5 6 4-bit ,which has an Oracle Fo rm, fo nts o f the fo rm are no t readable, what sho uld I do ? Thanks Fereshte

Pet er Lorenzen

Octo ber 25, 20 11 at 15:54

I have no t enco untered that pro blem. I wo uld assume that yo u use a Windo ws fo nt that is no t available o n Linux. Maybe have a lo o k at this MOS no te: Co nfiguratio n Script to add Co mmo n Windo ws Fo nts to Unix 9 i, 10 g R1 and 10 g R2 Repo rts Server [ID 26 18 79 .1] Regards Peter

Abdul Hameed
Dear Peter,

Octo ber 31, 20 11 at 12:44


PDFmyURL.com

Dear Peter, I have installed this same in windo ws enviro nment its running fine.(fo r Develo per Machine) I wanted to install this in server side, Ho w can i do that,, is there any co ncept like that to install in server side where fo rms and repo rt develo pers can deplo y the .fmb files.!??? I really do ubt o n this co ncept,, if the same installatio n fro m where the clients access this fo rms and repo rt.Will yo u please explain me this co ncept clearly,, If there is a co ncept fo r server side installatio n kindly let me kno w the co nfiguratio ns and its so ftware requirements. Regards Hamid0

Pet er Lorenzen
Hi Hamid,

Octo ber 31, 20 11 at 20 :28

I am no t sure I understand same o n Windo ws. Regards Peter

What I describe in this blo g po st is the server side installatio n. Yo u can do the

Feresht e
Hi dear Peter

No vember 19 , 20 11 at 0 9 :0 7

yo u mean that yo u do nt have fo nt pro blem with PDF repo rts which are lo cated o n Linux server and run fro m a Windo ws client? (I did all steps in FRM-9 150 0 [ID 756 38 4.1 and relevance do cuments, but the fo nt pro blem exists still. NOTE: I have installed and co nfigured Oracle Fo rms/Repo rts 11.1.1.2 o n Red Hat 5.5(6 4-bit)). Can yo u shed so me light o n the way I miss. Regards, Fereshteh
PDFmyURL.com

f eresht e
Dear friend

No vember 19 , 20 11 at 13:13

The pro blem is so lved no w.its a miracle. Please do nt spend time to answer may latest questio n. Thanks Go d and Thank yo u dear friend RegarDS, Fereshte

shahnawaj

February 7, 20 12 at 16 :51

Dear Peter, hi, please help me o n installatio n o racle develo per suite10 g o n red hat 5 32bits. i am unable to install this.pleaseeeeee

Pet er Lorenzen

February 7, 20 12 at 22:0 1

Hi, Have yo u checked Oracle Fo rms/Repo rts Certificatio n Reference [ID 10 50 79 0 .1] o n Metalink and http://do cs.o racle.co m/cd/B250 16 _0 8 /do c/dl/co re/B16 0 12_0 4/to c.htm. As far as I can see Red hat 5 is no t suppo rted. Yo u need Red hat 4. Regards Peter

f losch
Hi Peter,

February 21, 20 12 at 17:32

PDFmyURL.com

I think Fo rms / Repo rts 11g R1 and R2 is NOT suppo rted with JRo ckit!? In certmatrix o nly Oracle JDK 1.6 .0 _18 + is mentio ned. Regards, Flo rian.

Kerst in

March 21, 20 12 at 19 :0 2

Thank yo u fo r a great po st. Saved me so me headache, especially the firewall issue. I also had a pro blem with webcache no t starting: Fo und this o n o racle suppo rt: Webcache Fails to Start with Failed to assign po rt xxxx: Address family no t suppo rted by pro to co l After FMW 11g Installatio n. [ID 111316 3.1] and it helped to disable ipv6 in webcache.xml. // Kerstin

Pet er Lorenzen

June 4, 20 12 at 15:55

Hi Flo rian, Yes. Yo u are abso lutely right. This is a bit surprising. If yo u go to Fo rms 11.1.1.6 yo u can use JDK 7 by the way. Regards Peter

Leave a Comment

Name * E-mail *
PDFmyURL.com

Website

Submit

Previous post: Tool to backup and restore Putty sessions Next post: Searching inside files on Windows 2008 R2

PDFmyURL.com

You might also like