Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation via st2_deploy.sh fails under CentOS 7 #1696

Closed
arm4b opened this issue Jul 6, 2015 · 1 comment · Fixed by #1722
Closed

Installation via st2_deploy.sh fails under CentOS 7 #1696

arm4b opened this issue Jul 6, 2015 · 1 comment · Fixed by #1722
Assignees

Comments

@arm4b
Copy link
Member

arm4b commented Jul 6, 2015

Tried to install StackStorm under fresh CentOS7 (x86_64) AWS AMI. As you can see, erlang dependency for rabbitmq is missing:

# sudo ./st2_deploy.sh latest
# Detected Distro is CentOS Linux
Downloading deployment script from: https://downloads.stackstorm.net/releases/st2/0.12dev/rpms/st2_deploy.sh...
Running deployment script for St2 0.12dev...
######################################################################
######                       WARNING                           #######
######################################################################

This scripts allows you to evaluate StackStorm on a single server and
is not intended to be used for production deployments.

For more information, see http://docs.stackstorm.com/install/index.html

To abort press CTRL-C otherwise installation will continue in 5 seconds
Installing version 0.12dev
###########################################################################################
# Detected linux distribution is RedHat compatible
Failed to issue method call: Unit firewalld.service not loaded.
###########################################################################################
# Downloading rpms packages
ST2 Packages: st2common st2reactor st2actions st2api st2auth st2debug
/home/stanley/rpms ~
~
###########################################################################################
# Installing packages via yum
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.cogentco.com
 * extras: mirror.symnds.com
 * updates: mirrors.lga7.us.voxel.net
No packages marked for update
Loaded plugins: fastestmirror
Examining /tmp/rabbitmq-server.rpm: rabbitmq-server-3.3.5-1.noarch
Marking /tmp/rabbitmq-server.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package rabbitmq-server.noarch 0:3.3.5-1 will be installed
--> Processing Dependency: erlang >= R13B-03 for package: rabbitmq-server-3.3.5-1.noarch
Loading mirror speeds from cached hostfile
 * base: mirror.cogentco.com
 * extras: mirror.symnds.com
 * updates: mirrors.lga7.us.voxel.net
--> Finished Dependency Resolution
Error: Package: rabbitmq-server-3.3.5-1.noarch (/rabbitmq-server)
           Requires: erlang >= R13B-03
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Adding EPEL repo worked for me:

sudo yum install epel-release

There are other options available to install erlang: https://www.rabbitmq.com/install-rpm.html
Seems script should check if there is erlang package available, and if not - install it also somewhere here.

@arm4b arm4b added the bug label Jul 6, 2015
@arm4b
Copy link
Member Author

arm4b commented Jul 7, 2015

Also some related/useful info about RHEL6/7:

Not to forget about RHEL7/CentOS7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant