/opt/freeware/lib/libintl.a(libintl.so.8) Error while installing RPM on AIX 7.1

While installing some RPM's on AIX we got below dependency error.  Now without resolving this error you cannot even proceed further. [octst3:root:/aixbackup:]rpm -ivh rsync-3.1.2-2.aix6.1.ppc.rpm exec(): 0509-036 Cannot load program /usr/opt/freeware/bin/rpm because of the following errors: 0509-150 Dependent module /opt/freeware/lib/libintl.a(libintl.so.8) could not be loaded. 0509-152 Member libintl.so.8 is not found in archive After scourging through the … Continue reading /opt/freeware/lib/libintl.a(libintl.so.8) Error while installing RPM on AIX 7.1

Simple Shell Script to Check Diskspace and Send Email on AIX

The below simple shell script will check all filesystems and create output file for only filesystems which are more than 80% full and send the log by email. The below has been checked on AIX7.1 , not too Sure if it works on Solaris. I suppose the -P flag does not work on Solaris. [code language="bash"] … Continue reading Simple Shell Script to Check Diskspace and Send Email on AIX

Shell Script to Monitor AIX Filesystem and Send Email

The Below Shell Script checks the Filesystem mount points and using AWK outputs all filesystem exceeding 90% space to a file called diskspacepoll. Once that is done the sed command removes any special character like '%' from the output file and cleans it to a file called output.log The next important logic is in the … Continue reading Shell Script to Monitor AIX Filesystem and Send Email

Top command AIX

AIX doesn't have a top command what it has a better tool called topas. Just write topas from a shell prompt and it opens a beautiful colored stats window where you can get the top consuming sessions as well as few other useful information. # topas

Join AIX to DNS

# vi /etc/resolv.conf -- If file doesn't exist, create it Add the below entries into resolv.conf file of your DNS server and domain name nameserver 127.0.0.1 domain yourdomainname.com # nslookup nameofyourserver

Create Logical Volume Group and JFS2 filesystem AIX

We had a new Oracle installation on an AIX 6.1 Power7 server. Our organization doesn't have an AIX admin. So to faciliate the lack of resources, I decided to be the makeshift Aix admin and create the mountpoints for the Oracle installation. It was easier than I thought. The Smitty tool is very easy and … Continue reading Create Logical Volume Group and JFS2 filesystem AIX

Prepare Raw Devices for ASM on AIX 6.1 (RAC 11gR2)

To Configure RAC 11gR2 on AIX 6.1 using ASM. You need to prepare the raw devices like below. The general location for raw devices on AIX is /dev. The disk names are like /dev/rhdisk* # lsattr -E -l hdisk3 | grep reserve_ reserve_policy no_reserve #chdev -l hdisk3 -a [ reserve_lock=no | reserve_policy=no_reserve ] reserve_policy is … Continue reading Prepare Raw Devices for ASM on AIX 6.1 (RAC 11gR2)

ORA-27300 ORA-27301 ORA-27302

ORA-27300: OS system dependent operation:fork failed with status: 12 ORA-27301: OS failure message: Not enough space ORA-27302: failure occurred at: skgpspawn3 Sun Mar 27 08:45:52 2011 This problem is most likely due to swap space being less. Ask your system administrator to increase the swap space. The rule of thumb is swap space should be … Continue reading ORA-27300 ORA-27301 ORA-27302