did you try switch your user mode to su (Super User)
mode?

Michael Ji

--- "Martens, Jason" <[EMAIL PROTECTED]>
wrote:

> Hey all,
>    I'm trying to install nutch 0.7, and I think I
> mostly have it 
> installed correctly, but I keep getting this error
> when I try to 
> search for something:
> 
>  
> java.io.IOException: Permission denied
>       java.io.UnixFileSystem.createFileExclusively(Native
> Method)
>       java.io.File.createNewFile(File.java:828)
>       
>
org.apache.lucene.store.FSDirectory$1.obtain(FSDirectory.java:357)
>       org.apache.lucene.store.Lock.obtain(Lock.java:53)
> 
> org.apache.lucene.store.Lock$With.run(Lock.java:108)
> 
>
org.apache.lucene.index.IndexReader.open(IndexReader.java:140)
> 
>
org.apache.lucene.index.IndexReader.open(IndexReader.java:124)
>       
>
org.apache.nutch.searcher.IndexSearcher.<init>(IndexSearcher.java:69)
> 
>
org.apache.nutch.searcher.NutchBean.init(NutchBean.java:90)
> 
>
org.apache.nutch.searcher.NutchBean.<init>(NutchBean.java:82)
> 
>
org.apache.nutch.searcher.NutchBean.<init>(NutchBean.java:72)
> 
>
org.apache.nutch.searcher.NutchBean.get(NutchBean.java:64)
> 
>
org.apache.jsp.search_jsp._jspService(search_jsp.java:112)
>       
>
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
> 
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>       
>
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
> va:324)
>       
>
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
>       
>
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
> 
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 
> I've checked all the permissions that I can think
> of, and set most of
> them to 
> 777.  But I can't figure out exactly where it is
> that it's trying to
> write to, 
> but none of the logs say which file it it is trying
> to access.  
> 
> Any suggestions would be appreciated.
> 
> Thanks,
> Jason Martens
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to