Re: creation of a cor fails

2016-05-22 Thread Andreas Meyer
I just see that solr runs as the user solr when started by root with service solr start. From within the console startet it runs as user root and the creation of a core does not fail then. I must be a permissionproblem when solr runs as the user solr altough all the files and folders in /var/solr

Re: creation of a cor fails

2016-05-22 Thread Erick Erickson
What does the Solr log show? That often has more root causes than the return to the client. Best, Erick On Sun, May 22, 2016 at 10:13 AM, Andreas Meyer wrote: > Hello! > > I run as root in both situations. If I start solr with service solr start > and then do a ./solr create -c zzz it fails with

Re: creation of a cor fails

2016-05-22 Thread Andreas Meyer
Hello! I run as root in both situations. If I start solr with service solr start and then do a ./solr create -c zzz it fails with ERROR: Error CREATEing SolrCore 'zzz': Unable to create core [zzz] Caused by: /var/solr/data/zzz/data If I do the same a second time, I get ERROR: Core 'zzz' already

Re: creation of a cor fails

2016-05-22 Thread Erick Erickson
Possibly a permissions problem? Are you running as different users in the two situations? And do note that sometimes Solr gets a little confused if you try to create the same core multiple times without cleaning out the directories. Best, Erick On Sun, May 22, 2016 at 9:19 AM, Andreas Meyer wro

Re: creation of a cor fails

2016-05-22 Thread Andreas Meyer
Hello! It must have something to do with the init-script and the solr.in.sh. As long as I start solr from within a console with bin/solr start then there is no problem creating a core. As soon as I start solr with service solr start the creation of a core fails. Even if I comment the SOLR_HOME="