Hi,

it sounds like you are missing the City Database File for your Solr 
Statistics.  Assuming you are using DSpace 7, here's how to install 
it: 
https://wiki.lyrasis.org/display/DSDOC7x/SOLR+Statistics#SOLRStatistics-ManagingtheCityDatabaseFile
  
(There are two options, you should just choose one)

Tim

On Wednesday, September 6, 2023 at 11:52:34 AM UTC-5 [email protected] 
wrote:

> Alright thank you. The error I am seeing from my dspace is as follows.
>
>
>  ERROR org.dspace.statistics.SolrLoggerServiceImpl @ The GeoLite Database 
> file is missing (/dspace/config/GeoLite2-City.mmdb)! Solr Statistics cannot 
> generate locati>
> java.io.FileNotFoundException: /dspace/config/GeoLite2-City.mmdb (No such 
> file or directory)
>         at java.io.RandomAccessFile.open0(Native Method)
>         at java.io.RandomAccessFile.open(RandomAccessFile.java:316)
>         at java.io.RandomAccessFile.<init>(RandomAccessFile.java:243)
>         at com.maxmind.db.BufferHolder.<init>(BufferHolder.java:19)
>         at com.maxmind.db.Reader.<init>(Reader.java:116)
>         at com.maxmind.geoip2.DatabaseReader.<init>(DatabaseReader.java:66)
>         at com.maxmind.geoip2.DatabaseReader.<init>(DatabaseReader.java:54)
>         at 
> com.maxmind.geoip2.DatabaseReader$Builder.build(DatabaseReader.java:160)
>         at 
> org.dspace.statistics.SolrLoggerServiceImpl.afterPropertiesSet(SolrLoggerServiceImpl.java:170)
>         at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1573)
>         at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1511)
>         at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)
>         at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
>         at 
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
>         at 
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
>         at 
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
>         at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195)
>         at 
> org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1127)
>         at 
> org.dspace.servicemanager.spring.SpringServiceManager.getServiceByName(SpringServiceManager.java:103)
>         at 
> org.dspace.servicemanager.DSpaceServiceManager.getServiceByName(DSpaceServiceManager.java:284)
>         at 
> org.dspace.statistics.factory.StatisticsServiceFactoryImpl.getSolrLoggerService(StatisticsServiceFactoryImpl.java:26)
>         at 
> org.dspace.statistics.SolrLoggerUsageEventListener.<init>(SolrLoggerUsageEventListener.java:35)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
> Method)
>         at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>         at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
>         at 
> org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148)
>         at 
> org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
>         at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1032)
>         at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:985)
>         at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487)
>         at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
>         at 
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
>         at 
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
>         at 
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
>         at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
>
> --
> Precious Kapfunde
> Assistant Librarian-Systems
>
> On Wed, 6 Sept 2023, 18:29 DSpace Community, <[email protected]> 
> wrote:
>
>> Hi, 
>>
>> The information you shared is not an error from Solr.  It's just a 
>> warning (WARN).  An error would be displayed in red and likely include the 
>> text "ERROR".
>>
>> So, it's not possible to help unless you share the complete details of 
>> the error you are seeing in DSpace.  I'd recommend following our 
>> troubleshooting guide for details on how to find detailed errors in DSpace: 
>> https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove)
>>
>> Tim
>>
>> On Wednesday, September 6, 2023 at 8:58:08 AM UTC-5 [email protected] 
>> wrote:
>>
>>> Good day
>>>
>>> I am kindly asking for assistance, my dspace site is not working and I 
>>> saw that there is a challenge with my solr service. The following is the 
>>> error, how can I fix it
>>>
>>> 9/6/2023, 11:43:54 AM WARN true CoreContainer Not all security plugins 
>>> configured! authentication=disabled authorization=disabled. Solr is only as 
>>> secure as you make it. Consider configuring authentication/authorization 
>>> before exposing Solr to users internal or external. See 
>>> https://s.apache.org/solrsecurity for more info
>>>
>>> -- 
>>>
>>>
>>> *Precious KapfundeAssistant Librarian-Systems*
>>>
>>> *The Catholic University of Zimbabwe*
>>>
>>> *18443 Cranborne Avenue*
>>>
>>> *Hatfield*
>>>
>>> *Harare* 
>>>
>> -- 
>> All messages to this mailing list should adhere to the Code of Conduct: 
>> https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "DSpace Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/dspace-community/08341867-7b77-4c4c-b46d-df664ecb79e4n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/dspace-community/08341867-7b77-4c4c-b46d-df664ecb79e4n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-community/95434105-91d1-4582-8ea3-d99c2c8c158dn%40googlegroups.com.

Reply via email to