Oh ya another big trouble to shoot....! :) Hello puppet-users/* I''m testing/deploying puppet, downloaded latest"0.24.4", installed && yes got lot of my own configuration errors, please be patient, I''m just firt time user of puppet so lot of basic setup questions are here. Any help will be great..thanx in advance...here''s my "LOG(s)"... ************************************ [user-level]-basic First-run setup *********************************** Here''s <<server-details-configs>> -- snap from #facter *************************************** architecture => i386 domain => neuronix.net facterversion => 1.3.8ss fqdn => brain.neuronix.net hardwareisa => unknown hardwaremodel => i686 hostname => brain id => root ipaddress => 10.20.0.1 ipaddress_eth0 => 10.20.0.1 kernel => Linux kernelrelease => 2.6.18-4-686 lsbdistcodename => etch lsbdistdescription => Debian GNU/Linux 4.0r3 (etch) lsbdistid => Debian operatingsystem => Debian operatingsystemrelease => 2.6.18-4-686 puppetversion => 0.24.4 rubysitedir => /usr/local/lib/ruby/site_ruby/1.8 rubyversion => 1.8.6 ************************************************ 02-<<Installed-packages (at-sever/client)>> ************************************************ at server, install full puppetfrom source, got from puppet main site, extract and setup with ruby...! 2.1. ruby 1.8.6 (2007-09-24 patchlevel 111) [i686-linux] 2.2. facter 1.3.8, puppet 0.24.4, puppetmaster(d) 0.24.4 2.3. Rails 2.0.2 2.4. mongrel_rails --version => Mongrel Web Server 1.1.4 ******************************************************* 03-<<Puppetmasterd-Start-Restar-Bind-error>> ******************************************************* #/etc/init.d/puppetmaster restart>> Restarting puppet configuration management tool master serverCould notstart WEBrick: Address already in use - bind(2) # ps ax|grep puppet>> 2936 ? Ss 0:01 ruby /usr/sbin/puppetmasterd5885 pts/1 S+ 0:00 grep puppet => after kill(ing) puppetmasterd got restarted, everytime I have to do that...can you point stable setup, especailly to replace WEBrick with other server that can perform better and stuck less...!!! ****************************************************** 04-<<Strange DNS, resolve(ing) issue >> (please see, puppet.conf, dig output, dhcp settings etc) ****************************************************** I have setup test domain on same system, running puppetmaster host named brain, & domain neuronix.net, I have mentioned "server=brain.neuronix.net" in [puppetd] section, however that didn''t work...! Since 24.X everything is in /etc/puppet/puppet.conf. puppet is still using default "puppet" server name...!!!, how to fix it permantly in /etc/puppet/puppet.conf heres''s some hints=> I try to check, whereis the problem...! ********cat /etc/puppet/puppet.conf*************** [main] #server = brain #server = brain.neuronix.net vardir = /var/lib/puppet logdir = /var/log/puppet rundir = /var/run ssldir = $vardir/ssl #rundir = /var/run/puppet [puppetmasterd] #certname = brain #server = brain #server = brain.neuronix.net [puppet] #server = brain #server = brain.neuronix.net # Make sure all log messages are sent to the right directory # This directory must be writable by the puppet user logdir=/var/log/puppet vardir=/var/lib/puppet rundir=/var/run [puppetd] server = brain.neuronix.net runinterval = 3000 listen = true splay = false summarize = true reportserver = brain.neuronix.net report = true factsource = brain://brain.neuronix.net/facts pluginsource = brain://brain.neuronix.net/plugins trace = true certname = brain.neuronix.net graph = true graphdir = /var/lib/puppet/state/graphs reportdir = /var/lib/puppet/reports #logdir=/var/log/puppet #vardir=/var/lib/puppet #rundir=/var/run [files] path = /etc/puppet/files allow = *.neuronix.net #deny *.evil.example.com allow = 10.20.0.0/8 #[plugins] #allow *.neuronix.net # deny *.evil.example.com #allow 10.20.0.0/8 #---END--------- ************************************************** # curl -k https://puppet:8140>> curl: (6) Couldn''t resolve host ''puppet''**************************************** # tail /var/log/puppet/masterhttp.log>> DNS:puppet, DNS:brain.neuronix.net, DNS:puppet.neuronix.net</cut> I haven''t any puppet host or DNS enteries, however DNS:brain.neuronix.net is set and required...??? ************************************************************* Here_s dig outpupt..for DNS...!!! #dig brain.neuronix.net ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 34108 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;brain.neuronix.net. IN A ;; AUTHORITY SECTION: neuronix.net. 604800 IN SOA neuronix.net. info.neuronix.net. 2008032001 7200 120 2419200 604800 ;; Query time: 21 msec ;; SERVER: 10.20.0.1#53(10.20.0.1) ;; WHEN: Thu Mar 27 11:38:56 2008 ;; MSG SIZE rcvd: 77 ******************************************************************* DHCP is also configured on the same server, clients got auto ip(s) via dhcp, here''s settings: *************************************************************** authoritative; default-lease-time 600; max-lease-time 7200; log-facility local7; option domain-name "neuronix.net"; option domain-name-servers brain.neuronix.net; option domain-name-servers 10.20.0.1; option routers 10.20.0.1; subnet 10.0.0.0 netmask 255.0.0.0 { range 10.20.0.15 10.20.0.100; option broadcast-address 10.20.255.255; } ***************************************************************** Looking forward ! --~--~---------~--~----~------------~-------~--~----~ 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-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Luke Kanies
2008-Mar-27 14:39 UTC
[Puppet Users] Re: Puppet_24.4-Configuration_Setup_Erros
On Mar 27, 2008, at 8:52 AM, soft developer wrote:> Hello puppet-users/* > > I''m testing/deploying puppet, downloaded latest"0.24.4", installed > && yes got lot of my own configuration errors, please be patient, > I''m just firt time user of puppet so lot of basic setup questions > are here. Any help will be great..thanx in advance...here''s my > "LOG(s)"...Can you be a bit more succinct about what the actual problem is? All of the background data is great, but I can''t seem to see the errors for the data. -- Always behave like a duck - keep calm and unruffled on the surface but paddle like the devil underneath. -- Jacob Braude --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ 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-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
soft developer
2008-Mar-27 15:40 UTC
[Puppet Users] Re: Puppet_24.4-Configuration_Setup_Erros
well, thank for prompt response, okay => my configuration/settings issues: 1. puppetmasterd=>everytime after first start, than restart stuck (plz see details) 2. server name other than default,is not being use by puppet. 3. Is there any resolve/DNS/DHCP settings errors, that cause that (plz see details) <INFO> <Puppetmasterd-Start-Restar-Bind-error>> [1]. #/etc/init.d/puppetmaster restart>> Restarting puppet configuration management tool master serverCould notstart WEBrick: Address already in use - bind(2) I have to kill the puppetmasterd every time, becuase it didn''t restart/start normaly...! Why I have to kill it everytime, on client side puppetd started/restarted noramly without stucking...! How to fix/check it out so puppetmaster start/restart without bind error? How can I do load balancing WEBrick with other Web server to work smoothly without further binding errors.? ----------------------------------------- [2] puppet.conf is not saving/settings the correct server name (please see the details in my previous messages), it''s showing default "puppet" name, I want to set it brain.neuronix.net How to do that? DNS/DHCP is configured on same server (see previous message for details). Is there any DNS/DHCP resolve/config error, that "server=brain.neuronix.net" is not being using by "puppet.conf", although it has been mentiond under section "[puppetd]".? ([puppetd] server=brain.neuronix.net # not being use by puppet)..how to fix that..? (Please see puppet.conf for details) ******************************************** [3] ------------------------------------------------------ ------------------ On Thu, Mar 27, 2008 at 6:52 PM, soft developer <bit.dvp@googlemail.com> wrote:> Oh ya another big trouble to shoot....! :) > > Hello puppet-users/* > > I''m testing/deploying puppet, downloaded latest"0.24.4", installed && yes > got lot of my own configuration errors, please be patient, I''m just firt > time user of puppet so lot of basic setup questions are here. Any help will > be great..thanx in advance...here''s my "LOG(s)"... > > ************************************ > [user-level]-basic First-run setup > *********************************** > Here''s <<server-details-configs>> -- snap from #facter > *************************************** > architecture => i386 > domain => neuronix.net > facterversion => 1.3.8ss > fqdn => brain.neuronix.net > hardwareisa => unknown > hardwaremodel => i686 > hostname => brain > id => root > ipaddress => 10.20.0.1 > ipaddress_eth0 => 10.20.0.1 > kernel => Linux > kernelrelease => 2.6.18-4-686 > lsbdistcodename => etch > lsbdistdescription => Debian GNU/Linux 4.0r3 (etch) > lsbdistid => Debian > operatingsystem => Debian > operatingsystemrelease => 2.6.18-4-686 > puppetversion => 0.24.4 > rubysitedir => /usr/local/lib/ruby/site_ruby/1.8 > rubyversion => 1.8.6 > ************************************************ > 02-<<Installed-packages (at-sever/client)>> > ************************************************ > at server, install full puppetfrom source, got from puppet main site, > extract and setup with ruby...! > > 2.1. ruby 1.8.6 (2007-09-24 patchlevel 111) [i686-linux] > 2.2. facter 1.3.8, puppet 0.24.4, puppetmaster(d) 0.24.4 > 2.3. Rails 2.0.2 > 2.4. mongrel_rails --version => Mongrel Web Server 1.1.4 > ******************************************************* > > 03-<<Puppetmasterd-Start-Restar-Bind-error>> > ******************************************************* > #/etc/init.d/puppetmaster restart > >> Restarting puppet configuration management tool master serverCould not > start WEBrick: Address already in use - bind(2) > > # ps ax|grep puppet > >> 2936 ? Ss 0:01 ruby /usr/sbin/puppetmasterd > 5885 pts/1 S+ 0:00 grep puppet > > => after kill(ing) puppetmasterd got restarted, everytime I have to do > that...can you point stable setup, especailly to replace WEBrick with other > server that can perform better and stuck less...!!! > > ****************************************************** > 04-<<Strange DNS, resolve(ing) issue >> (please see, puppet.conf, dig > output, dhcp settings etc) > ****************************************************** > > I have setup test domain on same system, running puppetmaster host named > brain, & domain neuronix.net, I have mentioned "server=brain.neuronix.net" > in [puppetd] section, however that didn''t work...! Since 24.X everything > is in /etc/puppet/puppet.conf. > puppet is still using default "puppet" server name...!!!, how to fix it > permantly in /etc/puppet/puppet.conf > heres''s some hints=> I try to check, whereis the problem...! > ********cat /etc/puppet/puppet.conf*************** > [main] > #server = brain > #server = brain.neuronix.net > vardir = /var/lib/puppet > logdir = /var/log/puppet > rundir = /var/run > ssldir = $vardir/ssl > #rundir = /var/run/puppet > > [puppetmasterd] > #certname = brain > #server = brain > #server = brain.neuronix.net > [puppet] > #server = brain > #server = brain.neuronix.net > # Make sure all log messages are sent to the right directory > # This directory must be writable by the puppet user > logdir=/var/log/puppet > vardir=/var/lib/puppet > rundir=/var/run > [puppetd] > server = brain.neuronix.net > runinterval = 3000 > listen = true > splay = false > summarize = true > reportserver = brain.neuronix.net > report = true > factsource = brain://brain.neuronix.net/facts > pluginsource = brain://brain.neuronix.net/plugins > trace = true > certname = brain.neuronix.net > graph = true > graphdir = /var/lib/puppet/state/graphs > reportdir = /var/lib/puppet/reports > #logdir=/var/log/puppet > #vardir=/var/lib/puppet > #rundir=/var/run > [files] > path = /etc/puppet/files > allow = *.neuronix.net > #deny *.evil.example.com > allow = 10.20.0.0/8 > #[plugins] > #allow *.neuronix.net > # deny *.evil.example.com > #allow 10.20.0.0/8 > #---END--------- > ************************************************** > # curl -k https://puppet:8140 > >> curl: (6) Couldn''t resolve host ''puppet'' > **************************************** > > # tail /var/log/puppet/masterhttp.log > > >> DNS:puppet, DNS:brain.neuronix.net, DNS:puppet.neuronix.net > </cut> > I haven''t any puppet host or DNS enteries, however DNS:brain.neuronix.netis set and required...??? > ************************************************************* > Here_s dig outpupt..for DNS...!!! > > #dig brain.neuronix.net > > ;; global options: printcmd > ;; Got answer: > ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 34108 > ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 > > ;; QUESTION SECTION: > ;brain.neuronix.net. IN A > > ;; AUTHORITY SECTION: > neuronix.net. 604800 IN SOA neuronix.net. > info.neuronix.net. 2008032001 7200 120 2419200 604800 > > ;; Query time: 21 msec > ;; SERVER: 10.20.0.1#53(10.20.0.1) > ;; WHEN: Thu Mar 27 11:38:56 2008 > ;; MSG SIZE rcvd: 77 > > ******************************************************************* > DHCP is also configured on the same server, clients got auto ip(s) via > dhcp, here''s settings: > *************************************************************** > authoritative; > default-lease-time 600; > max-lease-time 7200; > log-facility local7; > option domain-name "neuronix.net"; > option domain-name-servers brain.neuronix.net; > option domain-name-servers 10.20.0.1; > option routers 10.20.0.1; > subnet 10.0.0.0 netmask 255.0.0.0 { > range 10.20.0.15 10.20.0.100; > option broadcast-address 10.20.255.255; > } > ***************************************************************** > Looking forward ! > >--~--~---------~--~----~------------~-------~--~----~ 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-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Luke Kanies
2008-Mar-27 18:06 UTC
[Puppet Users] Re: Puppet_24.4-Configuration_Setup_Erros
On Mar 27, 2008, at 10:40 AM, soft developer wrote:> well, thank for prompt response, okay => > > my configuration/settings issues: > 1. puppetmasterd=>everytime after first start, than restart stuck > (plz see details)Looks like your server isn''t stopping when you try to stop it.> > 2. server name other than default,is not being use by puppet.You can configure the ''certname'' setting in puppet.conf to control this. -- Good judgment comes from experience, and experience comes from bad judgment. --Barry LePatner --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ 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-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---