[Dspace-tech] start handle script
Hi Folks, Can someone point me to a good Unix script to auto start handle(s) after a Tomcat reboot? Cheers Kevin Kevin Evans MA Web Services Developer, Integration and Webservices, Room 901, 9th Floor, Laver Building University of Exeter, Exeter, Devon, EX4 4QE 01392 725573 +447775027574 http://my.exeter.ac.uk http://my.exeter.ac.uk This email and any attachment may contain information that is confidential, privileged, or subject to copyright, and which may be exempt from disclosure under applicable legislation. It is intended for the addressee only. If you received this message in error, please let me know and delete the email and any attachments immediately. The University will not accept responsibility for the accuracy/completeness of this e-mail and its attachments. The University cannot guarantee that this message and any attachments are virus free. Any views or opinions expressed in this message are my own and do not necessarily represent those of the University. attachment: Kevin_Evans_(kevin.evans@exeter.ac.uk).vcf smime.p7s Description: S/MIME cryptographic signature -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] start handle script
For some particular Unix? Methods vary. I just dashed off a collection page for Unix/Linux startup scripts on the wkik, and added my Gentoo Linux initscript. We may hope that others will amend and extend it. I think that runscript was obtained from Debian, so Red Hat and its many derivatives will probably need a different approach, and I have no idea how it might have to be done on HP/UX or AIX or whatever. Humph, I ought to spend a little time fitting the server with Commons Daemon entrypoints so I don't have to struggle with the impedance mismatch between 'start-stop-daemon' and 'java'. I haven't been able to make 'stop' work with my script -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Friends don't let friends publish revisable-form documents. smime.p7s Description: S/MIME cryptographic signature -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] start handle script
On Tue, Feb 16, 2010 at 01:27:36PM -0500, Mark H. Wood wrote: I just dashed off a collection page for Unix/Linux startup scripts on the wkik, and added my Gentoo Linux initscript. We may hope that others will amend and extend it. *sigh* Of course, it would help if anyone could find it: http://wiki.dspace.org/index.php/Handle_Service_Startup_Scripts_for_Unix_or_Linux It's linked from the System Administrator's Page. wkik? Ugh, not enough tea -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Friends don't let friends publish revisable-form documents. smime.p7s Description: S/MIME cryptographic signature -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] DSpace Import Issues
Hello, All~ I'm encountering a strange import issue, that I'm hoping someone on the list can help me track down. The command: /dspace/bin/import -a -e {email address} -c 10575/11 -s /dspace/import -m /dspace/import/test DSpace Version: 1.5.2 When I run a test run, everything looks perfectly fine, and multiple items seem to be added. When I run it live, I keep getting file not found. While the error message is the same, the system sometimes can't locate the contents file, sometimes the PDF, and sometimes the license. I do a ls on the directory, and all files are there (and non-blank). I have been able to load a few files, mostly through doing things like renaming the file (and adjusting the contents file), re-creating the contents file (either by hand, typing the file names, or using ls contents, then removing the contents and dublin_core.xml lines). The system reads the metadata just fine - it just can't seem to find the files. I also checked ownership on the import directory - all directories and files are owned by dspace. Any help you can provide would be extremely appreciated!!! Thanks, Caryn ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Caryn Neiswender Digital Projects Specialist UC Irvine Libraries (949) 824-9086 Curiosity sends us out To a world both larger and smaller Than what we know and believe in With a passion for finding an answer Or at least understanding our questions. -Excerpt from Julia Alvarez's Why I Am in Love with Librarians. -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Apache redirect and IP based authentication
Mark, Great fix! That worked perfectly for the redirection of port 80 to 8080. However, it didn't fix the problem with IP based authentication. Here's a little more information about our setup. We are trying to use EZProxy in conjunction with IP based authentication to give access to our dissertations. The behavior of a proxied request is basically the same as it was when we omitted the port number before. We can see the item within DSpace, but we can't download the file. Any ideas? Jason Fowler, CA, MSLS Archives and Special Collections Librarian The Southern Baptist Theological Seminary Vice President, ALABI 502-897-4573 jfow...@sbts.edu From: mdigg...@gmail.com [mdigg...@gmail.com] On Behalf Of Mark Diggory [mdigg...@atmire.com] Sent: Saturday, February 13, 2010 1:24 PM To: Jason Fowler Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Apache redirect and IP based authentication Jason, I would be using mod_proxy or more specifically mod_proxy_ajp for communicating between Apache and Tomcat via the ajp port/protocol on mod_rewrite/redirect. I suspect that your problem is that the client IP of the request to tomcat is that of the local machine, AJP will properly pass the header information. http://rimuhosting.com/mod_jk2_and_mod_proxy_ajp.jsp Mark On Sat, Feb 13, 2010 at 6:59 AM, Jason Fowler jfow...@sbts.edu wrote: I'm having a bit of a problem. We're running Dspace 1.5.2 on a Fedora machine. We are using Tomcat, but we also have an Apache redirect set up so that the port number doesn't show up for our site. Basically, it redirects traffic on port 80 to port 8080, but the port number doesn't show. For our dissertation collection, we use IP based authentication. The IP authentication works perfectly when one tries to download the file from inside the correct IP range using an address that has the port number. However, if you try to access it with the port number trimmed off, you can't download the file. Can anyone explain why this might be happening and what a fix might be? I'm at a loss. Jason Fowler, CA, MSLS Archives and Special Collections Librarian The Southern Baptist Theological Seminary Vice President, ALABI jfow...@sbts.edu -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Mark R. Diggory Head of U.S. Operations - @mire http://www.atmire.com - Institutional Repository Solutions http://www.togather.eu - Before getting together, get t...@ther -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech