Ask Your Question
0

Unable to install puppet

asked 2016-09-14 00:53:32 -0500

karthik gravatar image

``I am new to puppet,Have tried to install puppet enterprise 2016.2 in my local machine(monolithic method)

*downloaded tar file and extracted it *gave the option as Guided install option *It popped out with message as Please go to https:/hostname/:3000 in your browser to continue installation *Opened the page and followed the instructions given in puppet labs and in final verfication steps it popped with error message , instructed me to check logs

While going through logs unfortunately my machine got crashed and rebooted

And I tried to open the console but it wasn't so i ran the script .puppet-enterprise-uninstaller to unistall . Then tried to install again using the script /puppet-enterprise-installer but it was stopped with below lines and not proceeding further (also unable to access the https:/hostname/:3000)

We're preparing the Web Installer...

./puppet-enterprise-installer: line 502: /opt/puppetlabs/puppet/bin/facter: No such file or directory 2016-09-14 10:58:50,887 Running command: mkdir -p /opt/puppetlabs/puppet/share/installer/installer 2016-09-14 10:58:50,890 Running command: cp -pR /tmp/puppet-enterprise-2016.2.1-el-6-x8664/* /opt/puppetlabs/puppet/share/installer/installer/ Please go to https://:3000 in your browser to continue installation. Be sure to use 'https://' and that port 3000 is reachable through the firewall. 2016-09-14 10:58:51,101 Running command: RACKENV=production /opt/puppetlabs/puppet/bin/bundle exec thin start --debug -p 3000 -a 0.0.0.0 --ssl --ssl-disable-verify &> /dev/null

Please guide on this.

Complete log:

root@appdynamics puppet-enterprise-2016.2.1-el-6-x86_64]# ./puppet-enterprise-installer

/tmp/puppet-enterprise-2016.2.1-el-6-x8664 /tmp/puppet-enterprise-2016.2.1-el-6-x8664

Puppet Enterprise Installer

Puppet Enterprise offers two different methods of installation.

[1] Guided install

Recommended for beginners. This method will install and configure a temporary webserver to walk you through the various configuration options.

NOTE: This method requires you to be able to access port 3000 on this machine from your desktop web browser.

[2] Text-mode

Recommended for advanced users. This method will open your $EDITOR (vi) with a PE config file (pe.conf) for you to edit before you proceed with installation.

The pe.conf file is a HOCON formatted file that declares parameters and values needed to install and configure PE. We recommend that you review it carefully before proceeding.

=============================================================

How to proceed? [1]: 1

We're installing the Puppet Agent...

2016-09-14 10:58:48,470 Running command: mkdir -p /opt/puppetlabs/server/data/packages/public/2016.2.1/el-6-x8664-1.5.3 2016-09-14 10:58:48,475 Running command: cp -r -L /tmp/puppet-enterprise-2016.2.1-el-6-x8664/packages/el-6-x8664/* /opt/puppetlabs/server/data/packages/public/2016.2.1/el-6-x8664-1.5.3 2016-09-14 10:58:48,679 Running command: cp -r -L /tmp/puppet-enterprise-2016.2.1-el-6-x8664/packages/GPG-KEY-puppetlabs /opt/puppetlabs/server/data/packages/public 2016-09-14 10:58:48,683 Running command: mkdir -p /etc/yum.repos.d 2016-09-14 10:58:48,688 Running command: echo '[puppetenterprise]' > /etc/yum.repos.d/puppetenterprise.repo 2016-09-14 10:58:48,692 Running ... (more)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-09-14 13:43:01 -0500

lupin gravatar image

Do as the installer state:

NOTE: This method requires you to be able to access port 3000 on this machine from your desktop web browser.

So open a web browser and access http:<your_puppet_master_ip>:3000 then follow the GUI instruction.

edit flag offensive delete link more

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: 2016-09-14 00:53:32 -0500

Seen: 169 times

Last updated: Sep 14 '16