Public bug reported:

ii  zookeeper                       3.3.3+dfsg2-1ubuntu1                    
High-performance coordination service for distributed applications
ii  zookeeperd                      3.3.3+dfsg2-1ubuntu1                    
Init control scripts for zookeeper

I was getting time out from Juju agents and I realised that they try to connect 
via ipv4
but zookeeper listen only to ipv6:

root@server-54:~# netstat -lt 
tcp        0      0 *:ssh                   *:*                     LISTEN     
tcp6       0      0 [::]:ssh              [::]:*                  LISTEN 
tcp6       0      0 [::]:2181           [::]:*                  LISTEN

After some search I found this flag to force IPv4:

  JAVA_OPTS="-Djava.net.preferIPv4Stack=true"

** Affects: zookeeper (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/888643

Title:
  Zookeeper listen only to IPv6 interface

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zookeeper/+bug/888643/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to