[ https://issues.apache.org/jira/browse/ZOOKEEPER-805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12920875#action_12920875 ]
Andras Kovi commented on ZOOKEEPER-805: --------------------------------------- Hi, I'm new to Zookeeper but stumbled upon this bug too. The solution is to add the -q1 parameter to nc. The reason is that by default nc closes the connection as soon as the stdin closes. With -q1 you can override this behavior. Hope this helps. > four letter words fail with latest ubuntu nc.openbsd > ---------------------------------------------------- > > Key: ZOOKEEPER-805 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-805 > Project: Zookeeper > Issue Type: Bug > Components: server > Affects Versions: 3.3.1, 3.4.0 > Reporter: Patrick Hunt > Priority: Critical > Fix For: 3.3.2, 3.4.0 > > > In both 3.3 branch and trunk "echo stat|nc localhost 2181" fails against the > ZK server on Ubuntu Lucid Lynx. > I noticed this after upgrading to lucid lynx - which is now shipping openbsd > nc as the default: > OpenBSD netcat (Debian patchlevel 1.89-3ubuntu2) > vs nc traditional > [v1.10-38] > which works fine. Not sure if this is a bug in us or nc.openbsd, but it's > currently not working for me. Ugh. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.