root@puppet:~# /etc/init.d/puppetmaster status
* master is not running
root@puppet:~#
root@puppet:~# /etc/init.d/apache2 status
* apache2 is running
root@puppet:~#
root@puppet:~# puppet agent -t
Info: Retrieving pluginfacts
Info: Retrieving plugin
...
...
Info: Caching catalog for puppet.test.com
Info: Applying configuration version '1408337383'
Notice: Unable to connect to puppetdb server (puppet.test.com:8081): Connection refused - connect(2)
Notice: Failed to connect to puppetdb; sleeping 2 seconds before retry
Notice: Unable to connect to puppetdb server (puppet.test.com:8081): Connection refused - connect(2)
Notice: Failed to connect to puppetdb; sleeping 2 seconds before retry
Notice: Unable to connect to puppetdb server (puppet.test.com:8081): Connection refused - connect(2)
Notice: Failed to connect to puppetdb; sleeping 2 seconds before retry
^CNotice: Caught INT; calling stop
root@puppet:~#
root@puppet:~# netstat -an | grep 8081
root@puppet:~# telnet 192.168.1.99 8081
Trying 192.168.1.99...
telnet: Unable to connect to remote host: Connection refused
root@puppet:~#
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/0fb35b85-6b24-47d5-a8a3-c632c0869956%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
root@puppet:~# puppet agent --test
Info: Retrieving pluginfacts
Info: Retrieving plugin
...
...
Notice: Failed to connect to puppetdb within timeout window of 120 seconds; giving up.
Error: Unable to connect to puppetdb server! (puppet.test.com:8081)
Error: /Stage[main]/Puppetdb::Master::Config/Puppetdb_conn_validator[puppetdb_conn]/ensure: change from absent to present failed: Unable to connect to puppetdb server! (puppet.test.com:8081)
Notice: /Stage[main]/Puppetdb::Master::Storeconfigs/Ini_setting[puppet.conf/master/storeconfigs]: Dependency Puppetdb_conn_validator[puppetdb_conn] has failures: true
Warning: /Stage[main]/Puppetdb::Master::Storeconfigs/Ini_setting[puppet.conf/master/storeconfigs]: Skipping because of failed dependencies
Notice: /Stage[main]/Puppetdb::Master::Storeconfigs/Ini_setting[puppet.conf/master/storeconfigs_backend]: Dependency Puppetdb_conn_validator[puppetdb_conn] has failures: true
Warning: /Stage[main]/Puppetdb::Master::Storeconfigs/Ini_setting[puppet.conf/master/storeconfigs_backend]: Skipping because of failed dependencies
Notice: /Stage[main]/Puppetdb::Master::Routes/File[/etc/puppet/routes.yaml]: Dependency Puppetdb_conn_validator[puppetdb_conn] has failures: true
Warning: /Stage[main]/Puppetdb::Master::Routes/File[/etc/puppet/routes.yaml]: Skipping because of failed dependencies
Notice: /Stage[main]/Puppetdb::Master::Puppetdb_conf/Ini_setting[puppetdbport]: Dependency Puppetdb_conn_validator[puppetdb_conn] has failures: true
Warning: /Stage[main]/Puppetdb::Master::Puppetdb_conf/Ini_setting[puppetdbport]: Skipping because of failed dependencies
Notice: /Stage[main]/Puppetdb::Master::Puppetdb_conf/Ini_setting[soft_write_failure]: Dependency Puppetdb_conn_validator[puppetdb_conn] has failures: true
Warning: /Stage[main]/Puppetdb::Master::Puppetdb_conf/Ini_setting[soft_write_failure]: Skipping because of failed dependencies
Notice: /Stage[main]/Puppetdb::Master::Puppetdb_conf/Ini_setting[puppetdbserver]: Dependency Puppetdb_conn_validator[puppetdb_conn] has failures: true
Warning: /Stage[main]/Puppetdb::Master::Puppetdb_conf/Ini_setting[puppetdbserver]: Skipping because of failed dependencies
Notice: /Stage[main]/Puppetdb::Master::Config/Service[puppetmaster]: Dependency Puppetdb_conn_validator[puppetdb_conn] has failures: true
Warning: /Stage[main]/Puppetdb::Master::Config/Service[puppetmaster]: Skipping because of failed dependencies
Notice: Finished catalog run in 120.27 seconds
root@puppet:~#
root@puppet:~# ls -lrth /etc/init.d/puppet*
-rwxr-xr-x 1 root root 1.7K Jun 10 07:07 /etc/init.d/puppetqd
-rwxr-xr-x 1 root root 3.8K Jun 10 07:07 /etc/init.d/puppetmaster
root@puppet:~#
Did you setup route.yml ?
Flamarion Jorge
Sent from my mobile