[Dspace-tech] DSpace becomes unresponsive, and I'm out of ideas

2014-04-02 Thread Steve Thomas
We're having continuing performance problems with our DSpace server. We're
running version 1.6.2 on RHEL 4, so, yeah, everything is old. But service
has been reliable, mostly, until recently.

The symptom is that DSpace will become unresponsive at the browser.
Checking the server, we'll typically find that the java process is running
at 170% cpu, so my guess is a runaway process, which explains the slow/no
response. But why?

Checking the logs, both dspace.log and catalina.out, gives no real clue.
dspace.log is typically full of broken pipe errors, but these are,I guess,
another symptom. We also get broken pipe errors through the day, even when
DSpace is running normally.

Possibly unrelated, we also periodically find that dspace.log has filled up
all available disk space -- more than 100GB! With a file that large, it's
difficult to scroll through, but I've not found any obvious answers there.

So I'm out of ideas here as to where to even look for cause.

(And yes, I've already had the upgrade idea. Not currently an option I'm
afraid.)

Can anyone help with suggestions?


Stephen Thomas
Library Systems Manager
Barr Smith Library
UNIVERSITY OF ADELAIDE SA 5005 AUSTRALIA
Phone: +61 8 831 35190 / Mobile: 0402 069 087 / Fax: +61 8 831 34369
Email: stephen.tho...@adelaide.edu.au
CRICOS Provider Number 00123M

*Please consider the environment before printing.*

IMPORTANT: This message may contain confidential or legally privileged
information. If you think it was sent to you by mistake, please delete all
copies and advise the sender. For the purposes of the SPAM Act 2003, this
email is authorised by The University of Adelaide.
--
___
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] Error starting tomcat: Error occurred during initialization of VM

2009-08-16 Thread Steve Thomas




Hi. We're suddenly seeing this error when we restart tomcat:

Error occurred during initialization of VM
Could not reserve enough space for object heap

I'm mystified, because we have made no server changes recently. Apache
is running, postgresql is running, but tomcat is borked.

Can anyone suggest a cause for this, or a place to start looking?

We're running DSpace 1.4.2 on RHEL.

Thanks,
Steve

-- 
Stephen Thomas,
Senior Systems Analyst,
University of Adelaide Library
UNIVERSITY OF ADELAIDE SA 5005 AUSTRALIA
Phone: +61 8 830 35190
Fax: +61 8 830 34369
Email: stephen.tho...@adelaide.edu.au
URL: http://www.adelaide.edu.au/directory/stephen.thomas
CRICOS Provider Number 00123M

P
please consider the
environment before printing.
This
email message is intended only for the addressee(s) and contains
information that may be confidential and/or copyright. If you are not
the intended recipient please notify the sender by reply email and
immediately delete this email. Use, disclosure or reproduction of this
email by anyone other than the intended recipient(s) is strictly
prohibited. No representation is made that this email or any
attachments are free of viruses. Virus scanning is recommended and is
the responsibility of the recipient.




begin:vcard
fn:Steve Thomas
n:Thomas;Steve
org:University of Adelaide;Barr Smith Library
adr:;;South Australia;;;5005;Australia
email;internet:stephen.tho...@adelaide.edu.au
title:Senior Systems Analyst
tel;work:+61 8 830 35190
tel;fax:+61 8 8303 4369
tel;cell:0402069087
x-mozilla-html:TRUE
url:http://www.adelaide.edu.au/directory/stephen.thomas
version:2.1
end:vcard

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Bitstreams invisible after import

2009-07-30 Thread Steve Thomas




Hi. Having a problem here with importing a record with a number of mp3
bitstreams. (A music thesis.) Running DSpace 1.4.2, record is
http://hdl.handle.net/2440/49474  

I set up a directory tree as per docs to import the record -- done that
many times with no problems with simple records.

This record had mutiple mp3 files from 4 separate CDs. So I created a
contents file listing all the mp3 files, and used \tbundle:CD1 after
each file name to keep the tracks together as four separate bundles.
>From the documentation, that seemed to be what I needed.

The import worked, to the extent that the files all loaded, and can be
seen in item edit. But they are not visible in the public views.

So, can anyone tell me what I should do to make them visible?

Thanks!

-- 
Stephen Thomas,
Senior Systems Analyst,
University of Adelaide Library
UNIVERSITY OF ADELAIDE SA 5005 AUSTRALIA
Phone: +61 8 830 35190
Fax: +61 8 830 34369
Email: stephen.tho...@adelaide.edu.au
URL: http://www.adelaide.edu.au/directory/stephen.thomas
CRICOS Provider Number 00123M

P
please consider the
environment before printing.
This
email message is intended only for the addressee(s) and contains
information that may be confidential and/or copyright. If you are not
the intended recipient please notify the sender by reply email and
immediately delete this email. Use, disclosure or reproduction of this
email by anyone other than the intended recipient(s) is strictly
prohibited. No representation is made that this email or any
attachments are free of viruses. Virus scanning is recommended and is
the responsibility of the recipient.




