https://bugzilla.redhat.com/show_bug.cgi?id=1181487
Bug ID: 1181487 Summary: zookeeper service fails to start Product: Fedora Version: 21 Component: zookeeper Assignee: tstclair@redhat.com Reporter: jablonskis@gmail.com QA Contact: extras-qa@fedoraproject.org CC: ethan@ethantuttle.com, java-sig-commits@lists.fedoraproject.org, jeff@ocjtech.us, s@shk.io, tstclair@redhat.com
Description of problem: zookeeper service fails to start.
Version-Release number of selected component (if applicable): 3.4.6-2.fc21
How reproducible: Always
Steps to Reproduce: 1. yum install zookeeper 2. cp /etc/zookeeper/zoo_sample.cfg /etc/zookeeper/zoo.cfg 3. systemctl start zookeeper.service
Actual results: Service exits with a failure.
Expected results: Service keeps running
Additional info: cat /var/log/zookeeper/zookeeper.out SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/usr/share/java/slf4j/slf4j-simple.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/usr/share/java/slf4j/slf4j-nop.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.slf4j.impl.SimpleLoggerFactory] [main] INFO org.apache.zookeeper.server.quorum.QuorumPeerConfig - Reading configuration from: /etc/zookeeper/zoo.cfg [main] INFO org.apache.zookeeper.server.DatadirCleanupManager - autopurge.snapRetainCount set to 3 [main] INFO org.apache.zookeeper.server.DatadirCleanupManager - autopurge.purgeInterval set to 0 [main] INFO org.apache.zookeeper.server.DatadirCleanupManager - Purge task is not scheduled. [main] WARN org.apache.zookeeper.server.quorum.QuorumPeerMain - Either no config or no quorum defined in config, running in standalone mode Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log4j/jmx/HierarchyDynamicMBean at org.apache.zookeeper.jmx.ManagedUtil.registerLog4jMBeans(ManagedUtil.java:50) at org.apache.zookeeper.server.ZooKeeperServerMain.initializeAndRun(ZooKeeperServerMain.java:74) at org.apache.zookeeper.server.ZooKeeperServerMain.main(ZooKeeperServerMain.java:52) at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:116) at org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:78) Caused by: java.lang.ClassNotFoundException: org.apache.log4j.jmx.HierarchyDynamicMBean at java.net.URLClassLoader$1.run(URLClassLoader.java:372) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:360) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 5 more