RSS

Category Archives: OS

OS: related topics to Operating System’s installation, configuration, Commands and etc.

R12 after clone Error -FRM-92101 – on OEL5.7

after cloning R12 instance on OEL 5.7 64bit to TEST instance and when I started services normally, an error apprears when access the forms, getting the following error

FRM-92101: There was a failure in the Forms Server during startup. This could happen due to invalid configuration. Please look into the web-server log file for details

 
Java Exception
oracle.forms.net.ConnectionException:Forms sessionfailed during startup:no response from runtime process
at oracle.forms.net.ConnectionException.createConnectionException(Unknown Source)
at oracle.forms.net.HTTPNStream.getResponse(Unknown source)
at oracle.forms.net.HTTPNStream.doFlush(Unknown Source)
at oracle.forms.net.HTTPNStream.flush(Unknown Source)
at java.io.DataOutputStream.flush(Unknown source)
…………………………………………………………..

I have looked into the forms server log file which is given below

$LOG_HOME/ora/10.1.3/opmn/forms_default_group_1/formsstd.out

and found the following error

FormsServlet init():
configFileName: /u01/DEV/inst/apps/DEV_mkhots06/ora/10.1.2/forms/server/appsweb.cfg
testMode: false
Oracle Containers for J2EE 10g (10.1.3.4.0) initialized
ListenerServlet init()
Forms session <1> aborted: runtime process failed during startup with errors <ORACLE_HOME>/bin/frmweb: error while loading shared libraries: libXm.so.2: cannot open shared object file: No such file or directory

Forms session <2> aborted: runtime process failed during startup with errors <ORACLE_HOME>/bin/frmweb: error while loading shared libraries: libXm.so.2: cannot open shared object file: No such file or directory

Forms session <3> aborted: runtime process failed during startup with errors <ORACLE_HOME>/bin/frmweb: error while loading shared libraries: libXm.so.2: cannot open shared object file: No such file or directory

Cause:

The Actual cause of this error for my test instance is that openmotif package not installed along with pre-requisites for R12 in TEST instance server.

rpm -Uhv binutils-2.17.50.0.6-6.0.1.el5.x86_64.rpm
rpm -Uhv xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386.rpm
rpm -Uhv openmotif21-2.1.30-11.EL5.i386.rpm

then after that i hav relinked the frmweb executable of forms server after shutting the apps services by giving the following commands

$cd $ADMIN_SCRIPTS_HOME

$adstpall.sh apps/

Then

$cd $ORACLE_HOME/forms/lib

$make -f ins_forms.mk install

Then restarted the services using adstrtal.sh apps/

Now there is no issue of form errors and was able to access the forms from my TEST instance.

 

Tags: , ,

Link

rhel root password recovery

rhel root password recovery

 

Tags: , , ,

solved: error install oel 5.7 GPT partition

After partitioning the disks when I installed Oracle Enterprise Linux 5.7 64bit, it gave me the following error message:
“Your boot partition is on a disk using the GPT partitioning scheme but this machine cannot boot using GPT”.
I searched the solution on the net, and someone said the protected MBR GPT partition entire needs to be deleted.
So I entered the rescue mode and deleted the MBR on the disks as below.
# dd if=/dev/zero of=/dev/sda bs=512 count=1
I reinstalled the system again, it worked.

 

Tags: , , , , , ,

Enable remote desktop on Linux using VNC|setup VNC client

VNC client setup.

1- give a password for VNC client connection “for each user you will use in the VNC remote desktop connection e.g. user (oracle)”

su – oracle

$ vncpasswd

2- edit vnc configuration file, in the line starts with VNCSERVERS=; add users you want to connect with in pair format “number:username”
# vi /etc/sysconfig/vncservers

#add
VNCSERVERS=”1:root 2:oracle”

3- to make VNC services start with system start
#chkconfig vncserver on

4- if you have firewall enable on Red Hat, be sure that your firewall configuration won’t block connection from remote computer by open port TCP 5901 for remote access.

5- edit oracle user VNC setting to force to load Gnome
$ vi /home/oracle/.vnc/xstartup

