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 Bac Hoang <ba...@axonactive.vn> on 2010/12/22 12:25:28 UTC

Solr index directory '/solr/data/index' doesn't exist. Creating new index... on Geronimo

Hello Erick,

Could you kindly give a hand on my problem. Any ideas, hints, 
suggestions are highly appreciated. Many thanks

1. The problem: Solr index directory '/solr/data/index' doesn't exist. 
Creating new index...
2. Some other info.:

- use the solr example 1.4.1
- Geronimo 2.1.6
- solr home: /opt/dev/config/solr
- dataDir: /opt/dev/config/solr/data/index. I set the read, write right 
to every and each folder, from opt, dev...to the last one, index (just 
for sure ;) )
- <lockType>:
     - single/ simple: Cannot create directory: /solr/data/index at 
org.apache.solr.core.SolrCore.initIndex(SolrCore.java:397)
     - native: Cannot create directory: /solr/data/index at 
org.apache.lucene.store.NativeFSLockFactory.acquireTestLock

- the Geronimo log:
===============
2010-12-22 15:13:03,001 INFO  [SupportedModesServiceImpl] Portlet mode 
'edit' not found for portletId: '/console-base.WARModules!874780194|0'
2010-12-22 15:13:03,001 INFO  [SupportedModesServiceImpl] Portlet mode 
'help' not found for portletId: '/console-base.WARModules!874780194|0'
2010-12-22 15:13:07,941 INFO  [DirectoryMonitor] Hot deployer notified 
that an artifact was removed: default/solr2/1293005281314/war
2010-12-22 15:13:09,148 INFO  [SupportedModesServiceImpl] Portlet mode 
'edit' not found for portletId: '/console-base.WARModules!874780194|0'
2010-12-22 15:13:09,148 INFO  [SupportedModesServiceImpl] Portlet mode 
'help' not found for portletId: '/console-base.WARModules!874780194|0'
2010-12-22 15:13:14,139 INFO  [SupportedModesServiceImpl] Portlet mode 
'edit' not found for portletId: '/plugin.Deployment!227983155|0'
2010-12-22 15:13:18,795 WARN  [TomcatModuleBuilder] Web application . 
does not contain a WEB-INF/geronimo-web.xml deployment plan.  This may 
or may not be a problem, depending on whether you have things like 
resource references that need to be resolved.  You can also give the 
deployer a separate deployment plan file on the command line.
2010-12-22 15:13:19,040 INFO  [SolrResourceLoader] Using JNDI solr.home: 
/opt/dev/config/solr
2010-12-22 15:13:19,040 INFO  [SolrResourceLoader] Solr home set to 
'/opt/dev/config/solr/'
2010-12-22 15:13:19,051 INFO  [SolrDispatchFilter] SolrDispatchFilter.init()
....
2010-12-22 15:13:19,462 INFO  [IndexSchema] default search field is text
2010-12-22 15:13:19,463 INFO  [IndexSchema] query parser default 
operator is OR
2010-12-22 15:13:19,464 INFO  [IndexSchema] unique key field: id
2010-12-22 15:13:19,490 INFO  [JmxMonitoredMap] JMX monitoring is 
enabled. Adding Solr mbeans to JMX Server: 
com.sun.jmx.mbeanserver.JmxMBeanServer@144752d
2010-12-22 15:13:19,525 INFO  [SolrCore] Added SolrEventListener: 
org.apache.solr.core.QuerySenderListener{queries=[]}
2010-12-22 15:13:19,525 INFO  [SolrCore] Added SolrEventListener: 
org.apache.solr.core.QuerySenderListener{queries=[{q=solr 
rocks,start=0,rows=10}, {q=static firstSearcher warming query from 
solrconfig.xml}]}
2010-12-22 15:13:19,533 WARN  [SolrCore] Solr index directory 
'/solr/data/index' doesn't exist. Creating new index...
2010-12-22 15:13:19,599 ERROR [SolrDispatchFilter] Could not start SOLR. 
Check solr/home property
java.lang.RuntimeException: java.io.IOException: Cannot create 
directory: /solr/data/index
     at org.apache.solr.core.SolrCore.initIndex(SolrCore.java:397)
     at org.apache.solr.core.SolrCore.<init>(SolrCore.java:545)
     at 
org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:137)
     at 
