11-05-2018 01:15 PM
Did not work.
[centos@ip-172-31-81-167 ~]$ curl -i --retry 5 -s -L -k --negotiate -u : http://ip-172-31-82-140.ec2.internal:8983/solr
curl: option --negotiate: the installed libcurl version doesn't support this
curl: try 'curl --help' or 'curl --manual' for more information
11-05-2018 04:16 PM
11-08-2018 01:08 PM
11-15-2018 09:56 AM
solrctl will use the --negotiate option regardless of whether the cluster enabled. It will only be useful if kerberos is enabled in the cluster, though.
The problem is that your OS's version of curl does not support the "--negotiate" option which means, as Patrick said, that you have a non-standard version of curl or curl libraries installed on that host.
You can find out from where the files originate something like this:
# which curl
# rpm -qf `which curl`
# curl -V
Basically, you need to install a version of curl that leverages --negotiate on the host where you are running solrctl.