begin:vcard
fn:Steve Thomas
n:Thomas;Steve
org:University of Adelaide;Barr Smith Library
adr:;;South Australia;;;5005;Australia
email;internet:stephen.tho...@adelaide.edu.au
title:Senior Systems Analyst
tel;work:+61 8 830 35190
tel;fax:+61 8 8303 4369
tel;cell:0402069087
x-mozilla-html:TRUE
url:http://www.adelaide.edu.au/directory/stephen.thomas
version:2.1
end:vcard

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Using SQL to add a metadata field to records?

2008-11-13 Thread Steve Thomas




Hi.

We have a need to add a new metadata field (a unique identifier) to
many records in our DSpace (1.4.2) database. Basically, we will have a
list of DOI-identifier pairs, and for each item matching the DOI, we'll
want to add a new identifier field with the identifier value.

Can anyone offer me a clue as to how I do this? I.e. what SQL code do I
need to create a new metadata field for an item?

I can see that I need to INSERT into METADATAVALUE, but .. where do I
get METADATA_VALUE_ID? 


Cheers,
Steve

-- 
Stephen Thomas,
Senior Systems Analyst,
University of Adelaide Library
UNIVERSITY OF ADELAIDE SA 5005 AUSTRALIA
Phone: +61 8 830 35190
Fax: +61 8 830 34369
Email: [EMAIL PROTECTED]
URL: http://www.adelaide.edu.au/directory/stephen.thomas
CRICOS Provider Number 00123M

P
please consider the
environment before printing.
This
email message is intended only for the addressee(s) and contains
information that may be confidential and/or copyright. If you are not
the intended recipient please notify the sender by reply email and
immediately delete this email. Use, disclosure or reproduction of this
email by anyone other than the intended recipient(s) is strictly
prohibited. No representation is made that this email or any
attachments are free of viruses. Virus scanning is recommended and is
the responsibility of the recipient.




begin:vcard
fn:Steve Thomas
n:Thomas;Steve
org:University of Adelaide;Barr Smith Library
adr:;;South Australia;;;5005;Australia
email;internet:[EMAIL PROTECTED]
title:Senior Systems Analyst
tel;work:+61 8 830 35190
tel;fax:+61 8 8303 4369
tel;cell:0402069087
x-mozilla-html:TRUE
url:http://www.adelaide.edu.au/directory/stephen.thomas
version:2.1
end:vcard

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Configuring PostgreSQL to allow access by BIRT

2008-10-26 Thread Steve Thomas




Hi.

Can anyone enlighten me as to how I configure postgresql to allow
access to a BIRT client? (BIRT is an SQL reporting tool.) And also how
to config BIRT at the client end?

Cheers!
Steve

-- 
Stephen Thomas,
Senior Systems Analyst,
University of Adelaide Library
UNIVERSITY OF ADELAIDE SA 5005 AUSTRALIA
Phone: +61 8 830 35190
Fax: +61 8 830 34369
Email: [EMAIL PROTECTED]
URL: http://www.adelaide.edu.au/directory/stephen.thomas
CRICOS Provider Number 00123M

P
please consider the
environment before printing.
This
email message is intended only for the addressee(s) and contains
information that may be confidential and/or copyright. If you are not
the intended recipient please notify the sender by reply email and
immediately delete this email. Use, disclosure or reproduction of this
email by anyone other than the intended recipient(s) is strictly
prohibited. No representation is made that this email or any
attachments are free of viruses. Virus scanning is recommended and is
the responsibility of the recipient.





-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Borked sequence in author browse

2008-06-29 Thread Steve Thomas
Hi.

We're running 1.4.2.

Our Author browse is producing an odd sequence of authors, e.g.

Brown, Alfred Leonard
Brown, Alice
Brown, A. M.
Brown, A. R.
Brown-Augsburger, P.

-- it looks very much like the sequence is ignoring punctuation (good) 
AND ignoring spaces (b. BAD).

Has anyone else experienced this?

Is there a fix?

Thanks,
Steve

-- 

Stephen Thomas,
Senior Systems Analyst,
University of Adelaide Library
UNIVERSITY OF ADELAIDE SA 5005 AUSTRALIA
Phone: +61 8 830 35190
Fax: +61 8 830 34369
Email: [EMAIL PROTECTED]
URL: http://www.adelaide.edu.au/directory/stephen.thomas
CRICOS Provider Number 00123M

---
This email message is intended only for the addressee(s) and contains 
information that may be confidential and/or copyright. If you are not 
the intended recipient please notify the sender by reply email and 
immediately delete this email. Use, disclosure or reproduction of this 
email by anyone other than the intended recipient(s) is strictly 
prohibited. No representation is made that this email or any attachments 
are free of viruses. Virus scanning is recommended and is the 
responsibility of the recipient.


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Tomcat error: Timeout waiting for idle object : UPDATE

2008-03-18 Thread Steve Thomas
UPDATE:things improved dramatically for us after I did a clean 
recompile of DSpace, making sure to use the right version of 
Java. ;-)

We still had masses of errors showing in the tomcat log, as 
before, but tomcat at least did not fall over every five 
minutes. In fact, it remained up all day. (But mysteriously 
crashed sometime last night.)

This morning, I restarted with the setting db.statementpool = 
false in dspace.cfg, and this has resulted in the Timeout 
waiting for idle object messages disappearing entirely through 
all of this morning.

We had a a reappearance of this error starting at 12:30pm and 
eventually tomcat required a restart an hour later.

So ... problem not really solved, but DSpace is now as stable as 
it was on 1.3.2, so I guess we call that progress.:-)


Steve


Steve Thomas wrote:
 I found a thread on dspace-tech about this (typically unresolved) with 
 the suggestion to tweak the db.maxconnections and db.maxidle parameters.
 
 So ... changed db.maxconnection from 30 to 50, and db.maxidle from -1 to 5.
 
 Also changed maxconnections in postgresql.conf from 100 to 150.
 
 Unfortunately, this has made no difference. :-(
 
 Steve
 
 
 
 Steve Thomas wrote:
 More problems following the 1.4.2 upgrade:

 We're getting heaps of errors from tomcat, like this:

 17/03/2008 13:05:14 org.apache.catalina.core.StandardWrapperValve invoke
 SEVERE: Servlet.service() for servlet mydspace threw exception
 java.util.NoSuchElementException: Timeout waiting for idle object

 The manual suggests restarting postgresql to fix this, but that worked 
 only for a few minutes. Is there a more permanent fix?

 (Also tried restarting tomcat, rebuilding dspace.war, all to no effect.)

 Right now, our LIVE DSpace instance is stuffed, and I am in trouble. 
 Please help!

 Steve

   
 

-- 

Stephen Thomas,
Senior Systems Analyst,
University of Adelaide Library
UNIVERSITY OF ADELAIDE SA 5005 AUSTRALIA
Phone: +61 8 830 35190
Fax: +61 8 830 34369
Email: [EMAIL PROTECTED]
URL: http://www.adelaide.edu.au/directory/stephen.thomas
CRICOS Provider Number 00123M

---
This email message is intended only for the addressee(s) and 
contains information that may be confidential and/or copyright. 
If you are not the intended recipient please notify the sender 
by reply email and immediately delete this email. Use, 
disclosure or reproduction of this email by anyone other than 
the intended recipient(s) is strictly prohibited. No 
representation is made that this email or any attachments are 
free of viruses. Virus scanning is recommended and is the 
responsibility of the recipient.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Need help urgently! Indexing fails following 1.4.2 upgrade

2008-03-16 Thread Steve Thomas
Hi. I need help!

We upgraded from 1.3.2 to 1.4.2 last night. Everything worked well, and 
DSpace runs fine. I ran index-all after the upgrade and that worked too, 
no problem.

But now, a subsequent index-all fails to build the search index (browse 
works fine). The search index build runs for a while, then stops without 
any message, but leaves an incomplete index file. (It's usually around 
64MB, but now produces only 12MB.)

Since there's no message, I don't know what to try next.

Running on RHEL.

Any advice appreciated.

Steve

-- 

Stephen Thomas,
Senior Systems Analyst,
University of Adelaide Library
UNIVERSITY OF ADELAIDE SA 5005 AUSTRALIA
Phone: +61 8 830 35190
Fax: +61 8 830 34369
Email: [EMAIL PROTECTED]
URL: http://www.adelaide.edu.au/directory/stephen.thomas
CRICOS Provider Number 00123M

---
This email message is intended only for the addressee(s) and contains 
information that may be confidential and/or copyright. If you are not the 
intended recipient please notify the sender by reply email and immediately 
delete this email. Use, disclosure or reproduction of this email by anyone 
other than the intended recipient(s) is strictly prohibited. No representation 
is made that this email or any attachments are free of viruses. Virus scanning 
is recommended and is the responsibility of the recipient.



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Tomcat error: Timeout waiting for idle object

2008-03-16 Thread Steve Thomas
More problems following the 1.4.2 upgrade:

We're getting heaps of errors from tomcat, like this:

17/03/2008 13:05:14 org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet mydspace threw exception
java.util.NoSuchElementException: Timeout waiting for idle object

The manual suggests restarting postgresql to fix this, but that worked 
only for a few minutes. Is there a more permanent fix?

(Also tried restarting tomcat, rebuilding dspace.war, all to no effect.)

Right now, our LIVE DSpace instance is stuffed, and I am in trouble. 
Please help!

Steve

-- 

Stephen Thomas,
Senior Systems Analyst,
University of Adelaide Library
UNIVERSITY OF ADELAIDE SA 5005 AUSTRALIA
Phone: +61 8 830 35190
Fax: +61 8 830 34369
Email: [EMAIL PROTECTED]
URL: http://www.adelaide.edu.au/directory/stephen.thomas
CRICOS Provider Number 00123M

---
This email message is intended only for the addressee(s) and contains 
information that may be confidential and/or copyright. If you are not the 
intended recipient please notify the sender by reply email and immediately 
delete this email. Use, disclosure or reproduction of this email by anyone 
other than the intended recipient(s) is strictly prohibited. No representation 
is made that this email or any attachments are free of viruses. Virus scanning 
is recommended and is the responsibility of the recipient.



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Tomcat error: Timeout waiting for idle object

2008-03-16 Thread Steve Thomas
I found a thread on dspace-tech about this (typically unresolved) with 
the suggestion to tweak the db.maxconnections and db.maxidle parameters.

So ... changed db.maxconnection from 30 to 50, and db.maxidle from -1 to 5.

Also changed maxconnections in postgresql.conf from 100 to 150.

Unfortunately, this has made no difference. :-(

Steve



Steve Thomas wrote:
 More problems following the 1.4.2 upgrade:

 We're getting heaps of errors from tomcat, like this:

 17/03/2008 13:05:14 org.apache.catalina.core.StandardWrapperValve invoke
 SEVERE: Servlet.service() for servlet mydspace threw exception
 java.util.NoSuchElementException: Timeout waiting for idle object

 The manual suggests restarting postgresql to fix this, but that worked 
 only for a few minutes. Is there a more permanent fix?

 (Also tried restarting tomcat, rebuilding dspace.war, all to no effect.)

 Right now, our LIVE DSpace instance is stuffed, and I am in trouble. 
 Please help!

 Steve

   

-- 

Stephen Thomas,
Senior Systems Analyst,
University of Adelaide Library
UNIVERSITY OF ADELAIDE SA 5005 AUSTRALIA
Phone: +61 8 830 35190
Fax: +61 8 830 34369
Email: [EMAIL PROTECTED]
URL: http://www.adelaide.edu.au/directory/stephen.thomas
CRICOS Provider Number 00123M

---
This email message is intended only for the addressee(s) and contains 
information that may be confidential and/or copyright. If you are not the 
intended recipient please notify the sender by reply email and immediately 
delete this email. Use, disclosure or reproduction of this email by anyone 
other than the intended recipient(s) is strictly prohibited. No representation 
is made that this email or any attachments are free of viruses. Virus scanning 
is recommended and is the responsibility of the recipient.



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Help! Unable to pg_restore, utterly confused

2008-01-23 Thread Steve Thomas
Yup, sorry -- should have included that.

Dump was done using:

/usr/local/pgsql/bin/pg_dump \
--verbose \
--oids \
--create \
--format=c \
--username=dspace \
dspace  dumpfile


or more briefly,
/usr/local/pgsql/bin/pg_dump --verbose -o -C -Fc -U dspace dspace  dumpfile

So using the compressed format.

Also, using postgresql 8.0.something


Also, restore instructions say to use

pg_restore -C -d postgres -U dspace dumpfile 

but when I include -d postgres I get this error:

pg_restore: [archiver (db)] connection to database postgres failed: FATAL:  
database postgres does not exist

which is possibly a vital clue. Leaving out the -d postgres option, it seems 
to work -- outputs lots of CREATE TABLE messages etc. -- but ... results as 
below.

Am I supposed to create a database named postgres after initdb?

As I said -- I'm confused. :-(


Regards,
Steve


Mark Diggory wrote:
 Steve,

 can you post the pg_dump command and options you've used?

 -Mark

 On Jan 23, 2008, at 9:08 PM, Steve Thomas wrote:

   
 I need help! I'm using pg_dump to make a backup of our database,  
 and ...
 sensibly, I think ... wanted to confirm that we could restore from  
 this
 dump using pg_restore.

 (Actually, I've done this once without drama, when migrating from our
 dev server to our production server.)

 So, on our dev server, I followed the instructions for pg_restore, but
 cannot get it to work (and thus now have no dev database!)

 I've gone right back to square one and reinstalled postgresql. Then:

 * ran initdb -- no problem

 * ran

 createuser -U postgres -d -A -P dspace ; createdb -U dspace -E  
 UNICODE dspace

 as per instructions -- no problem.

 * ran pg_restore to restore data:

 pg_restore -C  -U dspace 200712061830

 This seemed to run OK, creating all the tables and adding data,  
 but ...

 * if I run

 $ psql dspace dspace

 I get

 dspace= select * from item;
 ERROR:  relation item does not exist

 -- ie apparently there's no data.


 So, can anyone help with where I'm going wrong? Right now I have no  
 dev server so I'm in deep ...


 Thanks,
 Steve

 -- 

 Stephen Thomas,
 Senior Systems Analyst,
 University of Adelaide Library
 UNIVERSITY OF ADELAIDE SA 5005 AUSTRALIA
 Phone: +61 8 830 35190
 Fax: +61 8 830 34369
 Email: [EMAIL PROTECTED]
 URL: http://www.adelaide.edu.au/directory/stephen.thomas
 CRICOS Provider Number 00123M

 ---
 This email message is intended only for the addressee(s) and  
 contains information that may be confidential and/or copyright. If  
 you are not the intended recipient please notify the sender by reply  
 email and immediately delete this email. Use, disclosure or  
 reproduction of this email by anyone other than the intended  
 recipient(s) is strictly prohibited. No representation is made that  
 this email or any attachments are free of viruses. Virus scanning is  
 recommended and is the responsibility of the recipient.



 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 


 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

   

-- 

Stephen Thomas,
Senior Systems Analyst,
University of Adelaide Library
UNIVERSITY OF ADELAIDE SA 5005 AUSTRALIA
Phone: +61 8 830 35190
Fax: +61 8 830 34369
Email: [EMAIL PROTECTED]
URL: http://www.adelaide.edu.au/directory/stephen.thomas
CRICOS Provider Number 00123M

---
This email message is intended only for the addressee(s) and contains 
information that may be confidential and/or copyright. If you are not the 
intended recipient please notify the sender by reply email and immediately 
delete this email. Use, disclosure or reproduction of this email by anyone 
other than the intended recipient(s) is strictly prohibited. No representation 
is made that this email or any attachments are free of viruses. Virus scanning 
is recommended and is the responsibility of the recipient.



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https

[Dspace-tech] Too many open files error

2007-12-19 Thread Steve Thomas
We're having a lot of trouble currently with tomcat crashing with a Too
many open files error. This is happening roughly twice a day -- I am
restarting tomcat every morning, and usually get a call around lunch time
that it has crashed and need to restart again.
 
Restart is quick and fixes the problem, temporarily, but naturally I wish it
didn't happen at all.
 
I did some digging and found a thread from this list from last year, which
petered out without apparent resolution, but where Mark Diggory suggested
tinkering with the fd.files-max value in sysctl.conf.
 
[
http://sourceforge.net/mailarchive/message.php?msg_id=E1Grhzs-Nj-JN%40ma
il.sourceforge.net ]
 
Well, I tried that, but it made no difference. So, back to Google, where I
found (searching for files-nr) that you can list all the open file handles
used by a process, using
 
# ls -l /proc/PID/fd/
 
where PID is the process id.
 
So using this with the pid for the DSpace tomcat, I found lots of items like
this:
 
lr-x--  1 uals uals 64 Dec 20 16:30 237 - /data/dspace/search/_vzb.cfs
(deleted)
 
This is a symlink to one of the lucene index overflow files, which [in my
limited understanding] are dynamically created and deleted as the index
grows. These deleted items increase in number over time, and I imagine
DSpace eventually hits the ulimit for open files (1024) and dies.
 
So I think the problem may be due to the lucene indexing not releasing file
descriptors when they are deleted. Certainly, watching the list over an hour
I've seen the number of deleted lines rise steadily. I guess we're
noticing this as a problem here because of the very large amount of editing
work we're engaged in currently. Other sites with a more sedate use of
DSpace might never run into it.
 
Well, that's how it looks to me right now. Nothing I can do about it, but
maybe someone expert in the lucene side of DSpace could look into it?
 
 
Cheers. :D
 

Stephen Thomas,
Senior Systems Analyst,
University of Adelaide Library
UNIVERSITY OF ADELAIDE SA 5005 AUSTRALIA
Phone: +61 8 830 35190
Fax: +61 8 830 34369
Email: [EMAIL PROTECTED]
URL: http://www.adelaide.edu.au/directory/stephen.thomas
CRICOS Provider Number 00123M

---
This email message is intended only for the addressee(s) and contains
information that may be confidential and/or copyright. If you are not the
intended recipient please notify the sender by reply email and immediately
delete this email. Use, disclosure or reproduction of this email by anyone
other than the intended recipient(s) is strictly prohibited. No
representation is made that this email or any attachments are free of
viruses. Virus scanning is recommended and is the responsibility of the
recipient.


 
-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] UTF-8 encoding in search mystery

2007-08-22 Thread Steve Thomas
Can anyone help with this? I’ve found that, since we moved from Solaris to
Linux (RHEL), we are unable to search using words with non-ascii characters
in them.

 

E. g. the name “Mühlhäusler” in simple search returns no results.

 

The URL produced by the search is

 

http://digital.library.adelaide.edu.au/dspace/simple-search?query=M%C3%83%C2
%BChlh%C3%83%C2%A4usler

 

If I replace the query string in the URL with Mühlhäusler (in the location
bar):

 

http://digital.library.adelaide.edu.au/dspace/simple-search?query=Mühlhäusle
r

 

it works, suggesting that the URL encoding is causing the failure.

 

I note that on our old Solaris box, the name is encoded as
M%C3%BChlh%C3%A4usler which is different from the encoding on the production
Linux  box.

 

Beyond that I’m stumped.

 

Can anyone offer advice on how to fix this? It is rather embarrassing not
being able to search non-english words.

 

 

Stephen Thomas,
Senior Systems Analyst,
University of Adelaide Library
UNIVERSITY OF ADELAIDE SA 5005 AUSTRALIA
Phone: +61 8 830 35190
Fax: +61 8 830 34369
Email: [EMAIL PROTECTED]
URL: http://www.adelaide.edu.au/directory/stephen.thomas
CRICOS Provider Number 00123M

---
This email message is intended only for the addressee(s) and contains
information that may be confidential and/or copyright. If you are not the
intended recipient please notify the sender by reply email and immediately
delete this email. Use, disclosure or reproduction of this email by anyone
other than the intended recipient(s) is strictly prohibited. No
representation is made that this email or any attachments are free of
viruses. Virus scanning is recommended and is the responsibility of the
recipient.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Non-ASCII Unicode and searching in DSpace

2007-07-03 Thread Steve Thomas
I’m still investigating this problem – and I can’t imagine that others have
not also run into this, although it is possible they have simply not
noticed.

In our Author browse list we have things like this sequence:

Hill, Robert Stephen  
Hill, Roderick Jeffrey  
Hills, Brian Andrew  
Hills, F  
Hill, S. G.  
Hill, S. J.  
Hills, K.  
Hill, S. M.  
Hill, T.  

-- you can see that the sequence seems to be ignoring punctuation AND
spaces, which is not good. The unix sort utility also produces the same
sequence.

I suspect this is something to do with the Unix locale settings,
specifically the environment variable LC_COLLATE. 
On our RedHat system, this is LC_COLLATE=en_AU.UTF-8
On the old Solaris box (where the collation sequence is correct) we have
LC_COLLATE=en_AU.ISO8859-1

However, on RedHat the collation from sort is only correct if I set
LC_COLLATE=C


So the problem appears to be two-fold: how do we get the browse sort order
to be correct, including non-ASCII characters, AND how do we search words
with non-ASCII characters?


Any and all ideas welcomed. 



Stephen Thomas,
Senior Systems Analyst,
University of Adelaide Library
UNIVERSITY OF ADELAIDE SA 5005 AUSTRALIA
Phone: +61 8 830 35190
Fax: +61 8 830 34369
Email: [EMAIL PROTECTED]
URL: http://www.adelaide.edu.au/directory/stephen.thomas
CRICOS Provider Number 00123M

---
This email message is intended only for the addressee(s) and contains
information that may be confidential and/or copyright. If you are not the
intended recipient please notify the sender by reply email and immediately
delete this email. Use, disclosure or reproduction of this email by anyone
other than the intended recipient(s) is strictly prohibited. No
representation is made that this email or any attachments are free of
viruses. Virus scanning is recommended and is the responsibility of the
recipient.

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve Thomas
Sent: Monday, 2 July 2007 3:28 pm
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Non-ASCII Unicode and searching in DSpace

Hi.

We recently moved from a Solaris box to an HP running RHEL. Now I find that
search and browse no longer work with words containing non-ASCII Unicode
characters, e.g. the name Mühlhäusler. This doesn’t show up in the browse
list, and searches fail to find it.

Was there something we missed in the installation, or is this an artefact of
using RHEL?

We’re still on DSpace 1.3.2

Display is fine, just the searching is a problem.


Cheers,
Steve

Stephen Thomas,
Senior Systems Analyst,
University of Adelaide Library
UNIVERSITY OF ADELAIDE SA 5005 AUSTRALIA
Phone: +61 8 830 35190
Fax: +61 8 830 34369
Email: [EMAIL PROTECTED]
URL: http://www.adelaide.edu.au/directory/stephen.thomas
CRICOS Provider Number 00123M

---
This email message is intended only for the addressee(s) and contains
information that may be confidential and/or copyright. If you are not the
intended recipient please notify the sender by reply email and immediately
delete this email. Use, disclosure or reproduction of this email by anyone
other than the intended recipient(s) is strictly prohibited. No
representation is made that this email or any attachments are free of
viruses. Virus scanning is recommended and is the responsibility of the
recipient.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Dspace on Sun SPARC

2007-06-20 Thread Steve Thomas
Mika,

we have run DSpace here for a year now on Solaris 8 (SPARC E450) with no
significant issues.

Ironically, we're about to migrate to an HP running RHEL, but that was for
performance reasons related to the hardware, and University purchasing
policy. Between you and me, I've had more issues with RedHat than I had with
Solaris. So if you have a SPARC box, I'd suggest running Solaris instead of
Linux. Just about every piece of software I needed was available as a
package, so installation was quite easy.

Cheers!
Steve


Stephen Thomas, 
Senior Systems Analyst, 
University of Adelaide Library 
UNIVERSITY OF ADELAIDE SA 5005 AUSTRALIA 
Phone: +61 8 830 35190 
Fax: +61 8 830 34369 
Email: [EMAIL PROTECTED] 
URL: http://www.adelaide.edu.au/directory/stephen.thomas 
CRICOS Provider Number 00123M 
 
--- 
This email message is intended only for the addressee(s) and contains
information that may be confidential and/or copyright. If you are not the
intended recipient please notify the sender by reply email and immediately
delete this email. Use, disclosure or reproduction of this email by anyone
other than the intended recipient(s) is strictly prohibited. No
representation is made that this email or any attachments are free of
viruses. Virus scanning is recommended and is the responsibility of the
recipient. 

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:dspace-tech-
 [EMAIL PROTECTED] On Behalf Of Mika Stenberg
 Sent: Thursday, 21 June 2007 12:37 am
 To: 'dspace-tech@lists.sourceforge.net'
 Subject: [Dspace-tech] Dspace on Sun SPARC
 
 Has anyone managed to run DSpace on Sun Sparc servers? I was hoping to,
 but it seems there is no Java available for Linux on SPARC
 architechture. Any experience on this?
 
 -Mika
 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Help needed with DBD::Pg

2007-06-03 Thread Steve Thomas
Hi.

I'm wondering if anyone has installed the DBD::Pg perl module on RedHat?
(RHEL) I'm having severe problems trying to get it to build.

I have PostgreSQL 8.2.4 installed from a package. The DBD::Pg install
requires pg_config from the development kit, so I've unpacked that and ran
gmake to build pg_config. But I still cannot get the make for DBD::Pg to run
- it crashes immediately with this:

$ make
gcc -c  -I/home/uals/kit/postgresql-8.2.4/src/include
-I/usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/auto/DBI
-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe
-I/home/uals/kit/postgresql-8.2.4/src/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -DPGLIBVERSION=80204
-DPGDEFPORT=5432 -O2 -g -pipe -m64  -DPERL_EXTMALLOC_DEF
-Dmalloc=Perl_malloc -Dfree=Perl_mfree -Drealloc=Perl_realloc
-Dcalloc=Perl_calloc -DVERSION=\1.49\ -DXS_VERSION=\1.49\ -fPIC
-I/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE   Pg.c
In file included from Pg.xs:14:
Pg.h:21:22: libpq-fe.h: No such file or directory
In file included from Pg.h:47,
 from Pg.xs:14:
dbdimp.h:36: error: syntax error before PGconn
dbdimp.h:36: warning: no semicolon at end of struct or union
etc. for about another hundred error lines.

(This  was after I tinkered with the DBD::Pg Makefile to adjust the
erroneous paths provided by pg_config! Which made no difference.)

I am afraid that at this point I am stumped. Any clues as to what to try
next will be warmly welcomed.


Steve

Stephen Thomas,
Senior Systems Analyst,
University of Adelaide Library
UNIVERSITY OF ADELAIDE SA 5005 AUSTRALIA
Phone: +61 8 830 35190
Fax: +61 8 830 34369
Email: [EMAIL PROTECTED]
URL: http://www.adelaide.edu.au/directory/stephen.thomas
CRICOS Provider Number 00123M

---
This email message is intended only for the addressee(s) and contains
information that may be confidential and/or copyright. If you are not the
intended recipient please notify the sender by reply email and immediately
delete this email. Use, disclosure or reproduction of this email by anyone
other than the intended recipient(s) is strictly prohibited. No
representation is made that this email or any attachments are free of
viruses. Virus scanning is recommended and is the responsibility of the
recipient.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] (no subject)

2007-05-31 Thread Steve Thomas
Hi.

 

I'm trying to re-build our indexes, and find that index-all is failing with
this message:

 

Exception in thread main java.lang.OutOfMemoryError: Java heap space

 

Any ideas as to a solution?

 

 

(Was working OK until last night.)

 

 

Thanks,

Steve

 

Stephen Thomas,
Senior Systems Analyst,
University of Adelaide Library
UNIVERSITY OF ADELAIDE SA 5005 AUSTRALIA
Phone: +61 8 830 35190
Fax: +61 8 830 34369
Email: [EMAIL PROTECTED]
URL: http://www.adelaide.edu.au/directory/stephen.thomas
CRICOS Provider Number 00123M

---
This email message is intended only for the addressee(s) and contains
information that may be confidential and/or copyright. If you are not the
intended recipient please notify the sender by reply email and immediately
delete this email. Use, disclosure or reproduction of this email by anyone
other than the intended recipient(s) is strictly prohibited. No
representation is made that this email or any attachments are free of
viruses. Virus scanning is recommended and is the responsibility of the
recipient.

 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] index-all out of memory error

2007-05-31 Thread Steve Thomas
Hi.

I'm trying to re-build our indexes, and find that index-all is failing with
this message:

Exception in thread main java.lang.OutOfMemoryError: Java heap space

Any ideas as to a solution?


(Was working OK until last night.)


Thanks,
Steve

Stephen Thomas,
Senior Systems Analyst,
University of Adelaide Library
UNIVERSITY OF ADELAIDE SA 5005 AUSTRALIA
Phone: +61 8 830 35190
Fax: +61 8 830 34369
Email: [EMAIL PROTECTED]
URL: http://www.adelaide.edu.au/directory/stephen.thomas
CRICOS Provider Number 00123M

---
This email message is intended only for the addressee(s) and contains
information that may be confidential and/or copyright. If you are not the
intended recipient please notify the sender by reply email and immediately
delete this email. Use, disclosure or reproduction of this email by anyone
other than the intended recipient(s) is strictly prohibited. No
representation is made that this email or any attachments are free of
viruses. Virus scanning is recommended and is the responsibility of the
recipient.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Handle server stopped working

2007-02-28 Thread Steve Thomas
Hi.

Our handle server has inexplicably stopped working -- we now get handle not
found messages from hdl.handle.net.

Since I haven't done anything to the config (I promise!) I'm at a loss as to
what to do next. Can anyone offer me some clues?

Also, we're using the default port 2461 for server and hdl_tcp_config
stanzas. handle.net suggested most sites use 8000, so can we change these
ports to 8000 without conflicting with the hdl_http_config stanza?

Our config.dct is as follows:

{
hdl_http_config = {
bind_address = 129.127.78.3
num_threads = 15
bind_port = 8000
backlog = 5
log_accesses = no
}

server_type = server
hdl_udp_config = {
bind_address = 129.127.78.3
num_threads = 15
bind_port = 2641
log_accesses = no
}

hdl_tcp_config = {
bind_address = 129.127.78.3
num_threads = 15
bind_port = 2641
backlog = 5
log_accesses = no
}

no_udp_resolution = n
interfaces = (
hdl_udp
hdl_tcp
hdl_http
)

server_config = {
server_admins = (
300:0.NA/2440
)

replication_admins = (
300:0.NA/2440
)

max_session_time = 8640
this_server_id = 1
max_auth_time = 6
backup_admins = (
300:0.NA/2440
)

case_sensitive = no
storage_type = CUSTOM
storage_class = org.dspace.handle.HandlePlugin
}

}



Thanks!
Steve


Stephen Thomas, 
Senior Systems Analyst, 
University of Adelaide Library 
UNIVERSITY OF ADELAIDE SA 5005 AUSTRALIA 
Phone: +61 8 830 35190 
Fax: +61 8 830 34369 
Email: [EMAIL PROTECTED] 
URL: http://www.adelaide.edu.au/directory/stephen.thomas 
CRICOS Provider Number 00123M 
 
