[
https://issues.apache.org/jira/browse/ZOOKEEPER-1089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13046666#comment-13046666
]
Bill Au commented on ZOOKEEPER-1089:
------------------------------------
I have checked RH 5 and FreeBSD 8.2
FreeBSD 8.2:
nc: invalid option -- q
usage: nc [-46DdEhklnrStUuvz] [-e policy] [-I length] [-i interval] [-O length]
[-P proxy_username] [-p source_port] [-s source_ip_address] [-T ToS]
[-V rtable] [-w timeout] [-X proxy_protocol]
[-x proxy_address[:port]] [hostname] [port]
RH 5:
nc: invalid option -- q
usage: nc [-46DdhklnrStUuvzC] [-i interval] [-p source_port]
[-s source_ip_address] [-T ToS] [-w timeout] [-X proxy_version]
[-x proxy_address[:port]] [hostname] [port[s]]
I am still researching if there is another/better way to do this.
> zkServer.sh status does not work due to invalid option of nc
> ------------------------------------------------------------
>
> Key: ZOOKEEPER-1089
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1089
> Project: ZooKeeper
> Issue Type: Bug
> Components: scripts
> Affects Versions: 3.4.0
> Reporter: Bill Au
>
> The nc command used by zkServer.sh does not have the "-q" option on some
> linux versions ( I have checked RedHat/Fedora and FreeBSD).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira