Re: [Dspace-tech] Solr Statistics still not working DSpace 4.1

2014-10-21 Thread Hilton Gibson
Hi Keir

Perhaps this will help:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Asset_Statistics/Old_Versions

Cheers

hg

*Hilton Gibson*
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

On 21 October 2014 04:52, Keir Vaughan-Taylor k...@physiol.usyd.edu.au
wrote:

 Okay lets try this.

 If I want to rebuild the solr statistics from the log files.
 What exactly would the procedure be?


 --
 Keir Vaughan-Taylor
 ERA DSpace Administrator
 Rm:123 Fisher Library University of Sydney
 k...@physiol.usyd.du.au
 ph:+61 2 9351 7408
 mb:+61 434 606 885



 --
 Comprehensive Server Monitoring with Site24x7.
 Monitor 10 servers for $9/Month.
 Get alerted through email, SMS, voice calls or mobile push notifications.
 Take corrective actions from your mobile device.
 http://p.sf.net/sfu/Zoho
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Solr Statistics still not working DSpace 4.1

2014-10-20 Thread Mark H. Wood
On Mon, Oct 20, 2014 at 03:16:15PM +1100, Keir Vaughan-Taylor wrote:
 I took a copy of the working Solr statistics from a working machine.
 Then copied the database, the log files and the assetstore across.
 
 The test line
 wget http://127.0.0.1/solr/statistics/select?q=*:*
  works and also the discovery index optime etc doesn;t crash.
 
 Only one problem - no statistics!
 
 i notice in the postgres database there is a table called webapp that
 contains the url of each server from a previous existance.
 
 So we clone the server - recompile dspace and get a new URL in this
 table. On a trial clone i tried making the url all the name of the
 server instance and it didn't seem to do anything helpful ( or bad)
 
 What does this table do? Is it likely to be related to my problem?

I think it unlikely that the webapps table is related to your
problem.  It only exists to allow 'bin/dspace version' to know what
webapp.s are running.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Solr Statistics still not working DSpace 4.1

2014-10-20 Thread Keir Vaughan-Taylor
Okay lets try this.

If I want to rebuild the solr statistics from the log files.
What exactly would the procedure be?


-- 
Keir Vaughan-Taylor
ERA DSpace Administrator
Rm:123 Fisher Library University of Sydney
k...@physiol.usyd.du.au
ph:+61 2 9351 7408
mb:+61 434 606 885


--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Solr Statistics still not working DSpace 4.1

2014-10-19 Thread Keir Vaughan-Taylor
I took a copy of the working Solr statistics from a working machine.
Then copied the database, the log files and the assetstore across.

The test line
wget http://127.0.0.1/solr/statistics/select?q=*:*
 works and also the discovery index optime etc doesn;t crash.

Only one problem - no statistics!

i notice in the postgres database there is a table called webapp that
contains the url of each server from a previous existance.

So we clone the server - recompile dspace and get a new URL in this
table. On a trial clone i tried making the url all the name of the
server instance and it didn't seem to do anything helpful ( or bad)

What does this table do? Is it likely to be related to my problem?



-- 
Keir Vaughan-Taylor
ERA DSpace Administrator
Rm:123 Fisher Library University of Sydney
k...@physiol.usyd.du.au
ph:+61 2 9351 7408
mb:+61 434 606 885


--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Solr Statistics still not working DSpace 4.1

2014-10-17 Thread Hilton Gibson
Hi Keir

Without knowing which DSpace version, try to check:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/SOLR_Statistics
The link is based on DSpace 3.2 and Ubuntu 12.04 LTS as per RA-02-2014 in:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Reference_Architecture

Cheers

hg

*Hilton Gibson*
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

