Comments (4)
[root@centos71 bin]# ./zkServer.sh start
/usr/bin/java
ZooKeeper JMX enabled by default
Using config: /usr/share/zookeeper/bin/../conf/zoo.cfg
Starting zookeeper ... FAILED TO START
from ansible-zookeeper.
Hi @DenisK32 . The first part of your error re: start request repeated too quickly for zookeeper.service
I believe I've seen before. Will need to dig up some information but SystemD will try to restart the process if it fails, this restart attempt is performed in just a few milliseconds.
The above can be a red-herring and is due to another issue which is causing the ZooKeeper process to fail. Is there any information in the ZooKeeper logs themselves? Does this occur for all servers?
After 5 retries (if I recall correctly) it won't try again, as finally terminates due to too many attempts in a short period of time. This cause it to enter the failure
state which means systemd may not allow you to start it again using the systemctl start zookeeper
command. To use systemd to start the service again you may need to run the below command to reset the failure state so that it will attempt to start.
systemctl reset-failed zookeeper
Your zkServer.sh start
command will bypass systemd so hopefully there's something more useful in the logs, e.g. indicating a config problem. Does running ps aux
show any other instances of the process running?
from ansible-zookeeper.
I figured it out myself, it was in java, as soon as I fixed the error - everything worked, it was my fault
from ansible-zookeeper.
No worries, glad you solved it. :)
from ansible-zookeeper.
Related Issues (15)
- FAILED! => {"changed": false, "msg": "AnsibleUndefinedVariable: 'ansible.vars.hostvars.HostVarsVars object' has no attribute 'zookeeper_id'"} HOT 4
- sleighzy.zookeeper return AnsibleUndefinedVariable HOT 2
- Incorrect cfg for clustering? HOT 3
- inventory file HOT 2
- Support zookeeper > 3.4.14 HOT 4
- Custom location for `zoo.cfg.j2` template or change ansible_nodename HOT 1
- Add the ability to template any parameters into the zoo.cfg file
- Role installation failing on Ubuntu Ansible Controller v. 2.9.6 HOT 1
- Add a sample in readme to allow "zookeeper_servers" property from hosts list
- Change hardcoded ports in firewalld.yml file
- Add firewall rule for Debian using ufw
- Error: JAVA_HOME is not set and java could not be found in PATH. HOT 1
- 'ansible.vars.hostvars.HostVarsVars object' has no attribute 'zookeeper_id'"} HOT 7
- Can't install role with custom name HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-zookeeper.