Re: [Puppet Users] puppet instllation error

496 views
Skip to first unread message

Matthaus Owens

unread,
Sep 28, 2012, 2:52:57 PM9/28/12
to puppet...@googlegroups.com, Puppet Enterprise Users
That error indicates that the root password you provided for mysql is
not correct. If mysql is already installed on the machine the
installer needs that information to create databases and database
users for the console.

One solution would be to find and provide the correct mysql root password.

Another solution, if mysql isn't in use on the server and you don't
need the data, would be to remove the mysql packages and
/var/lib/mysql and let the PE installer handle installing the mysql
package for you.

I've also CCed the pe-users list, as this is a Puppet Enterprise
specific question.

On Fri, Sep 28, 2012 at 11:26 AM, skrishna12 <shiva...@gmail.com> wrote:
> Hi
>
> I downloaded puppet master puppet-enterprise-2.6.0-el-5-x86_64 on centos
> 5.2 server. When I tried to install , I got the following error messages.
>
> ! ERROR: Could not connect to the mysql server using the root credentials
> provided. Please verify your credentials and try again.
>
> Can you any one suggest what could be the solution to resove the issue? I
> am struck here.
>
> Thanks
>
> --
> 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/-/IT3b-Fc54bIJ.
> 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 Owens
Release Manager, Puppet Labs

skrishna12

unread,
Sep 28, 2012, 5:13:32 PM9/28/12
to puppet...@googlegroups.com
Thanks!!
I removed all  mysql pkg and reinstall PE . I got the following messages. I can see admin console but not sure about the username and passwd. This time when i installed . the installer didnot ask any console username and password. Pls  help me this out


 
Puppet Enterprise has been installed to "/opt/puppet," and its configuration files are located in "/etc/puppetlabs".
## Answers from this session saved to './answers.lastrun.puppet-master.etouch.net'
## In addition, auto-generated database users and passwords, including the ROOT MySQL password, have been saved to "/etc/puppetlabs/installer/database_info.install"
   !!! WARNING: Do not discard these files! All auto-generated database users and passwords, including the ROOT Mysql password, have been saved in them.
=============================================================================================================================================================

The console can be reached at the following URI:

   If you have a firewall running, please ensure the following TCP ports are open: 8140, 61613, 3000
   NOTICE: This system has 1.96 GB of memory, which is below the 4 GB we recommend for the puppet master role. Although this node will be a fully
   functional puppet master, you may experience poor performance with large numbers of nodes. You can improve the puppet master's performance by
   increasing its memory.
Thanks

skrishna12

unread,
Sep 28, 2012, 5:16:38 PM9/28/12
to puppet...@googlegroups.com
The  auto generated user name password is here

# cat  etc/puppetlabs/installer/database_info.install

q_puppet_enterpriseconsole_auth_database_name=console_auth
q_puppet_enterpriseconsole_auth_database_password=c8ZwU6TVlgcdvTA5ysv6
q_puppet_enterpriseconsole_auth_database_user=console_auth
q_puppet_enterpriseconsole_database_install=n
q_puppet_enterpriseconsole_database_name=console
q_puppet_enterpriseconsole_database_password=2kjrLEVGna95KXQPHac3
q_puppet_enterpriseconsole_database_remote=n
q_puppet_enterpriseconsole_database_root_password=eTouch6789
q_puppet_enterpriseconsole_database_user=console

thanks

Matthaus Owens

unread,
Sep 28, 2012, 5:37:32 PM9/28/12
to puppet...@googlegroups.com
Glad that helped you get through the installation. The installer
should have asked you those questions during the interview, and they
are saved in the answers file as well.

The console admin user and password will be in the
puppet-enterprise-2.6.0-el5-x86_64 directory (wherever you have the
installer located) in a file named answers.lastrun.<fqdn of machine>
(which for you will be 'answers.lastrun.puppet-master.etouch.net')

The answers you need to look for in that file are:

q_puppet_enterpriseconsole_auth_password=
q_puppet_enterpriseconsole_auth_user_email=

HTH
> --
> 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/-/EAJdw4q6xg8J.

skrishna12

unread,
Sep 28, 2012, 6:56:53 PM9/28/12
to puppet...@googlegroups.com

I tried the credential (mail id and password) stored in answer.lastun.xxx  and got the following error. Even after clearing the cookies and caches .. no luck with  the mail id and password 



This webpage has a redirect loop

The webpage at https://puppet-master.etouch.net:3000/?ticket=ST-1348829403r7DD1A83EF03491318C has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.

Here are some suggestions:

Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects.

skrishna12

unread,
Oct 1, 2012, 3:55:08 PM10/1/12
to puppet...@googlegroups.com
Can you  any one let me know  what could be the issue on this?
Reply all
Reply to author
Forward
0 new messages