org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:83)
...
2010-12-22 15:13:19,601 INFO  [SolrDispatchFilter] 
SolrDispatchFilter.init() done
2010-12-22 15:13:19,601 INFO  [SolrServlet] SolrServlet.init()
2010-12-22 15:13:19,602 INFO  [SolrResourceLoader] Using JNDI solr.home: 
/opt/dev/config/solr
2010-12-22 15:13:19,602 INFO  [SolrServlet] SolrServlet.init() done
2010-12-22 15:13:19,606 INFO  [SolrResourceLoader] Using JNDI solr.home: 
/opt/dev/config/solr
2010-12-22 15:13:19,606 INFO  [SolrUpdateServlet] 
SolrUpdateServlet.init() done
2010-12-22 15:13:19,721 INFO  [SupportedModesServiceImpl] Portlet mode 
'edit' not found for portletId: '/plugin.Deployment!227983155|0'

===============

With regards,
Bac Hoang



Re: Solr index directory '/solr/data/index' doesn't exist. Creating new index... on Geronimo

Posted by Gora Mohanty <go...@mimirtech.com>.
On Wed, Dec 22, 2010 at 4:55 PM, Bac Hoang <ba...@axonactive.vn> wrote:
> Hello Erick,
>
> Could you kindly give a hand on my problem. Any ideas, hints, suggestions
> are highly appreciated. Many thanks
>
> 1. The problem: Solr index directory '/solr/data/index' doesn't exist.
> Creating new index...
> 2. Some other info.:
>
> - use the solr example 1.4.1
> - Geronimo 2.1.6
> - solr home: /opt/dev/config/solr
> - dataDir: /opt/dev/config/solr/data/index.
[...]

Shouldn't the dataDir be /opt/dev/config/solr/data?

Alternatively, try removing /opt/dev/config/solr/data (please
first make sure  that you have no critical data there), and
restarting Solr. If dataDir is missing, Solr should create it.

Regards,
Gora

Re: Solr index directory '/solr/data/index' doesn't exist. Creating new index... on Geronimo

Posted by Bac Hoang <ba...@axonactive.vn>.
Just to share with solr community that the problem has been resolved in 
a simple way: move the solr/data/index out of the /opt/dev/config

The root cause is permission. It seems Geronimo doesn't allow write 
permission to /opt/dev/config and its sub-folders

Cheers,
Bac Hoang



