That's most likely your problem. Make sure to chkconfig off the puppetmaster 
service if you're using httpd.

Regards,

Daniel

On 13 May 2012, at 14:00, Denmat <tu2bg...@gmail.com> wrote:

> Hi,
> 
> Have you still got your puppetmaster service running? Don't need that running 
> when using httpd and passenger.
> 
> Den
> 
> 
> 
> On 13/05/2012, at 21:07, Sans <r.santanu....@gmail.com> wrote:
> 
>> Dear experts,
>> 
>> Since I've moved my puppetmaster form SL5 (Scientific Linux) to SL6 with 
>> SELinux on, I'm facing loads of trouble. I also move away from WEBrick to 
>> apache/passenger, following the instruction here: 
>> 
>> http://projects.puppetlabs.com/projects/1/wiki/Using_Passenger
>> 
>> and I can't start httpd any more. It fails with this: 
>> 
>> Starting httpd: (98)Address already in use: make_sock: could not bind to 
>> address [::]:8140
>> (98)Address already in use: make_sock: could not bind to address 0.0.0.0:8140
>> no listening sockets available, shutting down
>> Unable to open logs
>> 
>> The problem comes from the virtual-host file for puppetmaster, in which it 
>> listening port 8140 and in fact 8140 is already in use:
>> 
>> [root@serv05 conf.d]# semanage port -l | grep 8140
>> puppet_port_t                  tcp      8140
>>  
>> [root@serv05 conf.d]# netstat -tap | grep 814
>> tcp        0      0 *:8140                      *:*                         
>> LISTEN      5882/ruby
>>  
>> 
>> Any idea what did I miss? Really appreciate any help. 
>> 
>> Cheers,
>> San
>> -- 
>> 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/-/rc2F-1NdkvoJ.
>> 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.
> -- 
> 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.

-- 
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