RSS

Monthly Archives: August 2013

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: , , ,

Increase Swap Space By Creating A Swap File

To add a swap file:

  1. Determine the size of the new swap file in megabytes and multiply by 1024 to determine the number of blocks. For example, the block size of a 64 MB swap file is 65536.
  2. At a shell prompt as root, type the following command with count being equal to the desired block size:
    dd if=/dev/zero of=/swapfile bs=1024 count=65536
  3. Setup the swap file with the command:
    mkswap /swapfile
  4. To enable the swap file immediately but not automatically at boot time:
    swapon /swapfile
  5. To enable it at boot time, edit /etc/fstab to include the following entry:
    /swapfile          swap            swap    defaults        0 0

    The next time the system boots, it enables the new swap file.

  6. After adding the new swap file and enabling it, verify it is enabled by viewing the output of the command cat /proc/swaps or free.
 
 

Tags: , , , , ,