Klavs Klavsen
2012-Dec-19 12:29 UTC
[Puppet Users] puppetdb startup fail - after move of datadir
My puppetdb fails with this message: java -jar /usr/share/puppetdb/puppetdb.jar services -c /etc/puppetdb/conf.d/config.ini java.io.EOFException: null at java.io.DataInputStream.readInt (DataInputStream.java:392) org.apache.kahadb.util.SequenceSet$Marshaller.readPayload (SequenceSet.java:41) org.apache.kahadb.page.PageFile.loadFreeList (PageFile.java:559) org.apache.kahadb.page.PageFile.load (PageFile.java:328) org.apache.activemq.store.kahadb.MessageDatabase.loadPageFile (MessageDatabase.java:235) org.apache.activemq.store.kahadb.MessageDatabase.open (MessageDatabase.java:325) org.apache.activemq.store.kahadb.MessageDatabase.load (MessageDatabase.java:374) org.apache.activemq.store.kahadb.MessageDatabase.doStart (MessageDatabase.java:223) org.apache.activemq.store.kahadb.KahaDBStore.doStart (KahaDBStore.java:180) org.apache.activemq.util.ServiceSupport.start (ServiceSupport.java:53) org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter.start (KahaDBPersistenceAdapter.java:186) org.apache.activemq.broker.BrokerService.start (BrokerService.java:493) com.puppetlabs.mq$start_broker_BANG_.invoke (mq.clj:42) com.puppetlabs.puppetdb.cli.services$_main.doInvoke (services.clj:281) clojure.lang.RestFn.invoke (RestFn.java:421) clojure.lang.Var.invoke (Var.java:405) clojure.lang.AFn.applyToHelper (AFn.java:163) clojure.lang.Var.applyTo (Var.java:518) clojure.core$apply.invoke (core.clj:600) com.puppetlabs.puppetdb.core$_main.doInvoke (core.clj:80) clojure.lang.RestFn.applyTo (RestFn.java:137) com.puppetlabs.puppetdb.core.main (:-1) I moved /var/lib/puppetdb to a new disk - mounted under /mnt/puppetdata - and bind mounted /var/lib/puppetdb to /mnt/puppetdata/puppetdb (which is where I copied the data). I have disabled selinux - and ownership of files, remains puppetdb. I can''t figure out what to look at next - and that error message doesn''t give any google results that seems usable.. Any hints? -- 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/-/U6hro33Pz2MJ. 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.