Hi Sulliwane,
I tried your steps on your blog(by the way I cant send you messages from your blog as there is a captcha error- you might want to look into it)
I tried to install java but here is where I always get stuck when it starts up:-
i just cant get it to start. could you kindly advise why it does not work for me?
below is my jar server output:-
Appreciate if you could help. I am also running an Ubuntu machine.
Thanks
usr@server:/opt/solr# dir
README.txt etc example-schemaless lib multicore scripts solr-webapp webapps
contexts example-DIH exampledocs logs resources solr start.jar
usr@sever:/opt/solr# java -jar start.jar
0 [main] INFO org.eclipse.jetty.server.Server ? jetty-8.1.10.v20130312
59 [main] INFO org.eclipse.jetty.deploy.providers.ScanningAppProvider ? Deployment monitor /opt/solr/contexts at interval 0
73 [main] INFO org.eclipse.jetty.deploy.DeploymentManager ? Deployable added: /opt/solr/contexts/solr-jetty-context.xml
2789 [main] INFO org.eclipse.jetty.webapp.StandardDescriptorProcessor ? NO JSP Support for /solr, did not find org.apache.jasper.servlet.JspServlet
2944 [main] INFO org.apache.solr.servlet.SolrDispatchFilter ? SolrDispatchFilter.init()
3010 [main] INFO org.apache.solr.core.SolrResourceLoader ? JNDI not configured for solr (NoInitialContextEx)
3011 [main] INFO org.apache.solr.core.SolrResourceLoader ? solr home defaulted to 'solr/' (could not find system property or JNDI)
3013 [main] INFO org.apache.solr.core.SolrResourceLoader ? new SolrResourceLoader for directory: 'solr/'
3321 [main] INFO org.apache.solr.core.ConfigSolr ? Loading container configuration from /opt/solr/solr/solr.xml
3592 [main] INFO org.apache.solr.core.CoresLocator ? Config-defined core root directory: /opt/solr/solr
3606 [main] INFO org.apache.solr.core.CoreContainer ? New CoreContainer 492440199
3607 [main] INFO org.apache.solr.core.CoreContainer ? Loading cores into CoreContainer [instanceDir=solr/]
3635 [main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory ? Setting socketTimeout to: 0
3635 [main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory ? Setting urlScheme to: null
3644 [main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory ? Setting connTimeout to: 0
3645 [main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory ? Setting maxConnectionsPerHost to: 20
3650 [main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory ? Setting corePoolSize to: 0
3651 [main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory ? Setting maximumPoolSize to: 2147483647
3651 [main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory ? Setting maxThreadIdleTime to: 5
3652 [main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory ? Setting sizeOfQueue to: -1
3652 [main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory ? Setting fairnessPolicy to: false
4211 [main] INFO org.apache.solr.update.UpdateShardHandler ? Creating UpdateShardHandler HTTP client with params: socketTimeout=0&connTimeout=0&retry=false
4215 [main] INFO org.apache.solr.logging.LogWatcher ? SLF4J impl is org.slf4j.impl.Log4jLoggerFactory
4217 [main] INFO org.apache.solr.logging.LogWatcher ? Registering Log Listener [Log4j (org.slf4j.impl.Log4jLoggerFactory)]
4220 [main] INFO org.apache.solr.core.CoreContainer ? Host Name:
4299 [main] INFO org.apache.solr.core.CoresLocator ? Looking for core definitions underneath /opt/solr/solr
4320 [main] INFO org.apache.solr.core.CoresLocator ? Found core collection1 in /opt/solr/solr/collection1/
4322 [main] INFO org.apache.solr.core.CoresLocator ? Found 1 core definitions
4326 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader ? new SolrResourceLoader for directory: '/opt/solr/solr/collection1/'
4549 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrConfig ? Adding specified lib dirs to ClassLoader
4550 [coreLoadExecutor-5-thread-1] WARN org.apache.solr.core.SolrResourceLoader ? Can't find (or read) directory to add to classloader: ../../../contrib/extraction/lib (resolved as: /opt/solr/solr/collection1/../../../contrib/extraction/lib).
4552 [coreLoadExecutor-5-thread-1] WARN org.apache.solr.core.SolrResourceLoader ? Can't find (or read) directory to add to classloader: ../../../dist/ (resolved as: /opt/solr/solr/collection1/../../../dist).
4552 [coreLoadExecutor-5-thread-1] WARN org.apache.solr.core.SolrResourceLoader ? Can't find (or read) directory to add to classloader: ../../../contrib/clustering/lib/ (resolved as: /opt/solr/solr/collection1/../../../contrib/clustering/lib).
4553 [coreLoadExecutor-5-thread-1] WARN org.apache.solr.core.SolrResourceLoader ? Can't find (or read) directory to add to classloader: ../../../dist/ (resolved as: /opt/solr/solr/collection1/../../../dist).
4553 [coreLoadExecutor-5-thread-1] WARN org.apache.solr.core.SolrResourceLoader ? Can't find (or read) directory to add to classloader: ../../../contrib/langid/lib/ (resolved as: /opt/solr/solr/collection1/../../../contrib/langid/lib).
4554 [coreLoadExecutor-5-thread-1] WARN org.apache.solr.core.SolrResourceLoader ? Can't find (or read) directory to add to classloader: ../../../dist/ (resolved as: /opt/solr/solr/collection1/../../../dist).
4555 [coreLoadExecutor-5-thread-1] WARN org.apache.solr.core.SolrResourceLoader ? Can't find (or read) directory to add to classloader: ../../../contrib/velocity/lib (resolved as: /opt/solr/solr/collection1/../../../contrib/velocity/lib).
4555 [coreLoadExecutor-5-thread-1] WARN org.apache.solr.core.SolrResourceLoader ? Can't find (or read) directory to add to classloader: ../../../dist/ (resolved as: /opt/solr/solr/collection1/../../../dist).
4874 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.update.SolrIndexConfig ? IndexWriter infoStream solr logging is enabled
4891 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrConfig ? Using Lucene MatchVersion: 4.10.2
5203 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.Config ? Loaded SolrConfig: solrconfig.xml
5218 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.schema.IndexSchema ? Reading Solr Schema from /opt/solr/solr/collection1/conf/schema.xml
5409 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.schema.IndexSchema ? [collection1] Schema name=example
6675 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.schema.IndexSchema ? unique key field: id
6706 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.rest.RestManager ? Registered ManagedResource impl org.apache.solr.rest.schema.analysis.ManagedWordSetResource for path /schema/analysis/stopwords/english
6707 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.rest.RestManager ? Registered ManagedResource impl org.apache.solr.rest.schema.analysis.ManagedSynonymFilterFactory$SynonymManager for path /schema/analysis/synonyms/english
6872 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.schema.FileExchangeRateProvider ? Reloading exchange rates from file currency.xml
6891 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.schema.FileExchangeRateProvider ? Reloading exchange rates from file currency.xml
7162 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.CoreContainer ? Creating SolrCore 'collection1' using configuration from instancedir /opt/solr/solr/collection1/
7205 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrCore ? solr.NRTCachingDirectoryFactory
7220 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrCore ? [collection1] Opening new SolrCore at /opt/solr/solr/collection1/, dataDir=/opt/solr/solr/collection1/data/
7224 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.JmxMonitoredMap ? No JMX servers found, not exposing Solr information with JMX.
7233 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrCore ? [collection1] Added SolrEventListener for newSearcher: org.apache.solr.core.QuerySenderListener{queries=[]}
7234 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrCore ? [collection1] Added SolrEventListener for firstSearcher: org.apache.solr.core.QuerySenderListener{queries=[{q=static firstSearcher warming in solrconfig.xml}]}
7264 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.CachingDirectoryFactory ? return new directory for /opt/solr/solr/collection1/data
7270 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrCore ? New index directory detected: old=null new=/opt/solr/solr/collection1/data/index/
7272 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.CachingDirectoryFactory ? return new directory for /opt/solr/solr/collection1/data/index
7306 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrCore ? created json: solr.JSONResponseWriter
7307 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrCore ? adding lazy queryResponseWriter: solr.VelocityResponseWriter
7308 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrCore ? created velocity: solr.VelocityResponseWriter
7315 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrCore ? created xslt: solr.XSLTResponseWriter
7315 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.response.XSLTResponseWriter ? xsltCacheLifetimeSeconds=5
7526 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrCore ? no updateRequestProcessorChain defined as default, creating implicit default
7539 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers ? created /update: org.apache.solr.handler.UpdateRequestHandler
7540 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers ? created /update/json: org.apache.solr.handler.UpdateRequestHandler
7540 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers ? created /update/csv: org.apache.solr.handler.UpdateRequestHandler
7541 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers ? created /update/json/docs: org.apache.solr.handler.UpdateRequestHandler
7552 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers ? created /select: solr.SearchHandler
7553 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers ? created /query: solr.SearchHandler
7557 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers ? created /get: solr.RealTimeGetHandler
7557 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers ? created /export: solr.SearchHandler
7558 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers ? created /browse: solr.SearchHandler
7561 [coreLoadExecutor-5-thread-1] WARN org.apache.solr.core.RequestHandlers ? Multiple requestHandler registered to the same name: /update ignoring: org.apache.solr.handler.UpdateRequestHandler
7561 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers ? created /update: solr.UpdateRequestHandler
7562 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers ? adding lazy requestHandler: solr.extraction.ExtractingRequestHandler
7563 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers ? created /update/extract: solr.extraction.ExtractingRequestHandler
7564 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers ? adding lazy requestHandler: solr.FieldAnalysisRequestHandler
7564 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers ? created /analysis/field: solr.FieldAnalysisRequestHandler
7564 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers ? adding lazy requestHandler: solr.DocumentAnalysisRequestHandler
7565 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers ? created /analysis/document: solr.DocumentAnalysisRequestHandler
7569 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers ? created /admin/: solr.admin.AdminHandlers
7573 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers ? created /admin/ping: solr.PingRequestHandler
7577 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers ? created /debug/dump: solr.DumpRequestHandler
7597 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers ? created /replication: solr.ReplicationHandler
7597 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers ? adding lazy requestHandler: solr.SearchHandler
7598 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers ? created /spell: solr.SearchHandler
7598 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers ? adding lazy requestHandler: solr.SearchHandler
7599 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers ? created /suggest: solr.SearchHandler
7599 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers ? adding lazy requestHandler: solr.SearchHandler
7599 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers ? created /tvrh: solr.SearchHandler
7600 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers ? adding lazy requestHandler: solr.SearchHandler
7600 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers ? created /terms: solr.SearchHandler
7601 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers ? adding lazy requestHandler: solr.SearchHandler
7601 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers ? created /elevate: solr.SearchHandler
7635 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.handler.loader.XMLLoader ? xsltCacheLifetimeSeconds=60
7639 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.handler.loader.XMLLoader ? xsltCacheLifetimeSeconds=60
7640 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.handler.loader.XMLLoader ? xsltCacheLifetimeSeconds=60
7642 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.handler.loader.XMLLoader ? xsltCacheLifetimeSeconds=60
7644 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.handler.loader.XMLLoader ? xsltCacheLifetimeSeconds=60
7676 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrCore ? Hard AutoCommit: if uncommited for 15000ms;
7677 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrCore ? Soft AutoCommit: disabled
7747 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrCore ? SolrDeletionPolicy.onInit: commits: num=1
commit{dir=NRTCachingDirectory(MMapDirectory@/opt/solr/solr/collection1/data/index lockFactory=NativeFSLockFactory@/opt/solr/solr/collection1/data/index; maxCacheMB=48.0 maxMergeSizeMB=4.0),segFN=segments_1,generation=1}
7749 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrCore ? newest commit generation = 1
7765 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.search.SolrIndexSearcher ? Opening Searcher@4b6f59f5[collection1] main
7779 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.rest.ManagedResourceStorage ? File-based storage initialized to use dir: /opt/solr/solr/collection1/conf
7780 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.rest.RestManager ? Initializing RestManager with initArgs: {storageDir=/opt/solr/solr/collection1/conf}
7782 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.rest.ManagedResourceStorage ? Reading _rest_managed.json using file:dir=/opt/solr/solr/collection1/conf
7791 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.rest.ManagedResourceStorage ? Loaded LinkedHashMap at path _rest_managed.json using file:dir=/opt/solr/solr/collection1/conf
7792 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.rest.ManagedResource ? Loaded initArgs {} for /rest/managed
7792 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.rest.RestManager ? Initializing 2 registered ManagedResources
7793 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.rest.ManagedResourceStorage ? Reading _schema_analysis_stopwords_english.json using file:dir=/opt/solr/solr/collection1/conf
7796 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.rest.ManagedResourceStorage ? Loaded LinkedHashMap at path _schema_analysis_stopwords_english.json using file:dir=/opt/solr/solr/collection1/conf
7796 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.rest.ManagedResource ? Loaded initArgs {ignoreCase=true} for /schema/analysis/stopwords/english
7797 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.rest.ManagedResource ? Loaded 35 words for /schema/analysis/stopwords/english
7798 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.rest.ManagedResource ? Notified 1 observers of /schema/analysis/stopwords/english
7799 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.rest.ManagedResourceStorage ? Reading _schema_analysis_synonyms_english.json using file:dir=/opt/solr/solr/collection1/conf
7801 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.rest.ManagedResourceStorage ? Loaded LinkedHashMap at path _schema_analysis_synonyms_english.json using file:dir=/opt/solr/solr/collection1/conf
7801 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.rest.ManagedResource ? Loaded initArgs {ignoreCase=true,format=solr} for /schema/analysis/synonyms/english
7803 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.rest.ManagedResource ? Loaded 3 synonym mappings for /schema/analysis/synonyms/english
7807 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.rest.ManagedResource ? Notified 1 observers of /schema/analysis/synonyms/english
7808 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.handler.component.SpellCheckComponent ? Initializing spell checkers
7822 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.spelling.DirectSolrSpellChecker ? init: {name=default,field=text,classname=solr.DirectSolrSpellChecker,distanceMeasure=internal,accuracy=0.5,maxEdits=2,minPrefix=1,maxInspections=5,minQueryLength=4,maxQueryFrequency=0.01}
7836 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.handler.component.SpellCheckComponent ? No queryConverter defined, using default converter
7839 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.handler.component.SuggestComponent ? Initializing SuggestComponent
7842 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.spelling.suggest.SolrSuggester ? init: {name=mySuggester,lookupImpl=FuzzyLookupFactory,dictionaryImpl=DocumentDictionaryFactory,field=cat,weightField=price,suggestAnalyzerFieldType=string}
7875 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.spelling.suggest.SolrSuggester ? Dictionary loaded with params: {name=mySuggester,lookupImpl=FuzzyLookupFactory,dictionaryImpl=DocumentDictionaryFactory,field=cat,weightField=price,suggestAnalyzerFieldType=string}
7878 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.handler.component.QueryElevationComponent ? Loading QueryElevation from: /opt/solr/solr/collection1/conf/elevate.xml
7940 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.handler.ReplicationHandler ? Commits will be reserved for 10000
7941 [searcherExecutor-6-thread-1] INFO org.apache.solr.core.SolrCore ? QuerySenderListener sending requests to Searcher@4b6f59f5[collection1] main{StandardDirectoryReader(segments_1:1:nrt)}
7946 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.CoreContainer ? registering core: collection1
7967 [main] INFO org.apache.solr.servlet.SolrDispatchFilter ? user.dir=/opt/solr
7968 [main] INFO org.apache.solr.servlet.SolrDispatchFilter ? SolrDispatchFilter.init() done
8043 [main] INFO org.eclipse.jetty.server.AbstractConnector ? Started SocketConnector@0.0.0.0:8983
8070 [searcherExecutor-6-thread-1] INFO org.apache.solr.core.SolrCore ? [collection1] webapp=null path=null params={event=firstSearcher&q=static+firstSearcher+warming+in+solrconfig.xml&distrib=false} hits=0 status=0 QTime=123
8077 [searcherExecutor-6-thread-1] INFO org.apache.solr.core.SolrCore ? QuerySenderListener done.
8078 [searcherExecutor-6-thread-1] INFO org.apache.solr.handler.component.SpellCheckComponent ? Loading spell index for spellchecker: default
8078 [searcherExecutor-6-thread-1] INFO org.apache.solr.handler.component.SpellCheckComponent ? Loading spell index for spellchecker: wordbreak
8078 [searcherExecutor-6-thread-1] INFO org.apache.solr.handler.component.SuggestComponent ? Loading suggester index for: mySuggester
8078 [searcherExecutor-6-thread-1] INFO org.apache.solr.spelling.suggest.SolrSuggester ? reload()
8079 [searcherExecutor-6-thread-1] INFO org.apache.solr.spelling.suggest.SolrSuggester ? build()
8094 [searcherExecutor-6-thread-1] INFO org.apache.solr.core.SolrCore ? [collection1] Registered new searcher Searcher@4b6f59f5[collection1] main{StandardDirectoryReader(segments_1:1:nrt)}
And then it hangs. Is it suppose to be like this or is my system having some problems?
Appreciate if someone could give me some feedback on this.