When I install the latest version of erlang R14B04 in EC2 I get an error stating
Fatal error in wait__(): Function not implemented (38)
So When I installed the lower version of Erlang which is R13B03 It got installed in it.
But i couldnt install the RIAK 1.x version in it.
Could anyone please help me in this to set up riak cluster on ec2
If you search the stack overflow archives, you will learn that certain CentOS versions doesn't work with R14Bx. You are probably being hit by this problem here. Installing a newer version of CentOS that fixes the problem is probably a good solution.
Related
My thingsboard service does not start or can't find one after installing the rpm package in amazon ami. There is no .sh file in find only a jar and yaml file.
The Thingsboard RPM package you are using is verified on CentOS 7. The issue is that Amazon Linux AMI is not compatible with CentOS 7. See this AWS forum thread for more details.
Maybe we will support AWS Linux in future releases, but for now, I suggest to use officially supported Linux versions.
You can get started with Thingsboard using our free live demo server or by using pre-defined AMIs that are available for all regions.
Thanks,
Andrew
I want to install docker 1.3.1 on my centos 6.5 environment but I have no idea how to find it in the epel. I'm quite new to docker. Can anyone help me out? Thanks
Clearly stated in the Docker documentation:
Docker runs on CentOS 7.X.
CentOS 6.5 is not CentOS 7.X. Docker is not available for your old operating system.
Furthermore, you didn't give any details about your computer, but you should remain aware that Docker only works on 64-bit systems.
By the way, you should take better care of your computer; in CentOS, the minor version number is updated automatically by the package manager. So the fact that you are two versions behind (CentOS 6 is currently on 6.7) indicates that you are not performing updates to your packages, and could have various security vulnerabilities. You should update your system regularly, by simply running yum update.
I installed Erlang on my Mac (OS X) and my Ubuntu 14.04 pc. Trying to create a map works on the Mac but the exact same code yields an error on my Ubuntu pc. I have tried it on one other computer and it worked there as well. This is the code:
Map = #{"hi" => 42} .
It's the sample code from here. On my Ubuntu install it says syntax error before {.
Could it be some kind of problem with my version of Erlang? I installed it from aptitude. When I start it, it says "Eshell V5.10.4".
It is the same if I write the code in a file and try to compile it from the shell.
Your Erlang installation is too old. 5.10.4 was the version number of the emulator released in R16B03, while maps were introduced in 17.0.
If you need up-to-date Erlang packages for Ubuntu, you can find them here. Either add the repository as described at that page, or scroll down to download packages manually. (Full disclosure: provided by my employer)
I'm reading this tutorial:
http://docs.basho.com/riak/1.1.4/tutorials/fast-track/Building-a-Development-Environment/
I installed riak from the .deb package in ubuntu. If I run riak start it will say "node is already running!" the second time I do it. I downloaded the riak source. The tutorial wants me to do make devrel. It gives me a long erlang error. I think I need to compile from source first before I can run that. if I try to compile riak from source it will complain I have the latest version of erlang. I tried to alias erl=/usr/lib/riak/erts-5.9.1/bin/erl to use the older version bundled with riak but it still gives same error. I tried to remove the vsn requirements from the rebar.config.
Is there a way to run multiple nodes using riak start after installing riak from the .deb package? Is there a way to compile riak without removing the latest version of erlang?
I had this same problem with Riak installed under Homebrew.
The easiest thing is to use Kerl to install multiple versions of Erlang/OTP, then build Riak from source with the devrel target. You can find the instructions for getting the Erlang installation right at Basho's docs on installing Erlang using Kerl.
make devrel will get you multiple complete, self-contained instances of Riak.
So, I thought I'd create a bonafide release to run my next application in. Unfortunately, there seems to be a deal breaker.
First I tried making a project from scratch using this guide:
http://alancastro.org/2010/05/01/erlang-application-management-with-rebar.html
That failed with an obscure error, so just to make sure, I tried to run a project I know is good, etorrent.
When I tried to run etorrent's release, I got the same error:
[me#my-ip etorrent]# rel/etorrent/bin/etorrent console
Exec: /root/etorrent/rel/etorrent/erts-5.8.4/bin/erlexec -boot /root/etorrent/rel/etorrent/releases/1.2.1/etorrent -embedded -config /root/etorrent/rel/etorrent/etc/app.config -args_file /root/etorrent/rel/etorrent/etc/vm.args -- console
Root: /root/etorrent/rel/etorrent
pthread/ethr_event.c:98: Fatal error in wait__(): Function not implemented (38)
Aborted
I searched for that error, and the serps are filled with references to RabbitMQ on CentOS having the same problem. Obviously, it's more general than a RabbitMQ problem specifically. Based on this thread:
RabbitMQ install issue on Centos 5.5
...and my own experience, it seems like running releases on 14 series erlang installations coupled with series 5 CentOS doesn't work. I installed the latest erlang up on the site last night, by the way, so that's what I'm using. I didn't pass any flags to 'configure', just used the stock options.
Does anyone have any idea if there's a compile option for erlang that might fix this? Or any other advice? Is anyone else successfully using rebar created releases for applications in this environment?
Seems to be a problem that needed to be solved on the CentOS side if you look at this comment to this RabbitMQ install issue on Centos 5.5 answer
Compilation of Erlang R14B03 (erts-5.8.4) works on CentOS 5.6 (Final)
VirtualBox VM
So it looks to me that you need to upgrade your CentOS to 5.6