Sunday, March 4, 2012

HTTP server process becomes swamped and does not respond to OPMN

Error: Process ping Failed: HTTP_Server`HTTP_Server~1


As per the metalink note :ID 1103744.1
The reason for issue is as below .
As the NAS mount gets busier, the HTTP server process becomes swamped and does not respond to OPMN. OPMN then restarts the process, causing all forms users connected to that Application server to fail with the FRM-92100 error.

Self service session users are much less likely to notice the issue as most self service application screens are stateless HTML, so no context is lost when the HTTP server is bounced.
But the recommended settings for the Network-attached storage (NAS) file system have not been implemented.
Solution

To implement the solution, please execute the following steps:

1:- Stop ALL middle tier services
2:- Update the $CONTEXT_FILE and change "s_lock_pid_dir" to a directory on a local disk.

For example

/d01

3:- Run autoconfig

4:- Ensure that the NAS device is configured with the correct mount options.

On Linux, it should be using "nolock" option.
On Solaris, it should be using "llock" option.

5:- Start ALL middle tier services
6:- Retest the issue.
7:- Migrate the solution as appropriate to other environments.

enjoy madi......

Monday, December 12, 2011

UID change in Linux for oracle CRS with NFS

1. stopped all the services including CRS
2. change UID using "usermod -u "
3. change user permission in NFS mount point aswell ($ORA_HOME_CRS) manually -- very important.
4. Do clean reboot(init 6), to find whether the UID changed has been success.
5. CRS service should come up automatically.
6. start the services.

Wednesday, December 7, 2011

Thursday, November 17, 2011

Unable to find the PD KSH version in PATH

$ export KSH_VERSION='@(#)PD KSH v5.2.14 99/07/13.2'

or

export KSH_VERSION='PD KSH'

Tuesday, November 8, 2011

No space left on device – running out of Inodes

Be cautious before performing

1. check available disk space to ensure that you still have some

$ df -hP

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/cciss/c0d0p3 4.8G 342M 4.2G 8% /
/dev/cciss/c0d0p9 7.6G 329M 6.9G 5% /opt

2. check available Inodes

$ df -iP

Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/cciss/c0d0p3 1280000 1279391 0 100% /
/dev/cciss/c0d0p9 2050272 2912 2047360 1% /opt

IUse% at 100, then huge number of small files is the reason for “No space left on device” errors.

3. find those little small files as show below : from root directory

$ for i in /*; do echo $i; find $i |wc -l; done

Below command to find small files in directories .

$ for i in /home/*; do echo $i; find $i |wc -l; done

4. once you found the files like *.log, *.gz... etc

$ sudo rm -rf /home/bad_user/directory_with_lots_of_empty_files

Once delete check with df -i command again. :

Filesystem Inodes IUsed IFree IUse% Mounted on

/dev/cciss/c0d0p3 2080768 284431 1796337 14% /
/dev/cciss/c0d0p9 2050272 2912 2047360 1% /opt

If I wanted to exand inode quantity, then backup files from /storage fs and recreacte fs with additional parameter -N , which tells mkfs cmd to create desired by me inode quantity.

mkfs -t ext3 -m 1 -v -N 800000 /storage

Wednesday, August 10, 2011

Not able to login to remote machine

Hi Friends,

if you are not able to login into remote machine using ssh and you get an error,
some thing like,
--
---
source key file is $HOME/.SSH/*file.

Edit the ssh file and remove the remote login ip with key--->same and close the file.
retry to login

Note: Please be careful before the removing the key.

enjoy :) login