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 Bruno Mannina <bm...@free.fr> on 2012/07/14 14:00:39 UTC
Pb installation Solr/Tomcat6
Dear Solr users,
I try to run solr/ with tomcat but I have always this error:
Can't find resource 'schema.xml' in classpath or
'/home/solr/apache-solr-3.6.0/example/solr/./conf/', cwd='/var/lib/tomcat6
but schema.xml is inside the directory
'/home/solr/apache-solr-3.6.0/example/solr/./conf/'
http://localhost:8080/manager/html => works fine, I see Applications
/solr, fonctionnelle True
but when I click on solr/ (http://localhost:8080/solr/) I get this error.
Could you help me to solve this problem, it makes me crazy.....
thanks a lot,
Bruno
Tomcat6
Ubuntu 12.04
Solr 3.6
Re: Pb installation Solr/Tomcat6
Posted by Bruno Mannina <bm...@free.fr>.
humm it seems to be a NTFS problem because it's a external HDD that I
use also with Windows
Le 14/07/2012 20:11, Bruno Mannina a écrit :
> If I use nautilus (with sudo)
>
> I have the list of User and the list of Group but when I choose
> tomcat6, instantanly the selection change to "solr"
> and I can't modify it
>
> Help please,
> Bruno
>
> Le 14/07/2012 20:03, Bruno Mannina a écrit :
>> Le 14/07/2012 16:37, Bruno Mannina a écrit :
>>> As I'm a newbie on Linux, is it the right commands:
>>> sudo chgrp tomcat6 /solrindex
>> If I do this command line, no change has been done?!
>>
>> For solrindex/
>> Before I have: solr:solr
>> After I have: solr:solr
>>
>> ??
>>
>> chgrp has no action?!
>>
>>
>>
>
>
>
>
Re: Pb installation Solr/Tomcat6
Posted by Bruno Mannina <bm...@free.fr>.
If I use nautilus (with sudo)
I have the list of User and the list of Group but when I choose tomcat6,
instantanly the selection change to "solr"
and I can't modify it
Help please,
Bruno
Le 14/07/2012 20:03, Bruno Mannina a écrit :
> Le 14/07/2012 16:37, Bruno Mannina a écrit :
>> As I'm a newbie on Linux, is it the right commands:
>> sudo chgrp tomcat6 /solrindex
> If I do this command line, no change has been done?!
>
> For solrindex/
> Before I have: solr:solr
> After I have: solr:solr
>
> ??
>
> chgrp has no action?!
>
>
>
Re: Pb installation Solr/Tomcat6
Posted by Bruno Mannina <bm...@free.fr>.
Le 14/07/2012 16:37, Bruno Mannina a écrit :
> As I'm a newbie on Linux, is it the right commands:
> sudo chgrp tomcat6 /solrindex
If I do this command line, no change has been done?!
For solrindex/
Before I have: solr:solr
After I have: solr:solr
??
chgrp has no action?!
Re: Pb installation Solr/Tomcat6
Posted by Bruno Mannina <bm...@free.fr>.
Yes, I actually do a backup of my index before changing/testing chgrp
action.
As I'm a newbie on Linux, is it the right commands:
sudo chgrp tomcat6 /solrindex
sudo chmod g+s /solrindex
?
Le 14/07/2012 15:31, Vadim Kisselmann a écrit :
> same problem.
> but here should tomcat6 have the right to read/write your index.
> regards
> vadim
>
>
> 2012/7/14 Bruno Mannina <bm...@free.fr>:
>> I found the problem I think, It was a permission problem on the schema.xml
>>
>> schema.xml was only readable by the solr user.
>>
>> Now I have the same problem with the solr index directory
>>
>> Le 14/07/2012 14:00, Bruno Mannina a écrit :
>>
>>> Dear Solr users,
>>>
>>> I try to run solr/ with tomcat but I have always this error:
>>> Can't find resource 'schema.xml' in classpath or
>>> '/home/solr/apache-solr-3.6.0/example/solr/./conf/', cwd='/var/lib/tomcat6
>>>
>>> but schema.xml is inside the directory
>>> '/home/solr/apache-solr-3.6.0/example/solr/./conf/'
>>>
>>> http://localhost:8080/manager/html => works fine, I see Applications
>>> /solr, fonctionnelle True
>>>
>>> but when I click on solr/ (http://localhost:8080/solr/) I get this error.
>>>
>>> Could you help me to solve this problem, it makes me crazy.....
>>>
>>> thanks a lot,
>>> Bruno
>>>
>>>
>>> Tomcat6
>>> Ubuntu 12.04
>>> Solr 3.6
>>>
>>>
>>
>
Re: Pb installation Solr/Tomcat6
Posted by Vadim Kisselmann <v....@gmail.com>.
same problem.
but here should tomcat6 have the right to read/write your index.
regards
vadim
2012/7/14 Bruno Mannina <bm...@free.fr>:
> I found the problem I think, It was a permission problem on the schema.xml
>
> schema.xml was only readable by the solr user.
>
> Now I have the same problem with the solr index directory
>
> Le 14/07/2012 14:00, Bruno Mannina a écrit :
>
>> Dear Solr users,
>>
>> I try to run solr/ with tomcat but I have always this error:
>> Can't find resource 'schema.xml' in classpath or
>> '/home/solr/apache-solr-3.6.0/example/solr/./conf/', cwd='/var/lib/tomcat6
>>
>> but schema.xml is inside the directory
>> '/home/solr/apache-solr-3.6.0/example/solr/./conf/'
>>
>> http://localhost:8080/manager/html => works fine, I see Applications
>> /solr, fonctionnelle True
>>
>> but when I click on solr/ (http://localhost:8080/solr/) I get this error.
>>
>> Could you help me to solve this problem, it makes me crazy.....
>>
>> thanks a lot,
>> Bruno
>>
>>
>> Tomcat6
>> Ubuntu 12.04
>> Solr 3.6
>>
>>
>
>
Re: Pb installation Solr/Tomcat6
Posted by Bruno Mannina <bm...@free.fr>.
I found the problem I think, It was a permission problem on the schema.xml
schema.xml was only readable by the solr user.
Now I have the same problem with the solr index directory
Le 14/07/2012 14:00, Bruno Mannina a écrit :
> Dear Solr users,
>
> I try to run solr/ with tomcat but I have always this error:
> Can't find resource 'schema.xml' in classpath or
> '/home/solr/apache-solr-3.6.0/example/solr/./conf/',
> cwd='/var/lib/tomcat6
>
> but schema.xml is inside the directory
> '/home/solr/apache-solr-3.6.0/example/solr/./conf/'
>
> http://localhost:8080/manager/html => works fine, I see Applications
> /solr, fonctionnelle True
>
> but when I click on solr/ (http://localhost:8080/solr/) I get this error.
>
> Could you help me to solve this problem, it makes me crazy.....
>
> thanks a lot,
> Bruno
>
>
> Tomcat6
> Ubuntu 12.04
> Solr 3.6
>
>