Category Archives: Unix/Linux

AIX commands you should not leave home without

Here are the common AIX commands to learn about a new system.

Posted in AIX | Comments Off

Automatic export deleted oracle files.

A client had his oracle executables removed by a script, but the reason was unknown, no changes had been done and only a reboot scheduled. Why had this caused the ORACLE_HOME directory to have files removed ?

Posted in AIX, Scripts | Tagged , , , | Comments Off

How does vncserver manage the desktops ?

When you start vncserver, there’s a number of lock files which are created, identifying where and how things are working, and log files you can use to identify problems.

Posted in Unix/Linux | Tagged , , | Comments Off

Problem uninstalling Agent 11g

I had to uninstall oracle Agent 11g from clients AIX systems, because we de-comissioned OEM. This caused the entire application to fail. Here’s what to look out for.

Posted in AIX, Enterprise Manager, Oracle, Oracle Agent | Tagged , , , , , | Comments Off

Find Linux version and distribution.

When logging an SR for oracle, they require the correct version/distribution of Linux. You can check with the following command: [oracle@oracle1 rda]$ cat /etc/*-release Dependant on the version you will get one of the following: RHEL 5 Red Hat Enterprise … Continue reading

Posted in Unix/Linux | Tagged , , | Comments Off

How to use VNC on AIX

Using vncserver on AIX 5.3/6.1 Networking setup stopped me exporting a display to my Laptop, however vncserver was installed. Here’s how it works.

Posted in AIX | Tagged , , , , | Comments Off

Cleanup Unprintable Characters.

Someone transferred files in binary rather then ascii, and this resulting in the ^M character appearing at the end of the lines in the script. Because of this, they would not execute, here’s how to clean them up.

More Galleries | Comments Off

Replace text in multiple files.

Struggled with this, using perl and sed and ironing out the “/” character. This suprised me, but it worked.

Posted in AIX | Tagged , , , , , , | Comments Off

Logical Volume Manager (LVM) Commands for AIX

Logical Volume Manager Quick Guide.

Posted in AIX | Tagged , , , , , , | Comments Off

Send email from the os with mailx

Mailx has a simple interface with which to send email.

Posted in Unix/Linux | Tagged , , , , | Comments Off