On 16 October 2014 22:52, Keir Vaughan-Taylor k...@physiol.usyd.edu.au
wrote:

 Here is the system and software  version information.



 LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
 Red Hat Enterprise Linux Server release 6.6 (Santiago)

 psql (PostgreSQL) 8.4.20
 dspace-4.1-src-release

 Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9;
 2014-02-15T04:37:52+10:00)
 Maven home: /usr/local/maven
 Java version: 1.7.0_71, vendor: Oracle Corporation
 Java home: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.71.x86_64/jre
 Default locale: en_US, platform encoding: UTF-8
 OS name: linux, version: 2.6.32-431.29.2.el6.x86_64, arch: amd64,
 family: unix

 Apache Ant(TM) version 1.8.2 compiled on May 13 2011

 Tomcat7




 On Thu, 2014-10-16 at 10:16 +0200, Hilton Gibson wrote:
  Hi Keir
 
 
  Can you tell us what architecture you are using.
  See:
 http://wiki.lib.sun.ac.za/index.php/SUNScholar/Reference_Architecture
  This will help us to help you.
  If you have already sent the info to the list then my apologies.
 
 
  Cheers
 
 
  hg
 
  Hilton Gibson
  Ubuntu Linux Systems Administrator
  JS Gericke Library
  Room 1025C
  Stellenbosch University
  Private Bag X5036
  Stellenbosch
  7599
  South Africa
 
 
  Tel: +27 21 808 4100 | Cell: +27 84 646 4758
 
  On 16 October 2014 05:37, Keir Vaughan-Taylor
  k...@physiol.usyd.edu.au wrote:
  Still Can't get the Solr stats to work.
  Eliminating items without handles made no difference.
 
  One problem that might be related is something web based.
  A recommended test is to run:
 
  wget http://127.0.0.1/solr/statistics/select?q=*:*
 
  and I get
 
  --2014-10-16 14:30:20--
  http://127.0.0.1/solr/statistics/select?q=*:*
  Connecting to 127.0.0.1:80... connected.
  HTTP request sent, awaiting response... 500 Internal Server
  Error
  2014-10-16 14:30:20 ERROR 500: Internal Server Error.
 
  This is also the error when trying to run optimise in the
  nightly run.
  I've checked the config files, the server names, I've done a
  rebuild
  from source, (restarted httpd and Tomcat of course).
 
  I've gone through the /etc/httpd/conf files and even
  substituted a
  directory from another Solr working instance of DSpace.
 
  I tried replacing the entire /dspace/config directory with
  that from the
  working instance (although changing the nameserver entries)
 
  Somebody must have been down this path - throw me a clue
  please.
 
 
 
  --
  Keir Vaughan-Taylor
  ERA DSpace Administrator
  Rm:123 Fisher Library University of Sydney
  k...@physiol.usyd.du.au
  ph:+61 2 9351 7408
  mb:+61 434 606 885
 
 
 
  
 --
  Comprehensive Server Monitoring with Site24x7.
  Monitor 10 servers for $9/Month.
  Get alerted through email, SMS, voice calls or mobile push
  notifications.
  Take corrective actions from your mobile device.
  http://p.sf.net/sfu/Zoho
  ___
  DSpace-tech mailing list
  DSpace-tech@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/dspace-tech
  List Etiquette:
  https://wiki.duraspace.org/display/DSPACE/Mailing+List
  +Etiquette
 
 
 
 --
  Comprehensive Server Monitoring with Site24x7.
  Monitor 10 servers for $9/Month.
  Get alerted through email, SMS, voice calls or mobile push notifications.
  Take corrective actions from your mobile device.
  http://p.sf.net/sfu/Zoho
  ___
  DSpace-tech mailing list
  DSpace-tech@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/dspace-tech
  List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

 --
 Keir Vaughan-Taylor
 ERA DSpace Administrator
 Rm:123 Fisher Library University of Sydney
 k...@physiol.usyd.du.au
 ph:+61 2 9351 7408
 mb:+61 434 606 885



 --
 Comprehensive Server Monitoring with Site24x7.
 

Re: [Dspace-tech] Solr Statistics still not working DSpace 4.1

2014-10-16 Thread Hilton Gibson
Hi Keir

Can you tell us what architecture you are using.
See: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Reference_Architecture
This will help us to help you.
If you have already sent the info to the list then my apologies.

Cheers

hg

*Hilton Gibson*
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

On 16 October 2014 05:37, Keir Vaughan-Taylor k...@physiol.usyd.edu.au
wrote:

 Still Can't get the Solr stats to work.
 Eliminating items without handles made no difference.

 One problem that might be related is something web based.
 A recommended test is to run:

 wget http://127.0.0.1/solr/statistics/select?q=*:*

 and I get

 --2014-10-16 14:30:20--  http://127.0.0.1/solr/statistics/select?q=*:*
 Connecting to 127.0.0.1:80... connected.
 HTTP request sent, awaiting response... 500 Internal Server Error
 2014-10-16 14:30:20 ERROR 500: Internal Server Error.

 This is also the error when trying to run optimise in the nightly run.
 I've checked the config files, the server names, I've done a rebuild
 from source, (restarted httpd and Tomcat of course).

 I've gone through the /etc/httpd/conf files and even substituted a
 directory from another Solr working instance of DSpace.

 I tried replacing the entire /dspace/config directory with that from the
 working instance (although changing the nameserver entries)

 Somebody must have been down this path - throw me a clue please.



 --
 Keir Vaughan-Taylor
 ERA DSpace Administrator
 Rm:123 Fisher Library University of Sydney
 k...@physiol.usyd.du.au
 ph:+61 2 9351 7408
 mb:+61 434 606 885



 --
 Comprehensive Server Monitoring with Site24x7.
 Monitor 10 servers for $9/Month.
 Get alerted through email, SMS, voice calls or mobile push notifications.
 Take corrective actions from your mobile device.
 http://p.sf.net/sfu/Zoho
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Solr Statistics still not working DSpace 4.1

2014-10-16 Thread Keir Vaughan-Taylor
Here is the system and software  version information.


LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Red Hat Enterprise Linux Server release 6.6 (Santiago)

psql (PostgreSQL) 8.4.20
dspace-4.1-src-release

Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9;
2014-02-15T04:37:52+10:00)
Maven home: /usr/local/maven
Java version: 1.7.0_71, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.71.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: linux, version: 2.6.32-431.29.2.el6.x86_64, arch: amd64,
family: unix

Apache Ant(TM) version 1.8.2 compiled on May 13 2011

