Bug #14586

PuppetDB init script seems to shut down all instances of Java on the system

Added by Nick Lewis about 1 year ago. Updated about 1 year ago.

Status:ClosedStart date:05/18/2012
Priority:HighDue date:
Assignee:-% Done:

0%

Category:-
Target version:0.9.1
Keywords: Affected PuppetDB version:
Branch:

Description

agibbins@antarctica:~$ ps -ef | grep puppetdb; ps -ef | grep activemq
agibbins 12773  8424  0 21:58 pts/40   00:00:00 grep --color=auto puppetdb
puppetdb 16642     1 13 21:13 ?        00:06:00 /usr/bin/java -Xmx1g -jar /usr/share/puppetdb/puppetdb.jar services -c /etc/puppetdb/conf.d
root      8956     1 33 21:57 pts/40   00:00:23 /usr/bin/java -Xms1G -Xmx1G -Djava.util.logging.config.file=logging.properties -Dcom.sun.management.jmxremote -Djava.io.tmpdir=/opt/activemq/tmp -Dactivemq.classpath=/opt/activemq/conf; -Dactivemq.home=/opt/activemq -Dactivemq.base=/opt/activemq -Dactivemq.conf=/opt/activemq/conf -Dactivemq.data=/opt/activemq/data -jar /opt/activemq/bin/run.jar start
agibbins 12795  8424  0 21:58 pts/40   00:00:00 grep --color=auto activemq
agibbins@antarctica:~$ sudo /etc/init.d/puppetdb restart
 * Restarting puppetdb centralized storage daemon puppetdb                                                                                                                              [ OK ] 
agibbins@antarctica:~$ ps -ef | grep puppetdb; ps -ef | grep activemq
puppetdb 14332     1 99 21:59 ?        00:00:04 /usr/bin/java -Xmx1g -jar /usr/share/puppetdb/puppetdb.jar services -c /etc/puppetdb/conf.d
agibbins 14354  8424  0 21:59 pts/40   00:00:00 grep --color=auto puppetdb
agibbins 14356  8424  0 21:59 pts/40   00:00:00 grep --color=auto activemq
agibbins@antarctica:~$

History

#1 Updated by konrad rzentarzewski about 1 year ago

http://pastie.org/private/fbprnhh0rsexbpga63j7q – it works fine for me.

one think that is worrying is that you run activemq as root.

#2 Updated by Nick Lewis about 1 year ago

  • Description updated (diff)

#3 Updated by Adam Gibbins about 1 year ago

konrad rzentarzewski wrote:

one think that is worrying is that you run activemq as root.

Good spot thanks, I’ll fix that :). Bug swap ;)

#4 Updated by Deepak Giridharagopal about 1 year ago

  • Target version set to 0.9.1

#5 Updated by Deepak Giridharagopal about 1 year ago

Adam, what platform (os/distro/version) did you see this on? I’m trying to reproduce the problem, but so far have been unable.

#6 Updated by Deepak Giridharagopal about 1 year ago

Okay, I can now finally reproduce this issue on Lucid.

#7 Updated by Deepak Giridharagopal about 1 year ago

  • Status changed from Accepted to In Topic Branch Pending Review

#8 Updated by Deepak Giridharagopal about 1 year ago

  • Status changed from In Topic Branch Pending Review to Merged - Pending Release

#9 Updated by Matthaus Owens about 1 year ago

Released in PuppetDB 0.9.1

#10 Updated by Matthaus Owens about 1 year ago

  • Status changed from Merged - Pending Release to Closed

Also available in: Atom PDF