On 12/22/2010 6:25 PM, Bac Hoang wrote:
> Hello Erick,
>
> Could you kindly give a hand on my problem. Any ideas, hints, 
> suggestions are highly appreciated. Many thanks
>
> 1. The problem: Solr index directory '/solr/data/index' doesn't exist. 
> Creating new index...
> 2. Some other info.:
>
> - use the solr example 1.4.1
> - Geronimo 2.1.6
> - solr home: /opt/dev/config/solr
> - dataDir: /opt/dev/config/solr/data/index. I set the read, write 
> right to every and each folder, from opt, dev...to the last one, index 
> (just for sure ;) )
> - <lockType>:
>     - single/ simple: Cannot create directory: /solr/data/index at 
> org.apache.solr.core.SolrCore.initIndex(SolrCore.java:397)
>     - native: Cannot create directory: /solr/data/index at 
> org.apache.lucene.store.NativeFSLockFactory.acquireTestLock
>
> - the Geronimo log:
> ===============
> 2010-12-22 15:13:03,001 INFO  [SupportedModesServiceImpl] Portlet mode 
> 'edit' not found for portletId: '/console-base.WARModules!874780194|0'
> 2010-12-22 15:13:03,001 INFO  [SupportedModesServiceImpl] Portlet mode 
> 'help' not found for portletId: '/console-base.WARModules!874780194|0'
> 2010-12-22 15:13:07,941 INFO  [DirectoryMonitor] Hot deployer notified 
> that an artifact was removed: default/solr2/1293005281314/war
> 2010-12-22 15:13:09,148 INFO  [SupportedModesServiceImpl] Portlet mode 
> 'edit' not found for portletId: '/console-base.WARModules!874780194|0'
> 2010-12-22 15:13:09,148 INFO  [SupportedModesServiceImpl] Portlet mode 
> 'help' not found for portletId: '/console-base.WARModules!874780194|0'
> 2010-12-22 15:13:14,139 INFO  [SupportedModesServiceImpl] Portlet mode 
> 'edit' not found for portletId: '/plugin.Deployment!227983155|0'
> 2010-12-22 15:13:18,795 WARN  [TomcatModuleBuilder] Web application . 
> does not contain a WEB-INF/geronimo-web.xml deployment plan.  This may 
> or may not be a problem, depending on whether you have things like 
> resource references that need to be resolved.  You can also give the 
> deployer a separate deployment plan file on the command line.
> 2010-12-22 15:13:19,040 INFO  [SolrResourceLoader] Using JNDI 
> solr.home: /opt/dev/config/solr
> 2010-12-22 15:13:19,040 INFO  [SolrResourceLoader] Solr home set to 
> '/opt/dev/config/solr/'
> 2010-12-22 15:13:19,051 INFO  [SolrDispatchFilter] 
> SolrDispatchFilter.init()
> ....
> 2010-12-22 15:13:19,462 INFO  [IndexSchema] default search field is text
> 2010-12-22 15:13:19,463 INFO  [IndexSchema] query parser default 
> operator is OR
> 2010-12-22 15:13:19,464 INFO  [IndexSchema] unique key field: id
> 2010-12-22 15:13:19,490 INFO  [JmxMonitoredMap] JMX monitoring is 
> enabled. Adding Solr mbeans to JMX Server: 
> com.sun.jmx.mbeanserver.JmxMBeanServer@144752d
> 2010-12-22 15:13:19,525 INFO  [SolrCore] Added SolrEventListener: 
> org.apache.solr.core.QuerySenderListener{queries=[]}
> 2010-12-22 15:13:19,525 INFO  [SolrCore] Added SolrEventListener: 
> org.apache.solr.core.QuerySenderListener{queries=[{q=solr 
> rocks,start=0,rows=10}, {q=static firstSearcher warming query from 
> solrconfig.xml}]}
> 2010-12-22 15:13:19,533 WARN  [SolrCore] Solr index directory 
> '/solr/data/index' doesn't exist. Creating new index...
> 2010-12-22 15:13:19,599 ERROR [SolrDispatchFilter] Could not start 
> SOLR. Check solr/home property
> java.lang.RuntimeException: java.io.IOException: Cannot create 
> directory: /solr/data/index
>     at org.apache.solr.core.SolrCore.initIndex(SolrCore.java:397)
>     at org.apache.solr.core.SolrCore.<init>(SolrCore.java:545)
>     at 
> org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:137)
>     at 
> org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:83)
> ...
> 2010-12-22 15:13:19,601 INFO  [SolrDispatchFilter] 
> SolrDispatchFilter.init() done
> 2010-12-22 15:13:19,601 INFO  [SolrServlet] SolrServlet.init()
> 2010-12-22 15:13:19,602 INFO  [SolrResourceLoader] Using JNDI 
> solr.home: /opt/dev/config/solr
> 2010-12-22 15:13:19,602 INFO  [SolrServlet] SolrServlet.init() done
> 2010-12-22 15:13:19,606 INFO  [SolrResourceLoader] Using JNDI 
> solr.home: /opt/dev/config/solr
> 2010-12-22 15:13:19,606 INFO  [SolrUpdateServlet] 
> SolrUpdateServlet.init() done
> 2010-12-22 15:13:19,721 INFO  [SupportedModesServiceImpl] Portlet mode 
> 'edit' not found for portletId: '/plugin.Deployment!227983155|0'
>
> ===============
>
> With regards,
> Bac Hoang
>
>

Re: Solr index directory '/solr/data/index' doesn't exist. Creating new index... on Geronimo

Posted by Anurag <an...@gmail.com>.
So problem may be that "index" folder was not able to create. So try to
check the conf folder where solconfig.xml & schema.xml resides. Also u may
try to index using $java -jar post.jar *.xml files.

You may try different version like 1.3.0 or 1.4.0 to test what is wrong. It
sometimes happens that the downloaded solr may have something missing.


On Wed, Dec 22, 2010 at 9:18 PM, Bac Hoang [via Lucene] <
ml-node+2131930-846132511-146354@n3.nabble.com<ml...@n3.nabble.com>
> wrote:

