Yes, that workaround did it, I now have a shiny new Scalr Server. BTW for others a micro wont cut it for POC , had to switch to t2.medium and everything appears happy now.
Many thanks Thomas -Matthew On Tuesday, April 7, 2015 at 10:57:37 AM UTC-5, Thomas Orozco wrote: > > Hi Matt, > > You need to install the perl data dumper module first: > > *yum install "perl(Data::Dumper)"* > > Then, run the reconfigure command. > > Note that this is a known issue in the installer ( > https://github.com/Scalr/installer-ng/issues/142). We'll work on fixing > this in the future, but for now the workaround should fix your issue. > > Cheers, > > On Tuesday, April 7, 2015 at 5:04:48 PM UTC+2, Matthew Trachtenberg wrote: >> >> Morning, >> >> I am working on installing OSS on a RHEL 7.1 host on AWS , I keep running >> into the following error when trying to start the services using this >> command: >> >> sudo /opt/scalr-server/bin/scalr-server-ctl reconfigure >> >> No errors were observed until this point during install. >> >> Have verified that the path to mysql_install_db is correct and the file >> exists, also set permission to run on the file, no change. >> >> Error message: >> >> Recipe: scalr-server::group_mysql_enabled >> * user[mysql_user] action create (up to date) >> * directory[/opt/scalr-server/etc/mysql] action create (up to date) >> * template[/opt/scalr-server/etc/mysql/my.cnf] action create (up to >> date) >> * directory[/opt/scalr-server/var/lib/mysql] action create (up to date) >> * directory[/opt/scalr-server/var/run/mysql] action create (up to date) >> * directory[/opt/scalr-server/var/log/mysql] action create (up to date) >> * execute[mysql_install_db] action run >> >> >> ================================================================================ >> Error executing action `run` on resource 'execute[mysql_install_db]' >> >> ================================================================================ >> >> Mixlib::ShellOut::ShellCommandFailed >> ------------------------------------ >> Expected process to exit with [0], but received '1' >> ---- Begin output of >> /opt/scalr-server/embedded/scripts/mysql_install_db >> --defaults-file=/opt/scalr-server/etc/mysql/my.cnf >> --basedir=/opt/scalr-server/embedded --user=scalr-mysql ---- >> STDOUT: >> STDERR: FATAL ERROR: please install the following Perl modules before >> executing /opt/scalr-server/embedded/scripts/mysql_install_db: >> Data::Dumper >> ---- End output of >> /opt/scalr-server/embedded/scripts/mysql_install_db >> --defaults-file=/opt/scalr-server/etc/mysql/my.cnf >> --basedir=/opt/scalr-server/embedded --user=scalr-mysql ---- >> Ran /opt/scalr-server/embedded/scripts/mysql_install_db >> --defaults-file=/opt/scalr-server/etc/mysql/my.cnf >> --basedir=/opt/scalr-server/embedded --user=scalr-mysql returned 1 >> >> Resource Declaration: >> --------------------- >> # In >> /opt/scalr-server/embedded/cookbooks/scalr-server/recipes/group_mysql_enabled.rb >> >> 53: execute 'mysql_install_db' do >> 54: command >> "#{node[:scalr_server][:install_root]}/embedded/scripts/mysql_install_db" \ >> 55: " --defaults-file=#{etc_dir_for node, 'mysql'}/my.cnf" >> \ >> 56: " >> --basedir=#{node[:scalr_server][:install_root]}/embedded" \ >> 57: " --user=#{node[:scalr_server][:mysql][:user]}" >> 58: not_if { bootstrapped } >> 59: end >> 60: >> >> Compiled Resource: >> ------------------ >> # Declared in >> /opt/scalr-server/embedded/cookbooks/scalr-server/recipes/group_mysql_enabled.rb:53:in >> >> `from_file' >> >> execute("mysql_install_db") do >> action "run" >> retries 0 >> retry_delay 2 >> default_guard_interpreter :execute >> command "/opt/scalr-server/embedded/scripts/mysql_install_db >> --defaults-file=/opt/scalr-server/etc/mysql/my.cnf >> --basedir=/opt/scalr-server/embedded --user=scalr-mysql" >> backup 5 >> returns 0 >> declared_type :execute >> cookbook_name :"scalr-server" >> recipe_name "group_mysql_enabled" >> not_if { #code block } >> end >> >> >> Running handlers: >> [2015-04-07T10:58:12-04:00] ERROR: Running exception handlers >> - Raven::Chef::SentryHandler >> Running handlers complete >> [2015-04-07T10:58:13-04:00] ERROR: Exception handlers complete >> [2015-04-07T10:58:13-04:00] FATAL: Stacktrace dumped to >> /opt/scalr-server/embedded/cookbooks/cache/chef-stacktrace.out >> Chef Client failed. 1 resources updated in 1.960212125 seconds >> [2015-04-07T10:58:13-04:00] ERROR: execute[mysql_install_db] >> (scalr-server::group_mysql_enabled line 53) had an error: >> Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], >> but received '1' >> ---- Begin output of /opt/scalr-server/embedded/scripts/mysql_install_db >> --defaults-file=/opt/scalr-server/etc/mysql/my.cnf >> --basedir=/opt/scalr-server/embedded --user=scalr-mysql ---- >> STDOUT: >> STDERR: FATAL ERROR: please install the following Perl modules before >> executing /opt/scalr-server/embedded/scripts/mysql_install_db: >> Data::Dumper >> ---- End output of /opt/scalr-server/embedded/scripts/mysql_install_db >> --defaults-file=/opt/scalr-server/etc/mysql/my.cnf >> --basedir=/opt/scalr-server/embedded --user=scalr-mysql ---- >> Ran /opt/scalr-server/embedded/scripts/mysql_install_db >> --defaults-file=/opt/scalr-server/etc/mysql/my.cnf >> --basedir=/opt/scalr-server/embedded --user=scalr-mysql returned 1 >> [2015-04-07T10:58:13-04:00] FATAL: Chef::Exceptions::ChildConvergeError: >> Chef run process exited unsuccessfully (exit code 1) >> [ec2-user@ip-172-31-56-59 scripts]$ ^C >> [ec2-user@ip-172-31-56-59 scripts]$ >> >> -- You received this message because you are subscribed to the Google Groups "scalr-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
