Browsed by
Month: April 2012

Cygwin – child_info_fork::abort: address space needed issue

Cygwin – child_info_fork::abort: address space needed issue

I was trying to install redhat client for OpenShift cloud paltform in my Windows 7 laptop. But I got the following error,
_______________________________________
ERROR: Error installing rhc:
ERROR: Failed to build gem native extension.

/usr/bin/ruby.exe mkrf_conf.rb
3 [main] ruby 1688 child_info_fork::abort: address space needed by ‘etc.so ‘ (0x1E0000) is already occupied
3 [main] ruby 2220 child_info_fork::abort: address space needed by ‘etc.so ‘ (0x1E0000) is already occupied
Building native extensions. This could take a while…

Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/rhc-rest-0.0.14 f or inspection.
_______________________________________

I have raised the same with OpenShift community forum and I have received a very quick response which pointed me out to a knowledge base article. I followed the procedure and it worked very well. Actually the original solution is at mattberther.com. Thanks to him.

Follow these steps to resolve the address space issue.
1. Open Cygwin terminal
2. find /lib/ruby/gems -iname ‘*.so’ > /tmp/ruby.gems.local.so.lst
3. Quit cygwin
4. Start –> Run
5. cmd.exe
6. cd c:\path\to\cygwin\bin\
7. ash.exe
8. usr/bin/rebaseall -T /tmp/ruby.gems.local.so.lst
9. Reboot

But still I am getting the native extension building issue. It will be resolved soon I hope. Anyway I am happy for trying out something new.

OpenShift from RedHat

OpenShift from RedHat

I thought of doing trying something new by this week end. I was discussing with my room mate to host it on a free cloud paltform. So I thought of doing it with Google App Engine platform. So I was just googling for other alternatives and found OpenSHifthttps://openshift.redhat.com from RedHat team. Recently read in news that RedHat becomes the first billion dollar Linux based company. This cloud platform is really cool for deploying Ruby, Python and PHP based apps. It has a Apache and JBoss server running behind it. The advantage here is they are providing access through console too and also provision to run cron jobs. That is really cool when comparing to other cloud platforms.

We can do it from any machine. I am trying it out from Windows 7 since my laptop doesn’t support Linux installation. 🙁 Trying to buy a new one soon. For Windows to make it work for OpenShift platform, we need to have Cygwin and also a rhc ruby gem. So I have to install a Ruby gem for rhc(RedHat Client) application for commandline access. But unfortunately the gem installation is failing. I went through their forum for raising an issue for this. But there is another fellow facing the same. So I have just updated with my comments on the same thread. Let me wait for sometime for them to resolve it. Going through their architecture overview docs.

Trip to ooty

Trip to ooty

Last weekend on a trip to Ooty from Chennai. We were 10 people started from Chennai on 30th april night by bus. And we reached Coimbatore on 31st morning. We directly went to Ashwath’s home there. Later we went to Black thunder – water theme park at Mettupalayam which is one hour bus travel distance away from coimbatore. We enjoyed the whole day there in the theme park. The rides were good. But still it is the same for a long time from the time when I visited there around 6 years back.

From Black thunder it will take 3 hours of bus travel to ooty. And it is difficult to get seats in the buses nearer to the theme park. Otherwise you have to get hired cabs which will cost 150 rupees per head. So we went back to mettu palayam bus stand to get seats in the bus. We reached ooty around 10:30 PM. It is around 50 KMs of travel in hills.

We stayed in a lodge, which we booked through online. They charged 1200 rupees for a night per room. We took 2 rooms to accommodate 10 people. It was comfortably enough. On the next day, we took a car to roam around. It costs 2000 per day travel. We roamed through many tourist places that people usually watch. And we went around thodar tribal community people area. There was a sacred temple of them built by them. You can check that in my picasa photos. There was a big ball kind of stone, which they use it as part of the marriage ritual. The boy should lift the stone till the shoulder and through it behind him to get married. Still they follow those rituals it seems. It was nice to know. Then we returned back on the same evening and reached Chennai on April 2nd morning.