>
> Hello Anurag,
>
> The specific problem I faced when started solr in Geronimo (http://{server}:{port}/solr)
> is /solr/data/index could not be found, then solr tried to create that
> folder but failed, even permission is granted.
>
> More detail got from the log: "Solr index directory > '/solr/data/index'
> doesn't exist. Creating new index...
> 2010-12-22 15:13:19,599 ERROR [SolrDispatchFilter] Could not start SOLR.
> Check solr/home property
> java.lang.RuntimeException: java.io.IOException: Cannot create directory:
> /solr/data/index
>
> You're right, I'm using solr is 1.4.1
>
> Thanks indeed
> Bac Hoang
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Anurag [mailto:[hidden email]<http://user/SendEmail.jtp?type=node&node=2131930&i=0>]
>
> Gesendet: tư 12/22/2010 10:17 CH
> An: [hidden email] <http://user/SendEmail.jtp?type=node&node=2131930&i=1>
> Betreff: Re: Solr index directory '/solr/data/index' doesn't exist.
> Creating new index... on Geronimo
>
>
> What you want to ask? When this problem arises.? Is it when you try to
> index
> to solr? What are the commands that you are running? Which version of solr(
>
> 1.4.1?).
> On Wed, Dec 22, 2010 at 5:49 PM, Bac Hoang [via Lucene] <
> [hidden email] <http://user/SendEmail.jtp?type=node&node=2131930&i=2><[hidden
> email] <http://user/SendEmail.jtp?type=node&node=2131930&i=3>>
> > wrote:
>
> > Hello Erick,
> >
> > Could you kindly give a hand on my problem. Any ideas, hints,
> > suggestions are highly appreciated. Many thanks
> >
> > 1. The problem: Solr index directory '/solr/data/index' doesn't exist.
> > Creating new index...
> > 2. Some other info.:
> >
> > - use the solr example 1.4.1
> > - Geronimo 2.1.6
> > - solr home: /opt/dev/config/solr
> > - dataDir: /opt/dev/config/solr/data/index. I set the read, write right
> > to every and each folder, from opt, dev...to the last one, index (just
> > for sure ;) )
> > - <lockType>:
> >      - single/ simple: Cannot create directory: /solr/data/index at
> > org.apache.solr.core.SolrCore.initIndex(SolrCore.java:397)
> >      - native: Cannot create directory: /solr/data/index at
> > org.apache.lucene.store.NativeFSLockFactory.acquireTestLock
> >
> > - the Geronimo log:
> > ===============
> > 2010-12-22 15:13:03,001 INFO  [SupportedModesServiceImpl] Portlet mode
> > 'edit' not found for portletId: '/console-base.WARModules!874780194|0'
> > 2010-12-22 15:13:03,001 INFO  [SupportedModesServiceImpl] Portlet mode
> > 'help' not found for portletId: '/console-base.WARModules!874780194|0'
> > 2010-12-22 15:13:07,941 INFO  [DirectoryMonitor] Hot deployer notified
> > that an artifact was removed: default/solr2/1293005281314/war
> > 2010-12-22 15:13:09,148 INFO  [SupportedModesServiceImpl] Portlet mode
> > 'edit' not found for portletId: '/console-base.WARModules!874780194|0'
> > 2010-12-22 15:13:09,148 INFO  [SupportedModesServiceImpl] Portlet mode
> > 'help' not found for portletId: '/console-base.WARModules!874780194|0'
> > 2010-12-22 15:13:14,139 INFO  [SupportedModesServiceImpl] Portlet mode
> > 'edit' not found for portletId: '/plugin.Deployment!227983155|0'
> > 2010-12-22 15:13:18,795 WARN  [TomcatModuleBuilder] Web application .
> > does not contain a WEB-INF/geronimo-web.xml deployment plan.  This may
> > or may not be a problem, depending on whether you have things like
> > resource references that need to be resolved.  You can also give the
> > deployer a separate deployment plan file on the command line.
> > 2010-12-22 15:13:19,040 INFO  [SolrResourceLoader] Using JNDI solr.home:
> > /opt/dev/config/solr
> > 2010-12-22 15:13:19,040 INFO  [SolrResourceLoader] Solr home set to
> > '/opt/dev/config/solr/'
> > 2010-12-22 15:13:19,051 INFO  [SolrDispatchFilter]
> > SolrDispatchFilter.init()
> > ....
> > 2010-12-22 15:13:19,462 INFO  [IndexSchema] default search field is text
> > 2010-12-22 15:13:19,463 INFO  [IndexSchema] query parser default
> > operator is OR
> > 2010-12-22 15:13:19,464 INFO  [IndexSchema] unique key field: id
> > 2010-12-22 15:13:19,490 INFO  [JmxMonitoredMap] JMX monitoring is
> > enabled. Adding Solr mbeans to JMX Server:
> > com.sun.jmx.mbeanserver.JmxMBeanServer@144752d
> > 2010-12-22 15:13:19,525 INFO  [SolrCore] Added SolrEventListener:
> > org.apache.solr.core.QuerySenderListener{queries=[]}
> > 2010-12-22 15:13:19,525 INFO  [SolrCore] Added SolrEventListener:
> > org.apache.solr.core.QuerySenderListener{queries=[{q=solr
> > rocks,start=0,rows=10}, {q=static firstSearcher warming query from
> > solrconfig.xml}]}
> > 2010-12-22 15:13:19,533 WARN  [SolrCore] Solr index directory
> > '/solr/data/index' doesn't exist. Creating new index...
> > 2010-12-22 15:13:19,599 ERROR [SolrDispatchFilter] Could not start SOLR.
> > Check solr/home property
> > java.lang.RuntimeException: java.io.IOException: Cannot create
> > directory: /solr/data/index
> >      at org.apache.solr.core.SolrCore.initIndex(SolrCore.java:397)
> >      at org.apache.solr.core.SolrCore.<init>(SolrCore.java:545)
> >      at
> >
> org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:137)
>
> >
> >      at
> >
> org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:83)
> >
> > ...
> > 2010-12-22 15:13:19,601 INFO  [SolrDispatchFilter]
> > SolrDispatchFilter.init() done
> > 2010-12-22 15:13:19,601 INFO  [SolrServlet] SolrServlet.init()
> > 2010-12-22 15:13:19,602 INFO  [SolrResourceLoader] Using JNDI solr.home:
> > /opt/dev/config/solr
> > 2010-12-22 15:13:19,602 INFO  [SolrServlet] SolrServlet.init() done
> > 2010-12-22 15:13:19,606 INFO  [SolrResourceLoader] Using JNDI solr.home:
> > /opt/dev/config/solr
> > 2010-12-22 15:13:19,606 INFO  [SolrUpdateServlet]
> > SolrUpdateServlet.init() done
> > 2010-12-22 15:13:19,721 INFO  [SupportedModesServiceImpl] Portlet mode
> > 'edit' not found for portletId: '/plugin.Deployment!227983155|0'
> >
> > ===============
> >
> > With regards,
> > Bac Hoang
> >
> >
> >
> >
> > ------------------------------
> >  View message @
> >
> http://lucene.472066.n3.nabble.com/Dismax-score-maximu-of-any-one-field-tp2119563p2130906.html<http://lucene.472066.n3.nabble.com/Dismax-score-maximu-of-any-one-field-tp2119563p2130906.html?by-user=t>
> > To start a new topic under Solr - User, email
> > [hidden email] <http://user/SendEmail.jtp?type=node&node=2131930&i=4><[hidden
> email] <http://user/SendEmail.jtp?type=node&node=2131930&i=5>>
> > To unsubscribe from Solr - User, click here<
> http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=472068&code=YW51cmFnLml0LmpvbGx5QGdtYWlsLmNvbXw0NzIwNjh8LTIwOTgzNDQxOTY=<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=472068&code=YW51cmFnLml0LmpvbGx5QGdtYWlsLmNvbXw0NzIwNjh8LTIwOTgzNDQxOTY=&by-user=t>>.
>
> >
> >
>
>
>
> --
> Kumar Anurag
>
>
> -----
> Kumar Anurag
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Dismax-score-maximu-of-any-one-field-tp2119563p2131762.html<http://lucene.472066.n3.nabble.com/Dismax-score-maximu-of-any-one-field-tp2119563p2131762.html?by-user=t>
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>
>
> ------------------------------
>  View message @
> http://lucene.472066.n3.nabble.com/Dismax-score-maximu-of-any-one-field-tp2119563p2131930.html
>
> To start a new topic under Solr - User, email
> ml-node+472068-1941297125-146354@n3.nabble.com<ml...@n3.nabble.com>
> To unsubscribe from Solr - User, click here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=472068&code=YW51cmFnLml0LmpvbGx5QGdtYWlsLmNvbXw0NzIwNjh8LTIwOTgzNDQxOTY=>.
>
>



