Browsed by
Tag: Openshift

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.