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

Wednesday, April 27, 2011

RPM install in OLE

Hi Friends,

Need to install RPM's in easy way........ use yum tool

Install yum rpm and fellow below steps


cd /etc/yum.repos.d
wget http://public-yum.oracle.com/public-yum-el5.repo
# yum install libaio*
# vi public-yum-el5.repo --- edit the version required

yum install gcc*

that is all

Enjoy :) ........ YUM


Unable to access apps in IE 8

Unable to access apps in IE 8

1. Disable the XSS filter.
2. In MSIE 8 --->Tools > Internet Options >
3. Security Settings -->Custom Level >
Scroll down to entry "Enable XSS Filter" > Select Disable XSS Filter button.

Once Enable XSS filter is set to be disable and try to access Forms will now launch.

:-)

To get Linux rpm's Arch+version

Linux rpm's Arch+version

rpm -qa --queryformat %-{name}-%{version}-%{release}-%{arch}"\n"

:)