-- 
Kumar Anurag


-----
Kumar Anurag

-- 
View this message in context: http://lucene.472066.n3.nabble.com/Dismax-score-maximu-of-any-one-field-tp2119563p2133377.html
Sent from the Solr - User mailing list archive at Nabble.com.

AW: Solr index directory '/solr/data/index' doesn't exist. Creating new index... on Geronimo

Posted by Bac Hoang <ba...@axonactive.vn>.
Hello Anurag,

The specific problem I faced when started solr in Geronimo (http://{server}:{port}/solr) is /solr/data/index could not be found, then solr tried to create that folder but failed, even permission is granted.

More detail got from the log: "Solr index directory > '/solr/data/index' doesn't exist. Creating new index...
2010-12-22 15:13:19,599 ERROR [SolrDispatchFilter] Could not start SOLR. Check solr/home property
java.lang.RuntimeException: java.io.IOException: Cannot create directory: /solr/data/index

You're right, I'm using solr is 1.4.1

Thanks indeed
Bac Hoang
 


-----Ursprüngliche Nachricht-----
Von: Anurag [mailto:anurag.it.jolly@gmail.com]
Gesendet: tư 12/22/2010 10:17 CH
An: solr-user@lucene.apache.org
Betreff: Re: Solr index directory '/solr/data/index' doesn't exist. Creating new index... on Geronimo
 

What you want to ask? When this problem arises.? Is it when you try to index
to solr? What are the commands that you are running? Which version of solr(
1.4.1?).
On Wed, Dec 22, 2010 at 5:49 PM, Bac Hoang [via Lucene] <
ml-node+2130906-265633473-146354@n3.nabble.com<ml...@n3.nabble.com>
> wrote:

> Hello Erick,
>
> Could you kindly give a hand on my problem. Any ideas, hints,
> suggestions are highly appreciated. Many thanks
>
> 1. The problem: Solr index directory '/solr/data/index' doesn't exist.
> Creating new index...
> 2. Some other info.:
>
> - use the solr example 1.4.1
> - Geronimo 2.1.6
> - solr home: /opt/dev/config/solr
> - dataDir: /opt/dev/config/solr/data/index. I set the read, write right
> to every and each folder, from opt, dev...to the last one, index (just
> for sure ;) )
> - <lockType>:
>      - single/ simple: Cannot create directory: /solr/data/index at
> org.apache.solr.core.SolrCore.initIndex(SolrCore.java:397)
>      - native: Cannot create directory: /solr/data/index at
> org.apache.lucene.store.NativeFSLockFactory.acquireTestLock
>
> - the Geronimo log:
> ===============
> 2010-12-22 15:13:03,001 INFO  [SupportedModesServiceImpl] Portlet mode
> 'edit' not found for portletId: '/console-base.WARModules!874780194|0'
> 2010-12-22 15:13:03,001 INFO  [SupportedModesServiceImpl] Portlet mode
> 'help' not found for portletId: '/console-base.WARModules!874780194|0'
> 2010-12-22 15:13:07,941 INFO  [DirectoryMonitor] Hot deployer notified
> that an artifact was removed: default/solr2/1293005281314/war
> 2010-12-22 15:13:09,148 INFO  [SupportedModesServiceImpl] Portlet mode
> 'edit' not found for portletId: '/console-base.WARModules!874780194|0'
> 2010-12-22 15:13:09,148 INFO  [SupportedModesServiceImpl] Portlet mode
> 'help' not found for portletId: '/console-base.WARModules!874780194|0'
> 2010-12-22 15:13:14,139 INFO  [SupportedModesServiceImpl] Portlet mode
> 'edit' not found for portletId: '/plugin.Deployment!227983155|0'
> 2010-12-22 15:13:18,795 WARN  [TomcatModuleBuilder] Web application .
> does not contain a WEB-INF/geronimo-web.xml deployment plan.  This may
> or may not be a problem, depending on whether you have things like
> resource references that need to be resolved.  You can also give the
> deployer a separate deployment plan file on the command line.
> 2010-12-22 15:13:19,040 INFO  [SolrResourceLoader] Using JNDI solr.home:
> /opt/dev/config/solr
> 2010-12-22 15:13:19,040 INFO  [SolrResourceLoader] Solr home set to
> '/opt/dev/config/solr/'
> 2010-12-22 15:13:19,051 INFO  [SolrDispatchFilter]
> SolrDispatchFilter.init()
> ....
> 2010-12-22 15:13:19,462 INFO  [IndexSchema] default search field is text
> 2010-12-22 15:13:19,463 INFO  [IndexSchema] query parser default
> operator is OR
> 2010-12-22 15:13:19,464 INFO  [IndexSchema] unique key field: id
> 2010-12-22 15:13:19,490 INFO  [JmxMonitoredMap] JMX monitoring is
> enabled. Adding Solr mbeans to JMX Server:
> com.sun.jmx.mbeanserver.JmxMBeanServer@144752d
> 2010-12-22 15:13:19,525 INFO  [SolrCore] Added SolrEventListener:
> org.apache.solr.core.QuerySenderListener{queries=[]}
> 2010-12-22 15:13:19,525 INFO  [SolrCore] Added SolrEventListener:
> org.apache.solr.core.QuerySenderListener{queries=[{q=solr
> rocks,start=0,rows=10}, {q=static firstSearcher warming query from
> solrconfig.xml}]}
> 2010-12-22 15:13:19,533 WARN  [SolrCore] Solr index directory
> '/solr/data/index' doesn't exist. Creating new index...
> 2010-12-22 15:13:19,599 ERROR [SolrDispatchFilter] Could not start SOLR.
> Check solr/home property
> java.lang.RuntimeException: java.io.IOException: Cannot create
> directory: /solr/data/index
>      at org.apache.solr.core.SolrCore.initIndex(SolrCore.java:397)
>      at org.apache.solr.core.SolrCore.<init>(SolrCore.java:545)
>      at
> org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:137)
>
>      at
> org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:83)
>
> ...
> 2010-12-22 15:13:19,601 INFO  [SolrDispatchFilter]
> SolrDispatchFilter.init() done
> 2010-12-22 15:13:19,601 INFO  [SolrServlet] SolrServlet.init()
> 2010-12-22 15:13:19,602 INFO  [SolrResourceLoader] Using JNDI solr.home:
> /opt/dev/config/solr
> 2010-12-22 15:13:19,602 INFO  [SolrServlet] SolrServlet.init() done
> 2010-12-22 15:13:19,606 INFO  [SolrResourceLoader] Using JNDI solr.home:
> /opt/dev/config/solr
> 2010-12-22 15:13:19,606 INFO  [SolrUpdateServlet]
> SolrUpdateServlet.init() done
> 2010-12-22 15:13:19,721 INFO  [SupportedModesServiceImpl] Portlet mode
> 'edit' not found for portletId: '/plugin.Deployment!227983155|0'
>
> ===============
>
> With regards,
> Bac Hoang
>
>
>
>
> ------------------------------
>  View message @
> http://lucene.472066.n3.nabble.com/Dismax-score-maximu-of-any-one-field-tp2119563p2130906.html
> To start a new topic under Solr - User, email
> ml-node+472068-1941297125-146354@n3.nabble.com<ml...@n3.nabble.com>
> To unsubscribe from Solr - User, click here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=472068&code=YW51cmFnLml0LmpvbGx5QGdtYWlsLmNvbXw0NzIwNjh8LTIwOTgzNDQxOTY=>.
>
>



