This email is intended solely for the person or entity to which it is
addressed and may contain confidential and/or privileged information. If
you are not the intended recipient and have received this email in error,
please notify BroadSoft, Inc. immediately by replying to this message, and
destroy all copies of this message, along with any attachment, prior to
reading, distributing or copying it.
/usr/bin/ruby193-rake is supplied by one of our RPMs,
ruby193-ruby-wrapper. Given that you have /usr/bin/ruby193-ruby, I
think this means you have an older version of software collections
installed.
Before they were released, the beta versions contained
/usr/bin/ruby193-* but these were removed in the final versions. We
reintroduced them in ruby193-ruby-wrapper. Seeing as you still have
/usr/bin/ruby193-ruby, I think you must be using the beta version and
not the final version from the CentOS repositories. An "rpm -q
ruby193-ruby" would confirm - it'll be 1.9.3.327 or so if it's the beta,
or 1.9.3.448 or so if it's the final version.
This email is intended solely for the person or entity to which it is
addressed and may contain confidential and/or privileged information.
If you are not the intended recipient and have received this email in
error, please notify BroadSoft, Inc. immediately by replying to this
message, and destroy all copies of this message, along with any
attachment, prior to reading, distributing or copying it.
gives: /opt/rh/ruby193/root/usr/bin/ruby: error while loading shared
libraries: libruby.so.1.9: cannot open shared object file: No such file or
directory
so I went looking:
sudo find / -name libruby.so.*
/usr/lib64/libruby.so.1.8
/usr/lib64/libruby.so.1.8.7
/opt/rh/ruby193/root/usr/lib64/libruby.so.1.9
/opt/rh/ruby193/root/usr/lib64/libruby.so.1.9.1
I tried this: export RUBYLIB=/opt/rh/ruby193/root/usr/lib64/
however, the foreman-rake command still complainst about not finding
libruby.so.1.9
Do I need to execute some sort of "runlib" to update where
···
On Thursday, March 6, 2014 6:23:24 PM UTC-8, mjac...@broadsoft.com wrote:
>
> Hi Again,
>
> I've been trying to get foreman to work on Centos 6.3 utilzing puppet
> 2.7.19.
>
> specifically, I'm trying to get foreman-vmware working because we're a
> VMWare shop.
>
> rpm -qa | grep foreman =>
>
> foreman-release-1.4.1-2.el6.noarch
> foreman-proxy-1.4.1-1.el6.noarch
> foreman-compute-1.4.1-2.el6.noarch
> rubygem-foreman_api-0.1.11-1.el6.noarch
> foreman-vmware-1.4.1-2.el6.noarch
> foreman-installer-1.4.1-1.el6.noarch
> foreman-1.4.1-2.el6.noarch
>
> trying to install from these instructions:
> http://theforeman.org/manuals/1.4/index.html#3.5Configuration
>
> the following cmd "
>
> foreman-rake db:migrate"
>
> is failing.
>
> /usr/sbin/foreman-rake is a bash script which contains:
> RAKE_CMD=/usr/bin/ruby193-rake
>
> there is no /usr/bin/ruby193-rake
>
> so ... wget ftp://ftp.pbone.net/mirror/ftp.scientificlinux.org/linux/scientific/6x/external_products/softwarecollections/x86_64/ruby193/ruby193-rubygem-rake-0.9.2.2-40.el6.noarch.rpm
>
> however, I *still* don't have /usr/bin/ruby193-rake.
>
> rpm -qa | grep ruby193-rubygem-rake
> ruby193-rubygem-rake-0.9.2.2-27.el6.noarch
> ruby193-rubygem-rake-0.9.2.2-40.el6.noarch
>
> ls /usr/bin/ru*
>
> /usr/bin/ruby /usr/bin/ruby_parse /usr/bin/runcon /usr/bin/run-parts
> /usr/bin/ruby193-ruby /usr/bin/ruby_parse_extract_error /usr/bin/run_erl /usr/bin/run_test
>
> Any help would be greatly appreciated.
>
>
>
>
>
> This email is intended solely for the person or entity to which it is
> addressed and may contain confidential and/or privileged information. If
> you are not the intended recipient and have received this email in error,
> please notify BroadSoft, Inc. immediately by replying to this message, and
> destroy all copies of this message, along with any attachment, prior to
> reading, distributing or copying it.
>
>
--
This email is intended solely for the person or entity to which it is
addressed and may contain confidential and/or privileged information. If
you are not the intended recipient and have received this email in error,
please notify BroadSoft, Inc. immediately by replying to this message, and
destroy all copies of this message, along with any attachment, prior to
reading, distributing or copying it.
This email is intended solely for the person or entity to which it is
addressed and may contain confidential and/or privileged information. If
you are not the intended recipient and have received this email in error,
please notify BroadSoft, Inc. immediately by replying to this message, and
destroy all copies of this message, along with any attachment, prior to
reading, distributing or copying it.
–
This email is intended solely for the person or entity to which it is
addressed and may contain confidential and/or privileged information. If
you are not the intended recipient and have received this email in error,
please notify BroadSoft, Inc. immediately by replying to this message, and
destroy all copies of this message, along with any attachment, prior to
reading, distributing or copying it.
All right. I've finally made some headway on this.
created a brand new instance on CentOS 6.4.
used the epel and remi repositoryies.
enabled rhel-6-server-optional-rpms and rhel-server-rhscl-6-rpms
used yum to install foreman 1.4 for x86_64
installed foreman-installer.
ran that in default mode for the initial install.
installed foreman-vmware via yum.
rebooted the machine. [ I probably could have stopped/started
/etc/init.d/foreman* ]
logged in w/ default admin/changem
configured my compute-resource
I can now see everything in vSphere.
···
On Thursday, March 6, 2014 6:23:24 PM UTC-8, mjac...@broadsoft.com wrote:
>
> Hi Again,
>
> I've been trying to get foreman to work on Centos 6.3 utilzing puppet
> 2.7.19.
>
> specifically, I'm trying to get foreman-vmware working because we're a
> VMWare shop.
>
> rpm -qa | grep foreman =>
>
> foreman-release-1.4.1-2.el6.noarch
> foreman-proxy-1.4.1-1.el6.noarch
> foreman-compute-1.4.1-2.el6.noarch
> rubygem-foreman_api-0.1.11-1.el6.noarch
> foreman-vmware-1.4.1-2.el6.noarch
> foreman-installer-1.4.1-1.el6.noarch
> foreman-1.4.1-2.el6.noarch
>
> trying to install from these instructions:
> http://theforeman.org/manuals/1.4/index.html#3.5Configuration
>
> the following cmd "
>
> foreman-rake db:migrate"
>
> is failing.
>
> /usr/sbin/foreman-rake is a bash script which contains:
> RAKE_CMD=/usr/bin/ruby193-rake
>
> there is no /usr/bin/ruby193-rake
>
> so ... wget ftp://ftp.pbone.net/mirror/ftp.scientificlinux.org/linux/scientific/6x/external_products/softwarecollections/x86_64/ruby193/ruby193-rubygem-rake-0.9.2.2-40.el6.noarch.rpm
>
> however, I *still* don't have /usr/bin/ruby193-rake.
>
> rpm -qa | grep ruby193-rubygem-rake
> ruby193-rubygem-rake-0.9.2.2-27.el6.noarch
> ruby193-rubygem-rake-0.9.2.2-40.el6.noarch
>
> ls /usr/bin/ru*
>
> /usr/bin/ruby /usr/bin/ruby_parse /usr/bin/runcon /usr/bin/run-parts
> /usr/bin/ruby193-ruby /usr/bin/ruby_parse_extract_error /usr/bin/run_erl /usr/bin/run_test
>
> Any help would be greatly appreciated.
>
>
>
>
>
> This email is intended solely for the person or entity to which it is
> addressed and may contain confidential and/or privileged information. If
> you are not the intended recipient and have received this email in error,
> please notify BroadSoft, Inc. immediately by replying to this message, and
> destroy all copies of this message, along with any attachment, prior to
> reading, distributing or copying it.
>
>
--
This email is intended solely for the person or entity to which it is
addressed and may contain confidential and/or privileged information. If
you are not the intended recipient and have received this email in error,
please notify BroadSoft, Inc. immediately by replying to this message, and
destroy all copies of this message, along with any attachment, prior to
reading, distributing or copying it.