FAQ
For the people still looking for an answer:
chown -R puppet:puppet /var/lib/puppet/reports

Op woensdag 30 maart 2011 21:02:43 UTC+2 schreef hyzhang het volgende:
Thank. I am pasting the entire message here:

Mar 30 14:01:04 puppetclient1 puppet-agent[28571]: Could not request
certificate: Error 500 on SERVER: <!DOCTYPE HTML PUBLIC "-//W3C//DTD
HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html>
<head> <meta http-equiv="Content-Type" content="text/html;
charset=UTF-8"> <meta name="generator" content="Phusion
Passenger"> <title>Ruby (Rack) application could not be started</
title> <style type="text/css"> body { font-
family: Verdana, 'Bitstream Vera Sans', Arial, Sans-Serif;
font-size: 10pt; background: white; color:
#222222; margin: 0; padding-top: 3em; padding-
bottom: 3em; padding-left: 4.5em; padding-right: 4.5em; } h1
{ font-size: 17pt; font-weight: medium; color:
#533e72; border-bottom: 1px solid #533e72; } h1.title
{ margin-top: 0; } h1.error_title { color: red;
border-bottom: 1px solid red; } a { text-decoration: none; }
a:hover { text-decoration: underline; } dt { font-weight:
bold; color: #280050; } dd { margin-top: 0.5em;
margin-bottom: 1em; } .commands { border: 1px

Somehow I am able to get the certificate for the client. Since above
error message says "Ruby (Rack) application could not be started", I
did
#rackup /usr/share/puppet/rack/puppetmasterd/config.ru
Then I see the rack process on puppet server
#ps -ef|grep rack
puppet 27140 1 0 14:21 ? 00:00:00 Rack: /usr/share/
puppet/rack/puppetmasterd

From then on the server is able to receive the client certificate
request and sign it.

Do I have to start the rack manually in a manner like that? I thought
if I start httpd service, it would start rack automatically.

I am still not sure if I did everything right.

Thanks,
-Haiyan






On Mar 30, 2:38 pm, "Hugo Cisneiros (Eitch)"
wrote:
On Wed, Mar 30, 2011 at 3:00 PM, hyzhang wrote:
Hi, I am new to puppet.
I have puppet server set up with passenger. But when I start puppetd
from client, I see following error in the syslog file:
Mar 30 13:52:03 puppetclient1 puppet-agent[29732]: Could not request
certificate: Error 500 on SERVER: <!DOCTYPE HTML PUBLIC "-//W3C//DTD
HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html>
<head> <meta http-equiv="Content-Type" content="text/html;
charset=UTF-8"> <meta name="generator" content="Phusion
Passenger"> <title>Ruby (Rack) application could not be started</
title> ....
You didn't paste the most important part of the error. Thie page ruby/rack
generates usually have some pretty useful information in an error field.
Like a module missing on an import/require, permission problems, and so on.
Please identify and post the error so we can be helpful :)

--
[]'s
Hugowww.devin.com.br
--
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/-/ltKL6JvCWQEJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

Search Discussions

  • Stuart Cracraft at Aug 19, 2012 at 5:56 pm
    I am seriously thinking of putting those recursive chown's in root crontab on puppet masters and puppet agents for /etc/puppet* and
    /var/lib/puppet*

    I shouldn't have to do this but have
    seen cases of ownership reversion.


    --Stuart

    Via Apple iPhone 4S on the AT&T Wireless Network

    On Aug 13, 2012, at 3:04 AM, Frederik Vos wrote:

    For the people still looking for an answer:
    chown -R puppet:puppet /var/lib/puppet/reports

    Op woensdag 30 maart 2011 21:02:43 UTC+2 schreef hyzhang het volgende:
    Thank. I am pasting the entire message here:

    Mar 30 14:01:04 puppetclient1 puppet-agent[28571]: Could not request
    certificate: Error 500 on SERVER: <!DOCTYPE HTML PUBLIC "-//W3C//DTD
    HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html>
    <head> <meta http-equiv="Content-Type" content="text/html;
    charset=UTF-8"> <meta name="generator" content="Phusion
    Passenger"> <title>Ruby (Rack) application could not be started</
    title> <style type="text/css"> body { font-
    family: Verdana, 'Bitstream Vera Sans', Arial, Sans-Serif;
    font-size: 10pt; background: white; color:
    #222222; margin: 0; padding-top: 3em; padding-
    bottom: 3em; padding-left: 4.5em; padding-right: 4.5em; } h1
    { font-size: 17pt; font-weight: medium; color:
    #533e72; border-bottom: 1px solid #533e72; } h1.title
    { margin-top: 0; } h1.error_title { color: red;
    border-bottom: 1px solid red; } a { text-decoration: none; }
    a:hover { text-decoration: underline; } dt { font-weight:
    bold; color: #280050; } dd { margin-top: 0.5em;
    margin-bottom: 1em; } .commands { border: 1px

    Somehow I am able to get the certificate for the client. Since above
    error message says "Ruby (Rack) application could not be started", I
    did
    #rackup /usr/share/puppet/rack/puppetmasterd/config.ru
    Then I see the rack process on puppet server
    #ps -ef|grep rack
    puppet 27140 1 0 14:21 ? 00:00:00 Rack: /usr/share/
    puppet/rack/puppetmasterd

    From then on the server is able to receive the client certificate
    request and sign it.

    Do I have to start the rack manually in a manner like that? I thought
    if I start httpd service, it would start rack automatically.

    I am still not sure if I did everything right.

    Thanks,
    -Haiyan






    On Mar 30, 2:38 pm, "Hugo Cisneiros (Eitch)"
    wrote:
    On Wed, Mar 30, 2011 at 3:00 PM, hyzhang wrote:
    Hi, I am new to puppet.
    I have puppet server set up with passenger. But when I start puppetd
    from client, I see following error in the syslog file:
    Mar 30 13:52:03 puppetclient1 puppet-agent[29732]: Could not request
    certificate: Error 500 on SERVER: <!DOCTYPE HTML PUBLIC "-//W3C//DTD
    HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html>
    <head> <meta http-equiv="Content-Type" content="text/html;
    charset=UTF-8"> <meta name="generator" content="Phusion
    Passenger"> <title>Ruby (Rack) application could not be started</
    title> ....
    You didn't paste the most important part of the error. Thie page ruby/rack
    generates usually have some pretty useful information in an error field.
    Like a module missing on an import/require, permission problems, and so on.
    Please identify and post the error so we can be helpful :)

    --
    []'s
    Hugowww.devin.com.br
    --
    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/-/ltKL6JvCWQEJ.
    To post to this group, send email to [email protected].
    To unsubscribe from this group, send email to [email protected].
    For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
    --
    You received this message because you are subscribed to the Google Groups "Puppet Users" group.
    To post to this group, send email to [email protected].
    To unsubscribe from this group, send email to [email protected].
    For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
  • Jo Rhett at Aug 20, 2012 at 8:03 pm
    You should spend some time and determine how and why that is happening. I can assure you that it's not normal, so this is something specific to some custom code on your site.
    On Aug 19, 2012, at 10:56 AM, Stuart Cracraft wrote:
    I am seriously thinking of putting those recursive chown's in root crontab on puppet masters and puppet agents for /etc/puppet* and
    /var/lib/puppet*

    I shouldn't have to do this but have
    seen cases of ownership reversion.


    --Stuart

    Via Apple iPhone 4S on the AT&T Wireless Network

    On Aug 13, 2012, at 3:04 AM, Frederik Vos wrote:

    For the people still looking for an answer:
    chown -R puppet:puppet /var/lib/puppet/reports

    Op woensdag 30 maart 2011 21:02:43 UTC+2 schreef hyzhang het volgende:
    Thank. I am pasting the entire message here:

    Mar 30 14:01:04 puppetclient1 puppet-agent[28571]: Could not request
    certificate: Error 500 on SERVER: <!DOCTYPE HTML PUBLIC "-//W3C//DTD
    HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html>
    <head> <meta http-equiv="Content-Type" content="text/html;
    charset=UTF-8"> <meta name="generator" content="Phusion
    Passenger"> <title>Ruby (Rack) application could not be started</
    title> <style type="text/css"> body { font-
    family: Verdana, 'Bitstream Vera Sans', Arial, Sans-Serif;
    font-size: 10pt; background: white; color:
    #222222; margin: 0; padding-top: 3em; padding-
    bottom: 3em; padding-left: 4.5em; padding-right: 4.5em; } h1
    { font-size: 17pt; font-weight: medium; color:
    #533e72; border-bottom: 1px solid #533e72; } h1.title
    { margin-top: 0; } h1.error_title { color: red;
    border-bottom: 1px solid red; } a { text-decoration: none; }
    a:hover { text-decoration: underline; } dt { font-weight:
    bold; color: #280050; } dd { margin-top: 0.5em;
    margin-bottom: 1em; } .commands { border: 1px

    Somehow I am able to get the certificate for the client. Since above
    error message says "Ruby (Rack) application could not be started", I
    did
    #rackup /usr/share/puppet/rack/puppetmasterd/config.ru
    Then I see the rack process on puppet server
    #ps -ef|grep rack
    puppet 27140 1 0 14:21 ? 00:00:00 Rack: /usr/share/
    puppet/rack/puppetmasterd

    From then on the server is able to receive the client certificate
    request and sign it.

    Do I have to start the rack manually in a manner like that? I thought
    if I start httpd service, it would start rack automatically.

    I am still not sure if I did everything right.

    Thanks,
    -Haiyan






    On Mar 30, 2:38 pm, "Hugo Cisneiros (Eitch)"
    wrote:
    On Wed, Mar 30, 2011 at 3:00 PM, hyzhang wrote:
    Hi, I am new to puppet.
    I have puppet server set up with passenger. But when I start puppetd
    from client, I see following error in the syslog file:
    Mar 30 13:52:03 puppetclient1 puppet-agent[29732]: Could not request
    certificate: Error 500 on SERVER: <!DOCTYPE HTML PUBLIC "-//W3C//DTD
    HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html>
    <head> <meta http-equiv="Content-Type" content="text/html;
    charset=UTF-8"> <meta name="generator" content="Phusion
    Passenger"> <title>Ruby (Rack) application could not be started</
    title> ....
    You didn't paste the most important part of the error. Thie page ruby/rack
    generates usually have some pretty useful information in an error field.
    Like a module missing on an import/require, permission problems, and so on.
    Please identify and post the error so we can be helpful :)

    --
    []'s
    Hugowww.devin.com.br
    --
    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/-/ltKL6JvCWQEJ.
    To post to this group, send email to [email protected].
    To unsubscribe from this group, send email to [email protected].
    For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

    --
    You received this message because you are subscribed to the Google Groups "Puppet Users" group.
    To post to this group, send email to [email protected].
    To unsubscribe from this group, send email to [email protected].
    For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
    --
    Jo Rhett
    Net Consonance : net philanthropy to improve open source and internet projects.



    --
    You received this message because you are subscribed to the Google Groups "Puppet Users" group.
    To post to this group, send email to [email protected].
    To unsubscribe from this group, send email to [email protected].
    For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
  • Mark Christian at Aug 20, 2012 at 8:11 pm
    Have you confirmed that puppet master is running as user = puppet?

    On the master check: puppet --genconfig|grep user

    Mark

    From: [email protected] On Behalf Of Jo Rhett
    Sent: Monday, August 20, 2012 1:03 PM
    To: [email protected]
    Subject: Re: [Puppet Users] puppet client could not request certificate: Error 500 on SERVER

    You should spend some time and determine how and why that is happening. I can assure you that it's not normal, so this is something specific to some custom code on your site.

    On Aug 19, 2012, at 10:56 AM, Stuart Cracraft wrote:
    I am seriously thinking of putting those recursive chown's in root crontab on puppet masters and puppet agents for /etc/puppet* and
    /var/lib/puppet*

    I shouldn't have to do this but have
    seen cases of ownership reversion.

    --Stuart

    Via Apple iPhone 4S on the AT&T Wireless Network


    On Aug 13, 2012, at 3:04 AM, Frederik Vos wrote:
    For the people still looking for an answer:
    chown -R puppet:puppet /var/lib/puppet/reports

    Op woensdag 30 maart 2011 21:02:43 UTC+2 schreef hyzhang het volgende:
    Thank. I am pasting the entire message here:

    Mar 30 14:01:04 puppetclient1 puppet-agent[28571]: Could not request
    certificate: Error 500 on SERVER: <!DOCTYPE HTML PUBLIC "-//W3C//DTD
    HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html>
    <head> <meta http-equiv="Content-Type" content="text/html;
    charset=UTF-8"> <meta name="generator" content="Phusion
    Passenger"> <title>Ruby (Rack) application could not be started</
    title> <style type="text/css"> body { font-
    family: Verdana, 'Bitstream Vera Sans', Arial, Sans-Serif;
    font-size: 10pt; background: white; color:
    #222222; margin: 0; padding-top: 3em; padding-
    bottom: 3em; padding-left: 4.5em; padding-right: 4.5em; } h1
    { font-size: 17pt; font-weight: medium; color:
    #533e72; border-bottom: 1px solid #533e72; } h1.title
    { margin-top: 0; } h1.error_title { color: red;
    border-bottom: 1px solid red; } a { text-decoration: none; }
    a:hover { text-decoration: underline; } dt { font-weight:
    bold; color: #280050; } dd { margin-top: 0.5em;
    margin-bottom: 1em; } .commands { border: 1px

    Somehow I am able to get the certificate for the client. Since above
    error message says "Ruby (Rack) application could not be started", I
    did
    #rackup /usr/share/puppet/rack/puppetmasterd/config.ru
    Then I see the rack process on puppet server
    #ps -ef|grep rack
    puppet 27140 1 0 14:21 ? 00:00:00 Rack: /usr/share/
    puppet/rack/puppetmasterd

    From then on the server is able to receive the client certificate
    request and sign it.

    Do I have to start the rack manually in a manner like that? I thought
    if I start httpd service, it would start rack automatically.

    I am still not sure if I did everything right.

    Thanks,
    -Haiyan






    On Mar 30, 2:38 pm, "Hugo Cisneiros (Eitch)"
    wrote:
    On Wed, Mar 30, 2011 at 3:00 PM, hyzhang wrote:
    Hi, I am new to puppet.
    I have puppet server set up with passenger. But when I start puppetd
    from client, I see following error in the syslog file:
    Mar 30 13:52:03 puppetclient1 puppet-agent[29732]: Could not request
    certificate: Error 500 on SERVER: <!DOCTYPE HTML PUBLIC "-//W3C//DTD
    HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html>
    <head> <meta http-equiv="Content-Type" content="text/html;
    charset=UTF-8"> <meta name="generator" content="Phusion
    Passenger"> <title>Ruby (Rack) application could not be started</
    title> ....
    You didn't paste the most important part of the error. Thie page ruby/rack
    generates usually have some pretty useful information in an error field.
    Like a module missing on an import/require, permission problems, and so on.
    Please identify and post the error so we can be helpful :)

    --
    []'s
    Hugowww.devin.com.br
    --
    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/-/ltKL6JvCWQEJ.
    To post to this group, send email to [email protected].
    To unsubscribe from this group, send email to [email protected].
    For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

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

    --
    Jo Rhett
    Net Consonance : net philanthropy to improve open source and internet projects.




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

    Confidentiality Notice.
    This message may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient, you are hereby notified that any use, disclosure, dissemination, distribution, or copying of this message, or any attachments, is strictly prohibited. If you have received this message in error, please advise the sender by reply e-mail, and delete the message and any attachments. Thank you.

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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppuppet-users @
categoriespuppet
postedAug 13, '12 at 4:52p
activeAug 20, '12 at 8:11p
posts4
users4
websitepuppetlabs.com

People

Translate

site design / logo © 2023 Grokbase