-- 
Kumar Anurag


-----
Kumar Anurag

-- 
View this message in context: http://lucene.472066.n3.nabble.com/Dismax-score-maximu-of-any-one-field-tp2119563p2131762.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Solr index directory '/solr/data/index' doesn't exist. Creating new index... on Geronimo

Posted by Anurag <an...@gmail.com>.
What you want to ask? When this problem arises.? Is it when you try to index
to solr? What are the commands that you are running? Which version of solr(
1.4.1?).
On Wed, Dec 22, 2010 at 5:49 PM, Bac Hoang [via Lucene] <
ml-node+2130906-265633473-146354@n3.nabble.com<ml...@n3.nabble.com>
> wrote:

> Hello Erick,
>
> Could you kindly give a hand on my problem. Any ideas, hints,
> suggestions are highly appreciated. Many thanks
>
> 1. The problem: Solr index directory '/solr/data/index' doesn't exist.
> Creating new index...
> 2. Some other info.:
>
> - use the solr example 1.4.1
> - Geronimo 2.1.6
> - solr home: /opt/dev/config/solr
> - dataDir: /opt/dev/config/solr/data/index. I set the read, write right
> to every and each folder, from opt, dev...to the last one, index (just
> for sure ;) )
> - <lockType>:
>      - single/ simple: Cannot create directory: /solr/data/index at
> org.apache.solr.core.SolrCore.initIndex(SolrCore.java:397)
>      - native: Cannot create directory: /solr/data/index at
> org.apache.lucene.store.NativeFSLockFactory.acquireTestLock
>
> - the Geronimo log:
> ===============
> 2010-12-22 15:13:03,001 INFO  [SupportedModesServiceImpl] Portlet mode
> 'edit' not found for portletId: '/console-base.WARModules!874780194|0'
> 2010-12-22 15:13:03,001 INFO  [SupportedModesServiceImpl] Portlet mode
> 'help' not found for portletId: '/console-base.WARModules!874780194|0'
> 2010-12-22 15:13:07,941 INFO  [DirectoryMonitor] Hot deployer notified
> that an artifact was removed: default/solr2/1293005281314/war
> 2010-12-22 15:13:09,148 INFO  [SupportedModesServiceImpl] Portlet mode
> 'edit' not found for portletId: '/console-base.WARModules!874780194|0'
> 2010-12-22 15:13:09,148 INFO  [SupportedModesServiceImpl] Portlet mode
> 'help' not found for portletId: '/console-base.WARModules!874780194|0'
> 2010-12-22 15:13:14,139 INFO  [SupportedModesServiceImpl] Portlet mode
> 'edit' not found for portletId: '/plugin.Deployment!227983155|0'
> 2010-12-22 15:13:18,795 WARN  [TomcatModuleBuilder] Web application .
> does not contain a WEB-INF/geronimo-web.xml deployment plan.  This may
> or may not be a problem, depending on whether you have things like
> resource references that need to be resolved.  You can also give the
> deployer a separate deployment plan file on the command line.
> 2010-12-22 15:13:19,040 INFO  [SolrResourceLoader] Using JNDI solr.home:
> /opt/dev/config/solr
> 2010-12-22 15:13:19,040 INFO  [SolrResourceLoader] Solr home set to
> '/opt/dev/config/solr/'
> 2010-12-22 15:13:19,051 INFO  [SolrDispatchFilter]
> SolrDispatchFilter.init()
> ....
> 2010-12-22 15:13:19,462 INFO  [IndexSchema] default search field is text
> 2010-12-22 15:13:19,463 INFO  [IndexSchema] query parser default
> operator is OR
> 2010-12-22 15:13:19,464 INFO  [IndexSchema] unique key field: id
> 2010-12-22 15:13:19,490 INFO  [JmxMonitoredMap] JMX monitoring is
> enabled. Adding Solr mbeans to JMX Server:
> com.sun.jmx.mbeanserver.JmxMBeanServer@144752d
> 2010-12-22 15:13:19,525 INFO  [SolrCore] Added SolrEventListener:
> org.apache.solr.core.QuerySenderListener{queries=[]}
> 2010-12-22 15:13:19,525 INFO  [SolrCore] Added SolrEventListener:
> org.apache.solr.core.QuerySenderListener{queries=[{q=solr
> rocks,start=0,rows=10}, {q=static firstSearcher warming query from
> solrconfig.xml}]}
> 2010-12-22 15:13:19,533 WARN  [SolrCore] Solr index directory
> '/solr/data/index' doesn't exist. Creating new index...
> 2010-12-22 15:13:19,599 ERROR [SolrDispatchFilter] Could not start SOLR.
> Check solr/home property
> java.lang.RuntimeException: java.io.IOException: Cannot create
> directory: /solr/data/index
>      at org.apache.solr.core.SolrCore.initIndex(SolrCore.java:397)
>      at org.apache.solr.core.SolrCore.<init>(SolrCore.java:545)
>      at
> org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:137)
>
>      at
> org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:83)
>
> ...
> 2010-12-22 15:13:19,601 INFO  [SolrDispatchFilter]
> SolrDispatchFilter.init() done
> 2010-12-22 15:13:19,601 INFO  [SolrServlet] SolrServlet.init()
> 2010-12-22 15:13:19,602 INFO  [SolrResourceLoader] Using JNDI solr.home:
> /opt/dev/config/solr
> 2010-12-22 15:13:19,602 INFO  [SolrServlet] SolrServlet.init() done
> 2010-12-22 15:13:19,606 INFO  [SolrResourceLoader] Using JNDI solr.home:
> /opt/dev/config/solr
> 2010-12-22 15:13:19,606 INFO  [SolrUpdateServlet]
> SolrUpdateServlet.init() done
> 2010-12-22 15:13:19,721 INFO  [SupportedModesServiceImpl] Portlet mode
> 'edit' not found for portletId: '/plugin.Deployment!227983155|0'
>
> ===============
>
> With regards,
> Bac Hoang
>
>
>
>
> ------------------------------
>  View message @
> http://lucene.472066.n3.nabble.com/Dismax-score-maximu-of-any-one-field-tp2119563p2130906.html
> To start a new topic under Solr - User, email
> ml-node+472068-1941297125-146354@n3.nabble.com<ml...@n3.nabble.com>
> To unsubscribe from Solr - User, click here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=472068&code=YW51cmFnLml0LmpvbGx5QGdtYWlsLmNvbXw0NzIwNjh8LTIwOTgzNDQxOTY=>.
>
>



-- 
Kumar Anurag


-----
Kumar Anurag

-- 
View this message in context: http://lucene.472066.n3.nabble.com/Dismax-score-maximu-of-any-one-field-tp2119563p2131762.html
Sent from the Solr - User mailing list archive at Nabble.com.