*uncomment unset line and exec line
*edit the last line from ‘twm &’ to ‘startx &’ for Gnome and ‘startkde &’ for KDE Desktop.

6-to restart the service

# service vncserver restart

 
 

Tags: , , ,

lshw Command — gather HW information in linux

1) install  lshw  ==> for kernel 2.6.9 ==> lshw-2.14-1.el4.rf.i386.rpm ==>https://www.dropbox.com/s/b7vft3khb95r29z/lshw-2.14-1.el4.rf.i386.rpm

2) use the command

lshw –help

lshw -html >MyLinuxBox.html

 
Leave a comment

Posted by on September 24, 2013 in administration, Linux/Unix, OS, Tips

 

Tags: , , , , , ,

Configuration device mapper multipath on OEL5

Shared

http://wp.me/pDczL-8y

 
Leave a comment

Posted by on September 21, 2013 in administration, Linux/Unix, OS

 

Tags: , , , ,

BIB-7000 Cannot access X Server

Subject: ATTEMPING TO VIEW GRAPHICS OR TRYING TO CONFIGURE THE JAVA MAILER HANGS
Doc ID: Note:351839.1 Type: PROBLEM
Last Revision Date: 31-MAY-2006 Status: PUBLISHED

In this Document
Symptoms
Changes
Cause
Solution

Applies to:
Oracle Applications Manager – Version: 11.5.9 to 11.5.10
This problem can occur on any platform.
Symptoms

On entering Oracle Applications Manager (OAM) to check on the status of workflow components (Workflow Manager, “Go” button), under Workflow Metrics, both Work Items and Agent Activity displayed the message

“BIB-7000 Cannot access X Server”

Navigating to OAM to view Activity Monitors or other Graphics also reflect the same error.

Also, Configuring the Java Mailer in OAM – the page hangs and then displays Page Cannot be Displayed
Changes
OAM requires the jserv.properties “wrapper.env=DISPLAY” setting to be consistent throughout the application environment and also it needs to correspond to the correct server where xhost is enabled.
Cause

The DISPLAY setting is not consistent throughout the environment or xhost has not been enabled on the server where the DISPLAY setting is directed to.

If DISPLAY is set and xhost was enabled, another cause is, that the xhost session was not left running on the Xserver machine.
Solution

As ROOT on the Console machine with the Graphics Display

1) $ uname -n

> record the exact value returned

2) – For LINUX:

$ cd /usr/X11/bin
or
$ cd /usr/X11R6/bin

– For SOLARIS:

$ cd /usr/openwin/bin

– For AIX & HP-UX see Note: 361535.1 to setup ‘Headless’ support for xServers

3) $ xhost +

> LEAVE THIS SESSION OPEN ON CONSOLE — DO NOT “SU APPLMGR”

4) Open a New Session and signon as APPLMGR

$ adstpall.sh apps/apps

> Stop all the services on all nodes in the environment

5) Open a New Session and signon as APPLMGR or clear the env of the previous APPLMGR session

$ DISPLAY=<same value as #1>:0.0; export DISPLAY

> See the “:0.0” , make sure that is specified

6) $ echo $DISPLAY

> ex:

$ <hostname from #1>:0.0

7) On all the Nodes in this environment — if this is a multiple node, then repeat on cp, forms/web & admin nodes

$ cd $IAS_ORACLE_HOME/Apache/Jserv/etc

$ cp jserv.properties jserv.properties.bak

8) $ vi jserv.properties

> Search down for “wrapper.env=DISPLAY”

9) Reassure or change the setting to match the following syntax ( repeat on cp, forms/web & admin nodes)

wrapper.env=DISPLAY=<hostname from #1>:0.0

> The hostname value in the DISPLAY must be the same in all nodes, it must be set to the value of “uname -n”
from step #1

> Setting this in OAM > AutoConfig > Edit Parameters and then running AutoConfig on all nodes
with accomplish the same thing

10) Restart all the services in the same APPLMGR sessions

 

Tags: , , ,