I'm not launching puppetmasterd at all. As per your suggestion, I'm  
just launching Apache2. After launching Apache2, I see no puppetmaster  
in a ps listing at all.

When I deploy my server, it will be on intel, so I'm going to recreate  
my test server on an intel server instead of PPC. I'll let you know if  
I have better luck.

I'm also not going to use MacPorts.

---
Thanks,

Allan Marcus
505-667-5666



On Jun 19, 2009, at 12:54 PM, Nigel Kersten wrote:

>
> On Fri, Jun 19, 2009 at 10:02 AM, Allan Marcus<al...@lanl.gov> wrote:
>>
>> I think I found the issue. Looks like Passenger only works on Intel
>> Macs. I'm using a PPC server for dev work. I will try on Intel.
>
> Really? You should be able to compile it on PPC fine?
>
> The passenger directives from the apache manual show you how to pick
> the ruby interpreter.
>
> It sounds to me like you're launching puppetmasterd some other way
> other than inside Apache. Are you sure you're not?
>
>>
>> ---
>> Thanks,
>>
>> Allan Marcus
>> 505-667-5666
>>
>>
>>
>> On Jun 18, 2009, at 5:38 PM, Allan Marcus wrote:
>>
>>>
>>> I think this might be a RUBYLIB issues. What is the best way to tell
>>> my system to look for the libraries?
>>>
>>> For example: /opt/local/lib/ruby/gems/1.8/gems/rack-0.4.0/lib
>>>
>>> Is there any logging from Passenger as it tries to run the config.ru
>>> file?
>>>
>>>
>>> ---
>>> Thanks,
>>>
>>> Allan Marcus
>>> 505-667-5666
>>>
>>>
>>>
>>> On Jun 18, 2009, at 8:57 AM, Nigel Kersten wrote:
>>>
>>>>
>>>>
>>>> On Thu, Jun 18, 2009 at 6:28 AM, Allan Marcus <al...@lanl.gov>  
>>>> wrote:
>>>>
>>>> No, I'm not.
>>>>
>>>> bash-3.2# ps ax | grep -i pup
>>>> 10815   ??  Ss     0:00.02 /opt/local/bin/ruby /opt/local/bin/
>>>> puppetmasterd
>>>>
>>>> is there a special way I need to start puppetmasterd? Right now,
>>>> since
>>>> I'm just testing, I just start it on the command line as the root
>>>> user.
>>>>
>>>> Don't start puppetmasterd. Just start Apache. It handles everything
>>>> with Passenger so long as your virtual host and config.ru are set  
>>>> up
>>>> correctly.
>>>>
>>>>
>>>>
>>>>
>>>> ---
>>>> Thanks,
>>>>
>>>> Allan Marcus
>>>> 505-667-5666
>>>>
>>>>
>>>>
>>>> On Jun 17, 2009, at 7:41 PM, Nigel Kersten wrote:
>>>>
>>>>>
>>>>>
>>>>> On Wed, Jun 17, 2009 at 5:46 PM, Allan Marcus <al...@lanl.gov>
>>>> wrote:
>>>>>
>>>>> Yes, correct. But how can I tell if puppet is using Passenger?
>>>>>
>>>>> I see the following in my /var/log/apache2/error_log file:
>>>>>
>>>>> [Tue Jun 16 17:32:01 2009] [notice] Apache/2.2.11 (Unix) mod_ssl/
>>>>> 2.2.11 OpenSSL/0.9.7l PHP/5.2.8 Phusion_Passenger/2.2.2 configured
>>>> --
>>>>> resuming normal operations
>>>>>
>>>>> I see the following too:
>>>>>
>>>>> $ ps ax | grep -i Pass
>>>>> 2436   ??  S      0:00.04 /opt/local/lib/ruby/gems/1.8/gems/
>>>>> passenger-2.2.2/ext/apache2/ApplicationPoolServerExecutable 0 / 
>>>>> opt/
>>>>> local/lib/ruby/gems/1.8/gems/passenger-2.2.2/bin/passenger-spawn-
>>>>> server  /opt/local/bin/ruby  /tmp/passenger.2413
>>>>> 2437   ??  S      1:28.57 Passenger spawn server
>>>>>
>>>>> but is a Passenger log? Is there anyway to confirm that puppet is
>>>>> using passenger?
>>>>>
>>>>> You're using passenger.
>>>>>
>>>>> Unless you also have a virtual host set up with mod_proxy to  
>>>>> talk to
>>>>> mongrel backends, or have a standalone puppetmasterd process  
>>>>> that is
>>>>> using webrick, you're using it.
>>>>>
>>>>> Are you seeing processes like this in your process listing?
>>>>>
>>>>> Rack: /usr/share/puppet/rack/puppetmasterd
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Jun 17, 2009, at 6:34 PM, Nigel Kersten wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> On Wed, Jun 17, 2009 at 5:21 PM, Allan Marcus <al...@lanl.gov>
>>>>> wrote:
>>>>>>
>>>>>> How can I tell if it's using Passenger?
>>>>>>
>>>>>> So how are you starting it now?
>>>>>>
>>>>>> If you've followed those instructions on the wiki, you should  
>>>>>> only
>>>>>> be starting apache and nothing else, and the virtual host you've
>>>>>> defined will be using passenger/Rack.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> ---
>>>>>> Thanks,
>>>>>>
>>>>>> Allan Marcus
>>>>>> 505-667-5666
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Jun 16, 2009, at 6:24 PM, Nigel Kersten wrote:
>>>>>>
>>>>>>>
>>>>>>> On Tue, Jun 16, 2009 at 4:39 PM, Allan Marcus<al...@lanl.gov>
>>>>> wrote:
>>>>>>>>
>>>>>>>> hello,
>>>>>>>>
>>>>>>>> I have installed an configered passenger on my OS X server
>>>>>> according
>>>>>>>> to http://reductivelabs.com/trac/puppet/wiki/UsingPassenger
>>>>>>>>
>>>>>>>> Now, how do I tell puppet to use it? Do I need to put something
>>>>> in
>>>>>>>> my /
>>>>>>>> etc/puppet/puppet.conf file?
>>>>>>>
>>>>>>> Nope. If you have config.ru set up correctly, there's nothing
>>>>>> special
>>>>>>> for Passenger required in puppet.conf
>>>>>>>
>>>>>>> Just start apache, and it will set up a rack puppetmasterd
>>>>>>> application.
>>>>>>>
>>>>>>>>
>>>>>>>> ---
>>>>>>>> Thanks,
>>>>>>>>
>>>>>>>> Allan Marcus
>>>>>>>> 505-667-5666
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Nigel Kersten
>>>>>>> nig...@google.com
>>>>>>> System Administrator
>>>>>>> Google, Inc.
>>>>>>>
>>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Nigel Kersten
>>>>>> nig...@google.com
>>>>>> System Administrator
>>>>>> Google, Inc.
>>>>>>
>>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Nigel Kersten
>>>>> nig...@google.com
>>>>> System Administrator
>>>>> Google, Inc.
>>>>>
>>>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Nigel Kersten
>>>> nig...@google.com
>>>> System Administrator
>>>> Google, Inc.
>>>>
>>>>>
>>>
>>>
>>>>
>>
>>
>>>
>>
>
>
>
> -- 
> Nigel Kersten
> nig...@google.com
> System Administrator
> Google, Inc.
>
> >


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

Reply via email to