On 20 July 2012 11:20, Chris Price <
ch...@puppetlabs.com> wrote:
> Hello Pete,
>
> Do you have a reliable way to reproduce the port issue that you mentioned?
> We'd like to troubleshoot it further but haven't found any way to reproduce
> it on our end yet.
>
> If you're not getting log output in /var/log/puppetdb, can you please try
> the following?:
>
> 1. Edit the file /etc/puppetdb/conf.d/config.ini, and comment out the
> logging-config line.
> 2. Run this command:
>
> java -jar /usr/share/puppetdb/puppetdb.jar services -c /etc/puppetdb/conf.d
I tried that but only got INFO level logging
I edited the log4j.properties file and turned on debug level console
logging and got this output
>root@korolev:~# java -jar /usr/share/puppetdb/puppetdb.jar services -c /etc/puppetdb/conf.ini
2012-07-20 13:03:40,982 INFO [puppetlabs.jetty] Removing buggy
security provider SunPKCS11-NSS version 1.7
2012-07-20 13:03:46,916 INFO [cli.services] PuppetDB version 0.9.2
2012-07-20 13:03:48,490 INFO [cli.services] Starting broker
2012-07-20 13:03:51,892 INFO [cli.services] Starting 2 command
processor threads
2012-07-20 13:03:51,896 INFO [cli.services] Starting query server
2012-07-20 13:03:51,897 INFO [cli.services] Starting database
compactor (60 minute interval)
2012-07-20 13:03:52,015 INFO [cli.services] Beginning database compaction
org.eclipse.jetty.ssl.password : 2012-07-20 13:03:52,420 INFO
[cli.services] Finished database compaction
^C2012-07-20 13:08:27,976 INFO [cli.services] Shutdown request
received; puppetdb exiting.
root@korolev:~# java -jar /usr/share/puppetdb/puppetdb.jar services -c
/etc/puppetdb/conf.ini
2012-07-20 13:08:44,944 INFO [puppetlabs.jetty] Removing buggy
security provider SunPKCS11-NSS version 1.7
2012-07-20 13:08:50,008 INFO [main] [cli.services] PuppetDB version 0.9.2
2012-07-20 13:08:50,008 DEBUG [main] [bonecp.BoneCPDataSource] JDBC
URL = jdbc:postgresql://
127.0.0.1:5432/puppetdb, Username = puppet,
partitions = 5, max (per partition) = 10, min (per partition) = 1,
helper threads = 3, idle max age = 60 min, idle test period = 240 min
2012-07-20 13:08:50,348 INFO [main] [cli.services] Starting broker
2012-07-20 13:08:54,677 DEBUG [main] [index.BTreeIndex] loading
2012-07-20 13:08:54,744 DEBUG [main] [index.BTreeIndex] loading
2012-07-20 13:08:54,748 DEBUG [main] [index.BTreeIndex] loading
2012-07-20 13:08:54,748 DEBUG [main] [index.BTreeIndex] loading
2012-07-20 13:08:54,748 DEBUG [main] [index.BTreeIndex] loading
2012-07-20 13:08:54,757 DEBUG [main] [index.BTreeIndex] loading
2012-07-20 13:08:55,652 INFO [main] [journal.Journal] ignoring zero
length, partially initialised journal data file: db-1.log number = 1 ,
length = 0
2012-07-20 13:08:56,247 DEBUG [main] [index.BTreeIndex] loading
2012-07-20 13:08:56,247 DEBUG [main] [index.BTreeIndex] loading
2012-07-20 13:08:56,250 DEBUG [main] [index.BTreeIndex] loading
2012-07-20 13:08:56,310 INFO [main] [cli.services] Starting 2 command
processor threads
2012-07-20 13:08:56,315 INFO [main] [cli.services] Starting query server
2012-07-20 13:08:56,316 INFO [main] [cli.services] Starting database
compactor (60 minute interval)
2012-07-20 13:08:56,351 INFO [clojure-agent-send-off-pool-3]
[cli.services] Beginning database compaction
2012-07-20 13:08:56,372 DEBUG [clojure-agent-send-off-pool-2]
[component.Container] Container
org.eclipse.jetty.server.Server@3c716932 +
SelectChannelConnector@localhost:8080 as connector
org.eclipse.jetty.ssl.password : 2012-07-20 13:08:56,415 INFO
[clojure-agent-send-off-pool-3] [cli.services] Finished database
compaction
2012-07-20 13:08:56,480 DEBUG [clojure-agent-send-off-pool-0]
[listener.DefaultMessageListenerContainer] Established shared JMS
Connection
2012-07-20 13:08:56,480 DEBUG [clojure-agent-send-off-pool-1]
[listener.DefaultMessageListenerContainer] Established shared JMS
Connection
from my limited knowledge it seems to me is is trying to open port
8080 but i can't see that port open at all.
netstat -nap |grep java tells me this (yes this is the only java
application running on the machine).
root@korolev:~# netstat -nap|grep java
tcp6 0 0 :::1099 :::*
LISTEN 11083/java
tcp6 0 0 :::34810 :::*
LISTEN 11083/java
tcp6 0 0
127.0.0.1:51702 127.0.0.1:5432
ESTABLISHED 11083/java
tcp6 0 0
127.0.0.1:51700 127.0.0.1:5432
ESTABLISHED 11083/java
tcp6 0 0
127.0.0.1:51701 127.0.0.1:5432
ESTABLISHED 11083/java
tcp6 0 0
127.0.0.1:51703 127.0.0.1:5432
ESTABLISHED 11083/java
unix 2 [ ] STREAM CONNECTED 6211563 11083/java
Hope that helps somewhat.
let me know if you need me to try anything else.
Pete.
>> >
puppet-users...@googlegroups.com.
> --
> 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/-/BoEHNeXgvsUJ.
>
puppet-users...@googlegroups.com.