You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Anuj Bhargava <an...@gmail.com> on 2020/09/17 13:35:36 UTC

Unable to create core Solr 8.6.2

Getting the following error message while trying to create core

# sudo su - solr -c "/opt/solr/bin/solr create_core -c 9lives"
WARNING: Using _default configset with data driven schema functionality.
NOT RECOMMENDED for production use.
         To turn off: bin/solr config -c 9lives -p 8984 -action
set-user-property -property update.autoCreateFields -valuefalse

ERROR: Parse error : <html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Error 401 Unauthorized</title>
</head>
<body><h2>HTTP ERROR 401</h2>
<p>Problem accessing /solr/admin/info/system. Reason:
<pre>    Unauthorized</pre></p>
</body>
</html>

Re: Unable to create core Solr 8.6.2

Posted by Erick Erickson <er...@gmail.com>.
Look in your solr log, there’s usually a more detailed message

> On Sep 17, 2020, at 9:35 AM, Anuj Bhargava <an...@gmail.com> wrote:
> 
> Getting the following error message while trying to create core
> 
> # sudo su - solr -c "/opt/solr/bin/solr create_core -c 9lives"
> WARNING: Using _default configset with data driven schema functionality.
> NOT RECOMMENDED for production use.
>         To turn off: bin/solr config -c 9lives -p 8984 -action
> set-user-property -property update.autoCreateFields -valuefalse
> 
> ERROR: Parse error : <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
> <title>Error 401 Unauthorized</title>
> </head>
> <body><h2>HTTP ERROR 401</h2>
> <p>Problem accessing /solr/admin/info/system. Reason:
> <pre>    Unauthorized</pre></p>
> </body>
> </html>