Finally I make it work on my server :) 

While installing the ubuntu server, I choose tomcat to install by the ubuntu 
itself.  So after installing the server I noticed the there are two folder on 
the system
/var/lib/tomcat6/ and /usr/share/tomcate6. The /var/lib/tomcat6/ folder has the 
following 

conf
lib
logs
temp
webapps
work

and /usr/share/tomcate6 has

bin
logs
webapps
lib

So I thought /var/lib/tomcat6/ is folder where I have to do all the 
configuration. I did so. Then I started the tomcat using /etc/init.d/tomcat6 
start. Then I was getting error in the solr application

Then I do the following steps to fix the issue

sudo /etc/init.d/tomcat6 stop
sudo cp -R /var/lib/tomcat6/conf /usr/share/tomcat6/
sudo cp -R /var/lib/tomcat6/temp /usr/share/tomcat6/
sudo cp -R /var/lib/tomcat6/logs/* /usr/share/tomcat6/logs/

cd /usr/share/tomcat6
sudo ln -s /var/cache/tomcat6 work

sudo bin/shutdown.sh
sudo bin/startup.sh

Now it's started working. So solr.xml is in 
/usr/share/tomcat6/conf/Catalina/localhost/solr.xml


- Anto Binish Kaspar


-----Original Message-----
From: Anto Binish Kaspar [mailto:antobin...@ec.is] 
Sent: Thursday, February 05, 2009 5:31 PM
To: solr-user@lucene.apache.org
Subject: RE: Severe errors in solr configuration

One thing I dint understand, why the application is trying to read the solr.xml 
from /usr/local/solr/solr-1.3/solr/solr.xml ?
I tried the folder permission of tomcat6:tomcat6 and root:root, both doesn't 
fix the issue. 

- Anto Binish Kaspar


-----Original Message-----
From: Olivier Dobberkau [mailto:olivier.dobber...@dkd.de] 
Sent: Thursday, February 05, 2009 4:52 PM
To: solr-user@lucene.apache.org
Subject: Re: Severe errors in solr configuration


Am 05.02.2009 um 12:07 schrieb Anto Binish Kaspar:

> Do I need to give some permissions to the folder?


i would guess so.

Olivier
--
Olivier Dobberkau

Je TYPO3, desto d.k.d

d.k.d Internet Service GmbH
Kaiserstr. 79
D 60329 Frankfurt/Main

Registergericht: Amtsgericht Frankfurt am Main
Registernummer: HRB 45590
Geschäftsführer:
Olivier Dobberkau, Søren Schaffstein, Götz Wegenast

fon:  +49 (0)69 - 43 05 61-70
fax:  +49 (0)69 - 43 05 61-90
mail: olivier.dobber...@dkd.de
home: http://www.dkd.de

aktuelle TYPO3-Projekte:
www.licht.de - Relaunch (TYPO3)
www.lahmeyer.de - Launch (TYPO3)
www.seb-assetmanagement.de - Relaunch (TYPO3)

Reply via email to