Unable to Install puppet Master

218 views
Skip to first unread message

Jeeva

unread,
May 31, 2012, 3:25:47 AM5/31/12
to Puppet Users
Hi,
I was trying to instal puppet-enterprise-2.5.1-el-5-x86_64 in RHEL-
5.3
machine. But got below error.

## Installing packages from files...
error: Failed dependencies:
java >= 1.5.0 is needed by pe-
tanukiwrapper-3.5.9-5.pe.el5.x86_64
===========================================================================
=====
!! ERROR: Could not install packages from files; see messages above
for cause.

###



BUT,

1. Then I checked my java version which is > what is required.
java -version
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02, mixed mode)

2. I'm trying to install puppet master, console and puppet agent in
same machine as i want to test it before I move it to prod.

Kindly help..

Trevor Vaughan

unread,
May 31, 2012, 8:40:28 AM5/31/12
to puppet...@googlegroups.com
What does rpm -qa | grep java give you?

If you installed Java from a tar source, then it wouldn't update your
RPM database and actually meet the RPM requirements.

Your alternatives are to download a version of Java in RPM form that
meets your requirements, roll your own stub RPM, or use --nodeps (if
using 'rpm' not 'yum').

Trevor
> --
> You received this message because you are subscribed to the Google Groups "Puppet Users" group.
> To post to this group, send email to puppet...@googlegroups.com.
> To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
>



--
Trevor Vaughan
Vice President, Onyx Point, Inc
(410) 541-6699
tvau...@onyxpoint.com

-- This account not approved for unencrypted proprietary information --

jcbollinger

unread,
May 31, 2012, 8:55:24 AM5/31/12
to Puppet Users

On May 31, 2:25 am, Jeeva <kissan...@gmail.com> wrote:

> Kindly help..


What is different now than when you posed the same question two weeks
ago? (http://groups.google.com/group/puppet-users/browse_thread/
thread/fa2bf3434535b2d8/289872bc85fe3997) You received responses
then, but you did not follow up. We cannot help you if you will not
listen.


John

Jeeva

unread,
Jul 2, 2012, 2:55:13 AM7/2/12
to puppet...@googlegroups.com
Apologies for the late reply.

1. I installed "pe-tanukiwrapper-3.5.9-5.pe.el5.x86_64" separately with no deps. I moved this rpm out of packages as well
    >> rpm -U pe-tanukiwrapper-3.5.9-5.pe.el5.x86_64 --nodeps

2. After then I ran the puppet installer. Since I already have the mysql in my server, I didn't select mysql installation. But im getting following error.
 
 "## Setting up the console...
!!! The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try again: gem install mysql.
rake aborted!
libmysqlclient.so.15: cannot open shared object file: No such file or directory - /opt/puppet/lib/ruby/site_ruby/1.8/x86_64-linux/mysql.so
"

Kindly help as I'm new to puppet.

Thanks,
Jeeva
> To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.

Matthaus Litteken

unread,
Jul 2, 2012, 8:25:49 PM7/2/12
to puppet...@googlegroups.com
Jeeva,
What mysql version do you have installed (via yum or source, from base
or oracle)? Is it local to the install or on another machine?
libmysqlclient.so.15 comes with mysql-libs for 5.0, other versions of
the .so file accompany other mysql versions, so this may be part of
the problem.

matthaus
>> > puppet-users...@googlegroups.com.
>> > For more options, visit this group at
>> > http://groups.google.com/group/puppet-users?hl=en.
>> >
>>
>>
>>
>> --
>> Trevor Vaughan
>> Vice President, Onyx Point, Inc
>> (410) 541-6699
>> tvau...@onyxpoint.com
>>
>> -- This account not approved for unencrypted proprietary information --
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/puppet-users/-/2hhjDzTM_TIJ.
>
> To post to this group, send email to puppet...@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.



--
Matthaus Litteken
Release Manager, Puppet Labs

Matthaus Litteken

unread,
Jul 3, 2012, 2:35:49 PM7/3/12
to puppet...@googlegroups.com
The jdk rpm provides jdk of version 2000:1.6.0_33-fcs.
pe-tanukiwrapper requires java of >= 1.5.0, which the jdk does not
provide. The pe-virtual-java package supplies with el versions of PE
can help in overcoming this, as it provides java (it is explained
better here: http://docs.puppetlabs.com/pe/2.5/install_basic.html#vendor-packages).

[root@localhost]# rpm -qp --provides jdk-6u33-linux-amd64.rpm
jaxp_parser_impl
xml-commons-apis
jdk = 2000:1.6.0_33-fcs

[root@localhost el-5-x86_64]# rpm -qp --requires
pe-tanukiwrapper-3.5.9-5.pe.el5.x86_64.rpm
java >= 1.5.0
pe-puppet-enterprise-release
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1

[root@localhost el-5-x86_64]# rpm -qp --provides
pe-virtual-java-1.0-1.pe.el5.noarch.rpm
java = 1.6.0
jdk = 1.6.0
jre = 1.6.0
pe-virtual-java = 1.0-1.pe.el5


HTH
matthaus

On Tue, Jul 3, 2012 at 10:49 AM, RAM <yigan...@fico.com> wrote:
> I was experiencing the same problem.
>
> I installed java by executing jdk-6u33-linux-x64-rpm.bin. After the
> execution "rpm -qa | grep java" showed the below:
>
> sun-javadb-docs-10.6.2-1.1
> sun-javadb-client-10.6.2-1.1
> sun-javadb-core-10.6.2-1.1
> sun-javadb-javadoc-10.6.2-1.1
> sun-javadb-common-10.6.2-1.1
> sun-javadb-demo-10.6.2-1.1
>
> and rpm -qa | grep jdk showed:
>
> jdk-1.6.0_33-fcs
>
> Are they looking alright or something missing?
>> Trevor Vaughan
>> Vice President, Onyx Point, Inc
>> (410) 541-6699
>> tvau...@onyxpoint.com
>>
>> -- This account not approved for unencrypted proprietary information --
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/puppet-users/-/mUywqh-PWTMJ.
>
> To post to this group, send email to puppet...@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.



--
Reply all
Reply to author
Forward
0 new messages