Tomcat7




On Thu, 2014-10-16 at 10:16 +0200, Hilton Gibson wrote:
 Hi Keir
 
 
 Can you tell us what architecture you are using.
 See: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Reference_Architecture
 This will help us to help you.
 If you have already sent the info to the list then my apologies.
 
 
 Cheers
 
 
 hg
 
 Hilton Gibson
 Ubuntu Linux Systems Administrator
 JS Gericke Library
 Room 1025C
 Stellenbosch University
 Private Bag X5036
 Stellenbosch
 7599
 South Africa
 
 
 Tel: +27 21 808 4100 | Cell: +27 84 646 4758
 
 On 16 October 2014 05:37, Keir Vaughan-Taylor
 k...@physiol.usyd.edu.au wrote:
 Still Can't get the Solr stats to work.
 Eliminating items without handles made no difference.
 
 One problem that might be related is something web based.
 A recommended test is to run:
 
 wget http://127.0.0.1/solr/statistics/select?q=*:*
 
 and I get
 
 --2014-10-16 14:30:20--
 http://127.0.0.1/solr/statistics/select?q=*:*
 Connecting to 127.0.0.1:80... connected.
 HTTP request sent, awaiting response... 500 Internal Server
 Error
 2014-10-16 14:30:20 ERROR 500: Internal Server Error.
 
 This is also the error when trying to run optimise in the
 nightly run.
 I've checked the config files, the server names, I've done a
 rebuild
 from source, (restarted httpd and Tomcat of course).
 
 I've gone through the /etc/httpd/conf files and even
 substituted a
 directory from another Solr working instance of DSpace.
 
 I tried replacing the entire /dspace/config directory with
 that from the
 working instance (although changing the nameserver entries)
 
 Somebody must have been down this path - throw me a clue
 please.
 
 
 
 --
 Keir Vaughan-Taylor
 ERA DSpace Administrator
 Rm:123 Fisher Library University of Sydney
 k...@physiol.usyd.du.au
 ph:+61 2 9351 7408
 mb:+61 434 606 885
 
 
 
 --
 Comprehensive Server Monitoring with Site24x7.
 Monitor 10 servers for $9/Month.
 Get alerted through email, SMS, voice calls or mobile push
 notifications.
 Take corrective actions from your mobile device.
 http://p.sf.net/sfu/Zoho
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List
 +Etiquette
 
 
 --
 Comprehensive Server Monitoring with Site24x7.
 Monitor 10 servers for $9/Month.
 Get alerted through email, SMS, voice calls or mobile push notifications.
 Take corrective actions from your mobile device.
 http://p.sf.net/sfu/Zoho
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette: 
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

-- 
Keir Vaughan-Taylor
ERA DSpace Administrator
Rm:123 Fisher Library University of Sydney
k...@physiol.usyd.du.au
ph:+61 2 9351 7408
mb:+61 434 606 885


--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Solr Statistics still not working DSpace 4.1

2014-10-16 Thread Andrea Schweer
Hi Keir,

On 16/10/14 16:37, Keir Vaughan-Taylor wrote:
 Still Can't get the Solr stats to work.
 Eliminating items without handles made no difference.

 One problem that might be related is something web based.
 A recommended test is to run:

 wget http://127.0.0.1/solr/statistics/select?q=*:*

 and I get

 --2014-10-16 14:30:20--  http://127.0.0.1/solr/statistics/select?q=*:*
 Connecting to 127.0.0.1:80... connected.
 HTTP request sent, awaiting response... 500 Internal Server Error
 2014-10-16 14:30:20 ERROR 500: Internal Server Error.

Sorry if this has already been covered, I haven't had time to follow
this list lately. Have you looked through your log files for a stack
trace when the 500 error happens? catalina.out (in /var/log/tomcat6 on
my RHEL6 box) or the solr.log file in the DSpace log directory is where
I'd look.

cheers,
Andrea

-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand


--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Solr Statistics still not working DSpace 4.1

2014-10-15 Thread Keir Vaughan-Taylor
Still Can't get the Solr stats to work.
Eliminating items without handles made no difference.

One problem that might be related is something web based.
A recommended test is to run:

wget http://127.0.0.1/solr/statistics/select?q=*:*

and I get

--2014-10-16 14:30:20--  http://127.0.0.1/solr/statistics/select?q=*:*
Connecting to 127.0.0.1:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
2014-10-16 14:30:20 ERROR 500: Internal Server Error.

This is also the error when trying to run optimise in the nightly run.
I've checked the config files, the server names, I've done a rebuild
from source, (restarted httpd and Tomcat of course).

I've gone through the /etc/httpd/conf files and even substituted a
directory from another Solr working instance of DSpace.

I tried replacing the entire /dspace/config directory with that from the
working instance (although changing the nameserver entries)

Somebody must have been down this path - throw me a clue please.



-- 
Keir Vaughan-Taylor
ERA DSpace Administrator
Rm:123 Fisher Library University of Sydney
k...@physiol.usyd.du.au
ph:+61 2 9351 7408
mb:+61 434 606 885


--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette