George

just in case …

dspace was misbehaving mysteriously and badly for me  - I just fixed this by 
doing

chmod +w /Users/monikam/Installations/tstspace/solr/search/conf/schema.xml

If your problems continue - have a look at the access settings on your solr 
directory

Monika

________________
Monika Mevenkamp
phone: 609-258-4161
Lewis Library,Washington Road and Ivy Lane, Princeton University, Princeton, NJ 
08544


On Mar 26, 2015, at 10:11 AM, George Stanley Kozak 
<g...@cornell.edu<mailto:g...@cornell.edu>> wrote:

Thank you, Monika.

I do check to see that tomcat is shutdown.  Also, I have been finding and 
deleting the write.lock file, as well, but I’ll keep digging.

George Kozak
Digital Library Specialist
Cornell University Library Information Technologies (CUL-IT)
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924



From: Monika C. Mevenkamp [mailto:moni...@princeton.edu]
Sent: Thursday, March 26, 2015 9:59 AM
To: Andrea Schweer
Cc: George Stanley Kozak; 
dspace-tech@lists.sourceforge.net<mailto:dspace-tech@lists.sourceforge.net>
Subject: Re: [Dspace-tech] Error after install of DSpace 5.1

my tomcat sometimes refuses to shutdown
to make sure it is really gone I do

ps -ef | frep omcat

this  may need to be

ps -aux | fgrep omcat

on your system .


Maybe for some strange reason the locks were not removed properly ? Look for 
the lock files:

ls DSPACE_INSTALLDIR/solr/*/data/index/write.lock
ls DSPACE_INSTALLDIR/solr/*/data/spellchecker/write.lock


you can use lsof command to see which process ‘owns’ a file

lsof DSPACE_INSTALLDIR/solr/*/data/index/write.lock


Monika

________________
Monika Mevenkamp
phone: 609-258-4161
Lewis Library,Washington Road and Ivy Lane, Princeton University, Princeton, NJ 
08544

On Mar 25, 2015, at 8:15 PM, Andrea Schweer 
<schw...@waikato.ac.nz<mailto:schw...@waikato.ac.nz>> wrote:

Hi George,

On 26/03/15 10:55, George Stanley Kozak wrote:
Yes, it has me stumped.  If I restore the Solr indexes and the postgres 
database back to the DSpace 4.2 versions and bring up DSpace 4.2, everything 
works fine.
I do shutdown tomcat when I do the ant step.  Here are my steps, and let me 
know if I have forgotten anything:

That all looks good so far


1)      Shutdown tomcat
2)      Run mvn –U clear package (I also tried with the Mirage2 option)
3)      After successful build, I go to the target/dspace-install directory and 
run “ant update”

As which user do you run ant? Same as the one that tomcat is running as?


4)      After that is successful, I copy the webpass over to tomcat
5)      Restart tomcat
6)      Go to view the system
The system comes up and I have access to the database records, but all browses 
and searches generate the index lock error.

When you look for the write locks after step 5, what are their permissions? You 
should be able to find them (assuming a Linux system) using
find [dspace]/solr -name "*.lock"

cheers,
Andrea




--

Dr Andrea Schweer

IRR Technical Specialist, ITS Information Systems

The University of Waikato, Hamilton, New Zealand

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. 
http://goparallel.sourceforge.net/_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net<mailto:DSpace-tech@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
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

Reply via email to