> The usual suggestion seems to be to use 127.0.0.1 instead of localhost.
Thanks Andrea, good suggestion! I've just tried it but still no joy unfortunately - I'm still getting the Not Found error. However, I'm not sure that I haven't accidentally broken something somewhere else whilst trying to fix this earlier as I've just noticed that I'm not even getting a response now from "curl http://localhost/solr", which I was earlier. So I'll need to go back through and see if I can get that working again before I give 127.0.0.1 another go. Thanks for the pointer though, here's hoping it will solve my problem :-) Cheers, Mike Michael White eLearning Developer eLearning Liaison & Development (eLD) 3V3a, Cottrell University of Stirling Stirling SCOTLAND FK9 4LA Email: [email protected] Tel: +44 (0) 1786 466877 Fax: +44 (0) 1786 466880 http://www.is.stir.ac.uk/aboutis/teams/aldt/eld.php -----Original Message----- From: Andrea Schweer [mailto:[email protected]] Sent: 27 January 2011 20:17 To: [email protected] Cc: Michael White Subject: Re: [Dspace-tech] SOLR import - not found error Hi, On 28/01/11 02:19, Michael White wrote: > When I run "stats-log-importer" (as the "tomcat" user that DSpace > runs under) I get a Not Found error: [...] > > request: > http://localhost/solr/statistics/update?wt=javabin&version=2.2 > org.apache.solr.common.SolrException: Not Found > > SOLR appears to be accessible via localhost - if I "curl > http://localhost/solr/" from the command line, it dumps back HTML > that looks like what I'd expect . . >From what I've seen, accessing solr via 'localhost' can cause problems. Something related to the way 'localhost' is resolved to an IP address by the Java code. The usual suggestion seems to be to use 127.0.0.1 instead of localhost. Also, it may be a good idea to give the port as well to make solr requests bypass apache -- so 127.0.0.1:8080 or whatever port your tomcat listens to. cheers, Andrea -- Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- The Sunday Times Scottish University of the Year 2009/2010 The University of Stirling is a charity registered in Scotland, number SC 011159. ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

