Skip to main content

Posts

Showing posts from December, 2010

What is an Eclipse ..

Eclipse An eclipse is an astronomical event that occurs when a celestial object is temporarily obscured, either by passing into the shadow of another body or by having another body pass between it and the viewer. An eclipse is a type of syzygy . [ 1 ] The term eclipse is most often used to describe either a solar eclipse , when the Moon's shadow crosses the Earth's surface, or a lunar eclipse , when the Moon moves into the shadow of Earth. However, it can also refer to such events beyond the Earth-Moon system: for example, a planet moving into the shadow cast by one of its moons, a moon passing into the shadow cast by its host planet, or a moon passing into the shadow of another moon. A binary star system can also produce eclipses if the plane of their orbit intersects the position of the observer. Thanks & Regards Avinash Pillai URL : http://avinashpillai.blogspot.com Email: avinashp25[AT]gmail[DOT]com

What is WEREWOLF

What is WEREWOLF ? A werewolf , also known as a lycanthrope (from the Greek λυκάνθρωπος: λύκος, lukos , "wolf", and άνθρωπος, anthrōpos , man), is a mythological or folkloric human with the ability to shapeshift into a wolf or an anthropomorphic wolf -like creature, either purposely, by being bitten by another werewolf, or after being placed under a curse . This transformation is often associated with the appearance of the full moon , as popularly noted by the medieval chronicler Gervase of Tilbury , and perhaps in earlier times among the ancient Greeks through the writings of Petronius . Werewolves are often attributed superhuman strength and senses, far beyond those of both wolves and men. The werewolf is generally held as a European character, although its lore spread through the world in later times. Shape-shifters, similar to werewolves, are common in tales from all over the world, most notably amongst the Native Americans , though most of them involve anima

Manual Failover steps of DB nodes while on LVM

In order to facilitate manual failover below are the steps a sys admin should take when failing over the filesystems from one node to another when we have an LVM configured. NOTE: NODE02 uses ifcfg-eth5:0 for the listener VIP and NODE01 uses ifcfg-eth4:0 for the VIP. Please start these respectively. On NODE02 1. Ensure the DB, DB listeners and the VIP has been stopped on the active node. · Stop Oracle DB · Stop Oracle Listener · Stop the VIP Pointing to this DB Instance ( i.e. eth5:0) # Ifdown eth5:0 2. Unmount all mount points related to PDB: >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> /dev/mapper/vg--oradata-lv.pdb01 40G 8.3G 30G 23% /pdb01 /dev/mapper/vg--oradata-lv.pdb02 493G 147G 321G 32% /pdb02/dev/mapper/vg--oradata-lv.pdb03 493G 133G 335G 29% /pdb03/dev/mapper/vg--oradata-lv.pdb_arch 197G 84G 104G 45% /pd

Unable to connect to Oracle DB from a Windows box, getting Oracle driver error while executing a perlscript.

Problem : Unable to connect to Oracle DB from a Windows box, getting Oracle driver error while executing a perlscript. Resolution: By default windows OS don’t come with Oracle ODBC drivers hence Windows OS couldn’t get an ODBC connection to the Oracle DB. Hence we need to install Oracle client on the Windows box which puts the Oracle ODBC driver and this helps to get a connection established from the Windows Server to the Oracle DB. Picture below shows the Oracle driver on Windows box after Oracle 11g clinet installed. • You should ensure that you have the correct entries in tnsnames.ora on the Windows box for the Oracle DB. Thanks & Regards Avinash Pillai http://avinashpillai.blogspot.com/

How to find recently installed RPMs [LINUX]

* rpm -qa --last will return all installed rpm packages with their installed time. The last installed packages will be at the top of the list. * rpm -qa --last less is will return all installed packages with their install date. Less allows you to scroll through the results. * rpm -qa --last tail -n [lines] will return the last 5 packages. Replace [line] with any number you want, in my case 5 for file lines. [root@testbox root]# rpm -qa --last tail -n 5termcap-11.0.1-17.1 Tue 09 May 2006 03:02:53 PM MYTsetup-2.5.27-1 Tue 09 May 2006 03:02:52 PM MYTfilesystem-2.2.1-3 Tue 09 May 2006 03:02:52 PM MYTbasesystem-8.0-2 Tue 09 May 2006 03:02:52 PM MYTredhat-logos-1.1.14.3-1 Tue 09 May 2006 03:02:51 PM MYT * rpm -qa --last grep [package name] will return the install date for a specific RPM package. In my case the apache web server

Unable to start Oracle Listner on Linux OS

Oracle Database Starts but unable to start the Oracle Listner on LINUX Platform. It throws out the following error. >>>>>>>>>>>>>>>> oracle@db02 admin]$ lsnrctl start LISTENER_EPDP TNS-12537: TNS:connection closed TNS-12560: TNS:protocol adapter error TNS-00507: Connection closed Linux Error: 29: Illegal seek >>>>>>>>>>>>>>>>>>>>>>>>> SOLUTION: Make sure that the /etc/hosts file the below entry, especially the last part "localhost" 127.0.0.1 localhost.localdomain localhost Thanks & Regards Avinash Pillai