Ask Your Question
0

Installed PE3 to Unbuntu 12.04.2 and getting a redirect accessing the Console. Tried editing the hosts file and puppet.conf. Tried uninstalling and now the installer fails when installing MCollective

asked 2013-07-19 07:33:12 -0500

jsouthgate gravatar image

I have installed PE3 to Unbuntu 12.04.2 and I'm getting a redirect accessing the Console, and it seems to loop around in a redirect.

I have now tried editing the hosts file and puppet.conf.

The hosts file looks like this:

xxx.xx.x.xxx    rdtpup01.xxxx.xxx.co.uk
xxx.xx.x.xxx    rdtpup01
xxx.xx.x.xxx    RDTPUP01
127.0.0.1       localhost

And the puppet.conf looks like this:

[main]
certname = rdtpup01.xxxx.xxx.co.uk
vardir = /var/opt/lib/pe-puppet
logdir = /var/log/pe-puppet
rundir = /var/run/pe-puppet
modulepath = /etc/puppetlabs/puppet/modules ...
(more)
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2013-07-19 10:02:33 -0500

GregLarkin gravatar image

Please change your hosts file to the following format and check if the redirect problem is solved. Also, please post the log file regarding the MCollective installation failure.

xxx.xx.x.xxx    rdtpup01.xxxx.xxx.co.uk rdtpup01 RDTPUP01  
127.0.0.1       localhost
edit flag offensive delete link more
0

answered 2013-07-19 11:25:28 -0500

jsouthgate gravatar image

I can't check without reinstalling. There are two [fail] items in the install:

from /opt/puppet/share/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:54:in `run_initializers'
from /opt/puppet/share/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/application.rb:136:in `initialize!'
from /opt/puppet/share/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/railtie/configurable.rb:30:in `method_missing'
from /opt/puppet/share/puppet-dashboard/config/environment.rb:5:in `<top (required)>'
from ./script/delayed_job:3:in `require'
from ./script/delayed_job:3:in `<main>'
* Could ...
(more)
edit flag offensive delete link more

Comments

What version(s) of Ruby is installed on your system?

GregLarkin gravatar imageGregLarkin ( 2013-07-19 12:48:37 -0500 )edit

Whatever version your installer has added. I ran ruby --version and it says ruby1.8 and ruby1.9.1.

jsouthgate gravatar imagejsouthgate ( 2013-07-22 03:06:15 -0500 )edit

Shall I just re-install the linux server?

jsouthgate gravatar imagejsouthgate ( 2013-07-23 08:19:12 -0500 )edit

I'm not sure if you need to do that, but I am confused about why Ruby 1.9.1 is being used. According to http://docs.puppetlabs.com/guides ...(more)

GregLarkin gravatar imageGregLarkin ( 2013-07-23 10:47:43 -0500 )edit

Is it possible that some environment variables overrode the Ruby path during installation or when starting the Puppet services?

GregLarkin gravatar imageGregLarkin ( 2013-07-23 10:48:27 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2013-07-19 07:33:12 -0500

Seen: 264 times

Last updated: Jul 19 '13