--- 
This email message is intended only for the addressee(s) and contains
information that may be confidential and/or copyright. If you are not the
intended recipient please notify the sender by reply email and immediately
delete this email. Use, disclosure or reproduction of this email by anyone
other than the intended recipient(s) is strictly prohibited. No
representation is made that this email or any attachments are free of
viruses. Virus scanning is recommended and is the responsibility of the
recipient. 


BEGIN:VCARD
VERSION:2.1
N:Thomas;Stephen
FN:Stephen Thomas
ORG:University of Adelaide Library
TITLE:Senior Systems Analyst
TEL;WORK;VOICE:+61 8 830 35190
TEL;CELL;VOICE:(04) 0206-9087
TEL;WORK;FAX:+61 8 830 34369
ADR;WORK:;;UNIVERSITY OF ADELAIDE;;SOUTH AUSTRALIA;5005;Australia
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:UNIVERSITY OF ADELAIDE=0D=0ASOUTH AUSTRALIA 5005=0D=0AAustralia
URL;WORK:http://www.adelaide.edu.au/directory/stephen.thomas
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20070301T031336Z
END:VCARD
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] OS for DSpace

2007-02-07 Thread Steve Thomas
Hi.

 

we've been funded for new hardware for our Digital Library (yay!) and I'm
now being asked what Operating system is required. The suggestion is Redhat
EL 4. I'm sure that will be fine, but (being a Solaris person) I'd like
reassurance, so .

 

Can anyone please confirm that RHEL4 is OK for DSpace? 

 

 

Cheers,

 

Stephen Thomas, 

Senior Systems Analyst, 

University of Adelaide Library 

UNIVERSITY OF ADELAIDE SA 5005 AUSTRALIA 

Phone: +61 8 830 35190 

Fax: +61 8 830 34369 

Email: [EMAIL PROTECTED] 

URL: http://www.adelaide.edu.au/directory/stephen.thomas 

CRICOS Provider Number 00123M 

 

--- 

This email message is intended only for the addressee(s) and contains
information that may be confidential and/or copyright. If you are not the
intended recipient please notify the sender by reply email and immediately
delete this email. Use, disclosure or reproduction of this email by anyone
other than the intended recipient(s) is strictly prohibited. No
representation is made that this email or any attachments are free of
viruses. Virus scanning is recommended and is the responsibility of the
recipient. 

 

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech