Thursday, July 16, 2015

Check emkey is copied to the repository

You get the following error when you upgrade Grid control 12.1.01 to 12.1.0.2:































That's because emkey is secured and is not availabe for upgrade. To make it available for upgrade, please do the following:

[oracle@myserver bin]$ pwd
/u01/Grid12c/oms12cr/oms/bin

[oracle@myserver bin]$ ./emctl config emkey -copy_to_repos
Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0
Copyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.
Enter Enterprise Manager Root (SYSMAN) Password :
The EMKey has been copied to the Management Repository. This operation will cause the EMKey to become unsecure.
After the required operation has been completed, secure the EMKey by running "emctl config emkey -remove_from_repos".
[oracle@myserver bin]$

Please make sure you do the above under your old OMS_HOME/bin. 

Also you can check the status of emkey as below:

[oracle@myserver bin]$ ./emctl status emkey
Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0
Copyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.
Enter Enterprise Manager Root (SYSMAN) Password :
The EMKey  is configured properly, but is not secure. Secure the EMKey by running "emctl config emkey -remove_from_repos".

Once the upgrade is over, you can secure the key as below:

[oracle@myserver bin]$ ./emctl config emkey -remove_from_repos
Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0
Copyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.
Enter Enterprise Manager Root (SYSMAN) Password :
The EMKey has been removed from the Management Repository.




Monday, July 13, 2015

Installing a RPM package in Unix/Linux

The command to install RPM package (library file) in Unix/Linux is as below:

rpm -ivh

e.g

rpm -ivh glibc-2.5.107.el5_9.1.x86_64

Tuesday, July 7, 2015

Unable to complete network operation against My Oracle Support. Please check network connectivity to Oracle Support Site.


Error

Unable to complete network operation against My Oracle Support. Please check network connectivity to Oracle Support Site.

This error occurs if we we haven't set proxy details to connect to Oracle sites properly.

Solution

We are trying to connect to a https site. But we haven't given the proxy details for https. So the following screenshot shows how this is fixed:


Then My Oracle Support credentials will start working as well.

Pinging the Internet from Unix


This is how we test whether the internet is accessible from Unix machines:

ping support.oracle.com

For example:

[oracle@ukrlpora001 ~]$ ping support.oracle.com
PING e7075.x.akamaiedge.net (2.18.19.34) 56(84) bytes of data.
64 bytes from 2.18.19.34: icmp_seq=1 ttl=50 time=8.21 ms
64 bytes from 2.18.19.34: icmp_seq=2 ttl=50 time=10.7 ms
64 bytes from 2.18.19.34: icmp_seq=3 ttl=50 time=16.3 ms

Wednesday, July 30, 2014

Creating a file that contains the list of all the files in a folder

The following command in Windows will help in creating a list of all the files in a folder:

dir /b > C:\TEMP\all.sql

The above command when executed from a folder will spool the file names without any other details such as file size, modified time etc. It is like pipe in UNIX.

Wednesday, September 28, 2011

Delhi Trip

Last week of August went in a jiffy. As I was chosen for the SABMiller due diligence, we had to go to South America to get things done. We went to Delhi to get the business visa (BV) as we thought personal appearance (PA) will speed up getting the visa. To our surprise, the visa officer said, it will take 3 working days and said PA is not required. We went to Delhi by Indigo and returned by Kingfisher. I must talk about the service of Indigo here. The cabin crew served food in cabin temperature. Imagine having Parata in cabin temperature. Kingfisher food was not so good. But it was served hot.

In Delhi I found some traffic regulations appealing. The good part is people obey that. Almost every two-wheelers and pillions had put helmets on. To some extent, people do follow the lanes. Even in the heart of Delhi one can finish the lunch in 30 rupees. We stayed in Parkland Hotel. We avoided the hotel food as it was very costly and wanted to taste the local food. One must mention about sprawling Delhi airport. It is amazingly world class!

Monday, March 21, 2011

High Rise Buildings...

Today on ET Wealth I read an article on high rise buildings. Why cities started embracing this new realty idea is out of no surprise. The builders claim people look for better view and cleaner air. Many builders such as Hiranandani, Hafeez Contracter say high rise buildings are safer than normal buildings. They can withstand upto 6-6.5 magnitude in richter scale. The materials used are fire-proof. One builder claims high rise give iconic status. A 117 storey building in Mumbai will rewrite the history of Indian realty scenario as the dwellers have preferred 10-20 storey buildings so far. 




The cost associated with high rise buildings is huge as the time taken to complete a project is around 4 years unlike the time taken for normal buildings which is usually 18-24 months. As the builders face the huge construction cost, they pass the cost burden back to the customers. Though a flat in a high rise costs almost twice the amount that it would take to own a flat in other buildings, high rise building offer no economic value. Undivided share is next to impossible for high rise buildings. Maintenance cost is huge and the builder does not walk out once the construction is over. He runs the maintenanace as a profitable venture since running an association by the oweners will be very difficult.

Apart from view, pollutiom-free air and state-of-the-art amenities, high rise buildings are not for the ones who want to invest in a property that will remain in his name forever.

My suggestion is if you are a HNI and willing to shell those extra bucks and pay wealth tax, go for it. Otherwise invest in a flat which makes good economic sense.